:root {
    /* Updated Gold & Black Theme */
    --primary-color: #000000;         
    --secondary-color: #0a0a0a;       /* Darker for more "premium" feel */
    
    /* Gold Accents: Realistic 24K Palette */
    --gold-bright: #fff3a1;           /* The "Glint" of sun on metal */
    --gold-mid: #d4af37;              /* Standard 24K Gold */
    --gold-dark: #926d0a;             /* Deep aged gold for depth */
    
    /* Text Styles */
    --text-main: #ffffff;             
    --text-muted: #c5a028;            /* Slightly desaturated gold for readability */
    --text-light: #a1a1a1;
    --white: #ffffff;
    
    /* Structure & Inputs */
    --border-color: #222222;          
    --input-border: #d4af37;          

    /* The "Real Gold" Gradient */
    /* This creates a metallic "shimmer" effect by alternating light and dark */
    --hero-gradient: linear-gradient(
        45deg, 
        #a67c00 0%, 
        #bf953f 25%, 
        #fcf6ba 50%, 
        #b38728 75%, 
        #aa771c 100%
    );

    /* Font Styles */
    --font-main: 'Georgia', 'Times New Roman', serif; 
    --font-size-base: 14px;
    --font-size-small: 12px;
    --font-size-tiny: 10px;
     --font-weight-light: 300;
}

/* Reset & Fonts */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: var(--font-main); 
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 5%;
    font-size: var(--font-size-small);
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
}

.top-bar a { 
    text-decoration: none; 
    color: var(--text-muted); 
    margin: 0 10px; 
}
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%; /* Top/Bottom: 25px | Left/Right: 5% */
    position: relative;
    background-color: var(--white);
    z-index: 10;
    gap: 40px;
}
/* Style for the new PNG icons */
.header-png {
    height: 24px; /* Matches your previous icon scale */
    width: auto;
    display: block;
    object-fit: contain;
    /* Optional: If your icons are black and you want them to look slightly grey/gold */
    opacity: 1; 
    transition: opacity 0.3s ease;
}
/* Keeps the clickable links looking like your original design */
.icon-item a {
    text-decoration: none;
    color: inherit; /* Takes the color from your existing styles */
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between icon and text if needed */
}

.icon-item {
    cursor: pointer; /* Makes the mouse turn into a hand over the whole area */
}

/* Target the PNG specifically */
.icon-item:hover .header-png {
    /* Transforms a black PNG into a metallic gold color */
    filter: sepia(1) saturate(5) brightness(0.8) hue-rotate(10deg);
    transform: scale(1.1); /* Subtle "pop" effect */
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Make sure the text color also changes to gold on hover */
.icon-item:hover span {
    color: var(--gold-mid);
    transition: color 0.3s ease;
}
 

/* Ensure the wrapper keeps everything aligned */
.icon-item {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 100%; /* Ensures the vertical divider line stays consistent */
}
/* Logo - The "Dipped Cutout" look */
.logo {
    position: absolute;
    top: -55px; /* Pulls it up slightly into the top bar area for that 'dipped' look */
    left: 2%;
    background: var(--white);
    padding: 45px 10px 10px 10px;
    border-radius: 0 0 80px 80px; 
     z-index: 20;
}

.logo img {
    height: 100px; 
    width: auto;
    display: block;
}

/* Search Container - FIXED: Big & Middle */
.search-container {
    display: flex;
    flex: 1; /* Makes it take up all available middle space */
    max-width: 700px; /* Big enough but not stretched too far */
    margin-left: 250px; /* Prevents overlap with the floating logo */
    border: 1px solid var(--primary-color);
    border-radius: 0px; /* Modern rounded look */
    overflow: hidden;
    height: 45px;
}
/* Style the button to center the image */
.search-container button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Adjust padding as needed */
}

/* Control the size of your PNG icon */
.search-btn-img {
    height: 25px; /* Adjust this based on how big you want the icon to look */
    width: auto;
    filter: brightness(0) invert(1);

}

.search-container input {
    flex: 1;
    padding: 0 25px;
    border: none;
    outline: none;
    font-size: 15px;
}

.search-container button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    
    font-size: 16px;
    transition: background 0.3s ease;
}
.search-container button:hover .search-btn-img {
    transition: filter 0.3s ease; /* Makes the transition smooth */
        filter: brightness(1) invert(0);

}

/* Container for all icons */
.header-icons { 
    display: flex; 
    align-items: center; 
    gap: 0; /* Removing gap to use borders as dividers */
}

/* Individual Item Wrapper */
.icon-item { 
    display: flex; 
    align-items: center; 
    padding: 0 15px; 
    color: var(--text-muted); 
    cursor: pointer; 
    border-right: 1px solid #ccc; /* This creates the | line */
}

/* Remove divider from the last icon (Cart) */
.icon-item:last-child {
    border-right: none;
}

.icon-item i { 
    font-size: 26px; /* Icon size */
    color: #333;
}

/* Text on the right side - 2 lines */
.icon-item span { 
    display: inline-block; 
    font-size: 13px; 
    line-height: 1.2; /* Tightens the space between the two lines */
    margin-left: 10px;
    max-width: 60px; /* Forces the text to wrap into 2 lines */
    text-align: left;
    color: #444;
}

/* Cart Badge Styling */
.cart-icon {
    position: relative;
    padding-right: 10px;
}

/* This ensures the badge stays inside the icon's area */
.icon-item.cart-icon {
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust the badge placement */
.badge {
    position: absolute;
    top: -15px;    /* Pull it down a bit from your current -12px */
    right: 5px;   /* Pull it in from the edge */
    background: #fff;
    color: #666;
    border: 1px solid #666;
    border-radius: 100%;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    z-index: 5;
}


/* Category Navigation */
.category-nav {
    background: var(--secondary-color);
    padding: 12px 0;
    position: relative;
    z-index: 5;
}

.category-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0; /* Remove the 100px padding */
}



/* --- MEGA MENU FIXED FULL CODE --- */

/* 1. Parent Navigation Setup */
.category-nav ul {
    position: relative;
    display: flex;
    justify-content: center;
    list-style: none;
}

