/*
Theme Name: Grassi Luxury Theme
Theme URI: https://grassibathware.com
Author: Your Name
Description: A custom, high-end WooCommerce theme for Grassi Bathware.
Version: 1.0.0
Text Domain: grassi
*/

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #555555;
    --background-light: #ffffff;
    --background-gray: #f9f9f9;
    --border-color: #e0e0e0;
    --accent-color: #c9a675; 
    --font-heading: 'Playfair Display', serif; 
    --font-body: 'Inter', Helvetica, sans-serif; 
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--primary-color);
    background-color: var(--background-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
}

a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }

/* WooCommerce Buttons */
.woocommerce-page .button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 0 !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.woocommerce-page .button:hover { background-color: var(--secondary-color) !important; }

/* =======================================================
   1. BASE HEADER (Transparent + White Text + Shadows)
======================================================= */
.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: fixed !important;
    top: 0; left: 0; width: 100%;
    background-color: transparent !important;
    border-bottom: 1px solid transparent !important;
    z-index: 9999;
    padding: 1.5rem 5% !important;
    transition: all 0.4s ease;
}
.admin-bar .site-header { top: 32px !important; }

.site-logo {
    max-height: 38px !important;
    width: auto;
    object-fit: contain;
    /* Forces white AND adds shadow */
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.6)) !important; 
    transition: all 0.4s ease;
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: 2rem; }
.main-navigation { justify-self: center; }

.main-navigation ul { list-style: none; display: flex; gap: 3.5rem; margin: 0; padding: 0; }
.main-navigation li { position: relative; }

