  /* 1. Root Variables & Reset */
:root {
    /* Al Diwan Color Palette */
    --light-teal: #6d9abf;
    --dark-teal: #1D435F;
    --bg-grey: #F8F9FA;
    --border-light: #EEEEEE;
    --text-main: #212529; /* Slightly darker for better contrast SEO */
    --text-muted: #6c757d;
    --header-font: 'Montserrat', sans-serif;
--whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    /* Mobile-First Fluid Font Scale (Using REM for SEO/Accessibility) */
    --size-h1: 2rem;      /* 32px - Prominent for Product titles */
    --size-h2: 1.5rem;    /* 24px */
    --size-h3: 1.25rem;   /* 20px */
    --size-body: 1rem;    /* 16px - The standard for mobile readability */
    --size-small: 0.675rem; /* 14px - For muted text or breadcrumbs */
    
    /* Standardized Container */
    --container-width: 1350px;
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--header-font);
    color: var(--text-main);
    font-size: var(--size-body);
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased; /* Better font rendering on Mobile Safari */
}

/* Bootstrap Container Override for your specific width */
@media (min-width: 1200px) {
    .container, .container-lg, .container-xl {
        max-width: var(--container-width);
    }
}

/* Typography Hierarchy for SEO */
h1, .h1 { font-size: var(--size-h1); font-weight: 700; color: var(--dark-teal); margin-bottom: 1rem; }
h2, .h2 { font-size: var(--size-h2); font-weight: 600; color: var(--dark-teal); }
h3, .h3 { font-size: var(--size-h3); font-weight: 600; }
p { margin-bottom: 1rem; }

/* Mobile Touch Targets */
a, button {
    text-decoration: none;
    transition: all 0.3s ease;
}

 /* ===============================
   1.  Utility Bar
================================ */
 
.utility-bar {
    background-color: var(--dark-teal);
    padding: 10px 0; /* Slightly more padding for better touch targets */
    font-size: 0.8125rem; /* ~13px */
    color: #ffffff;
}

.utility-left {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.utility-right a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
}

.utility-right a:hover {
    opacity: 0.8;
    color: var(--light-teal);
}

.separator {
    opacity: 0.3;
    margin: 0 10px;
}

/* Ensure icons are slightly larger on mobile for easy tapping */
 @media (max-width: 576px) {
    /* Stack into two rows */
    .utility-bar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 0;
    }

    .utility-left {
        width: 100%;
        margin-bottom: 6px;
    }

    .utility-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0 !important;
        gap: 8px;
    }

    /* Hide the second phone number and its separator */
    .utility-right a:nth-of-type(2), 
    .utility-right .separator:nth-of-type(1) {
        display: none !important;
    }

    /* Hide the text 'Catalog' but keep the icon */
    /* This targets the Catalog link specifically */
    .utility-right a[href*="Catalog"] {
        font-size: 0; /* Hides the text node */
    }

    /* Bring the icon back to visible size */
    .utility-right a[href*="Catalog"] i {
        font-size: 14px; /* Set your desired icon size */
        margin: 0 !important;
    }
    
    .utility-right a {
        font-size: 13px;
    }
}

 /* ===============================
  2. Main Header
================================ */ 
:root {
    --primary-teal: #1D435F;
    --hover-teal: #2A5C82;
    --text-dark: #333333;
    --text-muted: #717171;
    --bg-light: #F1F4F5;
    --border-color: #E5E8EB;
}

