/* Define global CSS variables for consistency */
:root {
    --primary-color: #000000;
    --text-color: #333333;
    --bg-color: #ffffff;
    --topbar-bg: #000000;
    --topbar-text: #ffffff;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-max-width: 1400px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Topbar Styling */
.topbar {
    background-color: var(--topbar-bg);
    color: var(--topbar-text);
    padding: 0.75rem 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    overflow: hidden;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    gap: 2rem;
}

/* Navbar Styling */
.navbar {
    background-color: var(--bg-color);
    padding: 1.5rem 0;
    border-bottom: 1px solid #eaeaea;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    background-image: url(../../assets/images/logo.svg);
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.primary-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Utilities */
.desktop-only {
    display: none;
}

@media (min-width: 992px) {
    .desktop-only {
        display: flex;
    }
    .mobile-only {
        display: none;
    }
    .hide-mobile {
        display: inline;
    }
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none;
    }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-nav-drawer.active {
    right: 0;
}

/* Enforce light theme constraints for the mobile navigation drawer */
.force-light-theme {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.force-light-theme a,
.force-light-theme button,
.force-light-theme svg {
    color: #000000 !important;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.25rem;
    text-decoration: none;
    font-weight: 500;
}

/* Enable dropdown positioning context */
.primary-menu li {
    position: relative;
}

/* Base dropdown styling for submenus */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    list-style: none;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Reveal dropdown on parent hover */
.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure full width for dropdown items */
.primary-menu .sub-menu li {
    width: 100%;
}

/* Dropdown link styling */
.primary-menu .sub-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--primary-color);
    font-weight: 400;
    transition: background-color 0.2s ease;
}

/* Hover state for dropdown links */
.primary-menu .sub-menu a:hover {
    background-color: #f9f9f9;
}

/* Append dropdown indicator arrow to parent links dynamically */
.primary-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--primary-color);
    border-bottom: 1.5px solid var(--primary-color);
    transform: translateY(-2px) rotate(45deg);
}

