/* ════════════════════════════════════════════════════════════════
   JAYTRA - Complete Design System & Styles
   "Materials That Build Trust"
   ════════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties (Design Tokens) ──────────────────── */
:root {
    /* Primary Colors */
    --black: #080808;
    --gold: #F5A800;
    --gold-hover: #e09800;
    --gold-light: #FFF4D6;
    --white: #FFFFFF;
    --light-bg: #F8F8F8;
    
    /* Secondary Colors */
    --dark-gray: #1a1a1a;
    --medium-gray: #666666;
    --light-gray: #999999;
    --border-color: #E0E0E0;
    --border-light: #F0F0F0;
    
    /* Missing Design Token Fallbacks */
    --bg-dark: #F3F4F6;
    --text-color: var(--black);
    --text-muted: var(--medium-gray);
    
    /* Semantic Colors */
    --success: #22C55E;
    --success-bg: #F0FDF4;
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --info: #3B82F6;
    --info-bg: #EFF6FF;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.85rem;
    --font-size-base: 0.95rem;
    --font-size-md: 1.05rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 20px rgba(245,168,0,0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --header-height: 100px;
    --banner-height: 38px;
    --container-max: 1440px;
    --container-padding: 24px;
}

/* ─── Architectural Guides & Design System ─────────────────── */
.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(245, 168, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 168, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.blueprint-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(245, 168, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 168, 0, 0.02) 1px, transparent 1px);
    background-size: 8px 8px;
}

.measure-line {
    position: absolute;
    background: var(--gold);
    opacity: 0.3;
    pointer-events: none;
    z-index: 5;
}

.measure-line.h {
    height: 1px;
    width: 60px;
}

.measure-line.v {
    width: 1px;
    height: 60px;
}

.measure-text {
    position: absolute;
    font-size: 9px;
    color: var(--gold);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.5;
    pointer-events: none;
}

.dimension-box {
    position: relative;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.dimension-box::before, .dimension-box::after {
    content: '';
    position: absolute;
    background: var(--gold);
    opacity: 0.2;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden; /* Globally prevent horizontal viewport overflow */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--light-bg);
}

/* Defensive typography wrap to prevent long strings from breaking layout */
p, h1, h2, h3, h4, h5, h6, a, span, div, table, th, td {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Defensive mobile scaling for inline hardcoded sizes */
@media (max-width: 767px) {
    [style*="min-width"] {
        min-width: 0 !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img, video, canvas, iframe, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button { cursor: pointer; }

/* ─── Container ──────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ─── Utility Classes ────────────────────────────────────────── */
.desktop-only { display: none; }
.mobile-only { display: block; }

@media (min-width: 768px) {
    .desktop-only { display: flex; }
    .mobile-only { display: none; }
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-gray { color: var(--medium-gray); }

/* ─── Delivery Banner ────────────────────────────────────────── */
.delivery-banner {
    background: linear-gradient(135deg, var(--gold), #FFB820);
    color: var(--black);
    padding: 8px 0;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.delivery-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.delivery-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.delivery-banner-secondary {
    display: none;
}

@media (min-width: 768px) {
    .delivery-banner { font-size: var(--font-size-sm); }
    .delivery-banner-secondary { display: inline; }
}

/* ─── Site Header ────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--black);
    box-shadow: var(--shadow-md);
    transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background: rgba(8, 8, 8, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--spacing-md);
    /* Ensure no overflow hidden that might clip the dropdown */
    overflow: visible;
}

/* Search Bar Container */
.search-bar {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 var(--spacing-lg);
    z-index: 1001; /* Ensure higher z-index inside header */
}

/* Mobile Search */
.mobile-search {
    padding: 10px 16px 14px;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 1001;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--gold);
    color: var(--black);
    font-weight: 800;
    font-size: 36px;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--white);
    text-transform: uppercase;
}

.logo img {
    max-height: 80px;
    display: block;
}

/* Responsive logo sizing — overrides any inline style via class specificity */
.logo-img {
    max-height: 80px;
    display: block;
    width: auto;
    object-fit: contain;
}

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

/* Maintain compact logo inside the admin sidebar */
.admin-sidebar .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: var(--radius-sm);
}

.admin-sidebar .logo-text {
    font-size: 20px;
    letter-spacing: 1px;
}

.admin-sidebar .logo img {
    max-height: 40px;
}

/* Location Badge */
.location-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--white);
    font-weight: 500;
}

.location-pin { font-size: 14px; }

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.search-form:focus-within {
    background: rgba(255,255,255,0.15);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245,168,0,0.2);
}

.search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px 16px;
    color: var(--white);
    font-size: var(--font-size-sm);
    background: transparent;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-btn {
    padding: 10px 14px;
    color: var(--gold);
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.search-btn:hover { color: var(--white); }

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--gold-light);
}

.search-result-name { font-weight: 600; font-size: var(--font-size-sm); }
.search-result-brand { font-size: var(--font-size-xs); color: var(--medium-gray); }
.search-result-price { color: var(--gold); font-weight: 700; }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.cart-icon, .account-icon {
    position: relative;
    color: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.cart-icon:hover, .account-icon:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.1);
}

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

.cart-count:empty { display: none; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    color: var(--white);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (min-width: 768px) {
    .mobile-menu-toggle { display: none; }
}

/* ─── Integrated Two-Tier E-commerce Header ─────────────────── */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* SPACIOUS centered vertical alignment */
    gap: var(--spacing-md);
}

.desktop-nav-bar {
    background: transparent; /* Seamlessly inherits parent background */
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 999;
}

.nav-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
}

.category-trigger-wrapper {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-category-btn {
    background: var(--gold);
    color: #080808;
    font-weight: 700;
    height: 36px; /* Floating gold pill button */
    border-radius: var(--radius-md);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.nav-category-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,168,0,0.25);
}

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

.nav-category-arrow {
    font-size: 8px;
    transition: transform var(--transition-fast);
}

.category-trigger-wrapper:hover .nav-category-arrow {
    transform: rotate(180deg);
}

.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--gold);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    visibility: hidden;
    pointer-events: none;
    z-index: 1005;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    overflow: hidden;
}

.category-trigger-wrapper:hover .mega-menu-panel {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px 20px;
    padding: 32px var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-cat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--black);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}

.mega-menu-cat-title:hover {
    color: var(--gold);
}

.mega-menu-cat-icon {
    font-size: 16px;
}

.mega-menu-sub-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.mega-menu-sub-link {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
    font-weight: 500;
    text-decoration: none;
    display: block;
    transition: all var(--transition-fast);
}

.mega-menu-sub-link:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.mega-menu-see-all {
    font-size: var(--font-size-xs);
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: color var(--transition-fast);
}

.mega-menu-see-all:hover {
    color: var(--gold-hover);
}

.nav-quick-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 32px;
}

.nav-link-item {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-item:hover {
    color: var(--white);
}

.nav-link-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-item.active {
    color: var(--gold);
}

.nav-link-item.active::after {
    transform: scaleX(1);
    background: var(--gold);
}

/* Mobile Search */
.mobile-search {
    padding: 0 var(--container-padding) 12px;
    background: var(--black);
}

.mobile-search .search-form {
    background: rgba(255,255,255,0.12);
}

/* ─── Mobile Navigation ─────────────────────────────────────── */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    pointer-events: none;
    isolation: isolate; /* Force new stacking context to prevent filter/blend bleeding */
}

.mobile-nav.open { pointer-events: auto; }

.mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); /* Safari support */
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mobile-nav.open .mobile-nav-overlay { opacity: 1; }

.mobile-nav-drawer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--white);
    transform: translate3d(-100%, 0, 0); /* 3D transform for hardware acceleration */
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mobile-nav.open .mobile-nav-drawer { transform: translate3d(0, 0, 0); }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--black);
}

.mobile-nav-close {
    color: var(--white);
    font-size: 28px;
    padding: 4px 8px;
}

.mobile-nav-links {
    flex: 1;
    padding: 12px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-weight: 500;
    font-size: var(--font-size-base);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--gold-light);
    color: var(--gold-hover);
}

.mobile-nav-link.sub {
    padding-left: 36px;
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--medium-gray);
}

.mobile-nav-link.see-all {
    color: var(--gold);
    font-weight: 600;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.mobile-nav-phone {
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    margin-top: 8px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: normal; /* Allow long buttons to wrap on mobile */
    max-width: 100%; /* Prevent buttons from blowing out parent containers */
    text-align: center;
    border: 2px solid transparent;
}

.btn-sm { padding: 8px 16px; font-size: var(--font-size-xs); }
.btn-lg { padding: 16px 32px; font-size: var(--font-size-md); }

.btn-primary {
    background: var(--black);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

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

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    font-weight: 600;
}
.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}
.btn-danger:hover {
    background: #dc2626;
}

.btn-block { width: 100%; }