.main-navigation a, .region-toggle, .region-toggle span {
    font-family: var(--font-body);
    font-size: 0.85rem; 
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1.5px;
    color: #ffffff !important; 
    text-shadow: 0 4px 12px rgba(0,0,0,0.6) !important; /* Shadow for text */
    padding: 0.5rem 0;
    display: flex; align-items: center; gap: 0.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.region-toggle svg {
    stroke: #ffffff !important;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)) !important; /* Shadow for globe */
    transition: all 0.4s ease;
}

/* Hover Underline */
.main-navigation a::after {
    content: ''; position: absolute; width: 0; height: 1px;
    bottom: -2px; left: 50%; background-color: #ffffff;
    transition: all 0.3s ease-in-out; transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.main-navigation a:hover::after { width: 100%; }

/* =======================================================
   2. SCROLLED HEADER (White Background + Black Text + NO Shadows)
======================================================= */
.site-header.header-scrolled {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 1rem 5% !important; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; 
}

.site-header.header-scrolled .site-logo {
    filter: brightness(0) !important; /* Forces black, kills shadow */
    max-height: 32px !important;
}

.site-header.header-scrolled .main-navigation a,
.site-header.header-scrolled .region-toggle,
.site-header.header-scrolled .region-toggle span {
    color: #000000 !important;
    text-shadow: none !important; /* Kills text shadow */
}

.site-header.header-scrolled .region-toggle svg {
    stroke: #000000 !important;
    filter: none !important; /* Kills globe shadow */
}

.site-header.header-scrolled .main-navigation a::after {
    background-color: #000000 !important;
    box-shadow: none !important;
}

/* =======================================================
   3. REGION DROPDOWN MENU (FIXED)
======================================================= */
.region-picker {
    position: relative; /* CRUCIAL: Anchors the dropdown to the EN button */
}

.region-dropdown {
    position: absolute; 
    top: 100%; /* Sits directly below the header */
    right: 0;
    margin-top: 15px; /* Creates the visual gap */
    background-color: #ffffff; 
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    list-style: none; padding: 0.5rem 0; width: 220px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: all 0.3s ease;
    z-index: 1000;
}

/* The "Invisible Bridge" so your mouse doesn't lose hover over the gap */
.region-dropdown::before {
    content: ''; 
    position: absolute; 
    top: -15px; 
    left: 0; 
    width: 100%; 
    height: 15px;
}

.region-picker:hover .region-dropdown { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.region-dropdown li a {
    color: #1a1a1a !important; 
    font-size: 0.85rem; 
    padding: 0.75rem 1.5rem; 
    text-shadow: none !important; 
    display: flex; /* Ensures the flag icon and text align perfectly */
    align-items: center; 
    gap: 0.75rem;
}

.region-dropdown li a:hover { 
    background-color: #f9f9f9; 
    color: var(--accent-color) !important; 
}

/* General rule for both the Globe and the Flag */
.region-dropdown li a svg { 
    filter: none !important; 
    width: 16px; 
    height: 16px;
    flex-shrink: 0;
}

/* ONLY target the globe icon to turn it dark, leaving the Italian flag colors untouched */
.region-dropdown li a svg[fill="none"] {
    stroke: #1a1a1a !important; 
}

/* =======================================================
   4. HOMEPAGE & LAYOUT FIXES
======================================================= */
/* Pull hero up behind header */
.home .site-main { padding-top: 0 !important; margin-top: 0 !important; }
/* Push regular pages down so header doesn't cover them */
body:not(.home) .site-main { padding-top: 120px !important; }

/* Cinematic 21:9 Hero */
.hero-section {
    position: relative; height: 75vh; min-height: 600px; max-height: 900px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: flex-start; text-align: left;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; color: #ffffff; max-width: 650px;
    padding: 0; margin-left: 7%; margin-top: 3rem;
}
.hero-title { font-size: 5rem; letter-spacing: 2px; margin-bottom: 1rem; line-height: 1.1; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.05rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 2.5rem; opacity: 0.9; }
.btn-luxury { display: inline-block; padding: 1rem 3rem; border: 1px solid #ffffff; color: #ffffff; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; transition: all 0.4s ease; }
.btn-luxury:hover { background-color: #ffffff; color: #000000; }

@media (max-width: 900px) {
    /* Shrink the hero height so it doesn't take up the whole screen */
    .hero-section { 
        height: 55vh; /* Reduced from 80vh */
        min-height: 380px; /* Reduced from 500px */
        justify-content: flex-start;
        text-align: left; 
    }
    
    .hero-overlay { 
        background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0) 100%); 
    }
    
    .hero-content { 
        margin-left: 5%; 
        padding: 0 5% 0 0; 
        margin-top: 2rem; /* Pulled up closer to the top */
    }
    
    /* Shrink the fonts and the button */
    .hero-title { 
        font-size: 2.2rem; /* Scaled down */
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle { 
        font-size: 0.75rem; 
        margin-bottom: 1.5rem;
    }
    
    .btn-luxury {
        padding: 0.8rem 2rem; /* Sleeker, shorter button */
        font-size: 0.75rem;
    }
}

/* =======================================================
   5. COLLECTIONS & SPOTLIGHT
======================================================= */
.ethos-section { padding: 8rem 5%; text-align: center; background-color: var(--background-light); }
.ethos-title { font-size: 2.5rem; margin-bottom: 2rem; }
.ethos-text { max-width: 700px; margin: 0 auto; font-size: 1.2rem; color: var(--secondary-color); line-height: 1.8; }
.collections-section { padding: 0 5% 8rem; }
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto; }
.collection-card { display: block; overflow: hidden; position: relative; }
.collection-image {
    height: 600px;
    background-image: var(--bg-desktop); /* Loads the tall PC image */
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.collection-card:hover .collection-image { transform: scale(1.05); }
.collection-info { position:	 absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); color: #fff; }
.collection-info h3 { margin: 0; font-size: 1.5rem; letter-spacing: 1px; }
.en-text { font-family: var(--font-body); font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 2px; }
.spotlight-section { display: grid; grid-template-columns: 1fr 1fr; background-color: var(--background-gray); }
.spotlight-image { height: 700px; background-size: cover; background-position: center; }
.spotlight-content { padding: 6rem 10%; display: flex; flex-direction: column; justify-content: center; }
.spotlight-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-color); margin-bottom: 1rem; }
.btn-text { margin-top: 2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; display: inline-flex; align-items: center; }

@media (max-width: 900px) {
    /* 1. Compact the Brand Ethos Section */
    .ethos-section { 
        padding: 4rem 5%; /* Cut the massive 8rem padding in half */
    }
    .ethos-title { 
        font-size: 1.8rem; 
        margin-bottom: 1rem; 
    }
    .ethos-text { 
        font-size: 1rem; 
        line-height: 1.6;
    }

    /* 2. Compact the 3 Category Images (Stop the endless scrolling) */
    .collections-section { 
        padding: 0 5% 4rem; 
    }
    .collections-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem; /* Much tighter gap between the 3 images */
    }
    .collection-image { 
        height: 250px; 
        background-image: var(--bg-mobile) !important; /* Loads the wide Mobile image */
        background-position: center center !important; 
    }
    .collection-info { 
        padding: 1.25rem; /* Tighter padding inside the image */
    }
    .collection-info h3 { 
        font-size: 1.25rem; 
    }

    /* 3. Compact the Spotlight Section */
    .spotlight-section { 
        grid-template-columns: 1fr; 
    }
    .spotlight-image { 
        height: 300px; /* Shorter image */
    }
    .spotlight-content { 
        padding: 3rem 5%; /* Tighter text box */
    }
    .spotlight-content h2 {
        font-size: 1.8rem;
    }
    .spotlight-content p {
        font-size: 0.95rem;
    }
    .btn-text {
        margin-top: 1rem; /* Pull button closer to text */
    }
}
/* =======================================================
   6. LUXURY ITALIAN FOOTER (COMPACT)
======================================================= */
/* Prevent horizontal scrolling from the full-width breakout */
body { overflow-x: hidden; }

.site-footer { 
    background-color: #111111; 
    color: #e0e0e0; 
    padding: 3rem 5% 1.5rem !important; /* Squeezed top and bottom padding */
    
    /* Full-width breakout magic */
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 4rem !important; /* Reduced space above footer */
    margin-bottom: 0 !important;
    
    border-top: 4px solid var(--accent-color); 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 2rem; /* Reduced gap between columns from 4rem to 2rem */
    max-width: 1200px; /* Tighter max-width to bring columns closer */
    margin: 0 auto; 
    padding-bottom: 2rem; /* Reduced space above the copyright line */
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.footer-logo { 
    font-family: var(--font-heading); 
    font-size: 1.6rem; /* Scaled down logo text */
    color: #ffffff; 
    margin-bottom: 0.25rem; 
}

.made-in-italy { 
    font-style: italic; 
    color: #888888; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
}

.footer-heading { 
    font-family: var(--font-heading); 
    color: #ffffff; 
    font-size: 1.1rem; /* Scaled down headings */
    margin-bottom: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}

/* Tighter Contact Column */
.contact-col address { 
    font-style: normal; 
    line-height: 1.6; 
    margin-bottom: 0.5rem; 
    color: #aaaaaa; 
    font-size: 0.85rem;
}

.contact-links a { 
    display: block; 
    color: #ffffff; 
    margin-bottom: 0.25rem; 
    text-decoration: none; 
    font-size: 0.85rem;
}
.contact-links a:hover { color: var(--accent-color); }

/* Tighter Links Column */
.footer-navigation ul { list-style: none; padding: 0; }
.footer-navigation li { margin-bottom: 0.5rem; }
.footer-navigation a { 
    color: #aaaaaa; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
}
.footer-navigation a:hover { color: #ffffff; }

/* Tighter Copyright Line */
.footer-bottom { 
    text-align: center; 
    padding-top: 1.5rem; 
    font-size: 0.75rem; 
    color: #666666; 
}

/* Responsive adjust */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
/* =======================================================
   7. EDITORIAL BLOG / JOURNAL
======================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem 3rem; /* Generous breathing room between posts */
}

.blog-card {
    display: flex;
    flex-direction: column;
}

/* Image Styling & Hover Zoom */
.blog-image-link {
    overflow: hidden;
    display: block;
    margin-bottom: 2rem;
}

.blog-thumbnail {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-image-link:hover .blog-thumbnail {
    transform: scale(1.05);
}

/* Typography */
.blog-date {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color); /* The subtle gold color */
    margin-bottom: 0.75rem;
    display: block;
}

.blog-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.btn-read-more {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--primary-color);
}

.btn-read-more:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Pagination (Page 1, 2, 3...) */
.blog-pagination {
    margin-top: 5rem;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.blog-pagination a, 
.blog-pagination span {
    padding: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.blog-pagination .current {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.blog-pagination a:hover {
    color: var(--accent-color);
}
/* =======================================================
   8. INTERNAL PAGE HERO SECTIONS
======================================================= */
.internal-hero {
    position: relative;
    height: 50vh; /* Half screen height */
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.internal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.internal-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 5%;
}

.internal-hero-title {
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.internal-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* Fix spacing so the internal pages pull up under the transparent header */
body:not(.home) .site-main {
    padding-top: 0 !important;
}

.page-content-wrapper, .blog-grid-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Adjust font size for mobile */
@media (max-width: 900px) {
    .internal-hero-title { font-size: 3rem; }
}
/* =======================================================
   9. WOOCOMMERCE LUXURY SHOP GRID (Compact & Clean)
======================================================= */

/* 1. Force Full Width & Nuke Sidebar */
.woocommerce-page .site-main {
    width: 100% !important;
    max-width: 1400px;
    margin: 0 auto;
}

#secondary, .sidebar, .widget-area {
    display: none !important;
}

/* 2. Compact CSS Grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; /* Compact: 4-5 items per row */
    gap: 3rem 1.5rem !important; /* Tighter spacing */
    margin-top: 2rem !important;
    padding: 0 !important;
}

/* Remove default WooCommerce layout hacks */
.woocommerce ul.products::before, 
.woocommerce ul.products::after {
    display: none !important; 
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3. Product Images (Cinematic Framing) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    width: 100%;
    overflow: hidden; /* Contains the hover zoom */
    margin-bottom: 1.5rem;
}

.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5; /* Forces all images to a tall, elegant portrait size */
    object-fit: cover; /* Ensures images fill the frame perfectly */
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease !important;
    margin: 0 !important;
}

/* The Slow Luxury Hover Zoom */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover img {
    transform: scale(1.04);
    opacity: 0.9;
}

/* 4. Compact Typography */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important; /* Smaller text */
    color: var(--primary-color) !important;
    padding: 0 !important;
    margin-bottom: 0.25rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

/* Product Price */
.woocommerce ul.products li.product .price {
    font-family: var(--font-body) !important;
    color: var(--secondary-color) !important;
    font-size: 0.8rem !important; /* Smaller price text */
    letter-spacing: 1px;
    margin-bottom: 0.75rem !important;
}

/* 5. Clean Buttons */
/* Hide the clunky default "Add to Cart" or "Read More" button forever */
.woocommerce ul.products li.product .button {
    display: none !important;
}

/* The New Minimalist "Discover" Link */
.catalog-view-btn {
    font-family: var(--font-body);
    font-size: 0.7rem !important; /* Smaller, sleeker button */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto; /* Pushes it to the bottom neatly */
}

.woocommerce ul.products li.product:hover .catalog-view-btn {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

/* 6. Sorting Dropdown Styling */
.woocommerce .woocommerce-ordering {
    float: none !important;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color); /* Gives it a clean baseline */
}

.woocommerce .woocommerce-ordering select {
    background-color: transparent;
    border: none;
    padding: 0.5rem 2rem 0.5rem 0;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--primary-color);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* Custom Minimalist Arrow */
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
}

/* 7. Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on phones */
        gap: 2rem 1rem !important;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.95rem !important;
    }
}
/* =======================================================
   SHOP PAGE CLEANUP
======================================================= */