.main-header {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* --- Search Bar UI --- */
.search-wrapper {
    position: relative;
}

.custom-search-group {
    background: var(--bg-light);
    border-radius: 50px;
    padding: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.custom-search-group:focus-within {
    background: #fff;
    border-color: var(--primary-teal);
    box-shadow: 0 4px 12px rgba(29, 67, 95, 0.08);
}

.custom-search-group .form-control {
    background: transparent;
    border: none;
    height: 40px;
    padding-left: 20px;
    font-size: 0.95rem;
}

.btn-search {
    background: var(--primary-teal);
    color: #fff !important;
    border-radius: 50px !important;
    padding: 0 22px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
}

.btn-search:hover {
    background: var(--hover-teal);
}

/* --- Right Side Spacing & Components --- */
.header-actions {
    gap: 30px; /* Standardized spacing */
}

.action-link {
    text-decoration: none !important;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
}

.icon-wrapper {
    position: relative;
    font-size: 1.3rem;
    color: var(--primary-teal);
    height: 28px;
    display: flex;
    align-items: center;
}

.action-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    color: var(--text-muted);
}

.action-link:hover .icon-wrapper {
    transform: translateY(-2px);
}

.v-separator {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #E74C3C;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid #fff;
}

.project-cta-btn {
    text-decoration: none !important;
    background: var(--primary-teal);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.project-cta-btn:hover {
    background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Suggestion Dropdown --- */
.suggestion-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1100;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
    text-decoration: none !important;
    transition: background 0.2s;
}

.suggestion-item:hover { background: #f4f7f9; }

.suggestion-img {
    width: 50px; height: 50px;
    object-fit: contain;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.suggestion-title { font-weight: 600; color: #333; font-size: 0.9rem; margin-bottom: 2px; }
.suggestion-model { font-size: 0.7rem; color: #999; text-transform: uppercase; }
.suggestion-price { font-size: 0.85rem; font-weight: 700; color: var(--primary-teal); margin-top: 2px; }
@media (max-width: 576px) {
    /* Hide the cart action link specifically */
    /* This targets the action-link that contains the cart-count span */
    .header-actions .action-link:has(.cart-count) {
        display: none !important;
    }

    /* OR, if your browser doesn't support :has, use this more general method: */
    /* Target based on order (assuming it's the 1st or 2nd icon) */
    /* .header-actions .action-link:nth-of-type(2) { display: none; } */

    /* Adjust spacing if the header looks empty */
    .header-actions {
        gap: 15px; /* Reduce gap on mobile */
    }
}
  /* ==========================================================================
   3. Navigation & Mega Menu (Complete & Professional)
   ========================================================================== */

/* --- Bottom Nav Main Styles --- */
.bottom-nav { 
    background: #fff; 
    position: relative; 
    border-bottom: 1px solid var(--border-light);
    /* Ensure a consistent height to prevent layout shift */
    min-height: 55px; 
}

/* Desktop Mega Menu Anchor */
.all-categories-wrapper {
    position: relative;
    height: 55px;
    z-index: 1060;
}

.all-cats-trigger {
    background: var(--dark-teal);
    color: #fff;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--size-small);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.all-cats-trigger:hover {
    background: #153246; /* Slightly darker depth for professional feel */
}

/* Mega Dropdown Box - Optimized for Content and Responsiveness */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    /* Use max-width for better behavior on various desktop screens */
    width: 1100px; 
    max-width: calc(100vw - 40px); 
    background: #fff;
    display: flex;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Animation: Subtle slide and fade */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.all-categories-wrapper:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Sidebar Menu inside Mega Menu */
.side-menu {
    width: 260px;
    background: var(--bg-grey);
    border-right: 1px solid var(--border-light);
    flex-shrink: 0; /* Keep sidebar from squishing */
}

.side-item {
    padding: 0 !important;
    font-size: var(--size-small);
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}
.side-item-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none !important;
    color: var(--text-dark); /* Or your primary color */
    width: 100%;
    transition: all 0.2s ease;
}
.side-item-link img {
    margin-right: 12px;
    filter: grayscale(1); /* Optional: makes icons look high-end */
    transition: filter 0.2s;
}

.side-item.active .side-item-link,
.side-item:hover .side-item-link {
    background: #f8f9fa;
    color: var(--primary-teal);
}

.side-item.active img, .side-item:hover img {
    opacity: 1;
}

/* Mega Content Area */
.mega-content { 
    flex: 1; 
    padding: 30px; 
    max-height: 500px; /* Optional: adds scroll if content is too long */
    overflow-y: auto;
}

.content-pane { display: none; }
.content-pane.active { display: block; }

.menu-col h3 {
    font-size: var(--size-body);
    font-family: var(--header-font);
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}

.menu-col h3 a { color: inherit; text-decoration: none; }

.menu-col ul { list-style: none; padding: 0; }

.menu-col ul li a {
    font-size: var(--size-small);
    color: var(--text-muted);
    padding: 5px 0;
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-col ul li a:hover { 
    color: var(--dark-teal); 
    padding-left: 5px; /* Professional micro-interaction */
}

/* --- Navbar Links & Icons --- */
.navbar-nav {
    list-style: none;
    display: flex;
    flex-direction: row;      /* Force horizontal on desktop */
    flex-wrap: nowrap;        /* CRITICAL: Fixes the double row issue */
    align-items: center;
    gap: 2px;                 /* Tightened for space-saving */
    padding-left: 0;
    margin: 0;
}

.navbar-nav li a {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: var(--size-small);
    font-weight: 600;
    color: var(--dark-teal);
    padding: 4px 6px;        /* Consistent vertical/horizontal padding */
    border-radius: 6px;
    white-space: nowrap;      /* Prevents text from breaking inside links */
    transition: all 0.3s ease;
}

.navbar-nav li a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;           /* Prevents icons from squishing */
}

.navbar-nav li a:hover {
    background-color: var(--light-teal);
    color: #fff;
}

.navbar-nav li a.active {
    background-color: var(--dark-teal);
    color: #fff;
}

.navbar-nav li a.active img {
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   3.2. Mobile Adjustments (Offcanvas & Responsive)
   ========================================================================== */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        flex-wrap: wrap;       /* Allow wrapping if list is long on mobile */
        align-items: flex-start;
        width: 100%;
         
        gap: 0;
    }

    .navbar-nav li { width: 100%; }

    .navbar-nav li a {
        width: 100%;
        padding: 14px 20px;    /* Larger tap targets for mobile UX */
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
        font-size: 1rem;
    }
    .main-header .navbar-toggler {
        padding-left: 0;
        font-size: 1.5rem; /* Makes the bars slightly more prominent */
    }
    
    .logo img {
        max-height: 40px; /* Adjusts logo size to fit nicely next to the menu icon */
    }
    .mobile-sub { background-color: var(--bg-grey); } 
    .mobile-sub-sub { background-color: #ffffff; }

    /* Icon Rotation Logic for Mobile Accordions */
    .transition-icon {
        transition: transform 0.3s ease;
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-left: auto;     /* Push arrow to the right edge */
    }

    [aria-expanded="true"] .transition-icon {
        transform: rotate(180deg);
        color: var(--dark-teal);
    }
}

/* Desktop Width Adjustment for smaller screens */
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-nav li a {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    .mega-dropdown {
        width: 900px;
    }
}
/* ==========================================================================
   4. Core Video Wrapper
   ========================================================================== */

.hero-wrapper {
    font-family: var(--header-font);
    background-color: var(--dark-teal);
}

/* Center Text Styling */
.hero-main-text {
    /* 1.5rem = Minimum size (Mobile)
       3vw = Scaling speed (Desktop)
       3rem = Maximum size (Large PC) 
    */
    font-size: clamp(1.5rem, 3vw, 3rem); 
    
    /* Letter spacing: 0 or slightly positive feels more premium for long titles */
    letter-spacing: 1px; 
    
    /* Line height: 1.2 or 1.3 provides better "breathing room" */
    line-height: 1.3;
    
    /* Subtle shadow: helps readability without looking "dirty" */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    
    color: white;
    text-transform: uppercase;
    font-weight: 700;
}

/* Optional: Add a slight opacity to the sub-text to make the main title pop */
.hero-main-text .text-teal {
    color: var(--light-teal);
    display: block; /* Puts "Since 1990" on its own small line */
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-top: 10px;
}

.hero-line {
    width: 80px;
    height: 4px;
    background: var(--light-teal);
}

/* Video Overlay */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(29, 67, 95, 0.6) 0%, rgba(0,0,0,0.8) 100%);
}

/* Bottom Service Bar Styling */
.service-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item {
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item:hover {
    background: rgba(109, 154, 191, 0.2);
}

.service-inner {
    padding: 25px 15px;
    text-align: center;
    color: #fff;
}

.service-inner h6 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--light-teal);
}

.service-inner p {
    font-size: 0.75rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Vertical dividers for PC */
@media (min-width: 992px) {
    .service-inner {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .service-item:first-child .service-inner {
        border-left: none;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-wrapper {
        height: auto !important;
        min-height: 100vh;
    }
    .hero-main-text {
        padding: 60px 0;
    }
    
    .service-bar .row {
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .service-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-inner {
        height: 100%;
    }
}
   
/* ==========================================================================
  6. Products Section - Revised
   ========================================================================== */
:root {
    --primary-teal: #1D435F;
    --accent-teal: #6d9abf;
    --bg-light: #f8fafc;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --border-light: #EEEEEE;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font Scale */
    --size-h1: 2rem;
    --size-h2: 1.5rem;
    --size-h3: 1.25rem;
    --size-body: 1rem;
    --size-small: 0.875rem;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

/* --- Collection Header --- */
.collection-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center; /* Added for better alignment */
}
.collection-header .title {
    font-size: var(--size-h1);
    font-weight: 800;
    color: var(--primary-teal);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.divider {
    width: 60px;
    height: 4px;
    background: var(--accent-teal);
    margin: 1rem auto;
    border-radius: 10px;
}

/* --- Category Hero (Side Card) --- */
.category-hero {
    height: 100%;
    min-height: 350px;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-teal) 100%);
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.hero-content {
    text-align: left;
}

.category-hero h3 { 
    font-size: var(--size-h2); 
    font-weight: 700; 
    margin-bottom: 0.5rem;
}

.category-hero p {
    font-size: var(--size-small);
    opacity: 0.9;
}

.category-hero .btn-hero {
    margin-top: auto; 
    align-self: flex-start;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: var(--size-small);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.category-hero .btn-hero:hover {
    border-color: var(--white);
    gap: 12px;
}

/* --- Horizontal Scroll Engine --- */
.scroll-wrapper {
    position: relative;
    padding: 0 10px;
    max-width: 1300px; /* Limits overall section width */
    margin: 0 auto;
}

.product-scroll-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem; /* Reduced gap for 4-in-a-row */
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;
}
.product-scroll-grid::-webkit-scrollbar { display: none; }

/* Desktop: EXACTLY 4 Cards per row */
.product-item-flex {
    flex: 0 0 calc(25% - 0.75rem); 
    max-width: calc(25% - 0.75rem);
    min-width: 220px; /* Ensures cards don't get too skinny */
}

/* --- Grid Navigation Buttons --- */
.grid-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.grid-nav-btn:hover { background: var(--primary-teal); color: var(--white); }
.grid-nav-btn.prev { left: -10px; }
.grid-nav-btn.next { right: -10px; }

/* --- Product Card Styling --- */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem; /* Reduced padding */
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--accent-teal);
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-img {
    height: 150px; /* Scaled down for 4-column layout */
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    padding: 5px;
}

.product-img img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    display: block; 
}

.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}
.brand { font-size: 0.65rem; font-weight: 700; color: var(--accent-teal); text-transform: uppercase; }
.product-rating { color: #FFC107; font-size: 0.6rem; display: flex; gap: 2px; }

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    height: 2.4rem; /* Adjusted for smaller cards */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.75rem;
}

.price-row {
    margin-top: auto; /* Pushes price/actions to bottom */
    display: flex;
    align-items: baseline;
}

.price-now { font-size: 1.1rem; font-weight: 800; color: var(--primary-teal); }
.price-was { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; margin-left: 5px; }

.card-actions { display: flex; gap: 6px; margin-top: 1rem; }

.btn-view {
    flex: 1;
    background: var(--primary-teal);
    color: white;
    text-align: center;
    padding: 7px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
}

.btn-wa {
    width: 34px;
    height: 34px;
    background: var(--whatsapp-green);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
}
/* Show More Button Design */
 /* Simple Premium Teal Button */
.btn-show-more {
    --primary-teal: #1D435F;
    --accent-teal: #6d9abf;
    
    background-color: var(--primary-teal);
    color: #ffffff;
    border: none;
    padding: 12px 40px; 
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-show-more:hover {
    background-color: var(--accent-teal);
    color: #ffffff;
}

.btn-show-more:active {
    transform: scale(0.98); /* Slight click feedback */
}

/* Tightening the layout */
.category-block {
    margin-bottom: 2rem !important; /* Reduced bottom margin */
}

/* Simple Entrance Animation */
.hidden-category {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hidden-category.show-visible {
    opacity: 1;
}

/* Icon Spacing */
.btn-show-more i {
    margin-left: 10px;
}
/* Mobile Adjustments  */
@media (max-width: 1024px) {
    .product-item-flex {
        flex: 0 0 calc(33.33% - 0.75rem); /* 3 cards for tablets */
        max-width: calc(33.33% - 0.75rem);
    }
}

@media (max-width: 767px) {
    :root {
        --size-h1: 1.5rem;
        --size-h2: 1.25rem;
        --size-h3: 1.1rem;
    }

    .collection-header {
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .category-hero {
        min-height:40px; 
        padding: 0.5rem;
        margin-bottom: 0.2rem;
        text-align: center;
        border-radius: 1px;
    }

    /* 2 Cards visible with a peek at the 3rd */
    .product-item-flex {
        flex: 0 0 45%; 
        max-width: 45%;
        min-width: 160px;
    }

    .scroll-wrapper {
        padding: 0;
    }

    .product-scroll-grid {
        padding: 1rem 15px 1.5rem;
        gap: 0.75rem;
    }

    .grid-nav-btn {
        display: none !important;
    }

    .product-card {
        padding: 0.75rem;
    }

    .product-img {
        height: 120px;
    }
    
    .price-now { font-size: 1rem; }
}

/* Extra Small Phones */
@media (max-width: 380px) {
    .product-item-flex {
        flex: 0 0 70%;
        max-width: 70%;
    }
}


 
 /* ==========================================================================
  7. Support Section
   ========================================================================== */
:root {
  --light-teal: #6d9abf;
  --dark-teal: #1D435F;
}

.support-cta-row {
  background-color: #f8f9fa;
}

/* The horizontal bar container */
.cta-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Text adjustments */
.support-text h2 {
  color: var(--dark-teal);
  font-size: 28px;
}

.support-text p {
  color: #6c757d;
  font-size: 15px;
}

/* Input Styling */
.cta-form-horizontal .form-control {
  padding: 12px 15px;
  background-color: #f1f4f6;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cta-form-horizontal .form-control:focus {
  background-color: #fff;
  border-color: var(--light-teal);
  box-shadow: 0 0 0 4px rgba(109, 154, 191, 0.1);
  outline: none;
}

/* WhatsApp Button styling */
.btn-whatsapp-row {
  background: linear-gradient(135deg, var(--dark-teal), var(--light-teal));
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp-row:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 67, 95, 0.2);
}

/* Shine effect on hover */
.btn-whatsapp-row::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-whatsapp-row:hover::after {
  left: 100%;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .cta-wrapper {
    padding: 30px 20px;
  }
  
  .support-text {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .support-text h2 {
    font-size: 22px;
  }
  
  .cta-wrapper {
    margin: 0 10px;
    border-radius: 15px;
  }
}
  /* ==========================================================================
   7. Services Section - High-End Mobile & Desktop
   ========================================================================== */
  
 /* --- Root Variables --- */
:root {
    --diwan-blue: #1D435F;
    --diwan-accent: #6d9abf;
    --diwan-gray: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
}

/* FIX 1: Prevent the body from ever scrolling horizontally */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- Support Band --- */
.support-band {
    background: #ffffff;
}
.support-card i {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}
.support-card h6 {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--diwan-blue);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.support-card a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}
.support-card a:hover { color: var(--diwan-accent); }

 /* --- Footer Core --- */
.main-footer {
    background-color: var(--diwan-gray);
    color: var(--text-main);
    width: 100%;
    position: relative;
    /* Safety catch for any internal element leaking out */
    overflow-x: hidden; 
}

.footer-logo {
    max-height: 55px;
    height: auto;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--diwan-blue);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.88rem;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--diwan-blue);
    padding-left: 4px;
}

/* --- Socials --- */
.footer-socials a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--diwan-blue);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--diwan-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* --- CTA Card Light --- */
.footer-cta-light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.btn-diwan-primary {
    background-color: var(--diwan-blue);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border: none;
}

.btn-diwan-primary:hover {
    background-color: var(--diwan-accent);
    color: #fff;
}

/* --- Mobile App Bar --- */
.mobile-app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
}

.bar-item {
    text-decoration: none;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
}

.bar-item i { font-size: 1.25rem; margin-bottom: 3px; }
.bar-item.active { color: var(--diwan-blue); }

/* --- Responsive Fixes --- */
@media (max-width: 991px) {
    body { 
        padding-bottom: 75px;
        /* Prevents the entire page from sliding sideways */
        max-width: 100%;
        overflow-x: hidden;
    }

    .main-footer { 
        text-align: center; 
    }

    /* Reset row margins to prevent the -15px bootstrap bleed */
    .main-footer .row {
        margin-left: 0;
        margin-right: 0;
    }

    /* Ensure container doesn't force a width larger than screen */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-cta-light { 
        margin-top: 20px; 
    }
}

.x-small { font-size: 0.75rem; }
/* ===============================
   Mobile Footer Behavior
================================ */

/* Hide desktop footer sections on mobile */
@media (max-width: 991.98px) {
    .support-band,
    .main-footer {
        display: none !important;
    }
}

/* Sticky Mobile Footer */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* Footer Items */
.mobile-footer .footer-item {
    flex: 1;
    text-align: center;
    color: #6d9abf;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Icons */
.mobile-footer .footer-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-bottom: 4px;
}

/* Optional: active color effect */
.mobile-footer .footer-item.active span {
    color: #6d9abf;
}
/* Active State */
.mobile-footer .footer-item.active {
    color: #1D435F; /* your brand color */
}

/* Prevent content hiding behind footer */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }
}
 




