/* ─── Badges ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-gold { background: var(--gold-light); color: #B17A00; }
.badge-success { background: var(--success-bg); color: #15803D; }
.badge-danger { background: var(--danger-bg); color: #B91C1C; }
.badge-warning { background: var(--warning-bg); color: #B45309; }
.badge-info { background: var(--info-bg); color: #1D4ED8; }
.badge-primary { background: #EDE9FE; color: #6D28D9; }
.badge-secondary { background: #F3F4F6; color: #4B5563; }
.badge-discount {
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    padding: 2px 8px;
}

/* ─── Flash Messages ─────────────────────────────────────────── */
.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    margin: 0;
    font-weight: 500;
    font-size: var(--font-size-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.flash-success { background: var(--success-bg); color: #15803D; border-bottom: 2px solid var(--success); }
.flash-error { background: var(--danger-bg); color: #B91C1C; border-bottom: 2px solid var(--danger); }
.flash-warning { background: var(--warning-bg); color: #B45309; border-bottom: 2px solid var(--warning); }
.flash-info { background: var(--info-bg); color: #1D4ED8; border-bottom: 2px solid var(--info); }

.flash-close {
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.6;
}
.flash-close:hover { opacity: 1; }

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    flex-wrap: wrap;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    color: var(--light-gray);
}

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

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--black); font-weight: 500; }

/* ─── Page Headers ───────────────────────────────────────────── */
.page-header {
    display: none !important;
}

.page-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-base);
}

.page-header .breadcrumb { margin-top: 16px; }
.page-header .breadcrumb ol { justify-content: center; }
.page-header .breadcrumb,
.page-header .breadcrumb a,
.page-header .breadcrumb .current { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb a:hover { color: var(--gold); }

@media (min-width: 768px) {
    .page-header { padding: 60px 0; }
    .page-header h1 { font-size: var(--font-size-3xl); }
}

/* ─── Cinematic Hero Section ────────────────────────────────── */
.hero-cinematic-section {
    position: relative;
    width: 100%;
    height: 650px;
    background: #020202;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
}

/* Blueprint Background */
.hero-blueprint-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(245, 168, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 168, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.blueprint-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: repeating-radial-gradient(circle, transparent 0, transparent 60px, rgba(245, 168, 0, 0.02) 61px, rgba(245, 168, 0, 0.02) 62px);
}

@media (min-width: 768px) {
    .blueprint-circles {
        width: 1200px;
        height: 1200px;
        background: repeating-radial-gradient(circle, transparent 0, transparent 100px, rgba(245, 168, 0, 0.02) 101px, rgba(245, 168, 0, 0.02) 102px);
    }
}

.blueprint-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, #000 100%);
    opacity: 0.8;
}

/* Floating Material Elements */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    font-size: 40px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    opacity: 0.6;
    animation: floatCinematic 10s ease-in-out infinite;
}

@keyframes floatCinematic {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.item-brick { top: 15%; left: 10%; animation-delay: 0s; }
.item-steel { bottom: 20%; left: 15%; animation-delay: 2s; }
.item-cement { top: 25%; right: 12%; animation-delay: 4s; }

/* Slider & Slides */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.2s;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) contrast(1.1);
    opacity: 0.4;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.hero-slide.active .slide-bg-overlay {
    transform: scale(1);
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
}

/* Text Side */
.hero-text-side {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 168, 0, 0.1);
    border: 1px solid rgba(245, 168, 0, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

.hero-main-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.word-wrap {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .word {
    transform: translateY(0);
}

/* Stagger word reveal */
.hero-slide.active .word-wrap:nth-child(1) .word { transition-delay: 0.1s; }
.hero-slide.active .word-wrap:nth-child(2) .word { transition-delay: 0.15s; }
.hero-slide.active .word-wrap:nth-child(3) .word { transition-delay: 0.2s; }
.hero-slide.active .word-wrap:nth-child(4) .word { transition-delay: 0.25s; }
.hero-slide.active .word-wrap:nth-child(5) .word { transition-delay: 0.3s; }

.hero-main-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.5s;
}

.hero-slide.active .hero-main-desc {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.7s;
}

.hero-slide.active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-wa-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.wa-icon-glow {
    width: 48px;
    height: 48px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.hero-wa-link:hover .wa-icon-glow {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.wa-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.wa-status {
    display: block;
    font-size: 11px;
    color: #25D366;
    font-weight: 700;
    text-transform: uppercase;
}

/* Glassmorphic Inventory Status Card */
.glass-inventory-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 30px;
    width: 360px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s ease-out 0.5s;
    margin-left: auto;
}

.hero-static-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
}

.hero-static-overlay .hero-graphic-side {
    position: absolute;
    right: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: auto;
    display: flex;
    justify-content: flex-end;
}

.hero-static-overlay .glass-inventory-card {
    opacity: 0;
    transform: translateX(30px);
    animation: glassCardEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    margin-left: auto;
}

.hero-static-overlay .hero-stats-row {
    position: absolute;
    left: var(--container-padding);
    bottom: 50px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: statsRowEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

@keyframes statsRowEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glassCardEntrance {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.glass-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.glass-header-title {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.glass-pulse-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 10px #22C55E, 0 0 20px rgba(34, 197, 94, 0.6);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 14px #22C55E; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.glass-inventory-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.glass-inventory-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass-inventory-item .item-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--white);
}

.glass-inventory-item .item-stock {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--gold);
}

.glass-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--gold);
    color: var(--black);
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-gold);
}

.glass-card-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Horizontal Stats Row */
.hero-stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Hero Action Buttons styles update */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.btn-gold.btn-shine {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold) !important;
    color: var(--black) !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: var(--radius-md) !important;
    font-size: var(--font-size-xs) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    transition: all var(--transition-base) !important;
}

.btn-gold.btn-shine:hover {
    background: var(--white) !important;
    color: var(--black) !important;
    transform: translateY(-2px) !important;
}

.btn-outline-white-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-outline-white-hero:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Navigation Controls */
.hero-nav-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 30px;
    z-index: 20;
}

.hero-nav-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.hero-pagination {
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-dot.active {
    background: var(--gold);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--gold);
}

/* Premium Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    animation: btnShine 4s infinite;
}

@keyframes btnShine {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

@media (max-width: 991px) {
    .hero-cinematic-section { height: auto; padding: 120px 0 100px; }
    .slides-container { height: auto; display: flex; flex-direction: column; }
    .hero-slide { position: absolute; width: 100%; height: 100%; opacity: 0; visibility: hidden; }
    .hero-slide.active { position: relative !important; opacity: 1; visibility: visible; height: auto; }
    .hero-content-wrapper { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text-side { margin: 0 auto; }
    .hero-main-title { font-size: 48px; }
    .hero-actions { justify-content: center; flex-direction: column; gap: 20px; }
    .blueprint-emblem-container { width: 300px; height: 300px; }
    .layer-1 { width: 280px; height: 280px; }
    .layer-2 { width: 200px; height: 200px; }
    .hero-floating-elements { display: none; }
    
    .hero-static-overlay {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        z-index: 15;
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .hero-static-overlay .hero-stats-row {
        position: relative;
        left: auto;
        bottom: auto;
        margin: 20px auto 0;
        width: 100%;
        max-width: 500px;
        justify-content: center;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 24px;
    }
    
    .hero-static-overlay .hero-graphic-side {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    
    .hero-static-overlay .glass-inventory-card {
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Flipkart-style Promo Banners Grid */
.promo-banners-grid {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 36px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.promo-banners-grid::-webkit-scrollbar {
    display: none;
}

.promo-banner-item {
    scroll-snap-align: start;
    flex: 0 0 85%;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(197, 168, 128, 0.15);
    display: block;
    position: relative;
}

.promo-banner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    border-color: var(--gold);
}

.promo-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 600px) {
    .promo-banners-grid {
        scroll-snap-type: none;
        overflow-x: visible;
        padding-bottom: 0;
    }
    
    .promo-banner-item {
        flex: 1;
        height: 180px;
    }
}

@media (min-width: 900px) {
    .promo-banners-grid {
        gap: 20px;
        margin-top: 48px;
    }
    
    .promo-banner-item.large {
        flex: 1.5;
        height: 240px;
    }
    
    .promo-banner-item.medium {
        flex: 1.2;
        height: 240px;
    }
    
        .promo-banner-item.small {
            flex: 1;
            height: 240px;
        }
    }

/* Premium Soothing Structural Geometry Emblem */
.building-graphic-container {
    position: relative;
    width: 380px;
    height: 420px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

@media (max-width: 991px) {
    .building-graphic-container {
        display: none;
    }
}

.structural-geometry-emblem {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 168, 0, 0.05) 0%, transparent 70%);
}

/* Concentric structural rings */
.geo-ring {
    position: absolute;
    border: 1px dashed rgba(245, 168, 0, 0.2);
    border-radius: 50%;
    transition: all var(--transition-slow);
}

.geo-ring.ring-outer {
    width: 300px;
    height: 300px;
    border-style: dashed;
    animation: rotateSlow 30s linear infinite;
}

.geo-ring.ring-middle {
    width: 220px;
    height: 220px;
    border: 1px solid rgba(245, 168, 0, 0.15);
    border-style: dotted;
    animation: rotateReverse 20s linear infinite;
}

.geo-ring.ring-inner {
    width: 140px;
    height: 140px;
    border: 1px solid rgba(245, 168, 0, 0.25);
    animation: rotateSlow 15s linear infinite;
}

/* Blueprint overlay grid lines */
.geo-grid-overlay {
    position: absolute;
    width: 260px;
    height: 260px;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.geo-grid-overlay::before,
.geo-grid-overlay::after {
    content: '';
    position: absolute;
    background: rgba(245, 168, 0, 0.08);
}

/* Crosshair lines for architectural blueprints */
.geo-grid-overlay::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
}

.geo-grid-overlay::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    transform: translateX(-50%);
}