/* 1. Nuke the clunky black "READ MORE" or "ADD TO CART" buttons forever */
.woocommerce ul.products li.product .button {
    display: none !important;
}

/* 2. Push the "Default Sorting" dropdown cleanly to the right */
.woocommerce .woocommerce-ordering {
    float: none !important;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color); /* Gives it a clean baseline */
}

/* 3. Aggressively hide any remaining Sidebar/Widget areas just in case */
#secondary, .sidebar, .widget-area {
    display: none !important;
}

/* 4. Ensure the Shop takes up the full width now that the sidebar is gone */
.woocommerce-page .site-main {
    width: 100% !important;
    max-width: 1400px;
    margin: 0 auto;
}
/* =======================================================
   10. HERITAGE PAGE STYLING
======================================================= */
.heritage-container {
    width: 100%;
}

/* The Lead Section */
.heritage-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.heritage-established {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.heritage-lead h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.heritage-lead p {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* The 50/50 Splits */
.heritage-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.heritage-split-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); /* Soft, luxurious shadow */
}

.heritage-split-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.heritage-split-text p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* The Dark Awards Banner */
.heritage-awards-banner {
    background-color: #111111;
    color: #ffffff;
    padding: 6rem 5%;
    text-align: center;
    margin-bottom: 8rem;
    
    /* Forces the banner to bleed edge-to-edge outside the page container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.awards-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.heritage-awards-banner h3 {
    color: #ffffff;
    font-size: 2.5rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.heritage-awards-banner p {
    color: #aaaaaa;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.awards-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.award-item {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .heritage-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .reverse-split .heritage-split-image {
        order: -1; /* Forces the image on top for mobile */
    }
    .heritage-lead h2 {
        font-size: 2.2rem;
    }
    .heritage-awards-banner h3 {
        font-size: 2rem;
    }
    .awards-grid {
        gap: 2rem;
        flex-direction: column;
    }
}
/* =======================================================
   11. CONTACT PAGE STYLING
======================================================= */