.site-logo {
    max-width: 180px;
    height: 40px;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

/* Container adjustments to allow absolute positioning to reach the section bottom */
.hero-section {
    position: relative;
    height: clamp(80vh, 800px, 100vh); /* Force height to allow child expansion */
    background-color: #1a1a1a;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%; /* Stretch to fill the hero section */
    display: flex;
    align-items: center; /* Center the text content vertically */
}
.hero-content {
    max-width: 35rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-bottom: 2.5rem;
    opacity: 0.85;
    max-width: 28rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Floating Brand Asset - Proportional Positioning */
.hero-featured-card {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(300px, 28vw, 450px);
    background: #ffffff;
    padding: clamp(1.5rem, 2vw, 2.5rem);
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-image-wrapper {
    background: #f8f8f8;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    font-weight: 600;
    color: var(--primary-color);
}

.product-price {
    font-size: 1rem;
    font-weight: 500;
}

.product-category {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
}

/* Responsive Hero Section for Mobile Devices */
@media (max-width: 768px) {
    .hero-section {
        height: auto; /* Allow section to grow with content */
        padding: 4rem 0;
    }

    .hero-container {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
        padding: 0 1.5rem;
    }

    .hero-content {
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem; /* Make title smaller for mobile */
    }

    .hero-featured-card {
        position: relative; /* Remove absolute positioning */
        top: 0;
        right: 0;
        transform: none;
        width: 100%; /* Full width */
        margin-bottom: 2rem;
    }

    .hero-bottom-row {
        position: relative; /* Remove from absolute bottom */
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn-primary {
        width: 100%; /* Make button fill the width */
        text-align: center;
    }
}

/* Bottom Row Layout (Button + Slider) */
.hero-bottom-row {
    position: absolute;
    bottom: 6%; /* Push to the absolute bottom of the container */
    left: 1.5rem; /* Align perfectly with the text padding */
    width: calc(100% - clamp(300px, 28vw, 450px) - 5% - 3rem); /* Stop dynamically before the product card */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

/* Updated Slider Controls */
.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #ffffff;
}

.slide-indicator {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.slide-buttons {
    display: flex;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.slide-nav-btn {
    background: transparent;
    border: none;
    color: #000000;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-nav-btn:first-child {
    border-right: 1px solid #eeeeee;
}

.slide-nav-btn:hover {
    background: #f5f5f5;
}

/* ==========================================================================
   Product Tabs Section & Grid
   ========================================================================== */

.product-tabs-section {
    padding: 5rem 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tabs-navigation {
    display: flex;
    gap: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 400;
    color: #888888;
    cursor: pointer;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: #000000;
    font-weight: 500;
}

.view-all-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
}

/* 4-Column Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==========================================================================
   Product Card Component
   ========================================================================== */


.product-card {
    background-color: #f6f6f6; /* Light gray background for the entire card */
    border-radius: 16px;
    padding: 0.5rem; /* Padding to keep the inner white card away from edges */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-media {
    position: relative;
    padding: 2rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.product-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Floating Action Icons */
.product-hover-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #000000;
    transition: transform 0.2s ease;
}

.action-icon:hover {
    transform: scale(1.05);
}

/* Gallery Dots Container */
.product-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.product-gallery-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d1d1;
}

/* Active Pill Dot */
.product-gallery-dots .dot.active {
    width: 20px;
    border-radius: 10px;
    background-color: #000000;
}

/* White Inner Card Container */
.product-info-inner {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    width: 100%;
}

.product-category {
    font-size: 0.75rem;
    color: #888888;
    margin-bottom: 0.25rem;
    display: block;
}

.product-title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
}

/* Full Width Button */
.btn-add-to-cart {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0.875rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-add-to-cart:hover {
    background-color: #333333;
}


.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f6f6f6;
    border-radius: 12px;
    color: #888888;
    font-size: 1rem;
}

/* ==========================================================================
   Responsive Layout for Products (2-Column Mobile Design)
   ========================================================================== */

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Enforces a 2-column grid for mobile screens */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem; /* Reduces gap to maximize card space */
    }
    
    /* Adjusts section padding and header layout */
    .product-tabs-section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    /* Enables horizontal scrolling for tabs if they exceed screen width */
    .tabs-navigation {
        gap: 1.25rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: none; /* Hides scrollbar in Firefox */
    }

    .tabs-navigation::-webkit-scrollbar {
        display: none; /* Hides scrollbar in Chrome/Safari */
    }

    .tab-btn {
        font-size: 1.5rem; /* Enlarges tab titles per design */
        white-space: nowrap;
    }

    .view-all-link {
        display: none; /* Hides 'Shop All' link on mobile to clean up header */
    }

    /* Scales down card elements to fit the 2-column constraints */
    .product-card {
        padding: 0.35rem;
        border-radius: 12px;
    }
    
    .product-media {
        padding: 1rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    /* Minimizes action icons */
    .action-icon {
        width: 32px;
        height: 32px;
    }
    
    .action-icon svg {
        width: 16px;
        height: 16px;
    }

    /* Compresses internal white card padding */
    .product-info-inner {
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
    }

    /* Scales down typography for narrow cards */
    .product-category {
        font-size: 0.6rem;
    }

    .product-title-price {
        margin-bottom: 0.75rem;
        gap: 0.25rem;
    }

    .product-name {
        font-size: 0.75rem;
    }

    .product-price {
        font-size: 0.75rem;
    }

    .btn-add-to-cart {
        padding: 0.6rem;
        font-size: 0.75rem;
    }
}


/* Ensures card content strictly aligns left regardless of parent containers */
    .hero-featured-card {
        text-align: left; 
    }

    .hero-featured-card .card-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
    }

    .hero-featured-card .card-header {
        width: 100%; 
    }
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        padding: 0 1.5rem;
        width: 100%;
    }

    .hero-content {
        order: 1;
        text-align: left; 
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-bottom-row {
        position: static;
        order: 2;
        width: 100%;
        display: flex;
        justify-content: flex-start; 
        margin-bottom: 3rem;
    }

    .hero-slider-controls {
        display: none;
    }

    .btn-primary {
        width: auto;
        padding: 0.875rem 2.5rem;
    }

    .hero-featured-card {
        position: relative;
        order: 3;
        width: 100%;
        max-width: 450px;
        align-self: center; 
        top: 0;
        right: 0;
        transform: none;
        text-align: left; /* Restores left alignment for internal text */
    }

    .hero-featured-card .card-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Forces the link button to the left edge */
    }

    .hero-featured-card .card-header {
        width: 100%; /* Maintains space between title and price */
    }
}

/* ==========================================================================
   Fragrance Universe Section
   ========================================================================== */

/* Container holding both text and floating images */
.explore-universe {
    position: relative;
    padding: clamp(8rem, 15vw, 12rem) 0; 
    background-color: #fafafa; 
    overflow: hidden;
}

.universe-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px; /* Wider bound to give images space on the sides */
    margin: 0 auto;
    min-height: 320px; 
}