/* Glowing material nodes */
.geo-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold), 0 0 20px rgba(245, 168, 0, 0.6);
    z-index: 3;
}

.geo-node.node-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatNode 4s ease-in-out infinite alternate;
}

.geo-node.node-2 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatNode 4s ease-in-out infinite alternate-reverse;
}

.geo-node.node-3 {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: floatNodeHoriz 4s ease-in-out infinite alternate;
}

.geo-node.node-4 {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: floatNodeHoriz 4s ease-in-out infinite alternate-reverse;
}

/* Glowing Center Shield Logo */
.geo-center-shield {
    position: absolute;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, var(--black) 60%, rgba(26, 26, 26, 0.9) 100%);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 168, 0, 0.3), inset 0 0 10px rgba(245, 168, 0, 0.2);
    z-index: 5;
    animation: pulseShield 4s ease-in-out infinite alternate;
    transition: all var(--transition-base);
}

.geo-center-shield:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 168, 0, 0.5);
    border-color: var(--white);
}

.geo-center-y {
    font-size: 24px;
    font-weight: 900;
    color: var(--black);
    background: var(--gold);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(245,168,0,0.4);
    margin-bottom: 4px;
    transition: all var(--transition-base);
}

.geo-center-shield:hover .geo-center-y {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(255,255,255,0.4);
}

.geo-center-text {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--white);
    text-transform: uppercase;
}

/* Animations */
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes floatNode {
    0% { transform: translate(-50%, -4px); opacity: 0.8; }
    100% { transform: translate(-50%, 4px); opacity: 1; box-shadow: 0 0 18px var(--gold); }
}

@keyframes floatNodeHoriz {
    0% { transform: translate(-4px, -50%); opacity: 0.8; }
    100% { transform: translate(4px, -50%); opacity: 1; box-shadow: 0 0 18px var(--gold); }
}

@keyframes pulseShield {
    0% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 168, 0, 0.2); }
    100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 168, 0, 0.45); }
}

/* ─── Section Styles ─────────────────────────────────────────── */
.section {
    padding: 50px 0;
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: var(--font-size-base);
    margin-bottom: 36px;
}

@media (min-width: 768px) {
    .section { padding: 70px 0; }
    .section-title { font-size: var(--font-size-2xl); }
}

/* ─── Category Cards ─────────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 16px;
    }
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 12px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base);
    pointer-events: none;
}

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

.category-card:hover::before {
    border-color: var(--gold);
}

.category-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.category-name {
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1.3;
}

/* ─── Bento Category Grid (Premium Redesign) ───────────────────── */
.category-bento-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.category-bento-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    gap: 16px;
}

@media (min-width: 768px) {
    .category-bento-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.category-bento-main-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.category-bento-underline {
    width: 80px;
    height: 4px;
    background-color: var(--gold);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.category-bento-subtitle {
    font-size: var(--font-size-base);
    color: var(--medium-gray);
    max-width: 550px;
    line-height: 1.6;
}

.category-bento-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--black);
    text-decoration: none;
    transition: all var(--transition-base);
}

.category-bento-view-all:hover {
    color: var(--gold);
}

.category-bento-view-all .bento-arrow {
    display: inline-block;
    transition: transform var(--transition-base);
}

.category-bento-view-all:hover .bento-arrow {
    transform: translateX(6px);
}

/* Grid Layout */
.category-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .category-bento-grid {
        grid-template-columns: repeat(12, 1fr);
        height: 600px;
    }
}

/* Bento Card Span Classes */
.category-bento-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    height: 350px; /* Mobile standard height */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-xl);
    text-decoration: none;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background-color: var(--black);
}

@media (min-width: 768px) {
    .category-bento-card {
        height: 100%; /* Auto-stretch to row heights */
    }
    
    .bento-col-8 {
        grid-column: span 8;
    }
    
    .bento-col-4 {
        grid-column: span 4;
    }
}

.category-bento-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    z-index: 1;
}

.category-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.4) 50%, transparent 100%);
    z-index: 2;
    transition: all var(--transition-slow);
}

.category-bento-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-slow);
}

.category-bento-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: -0.2px;
}

.category-bento-desc {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.category-bento-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--black);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition-base);
}

/* Hover States (Interactive Micro-Animations) */
.category-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold);
}

.category-bento-card:hover .category-bento-img {
    transform: scale(1.08);
    opacity: 0.8;
}

.category-bento-card:hover .category-bento-overlay {
    background: linear-gradient(to top, rgba(245, 168, 0, 0.9) 0%, rgba(8, 8, 8, 0.6) 60%, rgba(8, 8, 8, 0.2) 100%);
}

.category-bento-card:hover .category-bento-content {
    transform: translateY(0);
}

.category-bento-card:hover .category-bento-desc {
    opacity: 1;
    max-height: 80px;
}

.category-bento-card:hover .category-bento-btn {
    background: var(--black);
    color: var(--white);
}

/* ─── Accordion Categories Styles ────────────────────────────────── */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.accordion-item.open {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
}

.accordion-item.open .accordion-header {
    background: var(--gold-light);
}

.accordion-header:hover .accordion-title {
    color: var(--gold-hover);
}

.accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--light-bg);
    border-radius: 50%;
    margin-right: 16px;
    transition: all var(--transition-base);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.accordion-item.open .accordion-icon {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.accordion-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.accordion-title {
    font-size: var(--font-size-md);
    font-weight: 700;
    color: var(--black);
    flex: 1;
    transition: color var(--transition-fast);
}

.accordion-count {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--medium-gray);
    background: var(--light-bg);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-right: 16px;
    transition: all var(--transition-base);
}

.accordion-item.open .accordion-count {
    background: var(--gold);
    color: var(--black);
}

.accordion-arrow {
    font-size: 11px;
    color: var(--light-gray);
    transition: transform var(--transition-base), color var(--transition-base);
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
    color: var(--gold-hover);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    background: #FAF9F6;
    border-top: 1px solid var(--border-light);
}

.accordion-item.open .accordion-content {
    max-height: 800px;
    opacity: 1;
}

.accordion-subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 24px;
}

.subcategory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--black);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.subcategory-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.subcategory-arrow {
    font-size: 14px;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.subcategory-link:hover .subcategory-arrow {
    transform: translateX(3px);
}

.product-list-content {
    width: 100%;
    min-width: 0; /* Prevent grid blowout */
}

/* ─── Product Cards ──────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    animation: fadeInUp 0.5s ease both;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--gold);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, #fdfbf7 0%, #f7f3ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 24px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.product-card:hover .product-image img {
    transform: scale(1.1) translateY(-8px);
}

.product-image-placeholder {
    font-size: 72px;
    opacity: 0.8;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image-placeholder {
    transform: scale(1.15) rotate(5deg);
}

.product-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.product-bulk-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--black);
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
    border: 1px solid var(--gold);
}

.product-info {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 6px;
}

.product-name {
    font-size: var(--font-size-base);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--black);
    height: 2.8em; /* Fixed height for consistency */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    transition: color var(--transition-fast);
}

.product-name a:hover {
    color: var(--gold);
}

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

.stars { display: flex; gap: 1px; }
.star { font-size: 12px; }
.star.filled { color: var(--gold); }
.star.half { color: var(--gold); opacity: 0.6; }
.star.empty { color: var(--border-color); }

.review-count {
    font-size: 11px;
    color: var(--light-gray);
    font-weight: 500;
}

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

.product-price {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--black);
}

.product-original-price {
    font-size: var(--font-size-sm);
    color: var(--light-gray);
    text-decoration: line-through;
    font-weight: 500;
}

.product-unit {
    font-size: 11px;
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-stock {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-stock.in-stock { color: var(--success); }
.product-stock.out-of-stock { color: var(--danger); }

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-add-cart {
    background: var(--black);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-xs);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 168, 0, 0.25);
}

.btn-add-cart.added {
    background: var(--success);
    color: var(--white);
}

/* ─── Trust Section ──────────────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.trust-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--transition-base);
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.trust-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.trust-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: 6px;
}

.trust-desc {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
    line-height: 1.5;
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .testimonial-card { flex: 0 0 50%; }
}

@media (min-width: 1024px) {
    .testimonial-card { flex: 0 0 33.333%; }
}

.testimonial-inner {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    position: relative;
}

.testimonial-inner::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 60px;
    color: var(--gold-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    margin-bottom: 12px;
}

.testimonial-quote {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.testimonial-role {
    font-size: var(--font-size-xs);
    color: var(--gold);
    font-weight: 500;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.testimonial-btn:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--black);
}

.testimonial-dots {
    display: flex;
    gap: 6px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* ─── Pre-Footer CTA ─────────────────────────────────────────── */
.pre-footer-cta {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,168,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    font-size: var(--font-size-base);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Newsletter ─────────────────────────────────────────────── */
.newsletter-section {
    background: var(--gold);
    padding: 40px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--black);
}

.newsletter-text p {
    font-size: var(--font-size-sm);
    color: rgba(0,0,0,0.6);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 420px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--black);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: var(--font-size-sm);
}

.newsletter-input:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.newsletter-btn {
    background: var(--black) !important;
    color: var(--white) !important;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--dark-gray) !important;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr 1fr; }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: var(--font-size-sm);
    margin-bottom: 16px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.footer-contact-item:hover { color: var(--gold); }

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--gold);
}

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

.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
}

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

.footer-see-all {
    color: var(--gold) !important;
    font-weight: 600;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.4);
}