/* Ensure the hover area is stable */
.has-mega-menu {
    position: static; /* This allows the mega menu to span the full width of the nav bar */
}

/* 2. The Mega Menu Container */
.mega-menu {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: none; 
    padding: 40px 5%;
    z-index: 1000;
    border-bottom: 3px solid var(--gold-mid);
}

/* 3. The White Arrow (The "Triangle" from your image) */
.mega-menu::before {
    content: "";
    position: absolute;
    top: -12px; /* Pulls it up to sit on the edge */
        left: var(--arrow-left, 50%); /* JS weda kale nathnam default 50% thiyenawa */

    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #ffffff;
    z-index: 1001;
}
  
/* 4. Show Menu on Hover */
.has-mega-menu:hover .mega-menu {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* 5. Grid Layout for Columns */
.mega-menu-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; 
    gap: 0; /* Gap is 0 because we use padding and borders for spacing */
    max-width: 1250px;
    margin: 0 auto;
}

/* 6. Column Styling & Vertical Dividers */
.mega-column {
    padding: 0 30px;
    border-right: 1px solid #f0f0f0; /* The vertical line from your image */
}

.mega-column:last-child {
    border-right: none; /* No line after the banner column */
}

.mega-column h3 {
    color: var(--primary-color); /* Darker blue/black for headings like the image */
    font-size: 16px;
    margin-bottom: 20px;
    font-family: var(--font-main);
    font-weight: 600;
}

/* 7. List and Links Reset */
.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block; 
}

.mega-column ul li a {
    color: #555 !important;
    font-size: 14px;
    padding: 6px 0 !important;
    display: block;
    text-transform: capitalize !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-column ul li a:hover {
       color: var(--gold-mid)!important;
 
}

 
/* 8. Popular Types Link Grid (Split into two small columns) */
.link-grid {
    display: flex;
    justify-content: space-between;
}

.link-grid ul {
    width: 48%;
}

/* 9. View All Button */
.view-all-btn {
    margin-top: 25px;
    display: block;
    padding: 12px;
    border: 1px solid var(--gold-mid);
    text-decoration: none;
    color: var(--gold-mid)!important;
    width: 100%;
    text-align: center;
    border-radius: 0px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color)!important;
    background: #fffcf5;
}

/* 10. Banner & Promo Styling */
.banner-col .browse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.banner-col .browse-header span {
    color: var(--primary-color);
    font-weight: 600;
}

.banner-col .browse-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.banner-col img {
    width: 50%;
    height: auto;
    border-radius: 8px;
 }

/* Solitaire Promo Item */
.solitaire-promo {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.solitaire-promo img {
    width: 60px;
    height: auto;
    margin-left: auto;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    padding: 10px 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-nav ul li a i {
    font-size: 10px;        /* Adjust size as needed */
    margin-left: 4px;      /* Adds space between text and arrow */
    opacity: 0.8;          /* Sets the visibility/transparency */
    vertical-align: middle; /* Aligns it perfectly with the text height */
    transition: opacity 0.3s ease; /* Smooth transition if you hover */
}

/* Optional: Make it 100% visible when the link is hovered */
.category-nav ul li a:hover i {
    opacity: 0.1;
    color: var(--gold-mid);
}

.category-nav ul li a:hover { 
    /* Change from black to gold so it's visible on the dark bar */
    color: var(--gold-mid); 
    
    /* Optional: adds a subtle "glow" to match the 24K aesthetic */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    
    /* Ensures the transition is smooth */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}



/* 1. Main Wrapper - Keep it pinned */
.header-wrapper {
    position: fixed;
    top: 5px;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--white);
}

/* 2. Scroll State - Slide Up & Shadow */
.header-wrapper.hide-top-bar {
    transform: translateY(-41px); /* Hides Top Bar */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 3. Logo Container - The "Dipped" Box */
.logo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 4. Logo IMAGE - Shrink logic */
.logo img {
    height: 100px; /* Original size */
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. Combined Scroll Effect: Logo Resizes & Adjusts Position */
.header-wrapper.hide-top-bar .logo {
    top: -30px; /* Pulls it up slightly more to keep it tight */
    padding: 35px 10px 10px 10px; /* Thinner padding for compact look */
}

.header-wrapper.hide-top-bar .logo img {
    height: 80px; /* New smaller logo height when scrolling */
}

/* 6. Adjust Middle Search Bar gap when Logo gets smaller */
.header-wrapper.hide-top-bar .search-container {
    margin-left: 160px; /* Moves search left as logo shrinks */
    transition: margin-left 0.4s ease;
}

/* 7. Page Spacing */
body {
    padding-top: 180px; 
}

.mobile-nav {

    display: none;
}

/* 1. HIDE DESKTOP NAV ON MOBILE */
@media (max-width: 991px) {
    .header-wrapper, 
    .top-bar, 
    .main-header, 
    .category-nav {
        display: none !important;
    }

    body {
        padding-top: 65px; /* Matches mobile-nav height */
    }

    /* 2. MOBILE NAVIGATION STYLES */
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: var(--white);
        border-bottom: 2px solid var(--gold-mid);
        padding: 0 15px;
        align-items: center;
        justify-content: space-between;
        z-index: 9999;
    }

    /* Middle Section: Shield Logo Background */
    .mobile-logo {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background: var(--white);
         padding: 10px 10px 10px 10px; 
        border-radius: 0 0 50px 50px; 
         z-index: 10000;
    }

    .mobile-logo img {
        height: 65px; /* Adjusted to fit the shield nicely */
        width: auto;
        display: block;
    }

    /* Adjusting Left and Right sections to ensure they don't overlap the logo */
    .mobile-left, .mobile-right {
        flex: 1;
    }

    .mobile-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
    }

    .mobile-left #mobileMenuBtn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
        }

        /* Style for your new PNG menu icon */
        .menu-icon-img {
            height: 30px; /* Matches your right-side icons */
            width: auto;
            display: block;
        }

    .mobile-right a img {
        height: 25px;
        width: auto;
        display: block;
    }

    .mobile-cart-wrapper {
        position: relative;
    }

    .mobile-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: var(--gold-mid);
        color: white;
        font-size: 10px;
        width: 16px;
        height: 16px;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
    }
}







 
 /* Sidebar Base - Set to Full Width */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full Screen Width */
    height: 100vh; /* Full Screen Height */
    background: #ffffff;
    z-index: 10001;
    /* Uses transform for 60fps smooth animation */
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none; /* Shadow not needed for full screen */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