/* Override the inline max-width from page.php so we have room for the grid */
.page-template-default .page-content-wrapper {
    max-width: 1100px !important;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Left side slightly smaller than right */
    gap: 6rem;
    margin-top: 2rem;
}

/* --- Left Column: Info --- */
.contact-block {
    margin-bottom: 3rem;
}

.contact-block h3 {
    font-size: 0.9rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-block p {
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.8;
}

.contact-block a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.contact-block a:hover {
    color: var(--accent-color);
}

.sub-text {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* --- Right Column: Form --- */
.form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.luxury-contact-form .form-group {
    margin-bottom: 2rem;
}

/* Style Inputs to look like sleek architectural lines */
.luxury-contact-form input,
.luxury-contact-form select,
.luxury-contact-form textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary-color);
    outline: none;
    transition: border-color 0.3s ease;
}

/* Removes standard dropdown arrow to make it look cleaner */
.luxury-contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%231a1a1a" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
}

.luxury-contact-form input:focus,
.luxury-contact-form select:focus,
.luxury-contact-form textarea:focus {
    border-bottom: 1px solid var(--primary-color); /* Darkens line when typing */
}

/* Placeholder styling */
.luxury-contact-form ::placeholder {
    color: #999999;
    font-weight: 300;
}

/* The Dark Luxury Button */
.btn-dark-luxury {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    padding: 1rem 3rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1rem;
}