/* ─── Floating WhatsApp ──────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: var(--white);
    color: var(--black);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--white);
}

/* ─── Back to Top ────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

/* ─── Category Page (Accordion) ──────────────────────────────── */
.accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    gap: 14px;
    transition: all var(--transition-fast);
    width: 100%;
    text-align: left;
}

.accordion-header:hover { background: var(--gold-light); }

.accordion-icon { font-size: 28px; }

.accordion-title {
    flex: 1;
    font-size: var(--font-size-base);
    font-weight: 700;
}

.accordion-count {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.accordion-arrow {
    font-size: 18px;
    color: var(--medium-gray);
    transition: transform var(--transition-base);
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-content {
    max-height: 1000px;
}

.accordion-subcategories {
    padding: 0 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.subcategory-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.subcategory-link:hover {
    background: var(--gold-light);
    color: var(--gold-hover);
    transform: translateX(4px);
}

.subcategory-arrow { color: var(--gold); font-weight: 600; }

/* ─── Product List Page ──────────────────────────────────────── */
.product-list-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 0;
}

@media (min-width: 768px) {
    .product-list-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    cursor: pointer;
}

.filter-option > div {
    min-width: 0;
    flex: 1;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

/* Sort Bar */
.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.sort-bar .results-count {
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

.sort-select:focus {
    border-color: var(--gold);
}

/* ─── Product Detail Page ────────────────────────────────────── */
.product-detail {
    padding: 30px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-gallery {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-main {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f6f0, #f0ece3);
    font-size: 100px;
}

@media (min-width: 768px) {
    .gallery-main { height: 400px; }
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-brand {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
}

.product-detail-name {
    font-size: var(--font-size-xl);
    font-weight: 800;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px;
    background: var(--gold-light);
    border-radius: var(--radius-md);
}

.product-detail-price {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--gold-hover);
}

.product-detail-original {
    font-size: var(--font-size-lg);
    color: var(--light-gray);
    text-decoration: line-through;
}

.product-detail-unit {
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
}

.product-detail-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-dot.in-stock { background: var(--success); }
.stock-dot.out-of-stock { background: var(--danger); }

.product-detail-desc {
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    line-height: 1.7;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: var(--light-bg);
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.qty-value {
    width: 60px;
    height: 44px;
    text-align: center;
    font-weight: 600;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    background: var(--white);
    color: var(--black);
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-value::-webkit-outer-spin-button,
.qty-value::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.delivery-info-box {
    background: var(--success-bg);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: var(--font-size-sm);
}

.delivery-info-box strong {
    color: var(--success);
}

/* Product Tabs */
.product-tabs {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    overflow-x: auto;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 12px 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--medium-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

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

.tab-btn.active {
    color: var(--black);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
    padding: 24px 0;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.specs-table tr { border-bottom: 1px solid var(--border-light); }
.specs-table td { padding: 12px 16px; font-size: var(--font-size-sm); }
.specs-table td:first-child { font-weight: 600; color: var(--medium-gray); width: 40%; }

/* ─── Cart Page ──────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
}

@media (min-width: 768px) {
    .cart-layout { grid-template-columns: 1fr 340px; }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    align-items: start;
}

@media (min-width: 640px) {
    .cart-item {
        align-items: stretch; /* Allows the content area to fill height and space evenly */
    }
}

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

.cart-item:hover {
    background: #FAFAFA;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    overflow: hidden;
    grid-row: span 2;
}

@media (min-width: 640px) {
    .cart-item-image {
        grid-row: auto;
    }
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--black);
    display: block;
    line-height: 1.4;
}

.cart-item-unit {
    font-size: 12px;
    color: var(--medium-gray);
    font-weight: 500;
}

.cart-item-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.cart-item-unit-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--medium-gray);
    background: var(--light-bg);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    border: 1px solid var(--border-light);
}

.cart-item-price-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--medium-gray);
}

.cart-item-total-val {
    font-weight: 850;
    font-size: 16px;
    color: var(--black);
}

@media (min-width: 640px) {
    .cart-item-total-val {
        margin-left: auto;
    }
}

.cart-item-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    grid-column: 2;
    margin-top: 8px;
}

@media (min-width: 640px) {
    .cart-item-actions {
        flex-direction: column;
        align-items: flex-end;
        grid-column: auto;
        margin-top: 0;
    }
}

/* Zepto Style Quantity Pill */
.cart-item-qty {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    height: 36px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(245, 168, 0, 0.1);
}

.cart-qty-btn {
    width: 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gold);
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.cart-qty-btn:hover:not(:disabled) {
    background: var(--gold-light);
}

.cart-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cart-qty-value {
    width: 36px;
    height: 100%;
    border: none;
    background: none;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--black);
    padding: 0;
}

.cart-item-remove-btn {
    background: none;
    border: none;
    color: #CBD5E1;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove-btn:hover {
color: var(--danger);
}

/* ─── Cart Page Redesign ─────────────────────────────────────── */
.cart-redesign-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 1024px) {
    .cart-redesign-layout {
        grid-template-columns: 1fr 380px;
    }
}

.delivery-status-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.delivery-progress-bg {
    margin-top: 16px;
    height: 6px;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
}

.delivery-progress-bar {
    height: 100%;
    background: var(--gold);
    transition: width 0.5s ease;
}

.cart-summary-column {
    position: relative;
    top: 0;
}

@media (min-width: 1024px) {
    .cart-summary-column {
        position: sticky;
        top: calc(var(--header-height) + 20px);
    }
}

.cancellation-note {
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cancellation-note-icon {
    color: #D97706;
    font-size: 18px;
}

.cancellation-note-text {
    margin: 0;
    font-size: 12px;
    color: #92400E;
    line-height: 1.5;
    font-weight: 500;
}

.promo-section {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px dashed var(--border-color);
    margin-bottom: 24px;
}

.promo-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--medium-gray);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    height: fit-content;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .cart-summary {
        padding: 30px;
    }
}

.cart-summary h3 {
    font-size: 16px;
    font-weight: 850;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .cart-summary h3 {
        font-size: 18px;
        margin-bottom: 24px;
    }
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 600;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-summary-row > span:first-child {
    flex: 1;
    min-width: 140px;
}

.cart-summary-value {
    text-align: right;
}

.cart-summary-row.total {
    font-size: 20px;
    font-weight: 900;
    padding-top: 24px;
    margin-top: 12px;
    border-top: 2px solid var(--border-light);
    color: var(--black);
}

.cart-summary-row.total .cart-summary-value {
    color: var(--gold);
}

.promo-row {
    margin: 16px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .promo-input {
        width: 100%;
        flex: none;
    }
    .promo-row .btn {
        width: 100%;
    }
}

.promo-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
}

.promo-input:focus { border-color: var(--gold); }

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

.cart-empty-icon { font-size: 64px; margin-bottom: 16px; }

.cart-empty h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--medium-gray);
    margin-bottom: 24px;
}

/* ─── Checkout Page ──────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
}

.checkout-layout > * {
    min-width: 0;
}

@media (min-width: 768px) {
    .checkout-layout { grid-template-columns: 1fr 360px; }
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    overflow-x: auto;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--light-gray);
    position: relative;
}

.checkout-step::after {
    content: '→';
    margin-left: 12px;
    color: var(--border-color);
}

.checkout-step:last-child::after { display: none; }

.checkout-step.active {
    color: var(--gold);
}

.checkout-step.completed {
    color: var(--success);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.checkout-step.active .step-number {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.checkout-step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

/* Checkout Form */
.checkout-form {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.checkout-form h2 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 20px;
}

/* ─── Forms ──────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--black);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    min-height: 44px;
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245,168,0,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--light-gray);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-hint {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
    margin-top: 4px;
}

/* ─── Account Page ───────────────────────────────────────────── */
.account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
}

@media (min-width: 768px) {
    .account-layout { grid-template-columns: 220px 1fr; }
}

.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: fit-content;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.account-nav-link:hover,
.account-nav-link.active {
    background: var(--gold-light);
    color: var(--gold-hover);
}

.account-content {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

/* ─── About Page ─────────────────────────────────────────────── */
.about-section { padding: 40px 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-story h2 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: 16px;
}

.about-story p {
    font-size: var(--font-size-base);
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

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

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ─── Bulk Orders Page ───────────────────────────────────────── */
.steps-visual {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps-visual {
        flex-direction: row;
        max-width: none;
    }
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    padding: 20px;
}

.step-item::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 40px;
    font-size: 20px;
    color: var(--gold);
    display: none;
}

@media (min-width: 768px) {
    .step-item::after { display: block; }
    .step-item:last-child::after { display: none; }
}

.step-number-circle {
    width: 52px;
    height: 52px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: 12px;
}

.step-item-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    margin-bottom: 4px;
}

.step-item-desc {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
}

/* ─── FAQ Page ───────────────────────────────────────────────── */
.faq-category {
    margin-bottom: 30px;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
    text-align: left;
}

.faq-question:hover { background: var(--gold-light); }

.faq-toggle {
    font-size: 20px;
    color: var(--gold);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ─── Contact Page ───────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.contact-card-icon { font-size: 28px; margin-bottom: 8px; }
.contact-card-title { font-size: var(--font-size-xs); font-weight: 700; margin-bottom: 4px; }
.contact-card-value { font-size: var(--font-size-xs); color: var(--medium-gray); }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ─── Order Confirmation ─────────────────────────────────────── */
.confirmation-card {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 40px auto;
}

.confirmation-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.confirmation-card h2 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--success);
    margin-bottom: 8px;
}