/* Header / Auth Section */
.sidebar-auth-banner {
    background-color: #000000;
    padding: 35px 25px; /* Increased padding for full screen feel */
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0; /* Keeps header size fixed */
}

.auth-user-icon {
    width: 55px; /* Slightly larger for full screen */
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    border: 2px solid #d4af37; /* Gold border */
}

.auth-img { height: 50px; width: auto; }

.auth-text {
    display: flex;
    flex-direction: column;
}

.guest-label {
    color: #a1a1a1;
    font-size: 11px; /* Kept large */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.login-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 18px; /* Increased for full screen */
    font-weight: 500;
    margin-top: 4px;
}

#closeMenuBtn {
    position: absolute;
    right: 20px;
    top: 25px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 45px; /* Large, easy-to-hit close button */
    line-height: 1;
    cursor: pointer;
}

/* Links & Accordion */
.sidebar-links {
    flex-grow: 1; /* Corrected from list-grow */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 60px 0;
}

.sidebar-links li { 
    border-bottom: 1px solid #f2f2f2; 
    list-style: none; 
}

.sidebar-links a {
    display: block;
    padding: 20px 25px; /* Larger hit area for full screen */
    text-decoration: none;
    color: #222;
    font-size: 16px; /* Keeping text size prominent */
    font-weight: 500;
}
/* The Active State */
 

/* The Active State - Sidebar Links */
.sidebar-links a.active-link {
    color: #d4af37 !important;
    background-color: #f9f9f9; 
    font-weight: 500 !important; /* Made bolder for active state */
}

/* The Active State - Top Login Link */
.login-link.active-link {
    color: #d4af37 !important;
    text-decoration: underline;
}

/* Ensure Arrow stays gold when its parent is active/open */
.has-dropdown.open .arrow-icon {
    transform: rotate(45deg);
    color: #d4af37;
}
.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.arrow-icon {
    padding: 0 25px;
    font-size: 24px; /* Larger icons */
    color: #bbb;
    transition: transform 0.3s ease;
}

/* Accordion Open State */
.has-dropdown.open .submenu { display: block; }
.has-dropdown.open .arrow-icon { 
    transform: rotate(45deg); 
    color: #d4af37;
}

.submenu {
    display: none;
    background: #fcfcfc;
    padding: 5px 0;
}

.submenu li a {
    padding: 15px 25px 15px 50px; /* Larger padding for sub-links */
    color: #444;
    font-size: 15px; /* Legible sub-text */
    border-bottom: none;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7); /* Slightly darker for full screen depth */
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-divider { 
    border: 0; 
    border-top: 1px solid #eee; 
    margin: 15px 25px; 
}











/* Hero Banner */
.hero-section { padding: 10px 0%; }

 
/* Hero Container Layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--secondary-color); /* Dark Black background from your root */
    border-radius: 0px;
    overflow: hidden;
    min-height: 600px;
 }

/* Left Content Area */
.hero-content {
    flex: 1;
    padding: 60px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 55px;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-content h1 span {
    display: block;
    color: var(--gold-mid);
    font-size: 32px;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 500px;
}

/* Button Group */
.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-primary {
    background: var(--hero-gradient);
    background-size: 200% auto; /* Necessary for the sweep effect */
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.cta-primary:hover {
    transform: translateY(-3px);
    background-position: right center; /* Moves the "shine" across the button */
     color: #000;
}
 .cta-secondary {
    border: 1px solid var(--gold-mid);
    color: var(--gold-mid);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    background: transparent;
}

.cta-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-bright); /* Text gets slightly brighter */
    border-color: var(--gold-bright);
     transform: translateY(-2px);
}

 
/* Trust Indicators */

/* Trust Indicators Container */
.trust-indicators {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
    overflow: hidden; /* Hides the icons moving outside the left area */
    width: 100%;
    max-width: 600px; /* Matches your paragraph width to keep it neat */
    white-space: nowrap;
    position: relative;
}

/* The Moving Track */
.ticker-track {
    display: inline-flex;
    gap: 40px; /* Space between indicators */
    animation: slideTicker 20s linear infinite;
}

.trust-indicators span {
    font-size: 13px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* Prevents icons from squishing */
}

/* Smooth Infinite Loop Animation */
@keyframes slideTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves halfway (the length of one set) */
}

/* Pause on hover so people can read */
.trust-indicators:hover .ticker-track {
    animation-play-state: paused;
}
.trust-indicators {
    display: flex;
    gap: 25px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.trust-indicators span {
    font-size: 13px;
    color: #ffffff;
    display: flex;
    align-items: center;
    font-weight: 400 !important;
    gap: 8px;
}

.trust-indicators img {
    width: 16px;
    height: 16px;
    /* This makes the image look gold/yellow */
    filter: invert(72%) sepia(85%) saturate(345%) hue-rotate(357deg) brightness(91%) contrast(89%);
}

/* Right Side Image Area */
.hero-visual {
    flex: 2;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Slider Logic */
.hero-visual {
    position: relative;
    overflow: hidden; /* Keeps everything contained */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Updated transition for both Fade and Scale */
    transition: opacity 1s ease-in-out, transform 4s ease-out; 
    transform: scale(1.0); /* Start size */
}

.slide.active {
    opacity: 1;
    transform: scale(1.1); /* Slow zoom in while active */
}

/* Ensure the container hides the zoom overflow */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden; 
}
/* Dots Styling */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--gold-mid);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold-mid);
    width: 25px; /* Pill shape for active dot */
    border-radius: 10px;
}


.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
    z-index: 2;
 }

.gold-card-accent {
    position: absolute;
    width: 70%;
    height: 70%;
    border: 2px solid var(--gold-dark);
    right: 10%;
    top: 10%;
    z-index: 1;
}
 