.btn-dark-luxury:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* Responsive adjustments for mobile */
@media (max-width: 900px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}
/* =======================================================
   12. MOBILE RESPONSIVE FIXES (The Hamburger Menu)
======================================================= */

/* Hide hamburger and wrapper logic on desktop */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff !important; 
    cursor: pointer;
    z-index: 100001; 
    padding: 0;
    margin-left: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
    transition: all 0.3s ease;
}

.header-right-wrapper {
    justify-self: end;
    display: flex;
    align-items: center;
}

/* Make hamburger turn black when you scroll */
.site-header.header-scrolled .mobile-menu-toggle {
    color: #000000 !important;
    filter: none;
}

/* --- MOBILE SPECIFIC RULES --- */
@media (max-width: 900px) {
    
    /* 1. Header Layout */
    .site-header {
        grid-template-columns: 1fr auto; /* Just Logo on left, Actions on right */
        padding: 1.5rem 5% !important;
    }

    .site-logo { max-height: 28px !important; }
    
    /* Show the hamburger */
    .mobile-menu-toggle { display: block; }
    
    /* Hide the Region Picker text on mobile to save space, show just the globe */
    .region-toggle span { display: none; }
    
    /* 2. The Full-Screen Mobile Menu Overlay */
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #111111; /* Pitch black overlay */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 100000; /* Sits over everything */
    }

    /* When menu is active... */
    body.mobile-menu-active {
        overflow: hidden; /* Prevents background scrolling */
    }

    body.mobile-menu-active .main-navigation {
        opacity: 1;
        visibility: visible;
    }
    
    /* Turn hamburger white and hide region picker when the black menu is open */
    body.mobile-menu-active .mobile-menu-toggle {
        color: #ffffff !important;
    }
    body.mobile-menu-active .header-actions {
        opacity: 0;
        visibility: hidden;
    }

    /* 3. Mobile Navigation Links */
    .main-navigation ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .main-navigation a {
        font-size: 1.8rem; /* Massive, elegant tap targets */
        font-weight: 400;
        letter-spacing: 3px;
        text-shadow: none !important;
    }

    .main-navigation a::after {
        display: none; /* Removes the hover underline on phones */
    }
}
/* =======================================================
   15. LUXURY SINGLE PRODUCT PAGE (Lookbook Style)
======================================================= */