/* ==========================================================================
   4. Core Video Wrapper
   ========================================================================== */
 /* 1. THE UNIQUE MESH BACKGROUND */
.hero-premium {
    background-color: #1D435F;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.mesh-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Creates blurred "blobs" of color using your shades */
    background: 
        radial-gradient(at 0% 0%, rgba(29, 67, 95, 1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(109, 154, 191, 0.4) 0, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(29, 67, 95, 1) 0, transparent 50%), 
        radial-gradient(at 0% 100%, rgba(109, 154, 191, 0.2) 0, transparent 50%),
        radial-gradient(at 50% 50%, rgba(15, 42, 61, 1) 0, transparent 100%);
    filter: blur(40px);
    opacity: 0.8;
}

/* 2. THE BRAND BADGE */
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.badge-text {
    color: #6d9abf;
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.line-accent-sm {
    width: 30px;
    height: 1px;
    background: rgba(109, 154, 191, 0.5);
}

/* 3. THE TITLE STYLE */
.premium-title {
    font-size: clamp(3rem, 10vw, 6.5rem); /* Scales beautifully */
    font-weight: 900;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -3px;
    /* Subtle 3D Depth */
    text-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* 4. UNIQUE DIVIDER (#6d9abf) */
.unique-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.unique-divider .line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6d9abf, transparent);
}

.unique-divider .dot {
    width: 6px;
    height: 6px;
    background: #6d9abf;
    border-radius: 50%;
}

/* 5. SERVICE BAR (Modern & Minimal) */
.premium-service-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 42, 61, 0.5);
    backdrop-filter: blur(10px);
}