/* --- FULL MOBILE RESPONSIVE CSS (No Padding) --- */
@media (max-width: 991px) {

    .hero-section {
        padding: 0 !important; /* Side gaps okkoma ain kala */
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
        background: var(--secondary-color);
        padding: 0;
        gap: 0; /* Elements athara gaps ain kala */
    }

    .hero-content {
        display: contents; 
    }

    /* --- TITLE (Udatama) --- */
    .hero-content h1 {
        grid-row: 1; 
        padding: 30px 15px 15px 15px; /* Title ekata udin space thibbaata sides 0 danna epa katha nisa */
        text-align: center;
        font-size: 28px !important;
        margin: 0;
    }

    .hero-content h1 span {
        font-size: 18px !important;
        display: block;
        margin-top: 5px;
    }

    /* --- SLIDER (Title ekata yatatama - Full Width) --- */
    .hero-visual {
        grid-row: 2;
        width: 100vw; /* Phone eke screen eke full palala */
        height: 230px;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .slider-container {
        width: 100%;
        height: 100%;
    }

    .hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gold-card-accent {
        display: none; /* Mobile ekedi meka ain kalama slider eka clean */
    }

    /* --- DESCRIPTION TEXT --- */
    .hero-content p {
        grid-row: 3;
        padding: 20px 15px;
        text-align: center;
        font-size: 14px;
        margin: 0;
    }

    /* --- BUTTONS --- */
 .hero-cta-group {
        grid-row: 4;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0 15px 30px 15px;
        /* Buttons ටික තිරස් අතට මැදට ගන්න (Center horizontally) */
        align-items: center; 
        width: 100%;
    }

    .cta-primary, .cta-secondary {
        width: 95%; /* ඔයාට ඕන width එක */
        text-align: center;
        padding: 15px 0;
        margin: 0;
        border-radius: 0px; 
        /* Optional: inline-block එකක් විදිහට තියන්නත් පුළුවන් center නොවෙනවා නම් */
        display: block; 
    }

  .trust-indicators {
        grid-row: 5;
        margin-top: -45px !important; /* Buttons වලට ගොඩක් ලං කළා */
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: 1px solid #333;
        width: 100%;
        overflow: hidden;
    }

    .slider-dots {
        bottom: 10px;
    }
}




.category-grid-section {
    padding: 40px 5%;
    background-color: var(--white);
}

/* Ensure the title inside the grid section has proper spacing */
.category-grid-section .collection-title {
    margin-top: 0; /* Remove top margin if it's the start of the section */
    margin-bottom: 30px; /* Space between title border and grid cards */
}

/* Maintain your existing collection-title styles */
.collection-title { 
    border-bottom: 2px solid var(--border-color); 
    padding-bottom: 20px; 
}

.collection-title h2 { 
    color: var(--primary-color); 
    font-size: 22px; 
    font-weight: normal; 
    text-transform: uppercase;
}

.collection-title span { 
    color: var(--text-light); 
    font-size: 16px; 
    margin-left: 15px;
}

.category-grid {
    display: grid;
    /* Creates 8 equal columns */
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

/* 1. Remove padding and overflow from the container */
.card-img {
    background-color: #fff8f8; 
    border: 1px solid #f0ecec;
    border-radius: 100%; 
    aspect-ratio: 1 / 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* REMOVED PADDING */
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease;
    overflow: hidden; /* Ensures image corners follow the border-radius */
}

/* 2. Force the image to cover the entire area */
.card-img img {
    width: 100%;       /* Full width */
    height: 100%;      /* Full height */
    max-width: 100%;   /* Remove the 90% restriction */
    max-height: 100%;  /* Remove the 90% restriction */
    object-fit: cover; /* This makes the image fill the box without stretching */
    display: block;
    
}

.category-card:hover .card-img {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--gold-mid);
}

 

.category-card p {
    font-size: 13px;
    color: #888; /* Muted text color */
    font-family: var(--font-main);
    font-weight: 400;
}

/* Button Styling */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}
.load-more-btn {
    padding: 12px 35px;
    background-color: transparent;
    /* Uses your gold-mid for the border and text */
    border: 1px solid var(--gold-mid);
    color: var(--gold-mid);
    
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0px;
    
    /* Prepares the button for the smooth hover transition */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.load-more-btn:hover {
    /* Text turns black to contrast against the gold background */
    color: var(--primary-color);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(146, 109, 10, 0.2);
}

/* The Gold Shine Fill Effect */
.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.load-more-btn:hover::before {
    left: 0;
}


/* --- Optimized Responsive Logic --- */

/* Large Tablets & Small Desktops (Up to 1200px) */
@media (max-width: 1200px) {
    .category-grid { 
        grid-template-columns: repeat(6, 1fr); 
        gap: 15px;
    }
}

/* Tablets (Up to 992px) */
@media (max-width: 992px) {
    .category-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }
    .category-grid-section {
        padding: 30px 4%;
    }
}

/* Large Mobile (Up to 600px) */
@media (max-width: 600px) {
    .category-grid-section {
        padding: 25px 15px; /* Tighter padding for more content space */
    }

    .category-grid { 
        grid-template-columns: repeat(3, 1fr); /* 3 per row looks cleaner for circular icons */
        gap: 12px;
        margin-top: 15px;
    }

    .collection-title {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .collection-title h2 {
        font-size: 18px; /* Scale down title */
    }

    .collection-title span {
        display: block; /* Stack subtitle on mobile */
        margin-left: 0;
        margin-top: 5px;
        font-size: 13px;
    }

    .category-card p { 
        font-size: 12px; 
        line-height: 1.2;
        margin-top: 8px;
    }

    .load-more-btn {
        width: 100%; /* Full width button is easier to tap on mobile */
        padding: 14px;
    }
}

/* Very Small Devices (Up to 380px) */
@media (max-width: 380px) {
    .category-grid { 
        grid-template-columns: repeat(2, 1fr); /* Drop to 2 columns if screen is tiny */
    }
}





.banner-slider-section {
    width: 100%;
     overflow: hidden;
    background: #000; /* Dark background to prevent white flashes */
}

.banner-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600; /* Maintains the banner's shape across screens */
}

.promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.promo-slide.active {
    opacity: 1;
    z-index: 5;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the area without stretching */
}