/* --- 1. Fix the Header Overlap --- */
/* Force the header to be solid white with black text on product pages */
body.single-product .site-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 1rem 5% !important; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

body.single-product .site-logo {
    filter: brightness(0) !important; 
    max-height: 32px !important;
}

body.single-product .main-navigation a,
body.single-product .region-toggle,
body.single-product .region-toggle span {
    color: #000000 !important;
    text-shadow: none !important; 
}

body.single-product .region-toggle svg {
    stroke: #000000 !important;
    filter: none !important; 
}

body.single-product .main-navigation a::after {
    background-color: #000000 !important;
    box-shadow: none !important;
}

/* Push the actual product content down so the header doesn't cover it */
body.single-product .site-main {
    padding-top: 150px !important; 
}


/* --- 2. The Lookbook Layout (Sticky Split Screen) --- */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    align-items: flex-start;
}

/* Left Side: Massive Image Gallery */
.woocommerce div.product div.images {
    width: 60% !important; /* Image takes up the majority of the screen */
    margin-bottom: 3rem;
}

.woocommerce div.product div.images img {
    border-radius: 0 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* Soft gallery shadow */
    width: 100% !important;
}

/* Right Side: Sticky Text Details */
.woocommerce div.product div.summary {
    width: 35% !important;
    position: sticky;
    top: 120px; /* Text floats smoothly beside images when scrolling */
    padding-top: 1rem;
}


/* --- 3. High-End Typography --- */
.woocommerce div.product .product_title {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Massive, editorial title */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Short Description */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Clean up SKU & Categories */
.woocommerce div.product .product_meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999999;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce div.product .product_meta a {
    color: var(--primary-color);
    font-weight: 600;
}


/* --- 4. Minimalist Information Tabs (Description / Reviews) --- */
.woocommerce div.product .woocommerce-tabs {
    width: 100%;
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* Remove default ugly tab borders */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 0;
    margin: 0 0 4rem 0;
    border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

/* Style the tab text */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999999 !important;
    font-weight: 400;
    transition: all 0.3s;
}

/* Active tab styling */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--primary-color) !important;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 5px;
}