/* Central typography bounded to prevent overlap with images */
.universe-title {
    position: relative;
    z-index: 2;
    max-width: 800px; /* Constrain text width so side areas remain clear */
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    color: #1a1a1a;
    padding: 0 1rem;
}

.floating-images {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.float-img {
    position: absolute;
    object-fit: cover;
    border-radius: 999px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    animation: smoothFloat 6s ease-in-out infinite;
    will-change: transform;
}

/* Perimeter placements pushed strictly outside the text boundary */
.img-1 {
    top: 20%;
    left: 2%; /* Pushed completely to the left edge */
    width: 11%;
    aspect-ratio: 2 / 3;
    animation-delay: 0s;
}

.img-2 {
    top: -15%; /* Floating above the text */
    left: 55%;
    width: 9%;
    aspect-ratio: 3 / 4;
    animation-delay: 1.2s;
}

.img-3 {
    top: 25%;
    right: 2%; /* Pushed completely to the right edge */
    width: 11%;
    aspect-ratio: 3 / 4;
    animation-delay: 2.5s;
}

.img-4 {
    bottom: -20%; /* Floating below the text */
    left: 25%;
    width: 9%;
    aspect-ratio: 3 / 4;
    animation-delay: 0.5s;
}

.img-5 {
    bottom: -20%; /* Floating below the text */
    right: 25%;
    width: 10%;
    aspect-ratio: 3 / 4;
    animation-delay: 1.5s;
}

/* Defines the continuous floating animation sequence */
@keyframes smoothFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0px); }
}

/* Reconfigures asset positioning for mobile to overlap typography edges */
@media (max-width: 768px) {
    .explore-universe {
        padding: 6rem 0;
    }
    
    .universe-container {
        padding: 2rem 0; 
    }

    .universe-title {
        font-size: 1.15rem;
        line-height: 1.6;
        padding: 0 2rem; 
        max-width: 90%;
        margin: 0 auto;
    }

    .img-1 { 
        width: 12%; 
        top: 19%; 
        left: 0%; 
    }
    
    .img-2 { 
        width: 12%; 
        top: 7%; 
        left: 42%; 
    }
    
    .img-3 { 
        width: 12%; 
        top: 10%; 
        right: 9%; 
    }
    
    .img-4 { 
        width: 13%; 
        bottom: 10%; 
        left: 19%; 
    }
    
    .img-5 { 
        width: 13%; 
        bottom: 15%; 
        right: 19%; 
    }
}

/* ==========================================================================
   Collections Split-Layout Slider (Refined Sizes & Mobile)
   ========================================================================== */

.collections-section {
    background-color: #f6f5f1;
    padding: 5rem 0; 
    overflow: hidden; 
}

.collections-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 2fr; 
    gap: 3rem;
    align-items: center;
}

.collections-header {
    display: flex;
    flex-direction: column;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #000;
}

.section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
}

.slider-navigation {
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.slider-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.collections-track {
    display: flex;
    gap: 1.25rem; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    padding-bottom: 2rem; 
    margin-right: calc(-50vw + 50%); 
    padding-right: 2rem;
}

.collections-track::-webkit-scrollbar {
    display: none; 
}

.collection-card {
    min-width: 260px; 
    width: 260px; 
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    background: #eaeaea;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.25rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-text h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    color: #000;
}

.card-text span {
    font-size: 0.8rem;
    color: #888;
}

.card-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: background 0.3s ease;
}

.card-link-icon:hover {
    background: #e0e0e0;
}