.service-block {
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.service-block h6 {
    color: #6d9abf;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.service-block p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    margin: 0;
}

.service-block:hover {
    transform: translateY(-5px);
}

/* 6. ANIMATIONS */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .premium-title { font-size: 3.5rem; letter-spacing: -1px; }
    .service-block { margin-bottom: 20px; }
}
/* ==========================================================================
   5. promo-section
   ========================================================================== */
 /* --- Keep your existing :root and card styles 100% --- */
:root {
    --primary-teal: #1D435F;
    --accent-teal: #6d9abf;
    --bg-light: #f8fafc;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --border-light: #EEEEEE;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar Styling */
/* Sidebar Visuals */
.filter-sidebar {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

/* Custom Checkboxes to match Teal theme */
.custom-check .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    cursor: pointer;
    border: 2px solid #ddd;
}

.custom-check .form-check-input:checked {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.custom-check .form-check-label {
    padding-left: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Styling for the SEO Header Title */
.collection-header .title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Responsive font size */
    font-weight: 800;
    color: var(--primary-teal);
    text-transform: capitalize;
}

.category-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Scrollbar for brand list */
.filter-scroll-area::-webkit-scrollbar {
    width: 5px;
}
.filter-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.filter-scroll-area::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 10px;
}
.custom-check .form-check-input:checked {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.custom-check .form-check-label {
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* --- YOUR EXACT PRODUCT CARD DESIGN --- */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--accent-teal);
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-img {
    height: 150px;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
}

.product-img img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.brand { font-size: 0.65rem; font-weight: 700; color: var(--accent-teal); text-transform: uppercase; }
.product-rating { color: #FFC107; font-size: 0.6rem; display: flex; gap: 2px; }

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.75rem;
}

.price-now { font-size: 1.1rem; font-weight: 800; color: var(--primary-teal); }
.price-was { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; margin-left: 5px; }

.card-actions { display: flex; gap: 6px; margin-top: auto; }

.btn-view {
    flex: 1;
    background: var(--primary-teal);
    color: white;
    text-align: center;
    padding: 7px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
}

.btn-wa {
    width: 34px;
    height: 34px;
    background: var(--whatsapp-green);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        display: flex;
        overflow-x: auto;
        padding: 10px;
        white-space: nowrap;
        gap: 20px;
        margin-bottom: 1rem;
        border: 1px solid var(--border-light);
    }
    .filter-group { margin-bottom: 0 !important; }
    .product-img { height: 120px; }
}
@media (max-width: 991px) {
    /* Container for the whole sidebar on mobile */
    .filter-sidebar {
        display: flex;
        flex-direction: column;
        gap: 15px;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Horizontal scroll area for Brands */
    .brand-list {
        display: flex !important;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding-bottom: 10px;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    .brand-list::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

    /* Turn checkboxes into "Pills" */
    .form-check {
        padding: 0 !important;
        margin: 0 !important;
    }
    .form-check-input {
        display: none; /* Hide actual box */
    }
    .form-check-label {
        display: inline-block;
        padding: 6px 16px !important;
        background: #fff;
        border: 1px solid var(--border-light);
        border-radius: 50px;
        font-size: 0.8rem !important;
        transition: var(--transition);
    }
    .form-check-input:checked + .form-check-label {
        background: var(--primary-teal);
        color: #fff !important;
        border-color: var(--primary-teal);
    }

    /* Compact Price Inputs */
    .price-inputs {
        max-width: 300px;
    }
    
    /* Hide the "Filter By" headers on mobile to save space */
    .filter-sidebar h5 {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
        border: none !important;
    }
}
 
 /* -------------------------- */
/* MAIN CATEGORY CONTENT      */
/* -------------------------- */
.section-content-category {
    max-width: 1140px;
    margin: 40px auto;
    padding: 50px 40px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    font-family: "Inter","Segoe UI",Arial,sans-serif;
    line-height: 1.8;
    color: #374151;
}

.section-content-category h2{
    font-size:30px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:25px;
    text-align:center;
    position:relative;
}

.section-content-category h2:after{
    content:"";
    width:90px;
    height:4px;
    background:linear-gradient(90deg,#1D435F,#3b82f6);
    display:block;
    margin:18px auto 0;
    border-radius:4px;
}

.section-content-category h3{
    font-size:22px;
    font-weight:600;
    margin-top:40px;
    margin-bottom:15px;
    color:#111827;
    display:flex;
    align-items:center;
    gap:10px;
}

.section-content-category h3:before{
    content:"";
    width:6px;
    height:24px;
    background:#1D435F;
    border-radius:3px;
}

.section-content-category p{
    font-size:16px;
    margin-bottom:18px;
    color:#374151;
}

.section-content-category strong{
    color:#1D435F;
    font-weight:600;
}

.section-content-category ul{
    margin:18px 0 30px;
    padding-left:0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:12px 25px;
}

.section-content-category ul li{
    list-style:none;
    font-size:15.5px;
    padding-left:26px;
    position:relative;
}

.section-content-category ul li:before{
    content:"✔";
    position:absolute;
    left:0;
    top:0;
    color:#1D435F;
    font-weight:700;
}

.section-content-category .content-cta{
    margin-top:40px;
    padding:26px 30px;
    background: linear-gradient(135deg,#1D435F,#0f2a44);
    color:#ffffff;
    text-align:center;
    font-size:18px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(29,67,95,0.35);
}

.section-content-category .content-cta strong{
    color:#ffffff;
}

/* -------------------------- */
/* FAQ SECTION                */
/* -------------------------- */
.section-content-faq-cat{
    max-width: 1140px;
    margin: 50px auto;
    padding: 40px 40px;
    background: #f1f5f9;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
    font-family: "Inter","Segoe UI",Arial,sans-serif;
}

.section-content-faq-cat h2{
    font-size:28px;
    font-weight:700;
    color:#0f172a;
    text-align:center;
    margin-bottom:30px;
}

.faq-card{
    background:#ffffff;
    border-radius:10px;
    padding:22px 24px;
    margin-bottom:16px;
    border:1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.faq-card:hover{
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
    border-color:#d1d5db;
}

.faq-card h3{
    font-size:18px;
    margin:0 0 10px 0;
    color:#0f172a;
    display:flex;
    align-items:flex-start;
    gap:8px;
}

.faq-card h3:before{
    content:"❓";
    font-size:16px;
    margin-top:2px;
}

.faq-card p{
    font-size:15px;
    color:#4b5563;
    margin:0;
}

/* -------------------------- */
/* MOBILE RESPONSIVE          */
/* -------------------------- */
@media(max-width:768px){

.section-content-category, .section-content-faq-cat{
    margin:30px 15px;
    padding:28px 22px;
}

.section-content-category h2, .section-content-faq-cat h2{
    font-size:22px;
}

.section-content-category h3, .faq-card h3{
    font-size:18px;
}

.section-content-category p, .faq-card p{
    font-size:14.5px;
}

.section-content-category ul{
    grid-template-columns:1fr;
}

.section-content-category .content-cta{
    font-size:15px;
    padding:20px;
}

}