/* =========================================================
   KM HOME STORE — CLEAN PREMIUM STYLE
   Replace your old style.css with this file.
   ========================================================= */

:root {
    --primary: #198754;
    --primary-dark: #146c43;
    --primary-light: #e8f7ef;
    --gold: #d4af37;
    --gold-dark: #b8860b;
    --text: #1f2937;
    --muted: #64748b;
    --border: #e5e7eb;
    --soft: #f8faf9;
    --white: #ffffff;
    --danger: #dc3545;
    --shadow: 0 8px 25px rgba(0, 0, 0, .08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   TOP MOVING BAR
   ========================================================= */

.top-bar {
    width: 100%;
    height: 38px;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    z-index: 1100;
}

.top-marquee {
    width: max-content;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: topMarquee 24s linear infinite;
}

.top-marquee span {
    display: inline-block;
    padding: 0 35px;
    font-size: 15px;
    font-weight: 500;
    line-height: 38px;
}

@keyframes topMarquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
    width: 100%;
    background: #fff;
    min-height: 105px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.header > .container {
    max-width: 1200px;
    min-height: 105px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Logo area */
.logo-area {
    width: 320px;
    flex: 0 0 320px;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.store-logo,
.logo-img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px;
    object-fit: contain;
    display: block;
    flex: 0 0 68px;
}

.brand-text {
    min-width: 0;
}

.brand h2,
.brand-text h2 {
    margin: 0;
    color: var(--primary);
    font-size: 29px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.brand p,
.brand-text p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
}

/* Search */
.search-box {
    width: 430px;
    flex: 1 1 430px;
    max-width: 430px;
}

.search-box .form-control {
    height: 46px;
    border: 1px solid #d1d5db;
    border-radius: 7px 0 0 7px;
    box-shadow: none;
}

.search-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, .10);
}

.search-box .btn {
    width: 58px;
    height: 46px;
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: 0 7px 7px 0;
}

.search-box .btn:hover {
    background: var(--primary-dark);
}

/* Header buttons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
}

.header-icons .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 7px;
    padding: 9px 13px;
    transition: .25s ease;
}

.header-icons .btn-light {
    background: #fff;
    border: 1px solid var(--border);
    color: #111827;
}

.header-icons .btn-light:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-1px);
}

.header-icons .btn-success {
    background: var(--primary);
    border-color: var(--primary);
}

.header-icons .btn-success:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* =========================================================
   PREMIUM PRODUCT NAVIGATION
   ========================================================= */

.premium-menu {
    width: 100%;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    position: relative;
    z-index: 900;
}

.premium-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.premium-nav > li {
    position: relative;
}

.premium-nav > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 16px 15px;
    color: #1f2937;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: .25s ease;
}

.premium-nav > li > a:hover {
    color: var(--primary);
    background: #f5faf7;
}

.premium-nav > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transform: translateX(-50%);
    transition: width .25s ease;
}

.premium-nav > li:hover > a::after {
    width: 65%;
}

.dropdown-arrow {
    font-size: 10px;
}

/* Mega menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 900px;
    max-width: 90vw;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    background: #fff;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.mega-column {
    display: flex;
    flex-direction: column;
}

.mega-column h5 {
    margin: 0 0 10px;
    padding: 0 0 10px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.mega-column h5 i {
    margin-right: 7px;
}

.mega-column a {
    padding: 8px 10px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: .2s ease;
}

.mega-column a:hover {
    padding-left: 15px;
    color: var(--primary);
    background: #f0fdf4;
}

.premium-nav .offers-link {
    color: #b45309;
}

.premium-nav .offers-link:hover {
    color: #92400e;
    background: #fffbeb;
}

/* Old menu compatibility */
.menu {
    width: 100%;
    background: #fff;
}

.menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 13px 10px;
}

.menu li {
    margin: 0;
}

.menu a {
    color: #1f2937;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: .2s ease;
}

.menu a:hover {
    color: var(--primary);
}

/* =========================================================
   PREMIUM HERO SECTION
========================================================= */

.premium-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111827;
}


/* Hero image */

.premium-hero .hero-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* Dark overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.42) 45%,
            rgba(0, 0, 0, 0.10) 100%
        );

    z-index: 1;
}


/* Hero content */

.hero-content {
    position: absolute;

    left: 8%;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    max-width: 650px;

    color: white;
}


/* Small badge */

.hero-badge {
    display: inline-block;

    padding: 8px 16px;

    margin-bottom: 18px;

    border: 1px solid rgba(255,255,255,0.5);

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(6px);
}


/* Heading */

.hero-content h1 {
    margin: 0;

    font-size: 54px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1px;

    text-shadow: 0 4px 20px rgba(0,0,0,0.35);
}


/* Description */

.hero-content p {
    margin-top: 18px;

    margin-bottom: 28px;

    font-size: 18px;

    line-height: 1.6;

    color: rgba(255,255,255,0.92);

    max-width: 520px;
}


/* =========================================================
   PREMIUM SHOP BUTTON
========================================================= */

.premium-shop-btn {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 28px;

    border-radius: 50px;

    background: #198754;

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;

    font-weight: 700;

    border: 2px solid #198754;

    box-shadow:
        0 8px 25px rgba(25,135,84,0.35);

    transition:
        all 0.3s ease;
}


.premium-shop-btn i {
    transition: transform 0.3s ease;
}


.premium-shop-btn:hover {
    background: #ffffff;

    color: #198754;

    border-color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.25);
}