.order-number {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
}

/* ─── Auth Forms ─────────────────────────────────────────────── */
.auth-container {
    max-width: 440px;
    margin: 40px auto;
    padding: 0 20px;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.auth-card h2 {
    font-size: var(--font-size-xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.auth-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-divider {
    text-align: center;
    margin: 20px 0;
    color: var(--medium-gray);
    font-size: var(--font-size-sm);
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* Admin Login */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    padding: 20px;
}

.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
}

.admin-login-card .logo {
    justify-content: center;
    margin-bottom: 8px;
}

.admin-login-card .logo .logo-text {
    color: var(--black);
}

/* ─── Scroll Animations ─────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Print Styles ───────────────────────────────────────────── */
@media print {
    .site-header, .delivery-banner, .site-footer, .whatsapp-float, .back-to-top,
    .mobile-nav, .pre-footer-cta, .newsletter-section { display: none !important; }
    .main-content { padding-top: 0 !important; }
    body { background: white; }
}

/* ─── Admin Dashboard Styles ─────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #F8FAFC;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(245, 168, 0, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 168, 0, 0.02) 0%, transparent 40%),
        linear-gradient(rgba(245, 168, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 168, 0, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    font-family: var(--font-family);
}

.admin-sidebar {
    width: 270px;
    background: var(--black);
    color: var(--white);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    position: fixed; /* Fixed to viewport to prevent scroll-away bug */
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    z-index: 100;
}

.admin-sidebar-logo {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}
.admin-sidebar-logo small {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.admin-nav {
    flex: 1;
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

/* Customized Premium Sidebar Scrollbar */
.admin-nav::-webkit-scrollbar {
    width: 5px;
}
.admin-nav::-webkit-scrollbar-track {
    background: transparent;
}
.admin-nav::-webkit-scrollbar-thumb {
    background: rgba(245, 168, 0, 0.15);
    border-radius: 10px;
}
.admin-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 168, 0, 0.35);
}

.admin-nav-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin: 16px 0 6px 12px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 13px;
    transition: all var(--transition-fast);
    position: relative;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold);
    transform: translateX(4px);
}

.admin-nav-link.active {
    background: rgba(245, 168, 0, 0.1);
    color: var(--gold);
    font-weight: 600;
    border: 1px solid rgba(245, 168, 0, 0.2);
}

.admin-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 3.5px;
    background: var(--gold);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 8px var(--gold);
}

.admin-nav-link.active .badge {
    background: var(--gold);
    color: var(--black);
}

.admin-nav-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 270px; /* Offset for fixed sidebar */
}

.admin-header {
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.admin-header h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.25px;
}

.admin-body {
    padding: 32px;
    flex: 1;
    overflow-y: auto;
}

/* Stats Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.6) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 4px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
    border-color: var(--gold);
}

.admin-stat-card.gold { border-left-color: var(--gold); }
.admin-stat-card.blue { border-left-color: #3b82f6; }
.admin-stat-card.green { border-left-color: #10b981; }
.admin-stat-card.red { border-left-color: #ef4444; }

.admin-stat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--medium-gray);
    margin-bottom: 8px;
}
.admin-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
}

/* Card / Table Wrapper */
.admin-table-wrapper {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    display: block;
}

.admin-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(245, 168, 0, 0.1);
    background: rgba(255, 255, 255, 0.2);
}
.admin-table-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: rgba(245, 168, 0, 0.05);
    color: var(--black);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(245, 168, 0, 0.1);
}

.admin-table td {
    padding: 16px 24px;
    font-size: 13.5px;
    color: var(--black);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: rgba(245, 168, 0, 0.02);
}

/* Action Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.action-btn.view {
    background: var(--info-bg);
    color: var(--info);
}
.action-btn.view:hover { background: var(--info); color: var(--white); }

.action-btn.edit {
    background: var(--warning-bg);
    color: var(--warning);
}
.action-btn.edit:hover { background: var(--warning); color: var(--white); }

.action-btn.delete {
    background: var(--danger-bg);
    color: var(--danger);
}
.action-btn.delete:hover { background: var(--danger); color: var(--white); }

/* Premium Rounded Pill Buttons for Admin Panel */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 20px; /* Elegant pill button */
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    border: 1px solid transparent;
    text-decoration: none;
}
.admin-btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.admin-btn-primary:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 168, 0, 0.25);
}
.admin-btn-outline {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(245, 168, 0, 0.25);
    color: var(--black);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.admin-btn-outline:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 168, 0, 0.25);
}

/* Admin Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--black);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--black);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245,168,0,0.1);
}

/* Responsive Admin Layout */
@media (max-width: 991px) {
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        height: 100vh;
        width: 270px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    }
    .admin-sidebar.open {
        left: 0;
    }
    .admin-main {
        margin-left: 0;
        width: 100%;
        min-width: 0;
    }
    .admin-body {
        padding: 16px;
    }
    .admin-header {
        padding: 16px 20px;
        flex-wrap: wrap;
    }
    .admin-header h1 {
        font-size: 20px;
    }
    #admin-global-search {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 12px 0 0 0;
    }
    .admin-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 999;
        backdrop-filter: blur(2px);
    }
    .admin-sidebar-overlay.active {
        display: block;
    }
    /* Force grids to stack on mobile */
    .admin-main [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .form-row[style] {
        grid-template-columns: 1fr !important;
    }
}

/* ─── Customer Message Center (Inbox/Outbox) ──────────────────── */
.message-center-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.message-list-column {
    display: flex;
    flex-direction: column;
}

.account-message-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.account-message-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--gold);
}

.message-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.msg-subj-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msg-date {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
}

.message-card-body p {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--black);
    margin: 0;
    white-space: pre-wrap;
}

.message-compose-column {
    position: sticky;
    top: 100px;
}

.message-compose-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

@media (max-width: 768px) {
    .message-center-layout {
        grid-template-columns: 1fr;
    }
    .message-compose-column {
        position: static;
        order: -1; /* Place compose form at top on mobile for better accessibility */
    }
}

/* ─── Premium Conversational Support Threads ──────────────────── */
.chat-thread-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
    max-height: 480px;
    overflow-y: auto;
    padding: 16px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.chat-bubble {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.chat-bubble-customer {
    align-self: flex-end;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-right: 4px solid var(--gold);
    border-bottom-right-radius: 2px;
    color: var(--black);
}

.chat-bubble-admin {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold);
    border-bottom-left-radius: 2px;
    color: var(--black);
}

.chat-bubble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 4px;
}

.chat-bubble-body {
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-bubble-meta {
    font-size: 10px;
    color: var(--medium-gray);
    margin-top: 6px;
    text-align: right;
}

.chat-reply-form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
}

.chat-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    font-size: var(--font-size-sm);
    margin-bottom: 20px;
    transition: color var(--transition-fast);
}

.chat-back-link:hover {
    color: var(--gold-hover);
}

.msg-item-interactive {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Global Password Reveal Visibility Toggle styles */
.password-input-container {
    position: relative;
    width: 100%;
}
.password-input-container .form-input {
    padding-right: 44px !important;
}
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    z-index: 10;
}
.password-toggle-btn:hover {
    color: var(--gold);
    background: rgba(245,168,0,0.08);
}
.password-toggle-btn svg {
    display: block;
}

/* ─── Pagination ─────────────────────────────────────────────── */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--black);
    transition: all var(--transition-fast);
}