/* Navigation Arrows */
.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

.banner-prev:hover, .banner-next:hover {
    background: var(--gold-mid);
}

/* Dots Navigation */
.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.b-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.b-dot.active {
    background: #fff;
    width: 25px;
    border-radius: 10px;
}

/* --- Mobile Specific Banner Optimization --- */
@media (max-width: 768px) {
    
    /* 1. Adjust Aspect Ratio for Mobile */
    /* A 1920/600 ratio is too thin on phones. 16/9 or 4/3 works better */
    .banner-container {
        aspect-ratio: 16 / 9; 
    }

    /* 2. Reduce Slide Buttons Size */
    .banner-prev, .banner-next {
        width: 32px;      /* Reduced from 45px */
        height: 32px;     /* Reduced from 45px */
        font-size: 14px;  /* Smaller arrow icon */
    }

    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }

    /* 3. Scale Down Dots & Position them tighter */
    .banner-dots {
        bottom: 12px;     /* Moved closer to bottom edge */
        gap: 8px;         /* Reduced gap */
    }

    .b-dot {
        width: 7px;       /* Reduced from 10px */
        height: 7px;      /* Reduced from 10px */
    }

    .b-dot.active {
        width: 18px;      /* Reduced from 25px */
    }

    /* 4. Ensure Full Width Layout */
    .banner-slider-section {
        padding: 0 !important; /* Forces the banner to touch screen edges */
    }
    
    .promo-slide img {
        /* Optional: adjust focus point if images have people/objects */
        object-position: center center; 
    }
}









.collections-section {
    padding: 60px 5%;
    background-color: #fff;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns for Desktop */
    gap: 25px;
    margin-bottom: 40px;
}

.collection-card {
    position: relative;
    border-radius: 0px; /* Matches the rounded corners in your image */
    overflow: hidden;
    aspect-ratio: 4 / 3; /* Keeps them consistent */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collection-card:hover {
    transform: translateY(-8px); /* Subtle lift on hover */
}

/* Link overlay to make the whole card clickable */
.collection-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Browse All Button Styling */
.browse-all-container {
    text-align: center;
}

 /* Browse All Button - Themed Version */
.browse-all-container {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.browse-all-btn {
    display: inline-block;
    padding: 14px 45px;
    /* Using your Gold Mid as the border and text base */
    border: 1px solid var(--gold-mid);
    background: transparent;
    color: var(--gold-mid);
    
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 0px; /* Square edges for a more high-end architectural feel */
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.browse-all-btn:hover {
    color: var(--primary-color); /* Black text on gold background */
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(146, 109, 10, 0.3); /* Deep gold shadow */
    transform: translateY(-3px);
}

/* The Gold Fill Animation */
.browse-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.browse-all-btn:hover::before {
    left: 0;
}

/* Responsive Logic */
@media (max-width: 992px) {
    .collections-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 20px;
    }
    
    .collection-card {
        aspect-ratio: 16 / 9; /* Wider look for mobile stacking */
    }
}


















/* Branding Banner Section */
.branding-banner-section {
    width: 100%;
    padding: 0px 0; /* Adds spacing above and below the banner */
    background-color: var(--white);
}

.branding-container {
    width: 100%; /* Keeps it aligned with your hero-container width */
     margin: 0 auto;
    height: 450px; /* Desktop height - Adjust as needed */
    position: relative;
    overflow: hidden;
    border-radius: 0px; /* Subtle rounding for a modern look */
 }

.branding-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the area without stretching */
    display: block;
    transition: transform 0.8s ease;
}

/* Hover effect: Subtle zoom */
.branding-container:hover .branding-image {
    transform: scale(1.03);
}

/* Overlay Link */
.banner-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: pointer;
}

/* --- Responsive Image Height --- */

/* Tablets */
@media (max-width: 992px) {
    .branding-container {
        height: 350px;
        width: 95%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .branding-banner-section {
        padding: 20px 0;
    }
    .branding-container {
        height: 220px; /* Smaller height for mobile screens */
        border-radius: 0px; /* Edge-to-edge look on mobile */
        width: 100%;
    }
}










.store-locator-section {
    padding: 60px 5%;
    background-color: #fcfcfc; /* Very light grey to separate from white sections */
    border-top: 1px solid #eee;
}

.locator-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Store Building Illustration (CSS Version) */
.store-building {
    width: 200px;
    text-align: center;
}

.store-top {
    background: var(--secondary-color);
    padding: 15px;
    border-radius: 4px 4px 0 0;
    border-bottom: 3px solid var(--gold-mid);
}

.store-logo-icon {
    height: 150px;
 }

.store-window {
    background: #fff;
    border: 2px solid var(--secondary-color);
    padding: 20px 10px;
    font-family: var(--font-main);
}

.store-name {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Content Area */
.locator-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    font-family: var(--font-main);
    font-weight: 500;
}

.locator-content h3 span {
    display: block;
    color: var(--gold-dark);
}

/* Action Area */
.locator-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pin-visual {
    text-align: center;
    color: var(--gold-dark);
}

.pin-visual i {
    font-size: 35px;
}

.store-count {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    border: 1px solid #ddd;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Themed CTA Button */
.store-cta-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 14px 25px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 0px;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.store-cta-btn:hover {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--gold-mid);
}

  /* --- Store Locator Mobile Optimization --- */
@media (max-width: 768px) {
    .store-locator-section {
        padding: 40px 15px; /* Reduced padding for mobile */
    }

    .locator-container {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
        gap: 25px;
    }

    /* 1. Scale down the Store Illustration */
    .store-building {
        width: 150px; /* Reduced from 200px */
        margin: 0 auto;
    }

    .store-logo-icon {
        height: 100px; /* Reduced from 150px */
    }

    .store-top {
        padding: 10px;
    }

    .store-window {
        padding: 12px 8px;
    }

    .store-name {
        font-size: 12px; /* Smaller font for mobile */
    }

    /* 2. Compact Typography */
    .locator-content h3 {
        font-size: 20px; /* Reduced from 24px */
        line-height: 1.3;
    }

    .locator-content h3 span {
        font-size: 16px; /* Smaller gold subtitle */
        margin-top: 5px;
    }

    /* 3. Action Area adjustments */
    .locator-action {
        gap: 15px;
        width: 100%; /* Ensure button can take space if needed */
    }

    .pin-visual i {
        font-size: 28px; /* Smaller pin icon */
    }

    .store-count {
        font-size: 11px; /* Smaller badge text */
        padding: 3px 10px;
    }

    /* 4. Full Width Button for easy tapping */
    .store-cta-btn {
        width: 100%;
        max-width: 280px; /* Prevents button from being too wide on tablets */
        padding: 12px 20px;
        font-size: 13px;
    }
}













.reviews-news-style {
    padding: 80px 5%;
    background-color: #f4f4f4; /* Light grey background to make white cards pop */
}

.reviews-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 50px;
}
 /* PC Mode: Show only 4 cards */