.premium-shop-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   SLIDER CONTROLS
========================================================= */

.premium-hero .carousel-control-prev,
.premium-hero .carousel-control-next {
    width: 55px;

    height: 55px;

    top: 50%;

    transform: translateY(-50%);

    margin: 0 25px;

    border-radius: 50%;

    background: rgba(0,0,0,0.35);

    backdrop-filter: blur(5px);

    opacity: 0;

    transition: 0.3s;
}


.premium-hero:hover .carousel-control-prev,
.premium-hero:hover .carousel-control-next {
    opacity: 1;
}


/* Indicators */

.premium-hero .carousel-indicators {
    z-index: 5;

    margin-bottom: 22px;
}


.premium-hero .carousel-indicators button {
    width: 28px;

    height: 4px;

    border: 0;

    border-radius: 10px;

    margin: 0 4px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .premium-hero .hero-image {
        height: 470px;
    }

    .hero-content {
        left: 6%;
        right: 6%;
    }

    .hero-content h1 {
        font-size: 42px;
    }

}


@media (max-width: 576px) {

    .premium-hero .hero-image {
        height: 430px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,0.68),
                rgba(0,0,0,0.30)
            );
    }

    .hero-content {
        left: 25px;
        right: 25px;
    }

    .hero-badge {
        font-size: 10px;

        padding: 6px 12px;

        letter-spacing: 1.5px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;

        margin-top: 12px;

        margin-bottom: 20px;
    }

    .premium-shop-btn {
        padding: 12px 22px;

        font-size: 14px;
    }

}
/* =========================================================
   CATEGORY
   ========================================================= */

.category-section {
    padding: 55px 0;
    background: #fff;
}

.category-section .section-title,
.section-title {
    text-align: center;
    margin-bottom: 35px;
    color: var(--text);
    font-size: 34px;
    font-weight: 700;
}

.category-card {
    min-height: 145px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: .3s ease;
}

.category-card:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-7px);
    box-shadow: 0 12px 28px rgba(25,135,84,.18);
}

.category-icon {
    margin-bottom: 12px;
    font-size: 42px;
}

.category-card h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

/* =========================================================
   PREMIUM PRODUCT CARDS
   ========================================================= */

.products-section {
    padding: 35px 0 50px;
}

.section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.section-heading span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 8px 0;
    color: var(--text);
    font-size: 36px;
    font-weight: 700;
}

.section-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.premium-product-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    transition: .3s ease;
}

.premium-product-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

.product-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f7f7f7;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.premium-product-card:hover .product-image {
    transform: scale(1.07);
}

.sale-badge,
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 6px 11px;
    color: #fff;
    background: var(--danger);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.discount-badge {
    border-radius: 20px;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #222;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    font-size: 19px;
    cursor: pointer;
    transition: .3s ease;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.quick-view-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 135px;
    padding: 9px 12px;
    text-align: center;
    background: rgba(25,135,84,.95);
    color: #fff;
    text-decoration: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: .3s ease;
}

.premium-product-card:hover .quick-view-btn {
    bottom: 15px;
    opacity: 1;
}

.product-info {
    padding: 18px 17px 20px;
}

.product-category {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.product-name {
    margin: 0 0 7px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.product-name a {
    color: var(--text);
    text-decoration: none;
}

.product-name a:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0 10px;
}

.stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-count {
    color: #777;
    font-size: 12px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.current-price {
    color: var(--primary);
    font-size: 21px;
    font-weight: 700;
}

.old-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.stock-status {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
}

.in-stock {
    color: var(--primary);
}

.out-stock {
    color: var(--danger);
}

.delivery-info {
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 12px;
}

.delivery-info i {
    margin-right: 5px;
    color: var(--primary);
}

.add-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s ease;
}

.add-cart-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.add-cart-btn.disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;

}
.product-image {
    width: 100%;
    height: 250px;

    object-fit: cover;

    display: block;

    background: #f8f9fa;

    transition: transform 0.4s ease;
}

.card:hover .product-image {
    transform: scale(1.03);
}

/* =========================================================
   OFFERS PAGE
   ========================================================= */

.offer-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,.60), rgba(0,0,0,.60)),
        url("/static/images/hero2.jpg") center/cover no-repeat;
    margin-bottom: 60px;
}

.offer-hero-content {
    padding: 30px;
    color: #fff;
}

.offer-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.offer-hero h1 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 55px;
    font-weight: 800;
}

.offer-hero p {
    margin-bottom: 25px;
    color: #fff;
    font-size: 20px;
}

.offer-main-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
}

.offer-main-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.offer-small-title {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.offer-section-title {
    margin-top: 5px;
    font-size: 38px;
    font-weight: 800;
}

.offer-product-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: .3s ease;
}

.offer-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.offer-product-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.offer-product-card:hover .offer-product-image {
    transform: scale(1.05);
}

.offer-product-body {
    padding: 20px;
    text-align: center;
}