.pagination li.active a {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.pagination li a:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination li.dots {
    color: var(--medium-gray);
    font-weight: 600;
}

/* ─── Admin Pagination ────────────────────────────────────────── */
.admin-pagination {
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    background: #fff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.admin-pagination .action-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES (Mobile First Adaptations)
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
    .desktop-nav-bar {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
    }
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 16px !important;
        gap: 16px !important;
    }

    #admin-global-search {
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    :root {
        --header-height: 70px;
    }

    .header-inner {
        height: var(--header-height);
    }

    .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .logo-text {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .logo img {
        max-height: 50px;
    }

    /* Hero Slider Adjustments */
    .hero-slider {
        height: 400px;
    }

    .hero-slide-title {
        font-size: var(--font-size-xl);
        margin-bottom: 12px;
    }

    .hero-slide-desc {
        font-size: var(--font-size-sm);
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slide-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-slide-buttons .btn {
        width: 100%;
    }

    /* Grid Adjustments */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Typography */
    .section-title {
        font-size: var(--font-size-xl);
    }

    /* Newsletter & CTA */
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
        text-align: center;
    }

    .cta-content h2 {
        font-size: var(--font-size-xl);
    }

    /* Footer */
    .footer-grid {
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-contact-list {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    /* Product Detail */
    .gallery-main {
        min-height: 280px !important;
    }

    .gallery-main img {
        max-height: 240px !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none; /* Hide text logo on very small screens if icon is present */
    }

    .hero-slider {
        height: 350px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: 1fr; /* Single column on very small phones if needed, or keep 2 */
    }
}

/* ─── Hyperframes & Enhanced Page Background ────────────────── */
.page-hyper-wrapper {
    position: relative;
    background: var(--light-bg);
    background-image: 
        linear-gradient(rgba(245, 168, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 168, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    min-height: calc(100vh - var(--header-height));
    z-index: 1;
}

/* Subtle Animated Background Accent */
.page-bg-accent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(245, 168, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 168, 0, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
}

/* Hyperframe: Technical/Futuristic Decorative Border */
.hyper-frame {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(245, 168, 0, 0.15);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.hyper-frame::before,
.hyper-frame::after,
.hyper-frame-inner::before,
.hyper-frame-inner::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
}

/* Corner Decor */
.hyper-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hyper-frame::after { top: -2px; right: -2px; border-left: none; border-bottom: none; }

.hyper-frame-inner {
    position: absolute;
    inset: 0;
}

.hyper-frame-inner::before { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.hyper-frame-inner::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* Responsive Adjustments for Hyperframes */
@media (max-width: 768px) {
    .hyper-frame {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        opacity: 0.4;
    }
    .hyper-frame::before, .hyper-frame::after, 
    .hyper-frame-inner::before, .hyper-frame-inner::after {
        width: 20px;
        height: 20px;
        border-width: 1.5px;
    }
}

/* ==========================================================================
   Blinkit-Style Product Showcase and Cards Redesign
   ========================================================================== */

/* Showcase Section & General Layout */
.blinkit-showcase-section {
    padding: 40px 0;
    background-color: var(--light-bg, #f8f9fa);
    overflow: hidden;
}

.blinkit-category-strip-wrapper {
    margin-bottom: 35px;
    position: relative;
}

.blinkit-category-strip-wrapper:last-child {
    margin-bottom: 0;
}

/* Header styling */
.blinkit-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.blinkit-strip-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black, #080808);
    margin: 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.3px;
}

.blinkit-see-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #0c831f;
    text-decoration: none;
    text-transform: lowercase;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.blinkit-see-all-link:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

/* Strip Container & Horizontal Scrolling */
.blinkit-strip-container {
    position: relative;
    width: 100%;
}

.blinkit-strip-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px 20px 4px; /* extra padding to not cut off shadows */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.blinkit-strip-track::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Floating Navigation Scroll Buttons (Desktop only) */
.blinkit-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateY(-10px); /* Adjust vertical alignment offset */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    color: #1f2937;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    user-select: none;
}

.blinkit-scroll-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #0c831f;
}

.blinkit-scroll-btn.prev {
    left: -20px;
}

.blinkit-scroll-btn.next {
    right: -20px;
}

/* Hide scroll buttons on mobile/tablet or when they are not needed */
@media (max-width: 1024px) {
    .blinkit-scroll-btn {
        display: none !important;
    }
}

/* Product Card - Blinkit Visual Style Alignment */
.blinkit-card {
    position: relative;
    flex: 0 0 180px; /* Fixed width on desktop */
    width: 180px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    user-select: none;
}

.blinkit-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(12, 131, 31, 0.15);
}

/* Discount Badge: Blue Ribbon shape on two lines */
.blinkit-discount-badge {
    position: absolute;
    top: 0;
    left: 10px;
    background: #2563eb; /* Premium blue for the discount badge */
    color: #ffffff;
    padding: 4px 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 9px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 3px 3px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
    width: 32px;
    height: 38px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blinkit-discount-badge .disc-num {
    font-size: 10px;
    letter-spacing: -0.2px;
}

.blinkit-discount-badge .disc-txt {
    font-size: 7px;
    opacity: 0.9;
    font-weight: 600;
}

/* Product Image Centered with Baseline Spacing */
.blinkit-card-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    padding: 8px;
    margin-bottom: 8px;
    background: transparent;
    text-decoration: none;
}

.blinkit-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Card Content Area */
.blinkit-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Product Name styling - Max 2 lines with clamp */
.blinkit-card-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 6px 0;
    height: 36px; /* consistent vertical alignment */
    overflow: hidden;
}

.blinkit-card-title a {
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.blinkit-card-title a:hover {
    color: #0c831f;
}

/* Specification / Unit Line (Visually Lighter) */
.blinkit-card-unit {
    font-size: 11px;
    color: #888888;
    margin-bottom: 12px;
    font-weight: 400;
    text-transform: lowercase;
}

/* Footer layout: Price and ADD Button */
.blinkit-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
}

.blinkit-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
}

/* Current price (bold black) */
.blinkit-price {
    font-size: 14px;
    font-weight: 700;
    color: #080808;
}

/* MRP price (smaller light gray with strikethrough) */
.blinkit-mrp {
    font-size: 11px;
    color: #888888;
    text-decoration: line-through;
    font-weight: 400;
    margin-top: 2px;
}

/* Premium ADD Button (Green outlined) */
.blinkit-add-btn {
    border: 1px solid #0c831f;
    color: #0c831f;
    background-color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.blinkit-add-btn:hover {
    background-color: #f4faf5;
    box-shadow: 0 2px 6px rgba(12, 131, 31, 0.15);
}

.blinkit-add-btn:active {
    transform: scale(0.96);
}

/* Out of Stock Styling */
.blinkit-add-btn:disabled {
    border-color: #d1d5db;
    color: #9ca3af;
    background-color: #f3f4f6;
    cursor: not-allowed;
    box-shadow: none;
}

.blinkit-add-btn:disabled:active {
    transform: none;
}

/* Responsive Overrides (Mobile Scrollable Track) */
@media (max-width: 768px) {
    .blinkit-showcase-section {
        padding: 24px 0;
    }
    
    .blinkit-strip-title {
        font-size: 17px;
    }
    
    .blinkit-strip-track {
        gap: 12px;
        padding-left: 15px; /* Alignment with mobile padding */
        padding-right: 15px;
    }
    
    /* Shrink card size on mobile devices */
    .blinkit-card {
        flex: 0 0 140px;
        width: 140px;
        border-radius: 10px;
        padding: 8px;
    }
    
    .blinkit-card-image-wrapper {
        height: 90px;
        padding: 4px;
        margin-bottom: 4px;
    }
    
    .blinkit-card-title {
        font-size: 11px;
        height: 30px;
        margin-bottom: 2px;
    }
    
    .blinkit-card-unit {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .blinkit-price {
        font-size: 12px;
    }
    
    .blinkit-mrp {
        font-size: 10px;
    }
    
    .blinkit-add-btn {
        font-size: 10px;
        padding: 4px 12px;
        border-radius: 4px;
    }
}

/* ─── Mobile Container Padding Fix ───────────────────────────── */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }
}

/* ─── Premium Corporate Dashboard Styling Library ────────────── */
.corp-dashboard-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 45px;
}

.corp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.corp-kpi-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.015);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.corp-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    border-color: rgba(197, 168, 128, 0.4);
}

.corp-kpi-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.corp-kpi-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--medium-gray);
    margin-bottom: 6px;
}

.corp-kpi-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.25;
}

.corp-kpi-medallion {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.corp-kpi-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.corp-trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}
.corp-trend-badge.positive {
    background: rgba(16, 185, 129, 0.08);
    color: #10B981;
}
.corp-trend-badge.negative {
    background: rgba(239, 68, 68, 0.08);
    color: #EF4444;
}
.corp-trend-badge.neutral {
    background: rgba(107, 114, 128, 0.08);
    color: #6B7280;
}

.corp-sparkline-container {
    width: 90px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.corp-sparkline {
    width: 100%;
    height: 100%;
    display: block;
}

/* Capsule Quick Action Dock */
.corp-action-dock {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.015);
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.corp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1.4;
}

.corp-btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.corp-btn-primary:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(245, 168, 0, 0.25);
}

.corp-btn-outline {
    background: transparent;
    color: var(--black);
    border-color: #E2E8F0;
}
.corp-btn-outline:hover {
    background: rgba(245, 168, 0, 0.03);
    border-color: var(--gold);
    color: var(--gold-hover);
    transform: translateY(-1.5px);
}

/* Seamless Borderless Cards and Tables */
.corp-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.015);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.corp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #F1F5F9;
    background: rgba(245, 168, 0, 0.015);
}

.corp-card-header h3 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.1px;
}

.corp-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.corp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.corp-table th {
    background: rgba(197, 168, 128, 0.05) !important;
    color: var(--black) !important;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    padding: 14px 24px;
    border-bottom: 1px solid #E2E8F0 !important;
}

.corp-table td {
    padding: 15px 24px;
    font-size: 13px;
    color: var(--black);
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.corp-table tr:last-child td {
    border-bottom: none;
}

.corp-table tr:hover td {
    background-color: rgba(245, 168, 0, 0.015);
}

/* Corporate Dark sapphire Theme Overrides */
.dark-mode-active .corp-kpi-card {
    background: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
.dark-mode-active .corp-kpi-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.dark-mode-active .corp-kpi-value {
    color: #F8FAFC;
}
.dark-mode-active .corp-action-dock {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
.dark-mode-active .corp-btn-outline {
    color: #F8FAFC;
    border-color: #334155;
}
.dark-mode-active .corp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--gold);
    color: var(--gold);
}
.dark-mode-active .corp-card {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
.dark-mode-active .corp-card-header {
    background: rgba(255, 255, 255, 0.01);
    border-bottom-color: #334155;
}
.dark-mode-active .corp-card-header h3 {
    color: #F8FAFC;
}
.dark-mode-active .corp-table th {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom-color: #334155 !important;
    color: #F8FAFC !important;
}
.dark-mode-active .corp-table td {
    border-bottom-color: rgba(255, 255, 255, 0.04);
    color: #F8FAFC;
}
.dark-mode-active .corp-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

/* ════════════════════════════════════════════════════════════════
   JAYTRA - Redesigned Corporate Categories Directory
   ════════════════════════════════════════════════════════════════ */
.categories-directory-container {
    padding: 48px var(--container-padding);
    background: #F8FAFC;
    min-height: 100vh;
}

.categories-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.categories-stat-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.015);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.categories-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    border-color: rgba(245, 168, 0, 0.3);
}