.reviews-grid {
    display: flex; /* Changed from grid to flex for smoother sliding */
    gap: 25px;
    width: 100%;
    overflow-x: hidden; /* Hide the scrollbar since we use buttons */
    scroll-behavior: smooth;
    padding: 20px 10px;
    
}

.review-news-card {
    background: #ffffff;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    border: 1px solid #e0e0e0;
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.03); 
    transition: all 0.4s ease;
    
    /* WIDTH FIX: Set to 3 cards per row for more width */
   flex: 0 0 calc((100% - (25px * 3)) / 4);
    box-sizing: border-box;

    /* TEXT OVERFLOW FIX */
    overflow: hidden; 
    word-wrap: break-word; /* Older browsers */
    overflow-wrap: break-word; /* Modern browsers */
}

.review-news-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-family: var(--font-main);
    min-height: 100px;

    /* THE MAGIC FOR LINE BREAKS */
    white-space: pre-line; /* Respects your ENTER/Return key breaks */
    word-break: break-word; /* Forces long strings like 'ggggg' to wrap */
    hyphens: auto;
}

 

/* Hide scrollbar but keep functionality */
.reviews-grid::-webkit-scrollbar { display: none; }

/* The Card Style from your Image */
 

.review-news-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 17px 17px 0px rgba(212, 175, 55, 0.1); /* Gold tint shadow on hover */
    border-color: var(--gold-mid);
}

.review-stars {
    color: var(--gold-mid);
    font-size: 16px;
    margin-bottom: 25px;
}

.review-news-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-family: var(--font-main);
    min-height: 100px;
}

.reviewer-tag {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* READ MORE BUTTON - Themed */
.read-more-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--hero-gradient);
    border-color: transparent;
    color: #000;
}
/* Truncate text to 3 lines */
.review-text-content {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show exactly 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

/* Class to show full text when active */
.review-text-content.expanded {
    display: block; /* Removes the clamp */
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Optional: Hide Read More button if text is short (handled via JS) */
.read-more-btn {
    cursor: pointer;
    margin-top: 10px;
}
/* Premium Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: transparent; /* Deep Black */
    border: 1px solid var(--gold-mid);
    color: var(--gold-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0px; /* Matching your square-edge branding */
}

/* Positioning the buttons outside the grid for better visibility */
.slider-nav.prev {
    left: -25px;
}

.slider-nav.next {
    right: -25px;
}

/* Hover State - Shimmer Effect */
.slider-nav:hover {
    background: var(--hero-gradient);
    color: var(--primary-color); /* Black icon on gold background */
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.slider-nav i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.slider-nav.next:hover i {
    transform: translateX(3px);
}

.slider-nav.prev:hover i {
    transform: translateX(-3px);
}
 
/* --- Reviews Mobile Optimization --- */
@media (max-width: 768px) {
    .reviews-news-style {
        padding: 40px 15px; /* Tighter padding */
    }

    .reviews-grid {
        display: flex; /* Switch from Grid to Flex for smooth sliding */
        grid-template-columns: none;
        gap: 0; /* Remove gaps between cards to center the visible one */
        padding: 10px 0;
        scroll-snap-type: x mandatory; /* The "Stop-Slide" magic */
        overflow-x: auto;
    }

    .review-news-card {
        min-width: 100%; /* Force 1 card per view */
        scroll-snap-align: center; /* Ensures card stops exactly in the middle */
        padding: 30px 20px; /* Smaller padding inside the card */
        box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.03); /* Smaller shadow for mobile */
    }

    .review-news-card p {
        font-size: 14px; /* Reduced text size */
        min-height: auto; /* Allow card to shrink based on text */
    }

    /* Hide Navigation Arrows on Mobile (Users swipe with thumbs) */
    .slider-nav {
        display: none;
    }
    
    .reviewer-tag {
        margin-bottom: 20px;
        font-size: 11px;
    }
}




.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-main);
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Footer Top: Trust Section */
.footer-top {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--secondary-color);
}

.footer-info-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.footer-info-png {
    width: 45px; /* Adjust size as needed */
    height: auto;
    object-fit: contain;
    /* This filter turns black PNGs into Gold Friend gold */
     transition: transform 0.3s ease, filter 0.3s ease;
}

.info-item:hover .footer-info-png {
    transform: scale(1.1);
 }