.offer-category {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.offer-product-name {
    margin: 8px 0;
    font-size: 19px;
    font-weight: 700;
}

.offer-product-name a {
    color: var(--text);
    text-decoration: none;
}

.offer-product-name a:hover {
    color: var(--primary);
}

.offer-price {
    margin: 12px 0 18px;
}

.offer-price-current {
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
}

.offer-buttons {
    display: flex;
    gap: 8px;
}

.offer-buttons .btn {
    flex: 1;
    padding: 9px 5px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.offer-buttons .btn-success {
    background: var(--primary);
    border-color: var(--primary);
}

.offer-buttons .btn-success:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.offer-empty,
.no-products {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 15px;
}

.empty-icon,
.no-products i {
    margin-bottom: 15px;
    font-size: 55px;
    color: var(--primary);
}

.offer-empty h3,
.no-products h4 {
    font-weight: 700;
}

.no-products p {
    color: #777;
}

.offer-cta {
    margin-top: 50px;
    padding: 70px 20px;
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.offer-cta h2 {
    font-size: 35px;
    font-weight: 800;
}

.offer-cta p {
    margin: 12px 0 25px;
    font-size: 18px;
}

.offer-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: var(--primary);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}

.offer-cta-btn:hover {
    background: #f1f1f1;
    color: var(--primary-dark);
}



/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)),
        url("/static/images/hero3.jpg") center/cover no-repeat;
}

.about-hero-overlay {
    width: 100%;
}

.about-label,
.about-small-title {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-hero .about-label {
    color: #a7f3d1;
}

.about-hero h1 {
    margin: 15px 0;
    color: #fff;
    font-size: 58px;
    font-weight: 800;
}

.about-hero p {
    max-width: 750px;
    margin: auto;
    color: #fff;
    font-size: 19px;
    line-height: 1.7;
}

.about-story {
    background: #fff;
}

.about-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.about-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: .5s ease;
}

.about-image-box:hover .about-main-image {
    transform: scale(1.04);
}

.about-image-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(25,135,84,.95);
    color: #fff;
    border-radius: 12px;
}

.about-image-badge strong {
    font-size: 28px;
}

.about-image-badge span {
    font-size: 13px;
}

.about-heading {
    margin: 12px 0 20px;
    color: var(--text);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.about-heading span {
    color: var(--primary);
}

.about-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-btn,
.mission-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 25px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: .3s ease;
}

.about-btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

.why-section {
    padding: 80px 0;
    background: var(--soft);
}

.about-section-heading {
    margin-top: 8px;
    font-size: 38px;
    font-weight: 800;
}

.about-feature-card {
    height: 100%;
    padding: 35px 25px;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: .3s ease;
}

.about-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 26px;
}

.about-feature-card h4 {
    margin-bottom: 12px;
    font-weight: 700;
}

.about-feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-categories {
    background: #fff;
}

.collection-box {
    height: 100%;
    padding: 30px 20px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: .3s ease;
}

.collection-box:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.collection-box span {
    font-size: 40px;
}

.collection-box h4 {
    margin-top: 12px;
    font-weight: 700;
}

.collection-box p {
    margin-bottom: 0;
    color: var(--muted);
}

.mission-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.mission-box {
    max-width: 850px;
    margin: auto;
    color: #fff;
}

.mission-box .about-small-title {
    color: #a7f3d1;
}

.mission-box h2 {
    margin: 15px 0;
    font-size: 42px;
    font-weight: 800;
}

.mission-box p {
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 1.8;
    opacity: .95;
}

.mission-btn {
    background: #fff;
    color: var(--primary);
}

.mission-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: 60px;
    padding: 25px 15px;
    background: #1f2937;
    color: #fff;
    text-align: center;
}

footer p {
    margin: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .logo-area {
        width: 270px;
        flex-basis: 270px;
    }

    .search-box {
        max-width: 350px;
    }

    .brand h2,
    .brand-text h2 {
        font-size: 25px;
    }

    .header > .container {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .header > .container {
        min-height: auto;
        flex-wrap: wrap;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo-area {
        width: auto;
        flex-basis: auto;
    }

    .search-box {
        order: 3;
        width: 100%;
        max-width: none;
        flex-basis: 100%;
    }

    .header-icons {
        margin-left: auto;
    }

    .premium-nav {
        flex-wrap: wrap;
    }

    .premium-nav > li > a {
        padding: 13px 10px;
        font-size: 14px;
    }

    .mega-menu {
        width: 95vw;
        grid-template-columns: repeat(2, 1fr);
        left: 0;
        transform: translate(0, 12px);
    }

    .has-dropdown:hover .mega-menu {
        transform: translate(0, 0);
    }
}

@media (max-width: 768px) {
    .hero-image-wrapper,
    .hero-image {
        height: 420px;
    }

    .hero-content {
        top: 58%;
        width: 88%;
        padding: 25px 18px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .premium-btn {
        padding: 11px 24px;
        font-size: 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 8px;
    }

    .offer-hero {
        min-height: 300px;
    }

    .offer-hero h1,
    .about-hero h1 {
        font-size: 38px;
    }

    .offer-hero p,
    .about-hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .offer-section-title {
        font-size: 30px;
    }

    .offer-product-image {
        height: 230px;
    }

    .about-main-image {
        height: 320px;
    }

    .about-heading {
        font-size: 32px;
    }

    .about-section-heading {
        font-size: 30px;
    }

    .mission-box h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        height: 34px;
    }

    .top-marquee span {
        font-size: 13px;
        line-height: 34px;
        padding: 0 25px;
    }

    .header > .container {
        padding: 12px !important;
    }

    .store-logo,
    .logo-img {
        width: 55px !important;
        height: 55px !important;
        max-width: 55px;
        flex-basis: 55px;
    }

    .brand h2,
    .brand-text h2 {
        font-size: 21px;
    }

    .brand p,
    .brand-text p {
        font-size: 11px;
        white-space: normal;
    }

    .header-icons {
        gap: 4px;
    }

    .header-icons .btn {
        min-height: 40px;
        padding: 7px;
        font-size: 12px;
    }

    .header-icons .btn i {
        font-size: 15px;
    }

    .premium-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .premium-nav > li > a {
        white-space: nowrap;
        padding: 12px 9px;
        font-size: 13px;
    }

    .mega-menu {
        width: 320px;
        max-width: 90vw;
        grid-template-columns: 1fr;
        left: 0;
        transform: translate(0, 12px);
    }

    .category-section .section-title,
    .section-title {
        font-size: 28px;
    }

    .hero-image-wrapper,
    .hero-image {
        height: 360px;
    }

    .hero-content {
        padding: 20px 12px;
    }

    .hero-content h1 {
        font-size: 23px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .product-image-wrapper,
    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 16px;
    }

    .current-price {
        font-size: 19px;
    }

    .offer-hero h1 {
        font-size: 32px;
    }

    .offer-cta h2 {
        font-size: 28px;
    }
}

/* =========================================================
   PREMIUM WISHLIST PAGE
========================================================= */

.wishlist-page {
    background: #f8faf9;
    padding: 55px 0 80px;
    min-height: 70vh;
}


/* =========================
   WISHLIST HEADER
========================= */

.wishlist-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.wishlist-small-title {
    color: #198754;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.wishlist-heading h1 {
    margin: 6px 0;
    font-size: 38px;
    font-weight: 800;
    color: #172033;
}

.wishlist-heading h1 i {
    color: #e63946;
    margin-right: 8px;
}

.wishlist-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}


/* Continue Shopping */

.continue-shopping {
    background: #198754;
    color: white;
    padding: 13px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.continue-shopping:hover {
    background: #146c43;
    color: white;
    transform: translateY(-2px);
}


/* =========================
   PRODUCT GRID
========================= */

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* =========================
   PRODUCT CARD
========================= */

.wishlist-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: all .3s ease;
}

.wishlist-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}