.categories-stat-icon {
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 168, 0, 0.05);
    color: var(--gold);
    border-radius: 50%;
    border: 1px solid rgba(245, 168, 0, 0.1);
}

.categories-stat-info {
    display: flex;
    flex-direction: column;
}

.categories-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.categories-stat-label {
    font-size: var(--font-size-sm);
    color: var(--medium-gray);
    font-weight: 500;
}

.categories-search-wrapper {
    max-width: 640px;
    margin: 0 auto 48px auto;
    position: relative;
}

.categories-search-input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    font-size: var(--font-size-md);
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 99px;
    color: #1E293B;
    font-family: var(--font-family);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.categories-search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(245, 168, 0, 0.15);
}

.categories-search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 20px;
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.corp-category-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.015);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.corp-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--gold);
}

.corp-card-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    cursor: pointer;
    user-select: none;
    transition: background-color var(--transition-fast);
}

.corp-card-header:hover {
    background-color: #FAFBFD;
}

.corp-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.corp-image-frame {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(245, 168, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FDFEFE;
    flex-shrink: 0;
    transition: border-color var(--transition-fast);
}

.corp-category-card:hover .corp-image-frame {
    border-color: var(--gold);
}

.corp-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corp-image-frame .corp-icon-fallback {
    font-size: 24px;
}

.corp-title-area {
    display: flex;
    flex-direction: column;
}

.corp-category-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: #1E293B;
}

.corp-category-count {
    font-size: var(--font-size-xs);
    color: var(--medium-gray);
    margin-top: 2px;
}

.corp-chevron {
    color: var(--medium-gray);
    font-size: 14px;
    transition: transform var(--transition-base), color var(--transition-base);
}

.corp-category-card:hover .corp-chevron {
    color: var(--gold);
}

.corp-category-card.is-active .corp-chevron {
    transform: rotate(180deg);
}

.corp-accordion-wrapper {
    max-height: 0;
    overflow: hidden;
    background: #FAFAFA;
    border-top: 0 solid #E2E8F0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-width 0.4s ease;
}

.corp-category-card.is-active .corp-accordion-wrapper {
    border-top-width: 1px;
}

.corp-accordion-content {
    padding: 8px 0;
}

.corp-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: var(--font-size-sm);
    color: #475569;
    font-weight: 500;
    border-bottom: 1px solid #F1F5F9;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.corp-sub-link:last-of-type {
    border-bottom: none;
}

.corp-sub-link:hover {
    background-color: #FFFDF9;
    color: var(--gold);
}

.corp-sub-arrow {
    font-size: 14px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    color: var(--gold);
}

.corp-sub-link:hover .corp-sub-arrow {
    opacity: 1;
    transform: translateX(0);
}

.corp-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gold);
    background: #FFFDF7;
    border-top: 1.5px dashed #F1F5F9;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.corp-view-all-btn:hover {
    background-color: var(--gold-light);
    color: var(--gold-hover);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .categories-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .categories-stats-grid {
        grid-template-columns: 1fr;
    }
    .categories-directory-container {
        padding: 24px var(--container-padding);
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode styling support if active */
.dark-mode-active .categories-directory-container {
    background: #0F172A;
}
.dark-mode-active .categories-stat-card {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
.dark-mode-active .categories-stat-value {
    color: #F8FAFC;
}
.dark-mode-active .categories-search-input {
    background: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
}
.dark-mode-active .corp-category-card {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .corp-card-header {
    background: #1E293B;
}
.dark-mode-active .corp-card-header:hover {
    background: rgba(255, 255, 255, 0.02);
}
.dark-mode-active .corp-category-title {
    color: #F8FAFC;
}
.dark-mode-active .corp-accordion-wrapper {
    background: rgba(0, 0, 0, 0.1);
    border-top-color: #334155;
}
.dark-mode-active .corp-sub-link {
    color: #CBD5E1;
    border-bottom-color: #334155;
}
.dark-mode-active .corp-sub-link:hover {
    background: rgba(245, 168, 0, 0.05);
}
.dark-mode-active .corp-view-all-btn {
    background: rgba(0, 0, 0, 0.2);
    border-top-color: #334155;
}

/* ════════════════════════════════════════════════════════════════
   JAYTRA - 3-Layer Fast-Commerce & Homepage Master Category Grid
   ════════════════════════════════════════════════════════════════ */

/* --- Homepage Master Category Grid --- */
.home-master-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.home-master-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.home-master-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
}

.home-master-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.home-master-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    text-decoration: none !important;
}

.home-master-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    border-color: var(--gold);
}

.home-master-image-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(245, 168, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFDF9;
    margin-bottom: 16px;
    transition: border-color var(--transition-base), background-color var(--transition-base);
}

.home-master-card:hover .home-master-image-frame {
    border-color: var(--gold);
    background-color: var(--gold-light);
}

.home-master-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-master-image-frame .home-master-icon-fallback {
    font-size: 36px;
}

.home-master-name {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.home-master-card:hover .home-master-name {
    color: var(--gold);
}

/* --- 3-Layer Double-Pane Product Browser --- */
.browser-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin-top: 24px;
    align-items: start;
}

.browser-sidebar-pane {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 206px; /* Positioned perfectly beneath the sticky navigation header and sticky sort toolbar */
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.01);
    z-index: 90;
}

.browser-sidebar-title {
    padding: 16px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
    font-weight: 750;
    border-bottom: 1px solid #F1F5F9;
    margin: 0;
}

.browser-master-accordion {
    border-bottom: 1px solid #F1F5F9;
}

.browser-master-accordion:last-of-type {
    border-bottom: none;
}

.browser-master-header {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color var(--transition-fast);
    user-select: none;
}

.browser-master-header:hover {
    background-color: #FAFBFD;
}

.browser-master-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-master-image-frame {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(245, 168, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFDF9;
    flex-shrink: 0;
}

.browser-master-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.browser-master-image-frame .browser-master-icon-fallback {
    font-size: 16px;
}

.browser-master-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
}

.browser-master-chevron {
    font-size: 11px;
    color: var(--medium-gray);
    transition: transform var(--transition-base);
}

.browser-master-accordion.is-active .browser-master-chevron {
    transform: rotate(180deg);
}

.browser-sub-list {
    max-height: 0;
    overflow: hidden;
    background: #FAFBFD;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.browser-sub-list-inner {
    padding: 6px 0;
}

.browser-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 32px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 550;
    text-decoration: none !important;
    position: relative;
    border-bottom: 1px solid rgba(241, 245, 249, 0.5);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.browser-sub-link:last-of-type {
    border-bottom: none;
}

.browser-sub-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.browser-sub-link:hover {
    color: var(--gold);
    background-color: #FFFDF5;
}

.browser-sub-link.is-active {
    color: var(--gold);
    font-weight: 750;
    background-color: #FFFDF0;
}

.browser-sub-link.is-active::before {
    transform: scaleX(1);
}

.browser-sub-arrow {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    color: var(--gold);
}

.browser-sub-link:hover .browser-sub-arrow {
    opacity: 1;
    transform: translateX(0);
}

.browser-products-pane {
    position: relative;
}

.browser-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.browser-products-title {
    font-size: 18px;
    font-weight: 800;
    color: #1E293B;
}

.browser-products-count {
    font-size: 12.5px;
    color: var(--medium-gray);
    font-weight: 600;
}

/* --- Fast-Commerce Product Cards --- */
.fc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.fc-product-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.fc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    border-color: var(--gold);
}

.fc-product-image-wrapper {
    height: 180px;
    background: #FFFDFB;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px;
    border-bottom: 1px solid #F1F5F9;
    overflow: hidden;
}

.fc-product-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.fc-product-card:hover .fc-product-image-wrapper img {
    transform: scale(1.05);
}

.fc-discount-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--danger);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 750;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

.fc-bulk-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: var(--gold);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 750;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(245, 168, 0, 0.2);
}

.fc-product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fc-product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    font-weight: 700;
    margin-bottom: 4px;
}

.fc-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.35;
    margin-bottom: 8px;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fc-product-name a {
    color: inherit;
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.fc-product-name a:hover {
    color: var(--gold);
}

.fc-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12px;
}

.fc-product-rating .stars {
    color: #F59E0B;
}

.fc-product-rating .count {
    color: var(--medium-gray);
    font-weight: 550;
}

.fc-delivery-timeline {
    display: none !important;
}

.fc-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.fc-current-price {
    font-size: 17px;
    font-weight: 800;
    color: #1E293B;
}

.fc-original-price {
    font-size: 13px;
    text-decoration: line-through;
    color: var(--medium-gray);
}

.fc-unit-info {
    font-size: 11.5px;
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 16px;
}

.fc-actions-row {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.fc-add-btn {
    flex: 1;
    height: 38px;
    border-radius: 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    font-weight: 750;
    font-size: 12.5px;
    cursor: pointer;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    box-shadow: 0 3px 10px rgba(245, 168, 0, 0.15);
}

.fc-add-btn:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 4px 15px rgba(245, 168, 0, 0.25);
}