/* Ensure text stays aligned with the new images */
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    font-size: 30px;
    color: var(--gold-mid);
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* Newsletter */
.footer-newsletter {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.footer-newsletter h4 {
    font-size: 30px;
    line-height: 1.5;
    font-weight: 500;
}

.newsletter-form {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 0;
}

.newsletter-form button {
    padding: 12px 30px;
    background: var(--hero-gradient);
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

/* Footer Middle */
.footer-middle {
    padding: 80px 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    margin: 20px 0;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-logo {
    height: 80px;
        border: 1px solid #ffffff; 
border-radius: 100%;
 }

.link-column h3 {
    color: var(--gold-mid);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

.link-column ul {
    list-style: none;
}

.link-column ul li {
    margin-bottom: 12px;
}

.link-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.link-column ul li a:hover {
    color: var(--gold-bright);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--gold-mid);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    background-color: #000;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-light);
}

.payment-methods img {
    height: 25px;
    margin-left: 10px;
    opacity: 0.8;
}
 /* --- Footer Mobile Optimization --- */
@media (max-width: 768px) {
    /* 1. Center the Trust/Info Section */
    .footer-info-grid {
        flex-direction: column; /* Stack vertically */
        align-items: center;    /* Center horizontally */
        gap: 35px;             /* More space between items */
        margin-bottom: 50px;
    }

    .info-item {
        flex-direction: column; /* Icon on top of text */
        text-align: center;
        gap: 12px;
    }

    .footer-info-png {
        width: 50px; /* Slightly larger for emphasis */
    }

    /* 2. Scale Down Newsletter Title */
    .footer-newsletter h4 {
        font-size: 22px; /* Reduced from 30px */
        padding: 0 10px;
    }

    .newsletter-form {
        flex-direction: column; /* Input on top of button */
        gap: 15px;
        padding: 0 15px;
    }

    .newsletter-form button {
        width: 100%; /* Full width button for easy tapping */
    }

    /* 3. Re-stack Link Columns */
    .footer-middle {
        padding: 50px 0;
    }

    .footer-links-grid {
        grid-template-columns: 1fr; /* One column only */
        text-align: center;
        gap: 40px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center; /* Center social icons */
        margin-top: 10px;
    }

    /* 4. Bottom Bar Centering */
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .payment-methods {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .payment-methods img {
        margin: 0; /* Clear previous side margins */
    }
}




/* 1. Main Container: Fixed to the bottom-left of the screen */
.whatsapp-fixed-container {
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 9999;
}

/* 2. Link Wrapper: Must be relative for the badge to anchor correctly */
.wa-link {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.wa-link:hover {
    transform: scale(1.1); /* Subtle grow effect on hover */
}

/* 3. The Icon Image */
.wa-icon-img {
    width: 55px; /* Adjust based on your PNG size */
    height: auto;
    display: block;
    /* Optional: filter to make it pop if your icon is dark */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); 
}

/* 4. The Badge: Fixed "Right Side Up" logic */
.wa-badge {
    position: absolute;
    top: -5px;    /* Pulls it slightly above the icon */
    right: -5px;  /* Pulls it slightly to the right of the icon */
    
    background-color: #ff0000; /* Notification Red */
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    font-family: Arial, sans-serif;
    
    width: 22px;
    height: 22px;
    border-radius: 50%; /* Makes it a perfect circle */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
     z-index: 10;
}

/* 5. Mobile Adjustment */
@media (max-width: 600px) {
    .whatsapp-fixed-container {
        bottom: 15px;
        left: 10px;
    }
    .wa-icon-img {
        width: 45px;
    }
    .wa-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}


/* Scroll Top Button - Drop Down Animation */
.scroll-top-btn-custom {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
    
    /* Initially hidden high above the screen */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100vh); 
    
    /* Cubic-bezier used for the "bounce" effect like a falling object */
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

/* When active: Drops down to original position */
.scroll-top-btn-custom.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* The PNG image styling */
.scroll-img {
    width: 45px; 
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

/* Hover Effect */
.scroll-top-btn-custom:hover .scroll-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 15px rgba(212, 175, 55, 0.5));
}

/* Mobile responsive */
@media (max-width: 600px) {
    .scroll-top-btn-custom {
        bottom: 15px;
        right: 20px;
    }
    .scroll-img {
        width: 35px;
    }
}




.live-today {
    color: var(--gold-bright); /* ඔයාගේ තීම් එකේ ලස්සනම රන්වන් පාට */
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-mid); /* රන්වන් පාට තිත */
    border-radius: 50%;
    margin-right: 3px;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 rgba(212, 175, 55, 0.4);
    animation: gold-pulse 2s infinite;
}

@keyframes gold-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.hero-subtext {
    font-family: var(--font-main);
    color: var(--text-main);
    font-size: 1.1rem;
}




/* Cart Sidebar Styles */
.cart-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    backdrop-filter: blur(3px);
}

.cart-sidebar {
    position: fixed;
    top: 0; right: -400px; /* Hidden by default */
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 10002;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active { right: 0; }

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 { font-size: 16px; letter-spacing: 2px; }

.close-cart { font-size: 30px; cursor: pointer; color: var(--gold-dark); }

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Individual Cart Item Row */
.cart-item-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item-row img { width: 70px; height: 70px; object-fit: cover; border: 1px solid #eee; }

.cart-item-info h4 { font-size: 13px; margin-bottom: 5px; color: #111; }

.cart-item-info p { font-size: 11px; color: var(--gold-dark); font-weight: bold; }

.cart-footer { padding: 25px; border-top: 1px solid #eee; background: #fafafa; }

.view-cart-btn, .checkout-btn {
    display: block; width: 100%; text-align: center;
    padding: 15px; margin-top: 10px; text-decoration: none;
    font-size: 12px; font-weight: bold; letter-spacing: 1px;
}

.view-cart-btn { border: 1px solid #000; color: #000; }
.checkout-btn { background: var(--hero-gradient); color: #000; border: none; }

@media (max-width: 450px) {
    .cart-sidebar { width: 100%; right: -100%; }
}/* Quantity Selector Styles */
.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    background: #f9f9f9;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 4px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    width: 20px;
}

.qty-btn:hover {
    color: var(--gold-mid);
}

.qty-num {
    font-size: 13px;
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

/* ================================================================
   GOLD FRIEND PREMIUM SEARCH MODAL
   ================================================================ */

/* 1. Modal Overlay Base */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96); /* Deep luxury black */
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none; /* Controlled by JS */
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 0 20px;
}

/* Active State */
.search-modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
}

/* 2. Modal Content Layout */
.search-modal-content {
    width: 100%;
    max-width: 650px; /* Narrower for a high-end look */
    margin-top: 80px;
    color: white;
    display: flex;
    flex-direction: column;
    max-height: 85vh; /* Prevents modal from spilling off screen */
}

/* 3. Header & Logo */
.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.modal-logo { 
    height: 45px; 
    width: auto;
    object-fit: contain;
}

.close-search {
    background: none;
    border: none;
    color: var(--gold-mid);
    font-size: 35px;
    cursor: pointer;
    font-weight: 300 !important; /* Extra thin */
    line-height: 1;
    padding: 10px;
    transition: transform 0.3s ease;
}

.close-search:hover {
    transform: rotate(90deg);
    color: var(--gold-bright);
}

/* 4. Search Input Area */
.search-input-wrapper {
    position: relative;
    margin-bottom: 35px;
    flex-shrink: 0;
}

#modalSearchInput {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #222;
    padding: 12px 0;
    font-size: 18px; /* Elegant smaller size */
    color: white;
    outline: none;
    font-family: var(--font-main);
    font-weight: normal !important;
    letter-spacing: 0.5px;
}

/* Placeholder specific styling */
#modalSearchInput::placeholder {
    color: #555;
    font-size: 16px;
    font-weight: normal !important;
}

/* Gold Underline Animation */
.search-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hero-gradient);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#modalSearchInput:focus + .search-underline {
    width: 100%;
}