/* =========================
   IMAGE
========================= */

.wishlist-image-box {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.wishlist-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.wishlist-card:hover .wishlist-product-image {
    transform: scale(1.08);
}


/* Heart Badge */

.wishlist-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}


/* Image Hover Overlay */

.wishlist-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: .3s;
}

.wishlist-image-overlay i {
    font-size: 28px;
    margin-bottom: 7px;
}

.wishlist-image-overlay span {
    font-size: 14px;
    font-weight: 600;
}

.wishlist-card:hover .wishlist-image-overlay {
    opacity: 1;
}


/* =========================
   PRODUCT INFORMATION
========================= */

.wishlist-info {
    padding: 20px;
}

.wishlist-category {
    color: #198754;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wishlist-info h3 {
    margin: 8px 0 10px;
    font-size: 19px;
    font-weight: 700;
}

.wishlist-info h3 a {
    color: #172033;
    text-decoration: none;
}

.wishlist-info h3 a:hover {
    color: #198754;
}

.wishlist-price {
    color: #198754;
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 18px;
}


/* =========================
   BUTTONS
========================= */

.wishlist-actions {
    display: flex;
    gap: 8px;
}

.wishlist-cart-btn,
.wishlist-remove-btn {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.wishlist-cart-btn {
    background: #198754;
    color: white;
}

.wishlist-cart-btn:hover {
    background: #146c43;
    color: white;
    transform: translateY(-2px);
}

.wishlist-remove-btn {
    background: #fff;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.wishlist-remove-btn:hover {
    background: #dc3545;
    color: white;
}


/* =========================
   EMPTY WISHLIST
========================= */

.empty-wishlist {
    text-align: center;
    background: white;
    padding: 70px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.empty-heart {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff1f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-heart i {
    font-size: 42px;
    color: #e63946;
}

.empty-wishlist h2 {
    font-size: 28px;
    color: #172033;
    font-weight: 700;
}

.empty-wishlist p {
    color: #6b7280;
    margin-bottom: 25px;
}

.empty-wishlist-btn {
    display: inline-block;
    background: #198754;
    color: white;
    padding: 13px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.empty-wishlist-btn:hover {
    background: #146c43;
    color: white;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 768px) {

    .wishlist-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .wishlist-heading h1 {
        font-size: 30px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 576px) {

    .wishlist-page {
        padding: 35px 0 50px;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .wishlist-image-box {
        height: 300px;
    }

    .wishlist-actions {
        flex-direction: column;
    }

}
/* =========================================================
   PREMIUM PRODUCT DETAIL PAGE
========================================================= */

.product-detail-page {
    background: #f8faf9;
    min-height: 100vh;
    padding-bottom: 70px;
}


/* Breadcrumb */

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 0;
    font-size: 14px;
    color: #64748b;
}

.product-breadcrumb a {
    color: #198754;
    text-decoration: none;
    font-weight: 600;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.product-breadcrumb strong {
    color: #334155;
}


/* Main Card */

.product-main-section {
    padding-bottom: 60px;
}

.product-detail-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 35px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 55px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-detail-card .product-image-wrapper {
    width: 100%;
    max-width: 560px;
    height: 560px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}


/* Offer */

.product-offer-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    background: #e63946;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}


/* Wishlist */

.product-wishlist-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;

    width: 48px;
    height: 48px;

    background: #ffffff;
    color: #ef3340;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;

    text-decoration: none;

    box-shadow: 0 5px 18px rgba(0,0,0,.12);

    transition: .3s;
}

.product-wishlist-btn:hover {
    background: #ef3340;
    color: #ffffff;
    transform: scale(1.08);
}


/* Zoom hint */

.image-zoom-hint {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(15, 23, 42, .75);
    color: #ffffff;

    padding: 8px 15px;
    border-radius: 30px;

    font-size: 12px;

    opacity: 0;
    transition: .3s;
}

.product-detail-card .product-image-wrapper:hover .image-zoom-hint {
    opacity: 1;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information {
    padding: 10px 5px;
}

.product-detail-card .product-category {
    display: inline-block;

    background: #e8f7ef;
    color: #198754;

    padding: 7px 14px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .7px;
}


.product-title {
    margin: 15px 0 10px;

    color: #0f172a;

    font-size: 40px;
    line-height: 1.15;

    font-weight: 800;
}


.product-detail-card .product-rating {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}

.product-detail-card .stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 18px;
}

.rating-text {
    color: #64748b;
    font-size: 14px;
}


/* Price */

.product-price-box {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px 0;

    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.product-detail-card .product-price {
    color: #198754;
    font-size: 34px;
    font-weight: 800;
}

.offer-label {
    background: #fff1f2;
    color: #e11d48;

    padding: 6px 12px;
    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;
}


/* Stock */

.product-detail-card .stock-status {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 20px;
}

.stock-available {
    color: #198754;
    font-weight: 700;
}

.stock-count {
    color: #64748b;
    font-size: 13px;
}

.stock-out {
    color: #dc2626;
    font-weight: 700;
}


/* Description */

.product-detail-card .product-description {
    margin-top: 22px;
}

.product-description h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 8px;
}

.product-description p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}


/* Quantity */

.product-detail-card .quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 25px;
}

.quantity-label {
    font-weight: 700;
    color: #334155;
}

.quantity-control {
    display: flex;
    align-items: center;

    border: 1px solid #d1d5db;
    border-radius: 10px;

    overflow: hidden;
}

.quantity-control button {
    width: 42px;
    height: 42px;

    border: none;
    background: #f8fafc;

    font-size: 20px;
    cursor: pointer;
}

.quantity-control button:hover {
    background: #198754;
    color: #ffffff;
}

.quantity-control input {
    width: 55px;
    height: 42px;

    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;

    text-align: center;

    font-weight: 700;
}


/* Actions */

.product-detail-card .product-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 25px;
}

.add-cart-premium {
    flex: 1;

    background: #198754;
    color: #ffffff;

    padding: 15px 25px;

    border-radius: 10px;

    text-align: center;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    transition: .3s;
}

.add-cart-premium:hover {
    background: #146c43;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25,135,84,.25);
}


.wishlist-premium {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ef3340;
    border-radius: 10px;

    color: #ef3340;

    font-size: 21px;

    text-decoration: none;

    transition: .3s;
}

.wishlist-premium:hover {
    background: #ef3340;
    color: #ffffff;
}


/* Out of stock */

.out-of-stock-button {
    width: 100%;

    margin-top: 25px;

    padding: 15px;

    border: none;
    border-radius: 10px;

    background: #94a3b8;
    color: #ffffff;

    font-weight: 700;
}


/* =========================================================
   TRUST FEATURES
========================================================= */

.product-detail-card .product-trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #e5e7eb;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    color: #198754;
    font-size: 20px;
}

.trust-item strong {
    display: block;
    font-size: 12px;
    color: #334155;
}

.trust-item small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.related-products-section {
    padding: 20px 0 70px;
}

.related-heading {
    text-align: center;
    margin-bottom: 35px;
}

.related-heading span {
    color: #198754;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.related-heading h2 {
    color: #0f172a;
    font-size: 32px;
    font-weight: 800;
    margin: 8px 0;
}

.related-heading p {
    color: #64748b;
}


.related-products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}