.fc-wish-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #FFFDFD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.fc-wish-btn:hover {
    border-color: rgba(245, 168, 0, 0.3);
    background-color: #FFFDF9;
}

/* --- Dynamic Shimmer Loading Skeletal Overlay --- */
.shimmer-pane-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.shimmer-pane-overlay.is-loading {
    opacity: 1;
    pointer-events: auto;
}

.shimmer-card {
    height: 340px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shimmer-block {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer-pulse 1.5s infinite;
    border-radius: 6px;
}

.shimmer-img {
    height: 150px;
    margin-bottom: 16px;
}

.shimmer-title {
    height: 18px;
    width: 80%;
    margin-bottom: 8px;
}

.shimmer-text {
    height: 12px;
    width: 50%;
    margin-bottom: 16px;
}

.shimmer-price {
    height: 24px;
    width: 40%;
    margin-bottom: auto;
}

.shimmer-btn {
    height: 36px;
    border-radius: 18px;
    width: 100%;
}

@keyframes shimmer-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Dark Mode support for Fast Commerce --- */
.dark-mode-active .home-master-section {
    background: #0F172A;
}
.dark-mode-active .home-master-title {
    color: #F8FAFC;
}
.dark-mode-active .home-master-card {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .home-master-name {
    color: #CBD5E1;
}
.dark-mode-active .home-master-image-frame {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .browser-sidebar-pane {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .browser-sidebar-title {
    color: #CBD5E1;
    border-bottom-color: #334155;
}
.dark-mode-active .browser-master-accordion {
    border-bottom-color: #334155;
}
.dark-mode-active .browser-master-header {
    background: #1E293B;
}
.dark-mode-active .browser-master-header:hover {
    background: rgba(255, 255, 255, 0.02);
}
.dark-mode-active .browser-master-name {
    color: #F8FAFC;
}
.dark-mode-active .browser-sub-list {
    background: rgba(0, 0, 0, 0.1);
}
.dark-mode-active .browser-sub-link {
    color: #CBD5E1;
    border-bottom-color: #334155;
}
.dark-mode-active .browser-sub-link:hover {
    background: rgba(245, 168, 0, 0.05);
}
.dark-mode-active .browser-sub-link.is-active {
    background: rgba(245, 168, 0, 0.08);
}
.dark-mode-active .browser-products-header {
    border-bottom-color: #334155;
}
.dark-mode-active .browser-products-title {
    color: #F8FAFC;
}
.dark-mode-active .fc-product-card {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .fc-product-image-wrapper {
    background: rgba(0, 0, 0, 0.1);
    border-bottom-color: #334155;
}
.dark-mode-active .fc-product-name {
    color: #F8FAFC;
}
.dark-mode-active .fc-current-price {
    color: #F8FAFC;
}
.dark-mode-active .fc-wish-btn {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .shimmer-pane-overlay {
    background: rgba(15, 23, 42, 0.85);
}
.dark-mode-active .shimmer-card {
    background: #1E293B;
    border-color: #334155;
}
.dark-mode-active .shimmer-block {
    background: linear-gradient(90deg, #1E293B 25%, #334155 50%, #1E293B 75%);
}

/* Responsive browser overrides - Menu bar should always show */
@media (max-width: 991px) {
    .browser-layout-container {
        grid-template-columns: 220px 1fr;
        gap: 16px;
    }
    .browser-sidebar-pane {
        position: sticky;
        top: 202px; /* Positioned perfectly beneath the sticky mobile/tablet header & filter toolbar */
        z-index: 90;
    }
    .fc-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .browser-layout-container {
        grid-template-columns: 85px 1fr;
        gap: 8px;
        margin-top: 12px;
    }
    .browser-sidebar-pane {
        position: sticky;
        top: 186px;
        border-radius: 8px;
        z-index: 90;
    }
    
    /* Override scoped inline styles for the sidebar on mobile */
    .browser-sidebar-scoped-header {
        flex-direction: column !important;
        padding: 10px 4px !important;
        gap: 6px !important;
        text-align: center;
    }
    .browser-sidebar-title {
        padding: 0;
        font-size: 9.5px !important;
        line-height: 1.2;
    }
    .browser-sub-list-inner a {
        flex-direction: column;
        padding: 8px 4px !important;
        text-align: center;
        gap: 4px !important;
    }
    .browser-sub-list-inner a span:last-child {
        display: none !important; /* Hide arrow */
    }
    .back-to-all-link {
        flex-direction: column;
        text-align: center;
        font-size: 9px !important;
        padding: 0 !important;
    }

    .browser-master-header {
        padding: 10px 4px;
    }
    .browser-master-header-left {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .browser-master-name {
        font-size: 9px;
        line-height: 1.2;
    }
    .browser-master-chevron {
        display: none;
    }
    .browser-master-image-frame {
        width: 28px !important;
        height: 28px !important;
    }
    .browser-master-image-frame .browser-master-icon-fallback {
        font-size: 14px;
    }
    .browser-sub-link {
        padding: 8px 4px;
        font-size: 9.5px;
        flex-direction: column;
        text-align: center;
        gap: 4px !important;
    }
    .fc-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .fc-product-card {
        flex-direction: column;
        height: 100%;
        border-radius: 8px;
    }
    .fc-product-image-wrapper {
        width: 100%;
        height: 90px;
        flex-shrink: 0;
        border-right: none;
        border-bottom: 1px solid #F1F5F9;
        padding: 6px;
    }
    .fc-product-details {
        padding: 8px 8px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .fc-product-name {
        font-size: 10.5px;
        height: 28px;
        margin-bottom: 2px;
        line-height: 1.3;
    }
    .fc-product-brand {
        font-size: 8.5px;
        margin-bottom: 2px;
    }
    .fc-product-rating {
        display: none;
    }
    .fc-price-row {
        margin-bottom: 2px;
        flex-wrap: wrap;
    }
    .fc-current-price {
        font-size: 12px;
    }
    .fc-original-price {
        font-size: 9.5px;
    }
    .fc-unit-info {
        margin-bottom: 6px;
        font-size: 8.5px;
    }
    .fc-actions-row {
        margin-top: auto;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .fc-add-btn {
        height: 26px;
        font-size: 9.5px;
        border-radius: 13px;
        padding: 0 6px;
        flex: 1;
        min-width: 0; /* allows text truncation if needed */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .fc-wish-btn {
        width: 26px;
        height: 26px;
        font-size: 11px;
        flex-shrink: 0;
    }
}

/* --- Filter Toolbar Sticky --- */
.fc-filter-toolbar {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.01);
    
    position: sticky;
    top: 128px; /* Precise height of 2-tier desktop e-commerce header */
    z-index: 99; /* Z-index set safely under header (1000) */
    transition: all var(--transition-base);
}

/* Adjust sticky top offsets responsively for tablet/mobile header tiers */
@media (max-width: 1023px) {
    .fc-filter-toolbar {
        top: 132px; /* Sticks precisely beneath mobile sticky header (header-inner + mobile-search) */
        border-radius: 8px;
        padding: 10px 14px;
    }
}
@media (max-width: 768px) {
    .fc-filter-toolbar {
        top: 122px; /* Adaptive top offset for smaller mobile viewports */
        padding: 8px 12px;
        gap: 10px;
    }
}

/* ─── Page Transition Loader ─────────────────────────────────── */
.jaytra-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--black);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s cubic-bezier(0.87, 0, 0.13, 1), visibility 0.3s;
}

.jaytra-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo-wrapper {
    animation: pulseLogo 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure text logos in the loader look correct on the dark background */
.loader-logo-wrapper .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.loader-logo-wrapper .logo-text {
    color: var(--white);
}

.loader-bar {
    width: 180px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--gold);
    border-radius: 4px;
    transform-origin: left;
    animation: loadingBar 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes pulseLogo {
    0% { transform: scale(0.96); opacity: 0.85; filter: drop-shadow(0 0 10px rgba(245,168,0,0)); }
    100% { transform: scale(1.04); opacity: 1; filter: drop-shadow(0 0 25px rgba(245,168,0,0.5)); }
}

@keyframes loadingBar {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ─── Cart Qty Selector Pill ─────────────────────────────────── */
.qty-selector-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gold);
    border-radius: var(--radius-md);
    height: 38px;
    width: 100%;
    max-width: 140px;
    padding: 0 4px;
    color: var(--black);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(245, 168, 0, 0.2);
    border: 2px solid var(--gold);
    overflow: hidden;
}

.qty-pill-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    background: rgba(0,0,0,0.06);
    border: none;
    color: var(--black);
    border-radius: 6px;
    transition: all 0.2s;
    user-select: none;
}

.qty-pill-btn:hover {
    background: rgba(0,0,0,0.15);
}

.qty-pill-btn:active {
    transform: scale(0.9);
}

.qty-pill-val {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
}

/* Specific to Blinkit style */
.blinkit-card .qty-selector-pill {
    height: 34px;
    border-radius: 6px;
    max-width: 100px;
}

.blinkit-card .qty-pill-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
}

.fc-actions-row .qty-selector-pill {
    max-width: 110px;
}

.product-detail-actions .qty-selector-pill {
    height: 54px;
    max-width: 180px;
    border-radius: 12px;
}

.product-detail-actions .qty-pill-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
}

.product-detail-actions .qty-pill-val {
    font-size: 18px;
}