/* Inside the tabs */
.woocommerce-Tabs-panel h2 {
    display: none; /* Hides the redundant "Description" heading inside the text */
}
.woocommerce-Tabs-panel p {
    font-size: 1.15rem;
    color: var(--secondary-color);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


/* --- 5. Mobile Adjustments --- */
@media (max-width: 900px) {
    body.single-product .site-main {
        padding-top: 120px !important;
    }
    .woocommerce div.product {
        flex-direction: column;
    }
    .woocommerce div.product div.images, 
    .woocommerce div.product div.summary {
        width: 100% !important;
        position: static; /* Removes sticky logic on phones */
    }
    .woocommerce div.product .product_title {
        font-size: 2.5rem;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
/* =======================================================
   16. SINGLE BLOG POST STYLING (Editorial Layout)
======================================================= */

/* --- 1. Fix the Header Overlap --- */
/* Force the header to be solid white with black text on single blog posts */
body.single-post .site-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 1rem 5% !important; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

body.single-post .site-logo {
    filter: brightness(0) !important; 
    max-height: 32px !important;
}

body.single-post .main-navigation a,
body.single-post .region-toggle,
body.single-post .region-toggle span {
    color: #000000 !important;
    text-shadow: none !important; 
}

body.single-post .region-toggle svg {
    stroke: #000000 !important;
    filter: none !important; 
}

body.single-post .main-navigation a::after {
    background-color: #000000 !important;
    box-shadow: none !important;
}

/* --- 2. Post Layout & Spacing --- */
/* Push the post content down so the header doesn't cover it */
body.single-post .site-main {
    padding-top: 160px !important; 
    padding-bottom: 6rem;
}

/* Constrain the width of the post for a comfortable reading experience */
body.single-post .site-main .post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 3. Typography & Styling --- */
/* The Post Title */
.single-post .entry-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* The Featured Image */
.single-post .post-thumbnail {
    margin-bottom: 3rem;
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Soft luxury shadow */
}

/* Main Text Body */
.single-post .entry-content {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Headings inside the post */
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.single-post .entry-content p {
    margin-bottom: 1.8rem;
}

.single-post .entry-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- 4. Fix Bullet Points & Lists --- */
.single-post .entry-content ul {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    list-style-type: none; /* We will use custom luxury bullets */
}

.single-post .entry-content li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Custom Minimalist Bullet Points */
.single-post .entry-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color); /* Gold accent bullet */
    border-radius: 50%;
}

/* --- 5. Clean Table Styling (For your comparison grids) --- */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    font-size: 1rem;
}

.single-post .entry-content th,
.single-post .entry-content td {
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem;
    text-align: left;
}

.single-post .entry-content th {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    body.single-post .site-main { padding-top: 120px !important; }
    .single-post .entry-title { font-size: 2.2rem; }
}
/* =======================================================
   17. COLLECTIONS DROPDOWN MENU 
======================================================= */

/* --- DESKTOP DROPDOWN --- */
@media (min-width: 901px) {
    .main-navigation li.menu-item-has-children {
        position: relative;
        padding-bottom: 15px; 
        margin-bottom: -15px; 
    }
    
    /* 1. Base Dropdown Styling */
    .main-navigation ul.sub-menu {
        display: block !important; /* Fixes the flexbox leak */
        position: absolute;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        list-style: none;
        padding: 0.5rem 0;
        width: 240px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        text-align: left; 
    }

    .main-navigation ul.sub-menu li {
        padding: 0;
        margin: 0;
        display: block; 
        position: relative; 
    }

    /* 2. First Level Dropdown (Under Collections) - FIXED SELECTOR */
    .main-navigation li.menu-item-has-children > ul.sub-menu {
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .main-navigation li.menu-item-has-children:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* 3. Third Level Dropdown (Sub-sub-menus like Wall-Hung) */
    .main-navigation ul.sub-menu li.menu-item-has-children > ul.sub-menu {
        top: -1px; 
        left: 100%; 
        transform: translateX(10px); 
    }

    .main-navigation ul.sub-menu li.menu-item-has-children:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0); 
    }

    /* 4. Link Typography & Colors */
    .main-navigation ul.sub-menu a {
        color: #1a1a1a !important;
        text-shadow: none !important;
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        display: block;
        width: 100%;
    }

    .main-navigation ul.sub-menu a::after {
        display: none; 
    }

    .main-navigation ul.sub-menu a:hover {
        color: var(--accent-color) !important;
        background-color: #f9f9f9;
    }
}
/* --- MOBILE MENU DROPDOWN --- */
@media (max-width: 900px) {
    .main-navigation ul.sub-menu {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding-top: 1.5rem;
        margin-bottom: 1rem;
        list-style: none;
    }
    
    .main-navigation ul.sub-menu a {
        font-size: 1.1rem !important; /* Smaller than main links */
        color: var(--accent-color) !important; /* Gold to distinguish sub-items */
        letter-spacing: 2px;
    }
}
/* =======================================================
   19. MOBILE "SANDWICH" MENU & ACCORDION DROPDOWNS
======================================================= */
@media (max-width: 900px) {
    
    /* 1. Make the Sandwich Icon Animate into an 'X' */
    .hamburger-icon line { transition: all 0.3s ease-in-out; transform-origin: center; }
    body.mobile-menu-active .hamburger-icon line:nth-child(1) { opacity: 0; }
    body.mobile-menu-active .hamburger-icon line:nth-child(2) { transform: translateY(6px) rotate(45deg); }
    body.mobile-menu-active .hamburger-icon line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* 2. Fix the Overlay Layout */
    .main-navigation {
        justify-content: flex-start !important; 
        padding-top: 120px !important; 
        padding-bottom: 60px !important;
        overflow-y: auto !important; 
    }

    .main-navigation > div > ul {
        display: flex;
        flex-direction: column;
        gap: 1.5rem !important; 
        width: 100%;
        margin: 0;
        padding: 0 5%;
    }

    /* 3. Prepare list items for accordion layout */
    .main-navigation li.menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .main-navigation li.menu-item-has-children > a {
        flex-grow: 1; /* Pushes the toggle arrow to the far right */
    }

    /* 4. The Accordion Toggle Button (Arrows) */
    .dropdown-toggle {
        background: transparent;
        border: none;
        color: #ffffff;
        padding: 5px 15px;
        cursor: pointer;
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
    }
    .main-navigation ul.sub-menu .dropdown-toggle { color: var(--accent-color); } /* Gold arrows for deeper menus */

    /* 5. Hide Sub-Menus by Default */
    .main-navigation ul.sub-menu {
        display: none !important; /* Hide them initially */
        width: 100%; 
        flex-direction: column;
        background: transparent !important;
        box-shadow: none !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        padding-top: 1rem !important;
        gap: 1.2rem !important;
        border: none !important;
        padding-left: 1rem; /* Indent sub-menus slightly for visual hierarchy */
    }

    /* 6. Show Sub-Menus when Active */
    .main-navigation li.menu-item-has-children.menu-active > ul.sub-menu {
        display: flex !important;
    }

    /* 7. Sub-Menu Typography */
    .main-navigation ul.sub-menu a {
        font-size: 1.2rem !important; 
        color: var(--accent-color) !important; 
        letter-spacing: 2px !important;
    }

    /* Third level categories */
    .main-navigation ul.sub-menu ul.sub-menu { gap: 1rem !important; padding-top: 0.8rem !important; padding-left: 1rem; }
    .main-navigation ul.sub-menu ul.sub-menu a { font-size: 0.95rem !important; color: #aaaaaa !important; }
}

/* Ensure mobile toggle arrows NEVER show up on desktop */
@media (min-width: 901px) {
    .dropdown-toggle { display: none !important; }
}
/* =======================================================
   20. MOBILE OVERLAY COLOR OVERRIDES (The Double-Class Hack)
======================================================= */

/* 1. Force the 'X' button to be white */
body.mobile-menu-active.mobile-menu-active .mobile-menu-toggle,
body.mobile-menu-active.mobile-menu-active .hamburger-icon,
body.mobile-menu-active.mobile-menu-active .hamburger-icon line {
    color: #ffffff !important;
    stroke: #ffffff !important; 
    fill: #ffffff !important;
}

/* 2. Force the main links back to white (Targets all links in the nav) */
body.mobile-menu-active.mobile-menu-active .main-navigation a {
    color: #ffffff !important;
}

/* 3. Force the sub-categories (Toilets, Basins) back to gold */
body.mobile-menu-active.mobile-menu-active .main-navigation ul.sub-menu > li > a {
    color: var(--accent-color) !important;
}

/* 4. Force the deepest sub-categories (Wall-Hung) back to grey */
body.mobile-menu-active.mobile-menu-active .main-navigation ul.sub-menu ul.sub-menu > li > a {
    color: #aaaaaa !important;
}

/* 5. Force the dropdown arrows to be white/gold */
body.mobile-menu-active.mobile-menu-active .dropdown-toggle {
    color: #ffffff !important;
}
body.mobile-menu-active.mobile-menu-active .main-navigation ul.sub-menu .dropdown-toggle {
    color: var(--accent-color) !important;
}
/* =======================================================
   22. FINAL POLISH: HERO IMAGE & PRODUCT IMAGE FIT
======================================================= */

/* 1. Force the correct Hero Image */
/* Since style.css is in the grassi folder, 'images/...' is the perfect relative path */
body.woocommerce-page .internal-hero,
body.archive .internal-hero {
    background-image: url('images/collection-hero.webp') !important; /* Make sure the file name is exactly this! */
    background-size: cover !important;
    background-position: center center !important;
}

/* 2. Style the Uncropped Product Images & Fix Grid Alignment */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 350px !important; /* Forces EVERY image box to be exactly the same height */
    object-fit: contain !important; /* Shrinks the image to fit safely inside the box without cutting */
    object-position: center bottom !important; /* The magic trick: makes all products 'sit' on the same invisible floor */
    background-color: transparent !important; 
    padding: 1rem !important; 
    margin-bottom: 1.5rem !important; /* Adds uniform spacing before the product title */
}