.related-product-card {
    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow: 0 8px 25px rgba(15,23,42,.06);

    transition: .3s;
}

.related-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(15,23,42,.12);
}


.related-image {
    height: 250px;
    background: #f8fafc;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: .4s;
}

.related-product-card:hover .related-image img {
    transform: scale(1.08);
}


.related-info {
    padding: 18px;
}

.related-info > span {
    color: #198754;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.related-info h3 {
    color: #0f172a;
    font-size: 17px;
    margin: 7px 0;
}

.related-info strong {
    display: block;
    color: #198754;
    font-size: 19px;
    margin-bottom: 15px;
}


.view-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #198754;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.view-product-btn:hover {
    color: #146c43;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .product-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-card .product-detail-card .product-image-wrapper {
        max-width: 600px;
        margin: auto;
    }

    .product-title {
        font-size: 32px;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 576px) {

    .product-detail-card {
        padding: 18px;
        border-radius: 15px;
    }

    .product-detail-card .product-detail-card .product-image-wrapper {
        height: 350px;
    }

    .product-title {
        font-size: 27px;
    }

    .product-detail-card .product-price {
        font-size: 28px;
    }

    .product-detail-card .product-detail-card .product-trust-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-card .quantity-section {
        justify-content: space-between;
    }

}


/* =========================================================
   FEATURED PRODUCTS — CLEAN / FIXED
   ========================================================= */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .13);
}

.product-card .product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.product-card .product-image,
.product-card > a > img,
.product-card img {
    width: 100% !important;
    height: 250px !important;
    max-height: 250px !important;
    object-fit: contain !important;
    object-position: center;
    display: block;
    padding: 10px;
    transition: transform .45s ease;
}