/* 5. Results Section (Scrollable) */
.search-results-container {
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 20px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--gold-mid) transparent;
}

/* Custom Scrollbar (Chrome/Safari) */
.search-results-container::-webkit-scrollbar {
    width: 2px;
}
.search-results-container::-webkit-scrollbar-thumb {
    background: var(--gold-mid);
}

.results-label {
    color: var(--gold-mid);
    text-transform: uppercase;
    font-size: 10px; /* Very subtle */
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: normal !important;
    opacity: 0.8;
}

/* 6. Individual Result Item */
.result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #111;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.result-item:hover {
    padding-left: 5px;
    background: rgba(255, 255, 255, 0.02);
}

.result-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 1px solid #222;
    border-radius: 2px;
}

.result-info h4 { 
    font-size: 13px; /* Smaller elegant text */
    color: #eee; 
    margin-bottom: 2px; 
    font-weight: normal !important; 
}

.result-info p { 
    font-size: 11px; 
    color: #666; 
    font-weight: normal !important; 
}

/* 7. Footer Button */
.view-all-results {
    display: block;
    text-align: center;
    padding: 20px 0;
    color: var(--gold-mid);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: normal !important;
    flex-shrink: 0;
    border-top: 1px solid #111;
    margin-top: auto;
}

.view-all-results:hover {
    color: var(--gold-bright);
}

/* ================================================================
   MOBILE ADJUSTMENTS (Under 600px)
   ================================================================ */
@media (max-width: 600px) {
    .search-modal-content { 
        margin-top: 30px; 
        max-height: 90vh;
    }

    #modalSearchInput { 
        font-size: 15px; /* Reduced for mobile */
        padding: 10px 0;
    }

    #modalSearchInput::placeholder {
        font-size: 13px; /* Smaller placeholder for long text */
    }

    .modal-logo { height: 35px; }
    
    .close-search { 
        font-size: 30px; 
        padding: 5px;
    }

    .result-info h4 { font-size: 12px; }
    .result-info p { font-size: 10px; }

    .result-item img {
        width: 40px;
        height: 40px;
    }

    .results-label {
        font-size: 9px;
        margin-bottom: 15px;
    }
}.result-meta {
    font-size: 12px !important;
    color: var(--gold-mid) !important; /* Gold for the main specs */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0;
}

.result-sub-info {
    font-size: 11px !important;
    color: #888 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gold-sep {
    color: #333;
    font-size: 10px;
}

.style-tag {
    font-style: italic;
    color: #666;
}

.no-results {
    padding: 40px;
    text-align: center;
    color: #555;
    font-style: italic;
    border: 1px dashed #222;
}




/* Full-Screen Overlay */
.full-screen-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999; /* Higher than nav and modals */
    padding: 20px;
}

.success-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.success-card {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 60px 40px;
    text-align: center;
    border-radius: 2px; /* Keeping the sharp premium edges */
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: goldSlideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Shimmering Checkmark */
.gold-shimmer-check {
    width: 90px;
    height: 90px;
    background: var(--hero-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: #000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(146, 109, 10, 0.3);
}

.gold-shimmer-check::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(45deg);
    animation: finalShimmer 3s infinite;
}

.success-title {
    font-family: var(--font-main);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.success-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.gold-continue-btn {
    width: 100%;
    background: var(--hero-gradient);
    border: none;
    padding: 18px;
    color: #000;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.gold-continue-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

/* Animations */
@keyframes goldSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes finalShimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

@media (max-width: 768px) {
    .success-card {
        padding: 50px 25px;
    }
    .success-title { font-size: 24px; }
}/* Small timer bar at the bottom of the success card */
.success-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--hero-gradient);
    width: 100%;
    animation: autoCloseTimer 3s linear forwards;
}

@keyframes autoCloseTimer {
    from { width: 100%; }
    to { width: 0%; }
}



/* Full-Screen Error Overlay */
.full-screen-error {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    z-index: 99999;
}

.error-backdrop {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(40, 0, 0, 0.7); /* Deep ruby tint */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.error-card {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 60px 40px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    animation: errorShake 0.4s ease-in-out forwards;
}

/* Shimmering Red/Gold Icon */
.red-shimmer-icon {
    width: 90px; height: 90px;
    background: linear-gradient(45deg, #8b0000, #e63946, #8b0000);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.red-shimmer-icon::after {
    content: '';
    position: absolute;
    top: -50%; left: -150%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    animation: finalShimmer 3s infinite;
}

.error-title {
    font-family: var(--font-main);
    font-size: 28px;
    color: #8b0000; /* Deep Red */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.error-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.error-retry-btn {
    width: 100%;
    background: #111;
    border: none;
    padding: 18px;
    color: var(--gold-mid);
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.error-retry-btn:hover {
    background: #000;
    color: var(--gold-bright);
}

/* Shake Animation for Errors */
@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}


.faq-section {
    padding: 60px 5%;
    background-color: #fff;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    color: var(--primary-color);
    font-size: 18px;
    border-left: 4px solid var(--gold-mid);
    padding-left: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
        margin-top: 20px;

}

.faq-category h3 i {
    color: var(--gold-mid);
    margin-right: 10px;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    color: var(--gold-dark);
}

.faq-item.active .faq-question {
    color: var(--gold-mid);
}

.faq-item.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}