/**
 * THE CEEL - Styles Principaux
 * Design Mobile-First, Ultra-Responsive
 */

/* ===== VARIABLES ===== */
:root {
    --primary: #C8A97E;
    --primary-dark: #b6986d;
    --primary-light: #E8D5B7;
    --secondary: #E8D5B7;
    --accent: #1A1A1A;
    --dark: #1a1a1a;
    --darker: #000000;
    --light: #F9F9F9;
    --gray: #717171;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --error: #dc3545;
    --gold-gradient: linear-gradient(135deg, #C8A97E 0%, #E8D5B7 50%, #C8A97E 100%);
    --gold-border: #d4af37;
    --gold-text: #8a6d3b;

    --gradient-gold: linear-gradient(135deg, #C8A97E 0%, #E8D5B7 50%, #C8A97E 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 10px 30px rgba(200, 169, 126, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --header-height: 65px;
    --mobile-nav-height: 70px;
    --announcement-height: 40px;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] *:not(.fa):not(.fas):not(.far):not(.fab):not(.icon):not([class*="icon"]):not(i) {
    font-family: 'El Messiri', sans-serif !important;
}

body {
    font-family: var(--font-sans);
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: var(--mobile-nav-height);
    font-size: 17px;
    /* Enlarged global font */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.luxury-text {
    font-family: var(--font-serif);
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== UTILITIES ===== */
.desktop-only {
    display: none !important;
}

.mobile-only {
    display: block !important;
}

.hide-desktop {}

.hide-mobile {
    display: none !important;
}

@media (min-width: 769px) {
    .desktop-only {
        display: flex !important;
    }

    .mobile-only {
        display: none !important;
    }

    .hide-desktop {
        display: none !important;
    }

    .hide-mobile {
        display: block !important;
    }

    /* Reset unless overridden by hide-desktop logic if applied together, but usually distinct */
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== MOBILE SEARCH OVERLAY ===== */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-search-container {
    background: white;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-search-header .search-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    background: #f8f8f8;
    transition: all 0.3s;
}

.mobile-search-header .search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.mobile-search-close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.mobile-search-close:hover {
    background: #eee;
}

.mobile-search-overlay .search-results {
    position: static;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    margin-top: 10px;
    display: none;
    background: white;
    border-radius: 12px;
}

.mobile-search-overlay .search-results a {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

.mobile-search-overlay .search-results a:hover {
    background: #f8f8f8;
}

.mobile-search-overlay .search-results img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.mobile-search-overlay .search-result-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 4px;
}

.mobile-search-overlay .search-result-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.mobile-search-overlay .search-no-results {
    padding: 30px;
    text-align: center;
    color: #888;
}

@media (min-width: 769px) {
    .mobile-search-overlay {
        display: none !important;
    }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--dark);
    padding: 10px 0;
    overflow: hidden;
    height: var(--announcement-height);
}

.announcement-track {
    display: flex;
    animation: scroll-left 25s linear infinite;
    width: fit-content;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    white-space: nowrap;
    color: var(--primary);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo img {
    height: 40px;
    width: auto;
}

@media (min-width: 769px) {
    .logo img {
        height: 50px;
    }
}

.search-bar {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: block;
}

@media (max-width: 768px) {
    .search-bar {
        position: absolute;
        left: 15px;
        right: 15px;
        top: calc(100% + 5px);
        max-width: none;
        z-index: 100;
    }

    .header-container {
        position: relative;
    }
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #f0f0f0;
    border-radius: var(--radius-full);
    font-size: 14px;
    transition: all 0.3s;
    background: #f8f8f8;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.search-bar::before {
    content: "🔍";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.5;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 769px) {
    .header-actions {
        gap: 15px;
    }
}

.header-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px;
    color: var(--dark);
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.header-btn:hover {
    color: var(--primary);
}

.header-btn-icon {
    font-size: 22px;
}

.cart-badge,
.wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== DESKTOP NAV ===== */
.nav {
    background: var(--dark);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-link.hot {
    color: var(--primary);
    background: rgba(200, 169, 126, 0.1);
}

.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    color: #666;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

.mobile-nav-icon {
    font-size: 20px;
}

.mobile-nav-center {
    position: relative;
    top: -15px;
    background: var(--gradient-gold);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-center .mobile-nav-icon-big {
    font-size: 26px;
}

.mobile-nav-center span:last-child {
    display: none;
}

.mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 5px;
    background: var(--danger);
    color: var(--white);
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--ease-spring);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(200, 169, 126, 0.4);
}

.btn-secondary {
    background: var(--dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: #333;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* ===== HERO SECTION ===== */
/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-dark);
    padding: 0;
    /* Remove padding to let container handle spacing */
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* Full viewport height on mobile */
    min-height: 600px;
}

@media (min-width: 769px) {
    .hero {
        padding: 80px 20px;
        height: auto;
        min-height: 85vh;
    }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Gradient from top (chart color dark) to bottom transparent */
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

@media (min-width: 992px) {
    .hero::before {
        background: radial-gradient(circle at 30% 50%, rgba(200, 169, 126, 0.1) 0%, transparent 50%);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 100px 20px 30px;
    /* Top padding for header, bottom for slider */
    justify-content: space-between;
}

@media (min-width: 992px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
        padding-top: 0;
    }
}

/* ... (existing styles) ... */

/* Mobile Layout: Text Top, Buttons Bottom */
.hero-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hero-text-group {
    margin-bottom: auto;
    /* Pushes everything else down */
    text-align: center;
}

.hero-cta {
    display: none;
    /* Hidden on mobile */
    margin-top: auto;
    /* Pushes to bottom */
    flex-direction: column;
    gap: 15px;
    padding-bottom: calc(20px + var(--mobile-nav-height));
    /* Account for spacing + fixed nav */
}

@media (min-width: 769px) {
    .hero-content {
        display: block;
        flex: 0 1 auto;
    }

    .hero-text-group {
        text-align: left;
    }

    .hero-cta {
        display: flex;
        /* Show on desktop */
        flex-direction: row;
        margin-top: 30px;
        padding-bottom: 0;
    }
}

/* Hero CTA Buttons - Gold Theme */
.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C8A97E 50%, #D4AF37 100%) !important;
    color: #1a1a1a !important;
    border: 2px solid #C8A97E !important;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 169, 126, 0.4);
}

.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: 2px solid #C8A97E !important;
    backdrop-filter: blur(10px);
}

.hero-cta .btn-outline:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #C8A97E 50%, #D4AF37 100%) !important;
    color: #1a1a1a !important;
}

/* Text Colors - Bi-Color & Readable */
.hero-badge {
    color: var(--white) !important;
    /* Standout color */
    opacity: 0.9;
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

.hero-title {
    color: var(--primary) !important;
    /* Bronze Gold */
    line-height: 1.2;
}

.hero-title span {
    color: var(--white) !important;
    /* Bi-color: White */
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95) !important;
    /* Readable White */
}

/* Hero Products Grid/Slider */
.hero-visual {
    width: 100%;
    overflow: visible;
    flex-shrink: 0;
    margin-top: -30px;
    /* Move up on mobile */
}

@media (min-width: 992px) {
    .hero-visual {
        flex: 1;
        max-width: 500px;
        overflow: visible;
        margin-top: 0;
        /* Reset for desktop */
    }
}

.hero-products {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Space for scrollbar/touch */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-products::-webkit-scrollbar {
    display: none;
}

@media (min-width: 769px) {
    .hero-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow-x: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }
}

.hero-product-card {
    flex: 0 0 260px;
    /* Slider width */
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 15px;
    transition: all 0.4s var(--ease-spring);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

@media (min-width: 769px) {
    .hero-product-card {
        flex: auto;
        /* Reset for grid */
    }
}

.hero-product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

.hero-product-card img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .hero-product-card img {
        height: 130px;
    }
}

.hero-product-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

/* ===== COUNTDOWN ===== */
.countdown-banner {
    display: none;
    /* Hidden on mobile */
    background: var(--dark);
    border-top: 1px solid rgba(200, 169, 126, 0.2);
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    padding: 20px 15px;
}

@media (min-width: 769px) {
    .countdown-banner {
        display: block;
        /* Show on desktop */
    }
}

.countdown-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

@media (min-width: 769px) {
    .countdown-container {
        flex-direction: row;
        gap: 50px;
    }
}

.countdown-text {
    text-align: center;
}

.countdown-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}


/* Update Hero Title Color */
.hero-title {
    color: var(--primary) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--white);
}

/* Compact Slider Styles */
.hero-products {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-product-card {
    flex: 0 0 140px;
    /* Compact width */
    width: 140px;
    background: rgba(20, 20, 20, 0.85);
    /* Darker background for contrast */
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(200, 169, 126, 0.3);
}

.hero-product-card img {
    height: 80px;
    /* Compact image */
    margin-bottom: 5px;
}

.hero-product-name {
    font-size: 11px;
    margin-bottom: 3px;
}

.hero-product-price {
    font-size: 13px;
}

@media (min-width: 769px) {
    .hero-container {
        flex-direction: column;
        /* Keep vertical stack to put slider at bottom */
        justify-content: space-between;
        align-items: flex-start;
    }

    .hero-content {
        margin-top: auto;
        margin-bottom: 40px;
        max-width: 600px;
    }

    .hero-visual {
        max-width: 100%;
        /* Full width for slider */
    }

    .hero-products {
        justify-content: flex-start;
        /* Align left */
        gap: 20px;
        display: flex;
        /* Force flex even on desktop to keep it as slider strip */
        grid-template-columns: none;
        /* Override grid */
        overflow-x: auto;
    }

    .hero-product-card {
        flex: 0 0 160px;
        /* Slightly larger on desktop but still compact */
    }

    .hero-product-card:hover {
        transform: translateY(-5px);
        background: rgba(30, 30, 30, 0.95);
        border-color: var(--primary);
    }
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.countdown-item {
    background: rgba(200, 169, 126, 0.1);
    border: 1px solid rgba(200, 169, 126, 0.3);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
}

@media (min-width: 769px) {
    .countdown-item {
        padding: 15px 20px;
        min-width: 75px;
    }
}

.countdown-number {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

@media (min-width: 769px) {
    .countdown-number {
        font-size: 32px;
    }
}

.countdown-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ===== PROMO BADGES ===== */
.promo-badges {
    padding: 30px 15px;
    background: var(--white);
}

.promo-badges-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 769px) {
    .promo-badges-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.promo-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

@media (min-width: 769px) {
    .promo-badge-item {
        padding: 20px;
    }
}

.promo-badge-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.promo-badge-icon {
    font-size: 28px;
}

@media (min-width: 769px) {
    .promo-badge-icon {
        font-size: 35px;
    }
}

.promo-badge-text h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

@media (min-width: 769px) {
    .promo-badge-text h4 {
        font-size: 14px;
    }
}

.promo-badge-text p {
    font-size: 10px;
    color: #888;
}

@media (min-width: 769px) {
    .promo-badge-text p {
        font-size: 12px;
    }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 30px 15px;
}

@media (min-width: 769px) {
    .section {
        padding: 40px 20px;
    }
}

.section.alt-bg {
    background: #f8f8f8;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

@media (min-width: 769px) {
    .section-title {
        font-size: 32px;
    }
}

.section-badge {
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 10px;
}

.see-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.see-all:hover {
    gap: 10px;
}

/* ===== SWIPER PRODUCT SLIDER ===== */
.section {
    overflow: hidden;
}

.products-swiper {
    padding: 10px 0 15px;
    margin: 0;
    overflow: hidden;
    padding-left: 15px;
}

@media (min-width: 769px) {
    .products-swiper {
        padding: 15px 0 20px;
        padding-left: 20px;
    }
}

.products-swiper .swiper-wrapper {
    align-items: stretch;
}

.products-swiper .swiper-slide {
    height: auto;
    width: 180px;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .products-swiper .swiper-slide {
        width: 200px;
    }
}

@media (min-width: 769px) {
    .products-swiper .swiper-slide {
        width: 240px;
    }
}

.products-swiper .product-card {
    height: 100%;
    width: 100%;
    min-width: unset;
    max-width: unset;
}

@media (min-width: 769px) {
    .products-swiper .product-card {
        min-width: unset;
        max-width: unset;
    }
}

/* Legacy slider styles - fallback */
.slider-wrapper {
    overflow: visible;
    margin: 0 -15px;
    padding: 15px;
}

@media (min-width: 769px) {
    .slider-wrapper {
        margin: 0 -20px;
        padding: 20px;
    }
}

.product-slider {
    display: flex;
    gap: 15px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-slider.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.product-slider .product-card {
    scroll-snap-align: start;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-spring);
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .product-card {
        min-width: 240px;
        max-width: 240px;
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    padding: 15px;
    background: var(--white);
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 5;
}

.badge {
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: var(--dark);
    color: var(--white);
}

.badge-hot {
    background: var(--primary);
    color: var(--white);
}

.badge-new {
    background: var(--success);
    color: var(--white);
}

.badge-limited {
    background: var(--danger);
    color: var(--white);
}

.product-actions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    display: flex;
    gap: 8px;
    transition: all 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-brand {
    font-size: 10px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* height: 36px; */
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stars {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 1px;
}

.rating-count {
    font-size: 11px;
    color: #888;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.product-price {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

/* ===== GLOBAL MOBILE CLEANUP ===== */
@media (max-width: 768px) {

    .whatsapp-float,
    .scroll-top {
        display: none !important;
    }
}

/* Hero Buttons - Legible White Background */
.hero-cta .btn-primary,
.hero-cta .btn-outline {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    font-weight: 600;
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-outline:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px);
}

/* Gold Gradient Buttons */
.order-now-grid-btn,
.buy-now-btn,
.order-now-btn {
    background: var(--gold-gradient) !important;
    border: 1px solid var(--gold-border) !important;
    color: var(--darker) !important;
    /* Kept darker for contrast on gold */
    font-weight: 700 !important;
}

.add-to-cart-btn.secondary {
    border: 1px solid var(--gold-border) !important;
    color: var(--gold-text) !important;
}

/* Product Titles - Max Height Fix */
.product-name {
    font-size: 16px !important;
    font-weight: 600;
    margin-bottom: 8px !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3 !important;
    /* Allow up to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* removed fixed height as requested */
}

/* Product Badge Fix - Prevent Overlap */
.product-image .product-badges {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 10;
}

.product-image .badge,
.product-image .badge-sale {
    position: static !important;
    /* Stack inside flex container */
    max-width: fit-content;
    z-index: 10;
}

/* stars on PC overlay */
@media (min-width: 1024px) {
    .product-card .product-image {
        position: relative;
    }

    .product-card .product-rating {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: rgba(255, 255, 255, 0.8);
        padding: 2px 8px;
        border-radius: 4px;
        z-index: 4;
        display: flex !important;
        align-items: center;
        gap: 4px;
    }

    .product-card .product-info .product-rating {
        display: none !important;
        /* Hide original in info block */
    }
}

/* Final Grid Button Design */
.product-grid-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 5px 10px 15px;
    margin-top: 0;
    /* Separated from price row */
}

.add-to-cart-btn.secondary {
    flex: 1;
    height: 42px;
    background: #ffffff !important;
    border: 1px solid var(--gold-border) !important;
    color: var(--gold-text) !important;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
}

.order-now-grid-btn {
    flex: 1.2;
    height: 42px;
    background: var(--gold-gradient) !important;
    border: 1px solid var(--gold-border) !important;
    color: var(--darker) !important;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .product-grid-actions {
        flex-direction: row;
        /* Side by side on mobile */
        gap: 6px;
    }

    .add-to-cart-btn.secondary,
    .order-now-grid-btn {
        flex: 1;
        height: 44px;
        /* Same height for both */
        font-size: 12px;
        padding: 0 8px;
    }
}

/* Product Titles - Enlarged */
.product-name {
    font-size: 16px !important;
    font-weight: 600;
    margin-bottom: 8px !important;
    line-height: 1.3;
}

/* Compact PC View */
@media (min-width: 1024px) {
    .product-card {
        padding: 5px;
    }

    .product-info {
        padding: 10px 10px 5px !important;
    }

    .product-grid-actions {
        padding: 0 8px 10px;
    }

    .product-name {
        font-size: 17px !important;
    }
}

/* Fix for Promo Badge in shop.php/lists */
.product-image .product-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    top: 10px !important;
    left: 10px !important;
}

.product-image .badge-sale,
.product-image .badge {
    position: static !important;
    max-width: fit-content;
    z-index: 5;
}

.product-price-old {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
}

.product-discount {
    background: rgba(200, 169, 126, 0.15);
    color: var(--primary-dark);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-to-cart-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== WHEEL SECTION ===== */
.wheel-section {
    padding: 40px 15px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .wheel-section {
        padding: 60px 20px;
    }
}

.wheel-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.08) 0%, transparent 50%);
    animation: rotate-bg 30s linear infinite;
}

@keyframes rotate-bg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.wheel-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.wheel-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .wheel-title {
        font-size: 48px;
    }
}

.wheel-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wheel-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 25px;
}

.wheel-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.wheel-wrapper {
    position: relative;
}

.wheel {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    position: relative;
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    box-shadow: 0 0 60px rgba(200, 169, 126, 0.3), inset 0 0 50px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .wheel {
        width: 320px;
        height: 320px;
    }
}

.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 50%;
    transform-origin: 0% 100%;
    clip-path: polygon(0 100%, 100% 100%, 50% 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.wheel-segment span {
    transform: rotate(67.5deg) translateY(-50px);
    font-size: 10px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

@media (min-width: 769px) {
    .wheel-segment span {
        font-size: 11px;
        transform: rotate(67.5deg) translateY(-60px);
    }
}

.wheel-segment:nth-child(1) {
    transform: rotate(0deg);
    background: #C8A97E;
}

.wheel-segment:nth-child(2) {
    transform: rotate(45deg);
    background: #1A1A1A;
}

.wheel-segment:nth-child(3) {
    transform: rotate(90deg);
    background: #E8D5B7;
}

.wheel-segment:nth-child(4) {
    transform: rotate(135deg);
    background: #A68B5B;
}

.wheel-segment:nth-child(5) {
    transform: rotate(180deg);
    background: #C8A97E;
}

.wheel-segment:nth-child(6) {
    transform: rotate(225deg);
    background: #1A1A1A;
}

.wheel-segment:nth-child(7) {
    transform: rotate(270deg);
    background: #E8D5B7;
}

.wheel-segment:nth-child(8) {
    transform: rotate(315deg);
    background: #A68B5B;
}

.wheel-segment:nth-child(3) span,
.wheel-segment:nth-child(7) span {
    color: var(--dark);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
}

@media (min-width: 769px) {
    .wheel-center {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
    z-index: 20;
    animation: bounce-pointer 1s ease-in-out infinite;
}

@media (min-width: 769px) {
    .wheel-pointer {
        top: -25px;
        font-size: 40px;
    }
}

@keyframes bounce-pointer {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.spin-btn {
    margin-top: 30px;
    padding: 18px 50px;
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s;
}

.spin-btn:hover {
    transform: scale(1.05);
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.prizes-list {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(200, 169, 126, 0.2);
    width: 100%;
    max-width: 280px;
}

.prizes-list h4 {
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.prize-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.prize-item:last-child {
    border-bottom: none;
}

.prize-icon {
    font-size: 18px;
}

/* ===== CATEGORIES ===== */
.categories-section {
    padding: 50px 15px;
    background: var(--white);
}

@media (min-width: 769px) {
    .categories-section {
        padding: 80px 20px;
    }
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 769px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.5s;
}

@media (min-width: 769px) {
    .category-card {
        aspect-ratio: 4/5;
    }
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.category-name {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

@media (min-width: 769px) {
    .category-name {
        font-size: 22px;
    }
}

.category-count {
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
}

/* ===== BANNERS HORIZONTAL ===== */
.banners-horizontal {
    padding: 30px 15px;
    background: var(--light);
}

.banners-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 769px) {
    .banners-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.banner-horizontal-item {
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    min-height: 150px;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    transition: all 0.4s var(--ease-spring);
}

.banner-horizontal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.banner-horizontal-item .banner-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.banner-horizontal-item .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.banner-horizontal-item .banner-content h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 8px;
}

.banner-horizontal-item .banner-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.banner-horizontal-item .banner-cta {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.banner-horizontal-item:hover .banner-cta {
    opacity: 1;
}

/* ===== COFFRETS SECTION ===== */
.coffrets-section {
    padding: 60px 15px;
    background: linear-gradient(180deg, #faf8f5 0%, var(--white) 100%);
}

@media (min-width: 769px) {
    .coffrets-section {
        padding: 80px 20px;
    }
}

.coffrets-container {
    max-width: 1400px;
    margin: 0 auto;
}

.coffrets-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    gap: 15px;
}

@media (min-width: 769px) {
    .coffrets-section .section-header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-end;
    }
}

.section-badge-top {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.coffrets-section .section-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.section-description {
    color: #666;
    font-size: 15px;
    max-width: 500px;
}

.coffrets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 600px) {
    .coffrets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .coffrets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.coffret-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.4s var(--ease-spring);
}

.coffret-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.coffret-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.coffret-badge .badge-discount {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 25px;
}

.coffret-badge .badge-gift {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 25px;
}

.coffret-visual {
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
    padding: 30px 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.coffret-products {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.coffret-product-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.3s var(--ease-spring);
}

.coffret-card:hover .coffret-product-img {
    transform: scale(1.05);
}

.coffret-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coffret-product-img .qty {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--primary);
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.more-products {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: #888;
}

.coffret-info {
    padding: 25px;
}

.coffret-name {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.coffret-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.coffret-pricing {
    margin-bottom: 20px;
}

.coffret-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 5px;
}

.coffret-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
}

.coffret-old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.coffret-savings {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
}

.coffret-btn {
    width: 100%;
    justify-content: center;
}

/* New Coffret Card Style */
.coffret-card-new {
    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.coffret-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -12px rgba(200, 169, 126, 0.25);
    /* Gold tinted shadow */
    border-color: rgba(200, 169, 126, 0.3);
}

.coffret-card-new .coffret-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.coffret-card-new .badge-discount {
    background: #D32F2F;
    /* Material Red */
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
    letter-spacing: 0.5px;
}

.coffret-card-new .badge-gift {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #4a3b00;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(253, 185, 49, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coffret-products-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px 30px;
    /* More top padding */
    background: radial-gradient(circle at center, #fafafa 0%, #f0f0f0 100%);
    flex-wrap: wrap;
    position: relative;
}

.coffret-products-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--white) 10%, transparent);
    pointer-events: none;
}

.coffret-prod-thumb {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (min-width: 480px) {
    .coffret-prod-thumb {
        width: 100px;
        height: 100px;
    }
}

.coffret-card-new:hover .coffret-prod-thumb {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.coffret-card-new:hover .coffret-prod-thumb:nth-child(2) {
    transition-delay: 0.05s;
}

.coffret-card-new:hover .coffret-prod-thumb:nth-child(3) {
    transition-delay: 0.1s;
}

.coffret-card-new:hover .coffret-prod-thumb:nth-child(4) {
    transition-delay: 0.15s;
}

.coffret-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.05));
}

.coffret-prod-thumb .qty {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--dark);
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.coffret-more {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.coffret-content {
    padding: 25px 20px;
    text-align: center;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.coffret-card-new .coffret-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent);
    line-height: 1.4;
    font-family: var(--font-serif);
    letter-spacing: -0.01em;
}

.coffret-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.coffret-card-new .coffret-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-sans);
}

.coffret-card-new .coffret-old-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.coffret-card-new .coffret-savings {
    font-size: 12px;
    color: #155724;
    font-weight: 700;
    background: #d4edda;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #c3e6cb;
}

.coffret-gift-label {
    font-size: 12px;
    color: #856404;
    font-weight: 700;
    background: #fff3cd;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #ffeeba;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.coffret-card-new.is-gift {
    border: 2px solid var(--primary-light);
    box-shadow: 0 10px 40px -10px rgba(200, 169, 126, 0.15);
}

/* ===== PROMO BANNER SECTION ===== */
.promo-banner-section {
    padding: 0 15px;
    margin: 30px 0;
}

.promo-banner-full {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s var(--ease-spring);
}

.promo-banner-full:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

.promo-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 25px 30px;
    text-align: center;
}

@media (min-width: 769px) {
    .promo-banner-content {
        justify-content: space-between;
        text-align: left;
    }
}

.promo-banner-content .promo-icon {
    font-size: 32px;
}

.promo-banner-content .promo-text {
    flex: 1;
}

.promo-banner-content .promo-text h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-bottom: 5px;
}

.promo-banner-content .promo-text p {
    font-size: 14px;
    opacity: 0.9;
}

.promo-banner-content .promo-cta {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    white-space: nowrap;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 60px 15px;
    background: var(--dark);
    text-align: center;
}

@media (min-width: 769px) {
    .newsletter {
        padding: 100px 20px;
    }
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .newsletter h2 {
        font-size: 40px;
    }
}

.newsletter h2 span {
    color: var(--primary);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 500px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid rgba(200, 169, 126, 0.3);
    border-radius: var(--radius-full);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: all 0.3s;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 16px 30px;
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
    background: #0A0A0A;
    color: var(--white);
    padding: 50px 15px 120px;
}

@media (min-width: 769px) {
    .footer {
        padding: 80px 20px 40px;
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 50px;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (min-width: 769px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.footer-payments {
    display: flex;
    gap: 10px;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

@media (min-width: 769px) {
    .modal-overlay {
        align-items: center;
        padding: 20px;
    }
}

.modal-overlay.show {
    display: flex;
    animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slide-up 0.4s var(--ease-spring);
}

.modal-bottom {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

@media (min-width: 769px) {
    .modal-content {
        border-radius: var(--radius-xl);
    }
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-body {
    padding: 20px;
}

.categories-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.category-modal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.category-modal-item:hover {
    background: rgba(200, 169, 126, 0.1);
}

.category-modal-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.category-modal-item span {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.modal-quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link {
    display: block;
    padding: 12px 15px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.quick-link:hover {
    background: var(--dark);
    color: var(--white);
}

.quick-link.hot {
    background: rgba(200, 169, 126, 0.15);
    color: var(--primary-dark);
}

/* ===== SIDEBAR (Cart) ===== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
}

.sidebar-overlay.show {
    display: block;
    animation: fade-in 0.3s ease-out;
}

.sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    animation: slide-in-right 0.4s var(--ease-spring);
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f8f8;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart-icon {
    font-size: 60px;
    opacity: 0.3;
    display: block;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #888;
    margin-bottom: 20px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-shipping-note {
    font-size: 12px;
    color: var(--success);
    margin-bottom: 15px;
    text-align: center;
}

/* ===== POPUP ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    position: relative;
    animation: pop-in 0.5s var(--ease-spring);
}

@keyframes pop-in {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: all 0.3s;
}

.popup-close:hover {
    background: var(--primary);
    color: var(--white);
}

.popup-image {
    height: 160px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image-text {
    text-align: center;
    color: var(--dark);
}

.popup-image-text .discount {
    font-family: var(--font-serif);
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
}

.popup-image-text p {
    font-size: 14px;
    font-weight: 600;
}

.popup-body {
    padding: 30px;
    text-align: center;
}

.popup-body h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.popup-body p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-form input {
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.3s;
}

.popup-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.popup-form button {
    padding: 14px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-form button:hover {
    background: var(--primary);
    color: var(--dark);
}

/* ===== SWAL (Wheel Prize) ===== */
.swal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.swal-overlay.show {
    display: flex;
    animation: fade-in 0.4s ease-out;
}

.swal-modal {
    background: var(--dark);
    border-radius: var(--radius-xl);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(200, 169, 126, 0.3);
    animation: swal-slide-up 0.5s var(--ease-spring);
}

@keyframes swal-slide-up {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.swal-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(200px) rotate(720deg);
        opacity: 0;
    }
}

.swal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--dark);
    z-index: 10;
    transition: all 0.3s;
}

.swal-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

.swal-header {
    background: var(--gradient-gold);
    padding: 40px 25px 35px;
    text-align: center;
}

.swal-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.swal-prize {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
}

.swal-body {
    padding: 30px;
    text-align: center;
}

.swal-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
}

.swal-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.swal-code {
    background: rgba(200, 169, 126, 0.15);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 20px;
}

.swal-code-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.swal-code-value {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
}

.swal-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.swal-btn:hover {
    transform: scale(1.02);
}

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 15px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

@media (min-width: 769px) {
    .whatsapp-float {
        bottom: 25px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 20px;
}

.whatsapp-text {
    font-size: 13px;
    font-weight: 600;
    display: none;
}

@media (min-width: 769px) {
    .whatsapp-text {
        display: block;
    }
}

.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 80px;
    z-index: 999;
    width: 45px;
    height: 45px;
    background: var(--dark);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

@media (min-width: 769px) {
    .scroll-top {
        bottom: 25px;
        right: 200px;
    }
}

/* ===== STARS RATING ===== */
.stars-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stars-rating .star {
    color: #ddd;
    font-size: 14px;
}

.stars-rating .star.filled {
    color: var(--primary);
}

.rating-number {
    margin-left: 8px;
    font-size: 12px;
    color: #888;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item::after {
    content: "›";
    color: #888;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--dark);
    font-weight: 500;
}

/* ===== LOADING STATES ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 769px) {
    .toast-container {
        bottom: 30px;
        left: auto;
        right: 30px;
        transform: none;
    }
}

.toast {
    background: var(--dark);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toast-in 0.3s var(--ease-spring);
    max-width: 350px;
}

@keyframes toast-in {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    font-size: 14px;
}

/* ===== SHOP PAGE ===== */
.shop-page {
    min-height: 100vh;
}

.shop-page .breadcrumb {
    background: #f8f8f8;
    padding: 15px;
}

.shop-page .breadcrumb .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.shop-page .breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.shop-page .breadcrumb a:hover {
    color: var(--primary);
}

.shop-page .breadcrumb .separator {
    color: #ccc;
}

.shop-page .breadcrumb .current {
    color: var(--dark);
    font-weight: 500;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    gap: 30px;
}

@media (max-width: 991px) {
    .shop-container {
        flex-direction: column;
    }
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

@media (max-width: 991px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        z-index: 2000;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.3s var(--ease-spring);
        overflow-y: auto;
        padding-bottom: 100px;
    }

    .shop-sidebar.active {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-sidebar {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .close-sidebar {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.filter-group {
    margin-bottom: 25px;
}

.filter-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input {
    display: flex;
    position: relative;
}

.search-input input {
    flex: 1;
    padding: 12px 45px 12px 15px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.3s;
}

.search-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-input .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    background: var(--primary);
    color: var(--dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.search-input .search-btn:hover {
    background: var(--primary-dark);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.filter-option:hover {
    background: rgba(200, 169, 126, 0.1);
}

.filter-option input {
    accent-color: var(--primary);
}

.filter-option .count {
    margin-left: auto;
    background: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: #888;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
}

.price-range input:focus {
    outline: none;
    border-color: var(--primary);
}

.price-range .separator {
    color: #ccc;
}

.price-slider-info {
    margin-top: 8px;
    font-size: 11px;
    color: #888;
    text-align: center;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.btn-block {
    width: 100%;
}

.shop-content {
    flex: 1;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 991px) {
    .filter-toggle {
        display: flex;
    }
}

.results-count {
    font-size: 14px;
    color: #666;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    font-size: 13px;
    color: #666;
}

.sort-control select {
    padding: 8px 30px 8px 12px;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.sort-control select:focus {
    outline: none;
    border-color: var(--primary);
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px;
    background: #f0f0f0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    color: #888;
}

.view-btn.active,
.view-btn:hover {
    background: var(--dark);
    color: var(--white);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(200, 169, 126, 0.15);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--primary-dark);
}

.filter-tag a {
    color: var(--dark);
    font-weight: 700;
    cursor: pointer;
}

.filter-tag a:hover {
    color: var(--danger);
}

.clear-all {
    padding: 8px 12px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.products-grid .product-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.products-list .product-card {
    display: flex;
    flex-direction: row;
    min-width: unset;
    max-width: unset;
}

.products-list .product-image {
    width: 200px;
    flex-shrink: 0;
}

.products-list .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-list .add-to-cart-btn {
    width: auto;
    margin-top: auto;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.no-results-icon {
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.no-results p {
    color: #888;
    margin-bottom: 20px;
}

.seo-content {
    padding: 40px 15px;
    background: #f8f8f8;
    text-align: center;
}

.seo-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.seo-content p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* ===== PRODUCT PAGE ===== */
.product-page .breadcrumb {
    background: #f8f8f8;
    padding: 15px;
}

.product-page .breadcrumb .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.product-page .breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.product-page .breadcrumb a:hover {
    color: var(--primary);
}

.product-page .breadcrumb .separator {
    color: #ccc;
}

.product-page .breadcrumb .current {
    color: var(--dark);
    font-weight: 500;
}

.product-main {
    padding: 30px 15px;
    background: var(--white);
}

.product-main .container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-layout {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

@media (min-width: 992px) {
    .product-layout {
        flex-direction: row;
    }
}

.product-gallery {
    flex: 1;
    max-width: 600px;
}

.gallery-main {
    position: relative;
    margin-bottom: 15px;
}

.main-image-wrapper {
    position: relative;
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    overflow: hidden;
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.3s;
    cursor: zoom-in;
}

.main-image-wrapper img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.zoom-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.main-image-wrapper:hover .zoom-indicator {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--primary);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.gallery-thumbs .thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f8f8;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    border-color: var(--primary);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-page .product-info {
    flex: 1;
    padding: 0;
}

.product-header {
    margin-bottom: 20px;
}

.product-page .product-brand {
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

@media (min-width: 992px) {
    .product-title {
        font-size: 32px;
    }
}

.product-sku {
    font-size: 12px;
    color: #888;
}

.product-reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars-large {
    color: var(--primary);
    font-size: 18px;
}

.rating-value {
    font-weight: 600;
    color: var(--dark);
}

.reviews-count {
    color: #666;
    text-decoration: underline;
}

.product-pricing {
    margin-bottom: 20px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.product-pricing .current-price {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
}

.product-pricing .old-price {
    font-size: 20px;
    color: #bbb;
    text-decoration: line-through;
}

.savings {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 169, 126, 0.15);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.stock-status.in-stock {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.stock-status.out-of-stock {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.product-short-desc {
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.product-short-desc p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Product actions on product page (override card styles) */
.product-page .product-info .product-actions {
    position: static;
    opacity: 1;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .product-page .product-info .product-actions {
        flex-direction: row;
        align-items: stretch;
    }
}

.product-buttons-group {
    display: flex;
    flex: 1;
    gap: 12px;
}

.product-buttons-group .btn {
    flex: 1;
    height: 50px;
    padding: 0 15px;
    font-size: 15px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.product-buttons-group .add-to-cart {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--dark);
}

.product-buttons-group .add-to-cart:hover {
    background: #f5f5f5;
}

.product-buttons-group .order-now-btn {
    background: var(--dark);
    color: var(--white);
}

.product-buttons-group .order-now-btn:hover {
    background: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-selector button {
    width: 45px;
    height: 50px;
    background: #f8f8f8;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: var(--primary);
}

.quantity-selector input {
    width: 50px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.product-actions .add-to-cart {
    flex: 1;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.secondary-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-link:hover {
    color: var(--primary);
}

.product-benefits-quick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.benefit-icon {
    font-size: 16px;
}

/* Product Details Tabs */
.product-details {
    padding: 50px 15px;
    background: #f8f8f8;
}

.product-details .container {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tabs-nav {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.tab-btn {
    padding: 18px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--white);
}

.tabs-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.description-content {
    line-height: 1.8;
    color: #555;
}

.long-description {
    margin-bottom: 30px;
}

.benefits-list h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefit-check {
    color: var(--success);
    font-weight: bold;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    width: 40%;
    font-weight: 600;
    color: var(--dark);
    background: #fafafa;
}

.specs-table td {
    color: #666;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.ingredient-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
}

.ingredient-icon {
    font-size: 24px;
}

.ingredient-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.ingredient-info p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.usage-content {
    line-height: 1.8;
    color: #555;
}

.reviews-summary {
    text-align: center;
    padding: 30px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.rating-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
}

.rating-stars {
    font-size: 24px;
    color: var(--primary);
}

.total-reviews {
    font-size: 14px;
    color: #888;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #fafafa;
    border-radius: var(--radius-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.reviewer-name {
    font-weight: 600;
    display: block;
}

.review-date {
    font-size: 12px;
    color: #888;
}

.review-rating {
    color: var(--primary);
    font-size: 14px;
}

.review-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.verified-purchase {
    font-size: 11px;
    color: var(--success);
    font-weight: 500;
}

/* ===== PRODUCT BUNDLES SECTION ===== */
.product-bundles-section {
    padding: 50px 15px;
    background: linear-gradient(135deg, #f8f4ef 0%, #faf8f5 100%);
}

.product-bundles-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-bundles-section .section-header h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-bundles-section .section-subtitle {
    color: #666;
    font-size: 15px;
}

.bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .bundles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bundles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bundle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s var(--ease-spring);
    border: 2px solid transparent;
}

.bundle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.bundle-badge {
    position: absolute;
    top: -12px;
    right: 20px;
}

.bundle-badge .badge-discount,
.bundle-badge .badge-gift {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.bundle-badge .badge-discount {
    background: var(--danger);
    color: var(--white);
}

.bundle-badge .badge-gift {
    background: var(--success);
    color: var(--white);
}

.bundle-products-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px 0;
}

.bundle-product-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.bundle-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-product-thumb .qty-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--primary);
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.bundle-plus,
.bundle-equals {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.bundle-gift-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.bundle-gift-thumb .gift-icon {
    font-size: 28px;
}

.bundle-info {
    text-align: center;
}

.bundle-name {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.bundle-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.bundle-pricing {
    margin-bottom: 20px;
}

.bundle-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-right: 10px;
}

.bundle-old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.bundle-savings {
    display: block;
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-top: 5px;
}

.bundle-cta {
    width: 100%;
    justify-content: center;
}

/* Similar Products Section */
.similar-products,
.recently-viewed {
    padding: 50px 15px;
    background: var(--white);
}

.similar-products .container,
.recently-viewed .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Similar Products Swiper */
.similar-products {
    overflow: hidden;
    padding-bottom: 40px;
}

.similar-swiper {
    padding: 15px 0 25px;
    padding-left: 15px;
    overflow: hidden;
}

@media (min-width: 769px) {
    .similar-swiper {
        padding-left: 0;
    }
}

.similar-swiper .swiper-slide {
    height: auto;
    width: 180px;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .similar-swiper .swiper-slide {
        width: 200px;
    }
}

@media (min-width: 769px) {
    .similar-swiper .swiper-slide {
        width: 240px;
    }
}

/* Product Card Mini for similar products */
.product-card-mini {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-spring);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-mini .product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-card-mini .product-image {
    position: relative;
    aspect-ratio: 1;
    padding: 15px;
    background: linear-gradient(180deg, #f8f8f8 0%, var(--white) 100%);
    overflow: hidden;
}

.product-card-mini .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card-mini:hover .product-image img {
    transform: scale(1.08);
}

.product-card-mini .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.product-card-mini .product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-mini .product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.product-card-mini .product-rating {
    margin-bottom: 8px;
}

.product-card-mini .stars {
    color: #ffc107;
    font-size: 12px;
}

.product-card-mini .product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card-mini .current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card-mini .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* Legacy draggable slider fallback */
.products-slider.draggable-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 5px;
    cursor: grab;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.products-slider.draggable-slider::-webkit-scrollbar {
    display: none;
}

.products-slider.draggable-slider .product-card {
    scroll-snap-align: start;
}

/* ===== CATEGORY PAGE ===== */
.category-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
}

@media (min-width: 769px) {
    .category-hero {
        min-height: 350px;
        padding: 80px 20px;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.category-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 700px;
}

.category-hero .breadcrumb {
    margin-bottom: 20px;
}

.category-hero .breadcrumb.light a {
    color: rgba(255, 255, 255, 0.7);
}

.category-hero .breadcrumb.light a:hover {
    color: var(--primary);
}

.category-hero .breadcrumb.light .separator {
    color: rgba(255, 255, 255, 0.5);
}

.category-hero .breadcrumb.light .current {
    color: var(--white);
}

.category-hero h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

@media (min-width: 769px) {
    .category-hero h1 {
        font-size: 48px;
    }
}

.hero-description {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.products-count {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(200, 169, 126, 0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--primary);
}

.category-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 15px;
    display: flex;
    gap: 30px;
}

@media (max-width: 991px) {
    .category-container {
        flex-direction: column;
    }
}

.category-sidebar {
    width: 280px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .category-sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
}

.sidebar-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
    .sidebar-section {
        flex: 1;
        min-width: 200px;
        margin-bottom: 0;
    }
}

.sidebar-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.3s;
}

.category-link:hover,
.category-link.active {
    background: rgba(200, 169, 126, 0.1);
    color: var(--primary-dark);
}

.category-link .link-icon {
    font-size: 16px;
}

.category-link .count {
    margin-left: auto;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: #888;
}

.quick-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f8f8;
    border-radius: var(--radius-md);
    font-size: 13px;
    transition: all 0.3s;
}

.quick-filter:hover,
.quick-filter.active {
    background: var(--primary);
    color: var(--dark);
}

.filter-icon {
    font-size: 14px;
}

.sidebar-promo {
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
}

.promo-content .promo-badge {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sidebar-promo h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.sidebar-promo p {
    font-size: 14px;
    color: var(--dark);
    opacity: 0.8;
}

.sidebar-contact {
    text-align: center;
}

.sidebar-contact p {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.category-content {
    flex: 1;
}

.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.featured-products-section {
    margin-bottom: 40px;
}

.featured-products-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin-bottom: 20px;
}

.title-icon {
    font-size: 24px;
}

.featured-products-section .products-slider {
    padding: 10px 0;
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.badge-featured {
    background: var(--primary);
    color: var(--dark);
}

.discover-section {
    padding: 50px 15px;
    background: #f8f8f8;
}

.discover-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.other-categories {
    padding: 50px 15px;
    background: var(--white);
}

.other-categories .container {
    max-width: 1400px;
    margin: 0 auto;
}

.other-categories h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

.other-categories .categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 769px) {
    .other-categories .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

.category-card-link {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s;
}

.category-card-link:hover {
    transform: translateY(-5px);
}

.category-card-image {
    position: relative;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--white);
}

.category-card-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.category-card-content span {
    font-size: 12px;
    opacity: 0.8;
}

/* View all link */
.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s;
}

.view-all:hover {
    gap: 12px;
}

/* Container utility */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== CATEGORY LAYOUT (Mobile-First) ===== */
.category-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .category-layout {
        flex-direction: row;
        gap: 30px;
        padding: 30px 15px;
    }
}

.category-main {
    flex: 1;
    order: 1;
}

.category-sidebar.mobile-bottom {
    order: 2;
    width: 100%;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .category-sidebar.mobile-bottom {
        order: 0;
        width: 280px;
        flex-shrink: 0;
        margin-top: 0;
    }
}

/* Category Hero Compact (Mobile) */
.category-hero.category-hero-compact {
    min-height: 180px;
    padding: 40px 15px;
}

@media (min-width: 769px) {
    .category-hero.category-hero-compact {
        min-height: 280px;
        padding: 60px 20px;
    }
}

.category-hero-compact h1 {
    font-size: 28px;
}

@media (min-width: 769px) {
    .category-hero-compact h1 {
        font-size: 42px;
    }
}

/* ===== SHOP SIDEBAR FIXES ===== */
.filter-group-price {
    overflow: visible;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-inputs .price-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.price-inputs .price-separator {
    color: #888;
    flex-shrink: 0;
}

.price-slider-info {
    font-size: 11px;
    color: #888;
    margin-top: 8px;
}

/* ===== PRODUCTS LIST VIEW ===== */
.product-thumbnails-list {
    display: none;
}

.products-list .product-thumbnails-list {
    display: flex;
    gap: 8px;
    padding: 0 15px;
    margin-bottom: 10px;
}

.products-list .product-thumbnails-list .thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s;
}

.products-list .product-thumbnails-list .thumb:hover,
.products-list .product-thumbnails-list .thumb.active {
    border-color: var(--primary);
}

/* WhatsApp Button Sidebar */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
}

/* Hero Product Card */
a.hero-product-card {
    background: white;
    color: black !important;
}

a.hero-product-card .hero-product-name {
    color: black;
    font-weight: bold;
}

a.hero-product-card:hover {
    background: white;
    box-shadow: 1px 1px 8px white;
}

/* ===== PREMIUM PRODUCT SHOWCASE ===== */
.product-showcase {
    margin: 25px 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.showcase-header {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-header h3 {
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.showcase-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.showcase-tab {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.showcase-tab:hover {
    background: rgba(200, 169, 126, 0.15);
    border-color: rgba(200, 169, 126, 0.3);
    color: white;
}

.showcase-tab.active {
    background: linear-gradient(135deg, var(--primary), #d4b896);
    border-color: var(--primary);
    color: #1a1a1a;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.4);
}

.showcase-tab .tab-icon {
    font-size: 14px;
}

.showcase-content-wrapper {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.showcase-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
}

.showcase-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

.showcase-panels {
    position: relative;
    z-index: 2;
    padding: 25px;
}

.showcase-panel {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.showcase-panel.active {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-visual {
    flex-shrink: 0;
}

.visual-badge {
    --badge-color: var(--primary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--badge-color), rgba(200, 169, 126, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.visual-badge .badge-icon {
    font-size: 24px;
    line-height: 1;
}

.visual-badge .badge-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    font-weight: 600;
    margin-top: 3px;
}

.panel-content {
    flex: 1;
}

.panel-content h4 {
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

.panel-content .content-rich,
.panel-content .content-empty {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.8;
}

.panel-content .content-rich p {
    margin-bottom: 10px;
}

.panel-content .content-rich ul,
.panel-content .content-rich ol {
    margin: 12px 0;
    padding-left: 20px;
}

.panel-content .content-rich li {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.panel-content .content-rich strong {
    color: var(--primary);
}

.panel-content .content-empty p {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

@media (max-width: 600px) {
    .showcase-tabs {
        gap: 6px;
    }

    .showcase-tab {
        padding: 8px 12px;
        font-size: 11px;
    }

    .showcase-tab .tab-icon {
        display: none;
    }

    .showcase-panel.active {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .showcase-bg-image {
        width: 100%;
        opacity: 0.08;
    }
}

/* Legacy accordion still available */
.accordion-html-content strong {
    color: var(--dark);
}

/* ===== APPLE-STYLE PRODUCT STORY ===== */
.product-story {
    padding: 0;
}

.story-section {
    padding: 80px 0;
}

.story-section.alt-bg {
    background: #fafafa;
}

.story-section.story-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f8f6f3 0%, white 100%);
}

.story-content {
    max-width: 600px;
}

.story-content.centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.story-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.story-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.story-text.large {
    font-size: 18px;
    line-height: 1.9;
}

.story-text p {
    margin-bottom: 15px;
}

.story-text ul,
.story-text ol {
    margin: 15px 0;
    padding-left: 25px;
}

.story-text li {
    margin-bottom: 8px;
}

.story-text strong {
    color: var(--dark);
}

/* Story Grid - Alternating Layouts */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-grid.reverse .story-content {
    order: -1;
    /* Content first on PC when in reverse block (actually image right) */
}

.story-grid.reverse .story-image {
    order: 1;
}

/* Image container */
.story-image {
    position: relative;
    /* For absolute positioning of child img */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    min-height: 400px;
    /* Minimum height for aesthetics */
    height: auto;
    /* let grid stretch handle it */
}

/* Image matching content height */
.story-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

/* Benefits Full-Width Section */
.story-section.story-benefits {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.story-section.story-benefits .story-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
}

.story-section.story-benefits .story-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
}

.story-content.light {
    color: white;
    position: relative;
    z-index: 2;
}

.story-content.light .story-label {
    color: var(--primary);
}

.story-content.light .story-title {
    color: white;
}

.story-content.light .story-text {
    color: rgba(255, 255, 255, 0.85);
}

.story-content.light .story-text strong {
    color: var(--primary);
}

/* Story Responsive */
@media (max-width: 900px) {
    .story-section {
        padding: 50px 0;
    }

    .story-grid,
    .story-grid.reverse {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }

    /* Force Content on TOP for both regular and reverse */
    .story-content {
        order: -1 !important;
    }

    .story-image {
        order: 1 !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        position: static;
        min-height: 0;
        height: auto;
        aspect-ratio: 16/9;
        border-radius: 12px;
    }

    .story-image img {
        position: static !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .story-title {
        font-size: 28px;
    }

    .story-text {
        font-size: 15px;
    }
}

.benefits-html-content {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.benefits-html-content ul {
    list-style: none;
    padding: 0;
}

.benefits-html-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.benefits-html-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.specs-table-mini {
    width: 100%;
    font-size: 13px;
}

.specs-table-mini tr {
    border-bottom: 1px solid #f0f0f0;
}

.specs-table-mini tr:last-child {
    border-bottom: none;
}

.specs-table-mini th,
.specs-table-mini td {
    padding: 8px 0;
}

.specs-table-mini th {
    font-weight: 500;
    color: #666;
    width: 40%;
}

.specs-table-mini td {
    color: var(--dark);
}

.ingredients-list-mini,
.benefits-list-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ingredients-list-mini li,
.benefits-list-mini li {
    padding: 6px 0;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
}

.ingredients-list-mini li:last-child,
.benefits-list-mini li:last-child {
    border-bottom: none;
}

.benefits-list-mini .check {
    color: #28a745;
    margin-right: 8px;
}

.usage-text {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
}

/* ALT BG SECTION (e.g. Hair Care) */
.section.alt-bg {
    background-color: #f9f6f3;
    position: relative;
    overflow: hidden;
}

.section.alt-bg.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
}

.section.alt-bg.has-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay for readability */
    z-index: 1;
}

.section.alt-bg.has-bg .section-container,
.section.alt-bg.has-bg .products-swiper {
    position: relative;
    z-index: 2;
}

.section.alt-bg.has-bg .section-title {
    color: var(--white);
}

.section.alt-bg.has-bg .see-all {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.section.alt-bg.has-bg .see-all:hover {
    background: var(--white);
    color: var(--dark);
}

.section.alt-bg.has-bg .product-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.section.alt-bg.has-bg .product-name {
    color: var(--dark);
    /* Ensure text is dark inside the white card */
}

/* Adjust promo badges to fit properly above categories now */
.promo-badges {
    padding: 60px 0 40px;
    background: var(--white);
}

.promo-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(200, 169, 126, 0.1);
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.promo-badge-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

/* Sticky Product Bar (Mobile) */
.sticky-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    /* Hidden by default on desktop */
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.sticky-price {
    display: flex;
    flex-direction: column;
}

.sticky-price .current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.sticky-price .old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #999;
}

.sticky-actions {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.sticky-actions .btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.sticky-btn-order {
    flex: 2;
    /* Main button larger */
}

.sticky-btn-cart {
    flex: 1;
}

@media (max-width: 768px) {
    .sticky-product-bar {
        display: flex;
        bottom: var(--mobile-nav-height);
        border-bottom: 1px solid #eee;
        /* separation from nav */
    }

    /* Adjust main content padding to prevent overlap with sticky bar */
    .product-page {
        padding-bottom: 80px;
    }
}

/* Story Images with Blur Effect */
.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Aspect ratio fallback or specific height if needed, 
       but container usually sized by grid. 
       Let's assume grid handles size, but we need to ensure height. */
    height: 400px;
    /* Or min-height */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
}

.story-image-blur {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    opacity: 0.6;
    z-index: 1;
}

.story-image img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    /* Ensure it fits within the 400px container */
    width: auto;
    /* Override full width */
    height: auto;
    object-fit: contain;
    /* Ensure proportions */
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* ===== MOBILE REDESIGN (MINIMALIST) ===== */
@media (max-width: 768px) {

    /* Product Grid Layout */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 10px !important;
    }

    /* Product Card Minimalist */
    .product-card {
        position: relative;
        padding: 0 !important;
        background: white !important;
        /* White background as requested */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        border-radius: 12px;
        overflow: hidden;
        border: none !important;
    }

    .product-card .product-image {
        position: relative;
        border-radius: 0;
        /* Boxy look for border-to-border */
        overflow: hidden;
        background: #f8f8f8;
        margin-bottom: 8px;
        aspect-ratio: 1/1;
        padding: 0 !important;
        border: none !important;
    }

    .product-card .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Floating Add to Cart Button on Image (Top Right) */
    .products-grid .product-card .add-to-cart-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        padding: 0;
        border-radius: 50%;
        font-size: 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: var(--dark) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .products-grid .product-card .add-to-cart-btn::after {
        content: '+';
        font-family: var(--font-sans);
        font-size: 20px;
        font-weight: 500;
        color: var(--dark);
        line-height: 1;
    }

    /* Minimalist Info */
    .product-card .product-info {
        padding: 0 2px !important;
    }

    .product-card .product-brand {
        display: none !important;
    }

    .product-card .product-rating {
        display: none !important;
    }

    .product-card .product-name {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: var(--dark);
        margin-bottom: 4px;
        line-height: 1.3;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* Allow 3 lines */
        -webkit-box-orient: vertical;
        padding: 0 10px;
        /* height removed as requested */
    }

    .product-card .product-price-row {
        gap: 6px;
        align-items: center;
        padding: 0 10px 10px;
        /* Added padding for white card */
    }

    .product-card .product-price {
        font-size: 14px !important;
        font-weight: 700;
    }

    .product-card .product-price-old {
        font-size: 11px !important;
    }

    /* Product Page Optimization */
    .product-page .container {
        padding: 0 15px;
    }

    .product-main {
        padding-top: 15px;
    }

    .main-image-wrapper {
        border-radius: 16px;
        margin-bottom: 20px;
        box-shadow: none;
        /* Cleaner look */
        background: #f8f8f8;
    }

    .product-title {
        font-size: 24px !important;
        margin-bottom: 5px;
    }

    .product-pricing {
        margin-bottom: 15px;
    }

    .product-pricing .current-price {
        font-size: 26px !important;
    }

    /* Scrollable Tabs */
    .tabs-nav {
        justify-content: flex-start;
        padding: 0 5px 10px;
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 13px;
        background: #f8f8f8;
        border-radius: 30px;
        border: 1px solid transparent;
    }

    .tab-btn.active {
        background: var(--dark);
        color: var(--white);
        border-bottom: 1px solid transparent;
        /* Override */
    }
}

/* Coffret Buttons Row */
.coffret-btns-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.coffret-btns-row .add-to-cart-btn.secondary,
.coffret-btns-row .order-now-grid-btn {
    flex: 1;
    height: 50px;
    font-size: 14px;
}

/* Mobile Fixed Footer for Coffret */
@media (max-width: 768px) {
    .coffret-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 15px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .coffret-actions .qty-selector {
        display: flex;
        justify-content: center;
        gap: 0;
    }

    .coffret-btns-row {
        margin-top: 0;
    }

    .coffret-btns-row .add-to-cart-btn.secondary,
    .coffret-btns-row .order-now-grid-btn {
        height: 48px;
        font-size: 13px;
    }

    /* Add padding at bottom of page for fixed footer */
    .coffret-page {
        padding-bottom: 140px;
    }
}
/* Product Page Mobile Fixed Footer */
@media (max-width: 768px) {
    .product-page .product-actions {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 15px !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .product-page .quantity-selector {
        justify-content: center;
        width: 100% !important;
    }

    .product-page .product-buttons-group {
        gap: 8px !important;
    }

    .product-page .product-buttons-group .btn {
        height: 48px;
        font-size: 13px !important;
        padding: 0 10px !important;
    }

    /* Prevent content from being hidden behind fixed footer */
    .product-page .product-info-container {
        padding-bottom: 160px;
    }
}