.product-card:hover .product-image,
.product-card:hover > a > img,
.product-card:hover img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 16px;
    text-align: center;
    flex: 1;
}

.product-card h3,
.product-card h4 {
    margin: 8px 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.product-card .price,
.product-card .current-price {
    color: var(--primary);
    font-size: 21px;
    font-weight: 800;
}

.product-card .card-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

/* If your HTML uses inline image styles, these rules still keep the
   Featured Products images at a fixed premium size. */
.product-card img[style] {
    height: 250px !important;
    max-height: 250px !important;
    object-fit: contain !important;
}

/* =========================================================
   FINAL IMAGE SAFETY FIXES
   ========================================================= */

/* IMPORTANT: Product-detail image size must NOT change Featured Products. */
.product-detail-card .product-image-wrapper {
    height: 520px;
}

.product-detail-card .main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .product-detail-card .product-image-wrapper {
        max-width: 600px;
        height: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .product-card .product-image-wrapper,
    .product-card .product-image,
    .product-card > a > img,
    .product-card img {
        height: 230px !important;
        max-height: 230px !important;
    }

    .product-detail-card .product-image-wrapper {
        height: 350px;
    }
}
/* =========================
   MOBILE PRODUCTS DROPDOWN
   ========================= */

@media (max-width: 991px) {

    .premium-menu {
        overflow: visible;
    }

    .premium-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .premium-nav > li {
        width: 100%;
    }

    .premium-nav > li > a {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .has-dropdown {
        position: relative;
    }

    .mega-menu {
        display: none;
        position: static;
        width: 100%;
        background: #ffffff;
        box-shadow: none;
        border-radius: 0;
        padding: 10px 15px;
    }

    .has-dropdown.mobile-open .mega-menu {
        display: block;
    }

    .mega-column {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px 0;
        border-bottom: 1px solid #eeeeee;
    }

    .mega-column:last-child {
        border-bottom: none;
    }

    .mega-column h5 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .mega-column a {
        display: block;
        padding: 8px 10px;
        font-size: 14px;
    }

    .dropdown-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .has-dropdown.mobile-open .dropdown-arrow {
        transform: rotate(180deg);
    }
}
/* =========================================================
KM HOME STORE - OFFERS PAGE
========================================================= */

.offers-page {
background: #f7f8f5;
min-height: 100vh;
padding-bottom: 80px;
}

/* =========================================================
HEADER
========================================================= */

.offers-header {
text-align: center;
padding: 70px 20px 55px;
background: linear-gradient(
135deg,
#064e3b 0%,
#087f5b 50%,
#0b8f66 100%
);
color: #ffffff;
margin-bottom: 50px;
position: relative;
overflow: hidden;
}

.offers-header::before {
content: "";
position: absolute;
width: 300px;
height: 300px;
background: rgba(255, 255, 255, 0.06);
border-radius: 50%;
top: -150px;
left: -100px;
}

.offers-header::after {
content: "";
position: absolute;
width: 350px;
height: 350px;
background: rgba(255, 255, 255, 0.05);
border-radius: 50%;
bottom: -220px;
right: -100px;
}

.offers-small-title {
display: inline-block;
font-size: 13px;
font-weight: 700;
letter-spacing: 3px;
color: #d1fae5;
margin-bottom: 12px;
position: relative;
z-index: 2;
}

.offers-header h1 {
font-size: clamp(34px, 5vw, 58px);
font-weight: 800;
margin: 0 0 12px;
position: relative;
z-index: 2;
}

.offers-header p {
margin: 0;
color: #d1fae5;
font-size: 17px;
position: relative;
z-index: 2;
}

.offer-line {
width: 70px;
height: 4px;
background: #fbbf24;
border-radius: 20px;
margin: 25px auto 0;
position: relative;
z-index: 2;
}

/* =========================================================
PRODUCT CARD
========================================================= */

.offer-card {
height: 100%;
background: #ffffff;
border-radius: 18px;
overflow: hidden;
border: 1px solid #e5e7eb;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
transition:
transform 0.3s ease,
box-shadow 0.3s ease,
border-color 0.3s ease;
}

.offer-card:hover {
transform: translateY(-8px);
border-color: #b7dfd0;
box-shadow: 0 18px 40px rgba(0, 80, 55, 0.14);
}

/* =========================================================
IMAGE
========================================================= */

.offer-image-box {
height: 270px;
background: #f8faf9;
position: relative;
overflow: hidden;
}

.product-image-link {
width: 100%;
height: 100%;
display: block;
}

.offer-product-image {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
padding: 22px;
transition: transform 0.5s ease;
position: relative;
z-index: 1;
}

.offer-card:hover .offer-product-image {
transform: scale(1.08);
}

.no-product-image {
opacity: 0.55;
}

/* =========================================================
IMAGE OVERLAY
========================================================= */

.offer-image-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.04)
);
pointer-events: none;
}

/* =========================================================
OFFER BADGES
========================================================= */