@media (max-width: 992px) {
    .collections-section {
        padding: 4rem 0;
    }

    .collections-layout {
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    
    .collections-header {
        align-items: flex-start; 
    }

    .slider-navigation {
        display: flex; 
        margin-top: 1rem;
    }

    .collections-track {
        margin-right: -1.5rem; 
        padding-right: 1.5rem;
        gap: 1rem;
    }
    
    .collection-card {
        min-width: 40vw; 
        max-width: 270px; 
    }

    .card-content {
        padding: 1rem;
    }

    .card-text h3 {
        font-size: 1.05rem;
    }

    .card-link-icon {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   Shoppable Bundle Section (Desktop Base)
   ========================================================================== */

.shoppable-bundle-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.bundle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left Column: Interactive Image Container */
.bundle-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.main-bundle-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    display: block;
}

/* Absolute positioned interaction hotspots on the main image */
.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hotspot:hover {
    transform: scale(1.1);
}

/* Specific hotspot coordinates relative to the image boundaries */
.hotspot-1 { top: 55%; right: 25%; }
.hotspot-2 { top: 60%; left: 35%; }
.hotspot-3 { top: 45%; left: 15%; }

/* Right Column: Content Typography and Product List */
.bundle-content-col {
    display: flex;
    flex-direction: column;
    padding-right: 2rem;
}

.bundle-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bundle-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.bundle-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.02em;
}

.bundle-product-list {
    display: flex;
    flex-direction: column;
}

/* Individual list item layout maintaining grid alignment */
.bundle-product-item {
    display: grid;
    grid-template-columns: auto 60px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-number {
    width: 24px;
    height: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #666666;
}

.product-thumb {
    width: 60px;
    height: 60px;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-thumb img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.product-variant {
    font-size: 0.8rem;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.product-price {
    text-align: right;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000000;
}

.sale-price {
    color: #ff3b30;
}

.regular-price {
    color: #999999;
    text-decoration: line-through;
    font-size: 0.85rem;
    font-weight: 400;
}

.btn-shop-bundle {
    margin-top: 3rem;
    align-self: center;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 1rem 3rem;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-shop-bundle:hover {
    background-color: #333333;
}

/* ==========================================================================
   Responsive Layout for Shoppable Bundle (Mobile Stack)
   ========================================================================== */

@media (max-width: 992px) {
    .shoppable-bundle-section {
        padding: 4rem 0;
    }

    /* Stacks the image on top of the content */
    .bundle-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Centers the header text on mobile */
    .bundle-content-col {
        padding-right: 0;
        align-items: center; 
    }

    .bundle-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .bundle-title {
        font-size: 1.75rem; /* Reduces title size for smaller screens */
    }

    .bundle-product-list {
        width: 100%;
    }

    /* Compresses the product list items to fit the mobile viewport */
    .bundle-product-item {
        grid-template-columns: auto 48px 1fr auto; /* Shrinks the thumbnail column */
        gap: 0.75rem;
        padding: 1rem 0;
    }

    .product-number {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .product-thumb {
        width: 48px;
        height: 48px;
    }

    /* Reduces typography scales for the product details */
    .product-name {
        font-size: 0.85rem;
    }

    .product-variant {
        font-size: 0.75rem;
    }

    .product-price {
        font-size: 0.85rem;
    }

    .regular-price {
        font-size: 0.75rem;
    }

    /* Centers and scales the call-to-action button */
    .btn-shop-bundle {
        margin-top: 2rem;
        width: 100%;
        max-width: 280px; 
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
}

/* Extra adjustment for very small screens (like older iPhones) */
@media (max-width: 480px) {
    .bundle-product-item {
        grid-template-columns: auto 40px 1fr auto;
        gap: 0.5rem;
    }

    .product-thumb {
        width: 40px;
        height: 40px;
    }

    .product-name {
        font-size: 0.75rem;
    }
    
    .product-price {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Trending This Week Section (Desktop Layout)
   ========================================================================== */

.trending-section {
    padding: 04rem 0;
    background-color: #ffffff;
    overflow: hidden;
}

.trending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.trending-section-title {
    font-size: 2rem;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.02em;
    margin: 0;
}

.trending-nav {
    display: flex;
    gap: 0.5rem;
}

.trend-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000000;
}

.trend-nav-btn:hover {
    border-color: #000000;
    background-color: #fafafa;
}

/* Slider Track Layout */
.trending-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    padding-bottom: 1rem;
}

.trending-track::-webkit-scrollbar {
    display: none; 
}

/* Individual Promo Card - Resized to match reference */
.trending-card {
    flex: 0 0 calc(55% - 1rem); /* Makes the card slightly more compact */
    background-color: #efefef;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr; /* Gives text slightly more room, restricts image width so it scales up */
    scroll-snap-align: start;
    overflow: hidden;
    min-height: 380px; 
}

.trending-card-content {
    padding: 3rem 1.5rem 3rem 3rem; /* Top, Right, Bottom, Left */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.trend-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 0.75rem;
}

.trend-title {
    font-size: 2.1rem;
    line-height: 1.1;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}

.trend-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 2rem;
    max-width: 95%;
}

.trend-btn {
    background-color: #000000;
    color: #ffffff;
    padding: 0.8rem 1.75rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.trend-btn:hover {
    background-color: #333333;
}

.trending-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.5rem 1.5rem 0; /* Reduced padding to allow the image to grow */
    position: relative;
}

.trending-card-image img {
    width: 100%;
    height: 100%;
    max-height: 360px; /* Increased height limit */
    object-fit: contain;
    mix-blend-mode: multiply; 
    transform: scale(1.2); /* Scales the image up smoothly to fill the space like the reference */
}
/* Trust Badges Layout */
.trust-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid #eaeaea;
    border-radius: 99px;
    background-color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333333;
}

.trust-badge svg {
    background-color: #f4f4f4;
    border-radius: 50%;
    padding: 2px;
}

/* Configures the mobile layout for the trending section to a vertical stack */
@media (max-width: 992px) {
    .trending-section {
        padding: 4rem 0;
    }

    .trending-header {
        margin-bottom: 1.5rem;
    }

    .trending-section-title {
        font-size: 1.6rem;
    }

    .trend-nav-btn {
        width: 36px;
        height: 36px;
    }

    .trending-track {
        gap: 1rem;
    }

    .trending-card {
        flex: 0 0 calc(90vw - 1rem); 
        grid-template-columns: 1fr; 
        min-height: auto;
    }

    .trending-card-content {
        padding: 2.5rem 1.5rem 1rem 1.5rem;
    }

    .trend-subtitle {
        font-size: 0.8rem;
    }

    .trend-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .trend-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .trend-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .trending-card-image {
        padding: 1.6rem 1.6rem;
       
    }

    .trending-card-image img {
        max-height: 300px;
        transform: scale(1.6); 
    }

    /* Enables horizontal scrolling for trust badges on narrow viewports */
    .trust-badges-row {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none; 
        margin-top: 2rem;
        padding-bottom: 0.5rem;
        gap: 0.75rem;
    }

    .trust-badges-row::-webkit-scrollbar {
        display: none; 
    }

    .trust-badge {
        flex-shrink: 0;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}



/* ==========================================================================
   Lifestyle Offers Section - Custom Non-WooCommerce (Desktop Layout)
   ========================================================================== */

.lifestyle-offers-section {
    padding: 6rem 0;
    background-color: #ffffff;
    overflow: hidden;
}

.lifestyle-header-global {
    text-align: center;
    margin-bottom: 4rem;
}

.lifestyle-main-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 1rem;
}

.shop-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444;
    text-decoration: none;
    border-bottom: 1px solid #444444;
    padding-bottom: 0.2rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.shop-all-link:hover {
    color: #000000;
    border-color: #000000;
}

/* Lifestyle Split Layout: 45% Banner / 55% Products */
.lifestyle-layout {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr; 
    gap: 2rem;
    align-items: start;
}

/* Utility class to hide specific sections on desktop viewports */
.hide-on-desktop {
    display: none;
}

/* Ensures sliders maintain exactly 2 cards visible on desktop */
.slider-block-track .product-card {
    flex: 0 0 calc(50% - 0.75rem);
    scroll-snap-align: start;
}

/* Promo Banner (Left) */
.promo-banner-card {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-color: #d8c9bc;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}



.promo-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* .banner-icon-pin {
    width: 28px;
    height: 28px;
    background-color: #8c4a25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
} */

.banner-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.banner-title {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 2rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.banner-btn {
    background-color: #ffffff;
    color: #000000;
    padding: 0.85rem 2rem;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-3px);
}

/* Sliders (Right) */
.lifestyle-sliders-col {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.product-slider-block {
    display: flex;
    flex-direction: column;
}

.slider-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.slider-block-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000000;
}

.slider-nav-btn:hover {
    border-color: #000000;
}

.slider-block-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 1rem;
}

.slider-block-track::-webkit-scrollbar {
    display: none;
}

/* EXACT Custom Card Design */
.custom-mini-card {
    flex: 0 0 calc(50% - 0.75rem);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    position: relative;
}

.card-image-box {
    background-color: #f6f6f6;
    border-radius: 12px;
    padding: 2.5rem 1.5rem 3rem 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4 / 3.5;
}

.card-image-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-floating-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.float-btn {
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    color: #333333;
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
}

.card-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-slider-dots .dot {
    width: 4px;
    height: 4px;
    background-color: #cccccc;
    border-radius: 50%;
}

.card-slider-dots .dash {
    width: 12px;
    border-radius: 4px;
    background-color: #000000;
}

.card-info-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    margin-top: -1rem; /* Pulls the white box slightly over the grey background */
    position: relative;
    z-index: 2;
}

.card-cat {
    font-size: 0.75rem;
    color: #888888;
    margin-bottom: 0.25rem;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
}

.card-add-btn {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 99px;
    padding: 0.8rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-add-btn:hover {
    background-color: #333333;
}

/* ==========================================================================
   Responsive Layout for Lifestyle Offers (Mobile)
   ========================================================================== */

@media (max-width: 992px) {

    .hide-on-desktop {
        display: flex;
    }


    .lifestyle-offers-section {
        padding: 4rem 0;
    }

    .lifestyle-header-global {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .lifestyle-main-title {
        font-size: 1.75rem;
    }

    /* Transforme la grille en 1 seule colonne (empilée) */
    .lifestyle-layout {
        grid-template-columns: 1fr; 
        gap: 2.5rem;
    }

    /* Ajustements de la grande bannière pour mobile */
    .promo-banner-card {
        min-height: 480px;
        padding: 3rem 1.5rem;
    }

    .banner-title {
        font-size: 2.25rem;
    }

    .lifestyle-sliders-col {
        gap: 2.5rem;
    }

    .slider-block-header {
        margin-bottom: 1rem;
    }

    .slider-block-title {
        font-size: 1.25rem;
    }

    .slider-block-track {
        gap: 0.75rem; /* Réduit l'espace entre les cartes pour mobile */
    }

    /* Maintient exactement 2 cartes côte à côte sur l'écran */
    .custom-mini-card {
        flex: 0 0 calc(50% - 0.375rem); 
    }

    .card-image-box {
        padding: 1.5rem 0.75rem 2rem 0.75rem;
        min-height: 150px;
    }

    .card-floating-actions {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.35rem;
    }

    .float-btn {
        width: 28px;
        height: 28px;
    }

    .float-btn svg {
        width: 14px;
        height: 14px;
    }

    .card-info-box {
        padding: 0.85rem;
        margin-top: -0.75rem;
    }

    .card-title-row {
        flex-direction: column; /* Place le prix sous le titre s'il n'y a pas assez d'espace */
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.75rem;
    }

    .card-title {
        font-size: 0.8rem;
    }

    .card-price {
        font-size: 0.85rem;
    }

    .card-add-btn {
        padding: 0.6rem 0;
        font-size: 0.75rem;
    }
}

/* Ajustements supplémentaires pour les très petits écrans (ex: iPhone SE) */
@media (max-width: 380px) {
    .custom-mini-card {
        flex: 0 0 calc(50% - 0.25rem);
    }
    
    .card-info-box {
        padding: 0.6rem;
    }
    
    .card-title, .card-price {
        font-size: 0.75rem;
    }
}

/* Controls the width of the product cards specifically within the lifestyle slider tracks */
.slider-block-track .product-card {
    flex: 0 0 calc(50% - 0.75rem);
    scroll-snap-align: start;
}