.offer-badge {
position: absolute;
top: 14px;
left: 14px;
z-index: 5;
background: #dc2626;
color: #ffffff;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.6px;
padding: 7px 11px;
border-radius: 6px;
box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

.discount-badge {
position: absolute;
top: 14px;
right: 14px;
z-index: 5;
background: #f59e0b;
color: #ffffff;
font-size: 11px;
font-weight: 800;
padding: 7px 10px;
border-radius: 6px;
}

/* =========================================================
WISHLIST + QUICK VIEW
========================================================= */

.offer-wishlist,
.quick-view {
width: 40px;
height: 40px;
background: #ffffff;
color: #374151;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
right: 14px;
z-index: 6;
text-decoration: none;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
transition:
background 0.25s ease,
color 0.25s ease,
transform 0.25s ease;
}

.offer-wishlist {
top: 62px;
}

.quick-view {
top: 112px;
}

.offer-wishlist:hover,
.quick-view:hover {
background: #087f5b;
color: #ffffff;
transform: scale(1.08);
}

/* =========================================================
PRODUCT INFORMATION
========================================================= */

.offer-info {
padding: 20px;
}

.offer-category {
display: block;
color: #087f5b;
text-transform: uppercase;
font-size: 11px;
font-weight: 800;
letter-spacing: 1px;
margin-bottom: 7px;
}

.offer-product-name {
font-size: 18px;
line-height: 1.4;
font-weight: 700;
margin: 0 0 12px;
min-height: 50px;
}

.offer-product-name a {
color: #1f2937;
text-decoration: none;
transition: color 0.2s ease;
}

.offer-product-name a:hover {
color: #087f5b;
}

/* =========================================================
PRICE
========================================================= */

.offer-price {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 9px;
margin-bottom: 10px;
}

.old-price {
color: #9ca3af;
font-size: 14px;
text-decoration: line-through;
}

.sale-price {
color: #dc2626;
font-size: 22px;
font-weight: 800;
}

/* =========================================================
RATING
========================================================= */

.product-rating {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 18px;
}

.stars {
color: #f59e0b;
font-size: 13px;
letter-spacing: 1px;
}

.rating-number {
color: #6b7280;
font-size: 13px;
font-weight: 600;
}

/* =========================================================
BUTTONS
========================================================= */

.offer-buttons {
display: grid;
grid-template-columns: 1fr 1.4fr;
gap: 9px;
}

.view-btn,
.buy-btn {
min-height: 43px;
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
border-radius: 9px;
text-decoration: none;
font-size: 13px;
font-weight: 700;
transition:
transform 0.25s ease,
background 0.25s ease,
color 0.25s ease;
}

.view-btn {
color: #087f5b;
background: #e9f7f1;
border: 1px solid #ccebdd;
}

.view-btn:hover {
color: #ffffff;
background: #087f5b;
transform: translateY(-2px);
}

.buy-btn {
color: #ffffff;
background: #087f5b;
border: 1px solid #087f5b;
}

.buy-btn:hover {
color: #ffffff;
background: #065f46;
border-color: #065f46;
transform: translateY(-2px);
}

/* =========================================================
NO OFFERS
========================================================= */

.no-offers {
text-align: center;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 20px;
padding: 70px 25px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.no-offers-icon {
width: 80px;
height: 80px;
margin: 0 auto 20px;
display: flex;
align-items: center;
justify-content: center;
background: #e9f7f1;
color: #087f5b;
border-radius: 50%;
font-size: 30px;
}

.no-offers h3 {
color: #1f2937;
font-size: 25px;
font-weight: 750;
margin-bottom: 10px;
}

.no-offers p {
color: #6b7280;
margin-bottom: 25px;
}

.continue-shopping-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: #087f5b;
color: #ffffff;
text-decoration: none;
padding: 12px 22px;
border-radius: 9px;
font-weight: 700;
font-size: 14px;
transition: background 0.25s ease, transform 0.25s ease;
}

.continue-shopping-btn:hover {
background: #065f46;
color: #ffffff;
transform: translateY(-2px);
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 991px) {

.offers-header {
    padding: 55px 20px 45px;
    margin-bottom: 35px;
}

.offer-image-box {
    height: 250px;
}


}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 575px) {

.offers-page {
    padding-bottom: 50px;
}

.offers-header {
    padding: 45px 16px 38px;
    margin-bottom: 25px;
}

.offers-small-title {
    font-size: 11px;
    letter-spacing: 2px;
}

.offers-header h1 {
    font-size: 34px;
}

.offers-header p {
    font-size: 14px;
    line-height: 1.6;
}

.offer-image-box {
    height: 245px;
}

.offer-info {
    padding: 17px;
}

.offer-product-name {
    font-size: 17px;
}

.sale-price {
    font-size: 20px;
}

.offer-buttons {
    grid-template-columns: 1fr 1.3fr;
}

.view-btn,
.buy-btn {
    min-height: 42px;
    font-size: 12px;
}


}

/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

.offer-image-box {
    height: 220px;
}

.offer-buttons {
    grid-template-columns: 1fr;
}

.view-btn,
.buy-btn {
    width: 100%;
}


}
/* =========================================================
FEATURED PRODUCTS
========================================================= */

.products-section {
padding-top: 30px;
padding-bottom: 30px;
}

/* Section Heading */

.section-heading {
text-align: center;
margin-bottom: 40px;
}

.section-heading > span {
display: inline-block;
color: #087f5b;
font-size: 12px;
font-weight: 800;
letter-spacing: 3px;
margin-bottom: 8px;
}

.section-heading h2 {
color: #17211d;
font-size: 38px;
font-weight: 800;
margin: 0 0 10px;
}

.section-heading p {
color: #6b7280;
font-size: 15px;
margin: 0 auto;
}

/* =========================================================
PRODUCT CARD
========================================================= */

.premium-product-card {
height: 100%;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 18px;
overflow: hidden;

box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);

transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;


}

.premium-product-card:hover {
transform: translateY(-7px);

border-color: #c5e5d8;

box-shadow:
    0 18px 40px rgba(0, 80, 55, 0.13);


}

/* =========================================================
IMAGE
========================================================= */

.product-image-wrapper {
height: 280px;
background: #f8faf9;
position: relative;
overflow: hidden;
}

.product-image-link {
display: block;
width: 100%;
height: 100%;
}

.product-image {
width: 100%;
height: 100%;
object-fit: contain;
padding: 20px;

transition:
    transform 0.5s ease;


}

.premium-product-card:hover .product-image {
transform: scale(1.07);
}

.no-product-image {
opacity: 0.45;
}

/* =========================================================
SALE BADGE
========================================================= */

.sale-badge {
position: absolute;
top: 14px;
left: 14px;

z-index: 5;

background: #dc2626;
color: #ffffff;

padding: 7px 12px;

border-radius: 6px;

font-size: 10px;
font-weight: 800;
letter-spacing: 1px;

box-shadow:
    0 4px 12px rgba(220, 38, 38, 0.25);


}

/* =========================================================
WISHLIST
========================================================= */

.wishlist-btn {
position: absolute;

top: 14px;
right: 14px;

width: 40px;
height: 40px;

z-index: 10;

display: flex;
align-items: center;
justify-content: center;

background: #ffffff;
color: #374151;

border-radius: 50%;

text-decoration: none;

box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.12);

transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;


}

.wishlist-btn:hover {
background: #dc2626;
color: #ffffff;
transform: scale(1.08);
}

/* =========================================================
QUICK VIEW
========================================================= */

.quick-view-btn {
position: absolute;

bottom: -50px;
left: 50%;

transform: translateX(-50%);

z-index: 10;

white-space: nowrap;

background: #087f5b;
color: #ffffff;

padding: 10px 18px;

border-radius: 8px;

text-decoration: none;

font-size: 13px;
font-weight: 700;

opacity: 0;

transition:
    bottom 0.3s ease,
    opacity 0.3s ease;


}

.premium-product-card:hover .quick-view-btn {
bottom: 15px;
opacity: 1;
}

.quick-view-btn:hover {
background: #065f46;
color: #ffffff;
}

/* =========================================================
PRODUCT INFO
========================================================= */

.product-info {
padding: 20px;
}

.product-category {
display: block;

color: #087f5b;

font-size: 11px;
font-weight: 800;

text-transform: uppercase;
letter-spacing: 1px;

margin-bottom: 7px;


}

.product-name {
font-size: 18px;
line-height: 1.4;

font-weight: 700;

margin: 0 0 10px;

min-height: 50px;


}

.product-name a {
color: #1f2937;
text-decoration: none;

transition: color 0.2s ease;


}

.product-name a:hover {
color: #087f5b;
}

/* =========================================================
RATING
========================================================= */

.product-rating {
display: flex;
align-items: center;
gap: 7px;

margin-bottom: 10px;


}

.stars {
color: #f59e0b;

font-size: 14px;
letter-spacing: 1px;


}

.review-count {
color: #9ca3af;
font-size: 12px;
}

/* =========================================================
PRICE
========================================================= */

.product-price {
display: flex;
align-items: center;
gap: 9px;

flex-wrap: wrap;

margin-bottom: 12px;


}

.product-price .old-price {
color: #9ca3af;

font-size: 13px;

text-decoration: line-through;


}

.current-price {
color: #dc2626;

font-size: 21px;
font-weight: 800;


}

/* =========================================================
STOCK
========================================================= */

.stock-status {
display: flex;
align-items: center;
gap: 6px;

font-size: 12px;
font-weight: 700;

margin-bottom: 8px;


}

.in-stock {
color: #087f5b;
}

.out-stock {
color: #dc2626;
}

/* =========================================================
DELIVERY
========================================================= */

.delivery-info {
display: flex;
align-items: center;
gap: 7px;

color: #6b7280;

font-size: 12px;

margin-bottom: 17px;


}

.delivery-info i {
color: #087f5b;
}

/* =========================================================
ADD TO CART
========================================================= */

.add-cart-btn {
width: 100%;

min-height: 44px;

display: flex;
align-items: center;
justify-content: center;

gap: 8px;

background: #087f5b;
color: #ffffff;

border: none;
border-radius: 9px;

text-decoration: none;

font-size: 13px;
font-weight: 700;

cursor: pointer;

transition:
    background 0.25s ease,
    transform 0.25s ease;


}

.add-cart-btn:hover {
background: #065f46;
color: #ffffff;

transform: translateY(-2px);


}

.add-cart-btn.disabled {
background: #d1d5db;
color: #6b7280;
cursor: not-allowed;
}

.add-cart-btn.disabled:hover {
transform: none;
}

/* =========================================================
NO PRODUCTS
========================================================= */

.no-products {
text-align: center;

background: #ffffff;

border: 1px solid #e5e7eb;

border-radius: 18px;

padding: 60px 20px;

color: #6b7280;


}

.no-products > i {
font-size: 45px;

color: #087f5b;

margin-bottom: 15px;


}

.no-products h4 {
color: #1f2937;

font-size: 23px;

font-weight: 700;

margin-bottom: 8px;


}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 575px) {

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 30px;
}

.section-heading p {
    font-size: 14px;
    line-height: 1.6;
}

.product-image-wrapper {
    height: 230px;
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 16px;
}

.current-price {
    font-size: 19px;
}

/* Always show quick view on touch devices */
.quick-view-btn {
    bottom: 12px;
    opacity: 1;
}


}
