/* Purja - Jai Mahavir Electricals - Old Delhi Heritage Vintage Theme */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* ── Old Delhi Heritage Palette ── */
    --bg-body: #f5efe0;           /* Aged parchment / yellowed paper */
    --bg-white: #fdf8ef;          /* Warm ivory */
    --bg-card: #fdf8ef;           /* Warm ivory cards */
    --bg-card-hover: #f0e8d4;     /* Warm sepia hover */
    --bg-dark: #2a1a0a;           /* Deep walnut / old Delhi night */
    --border-color: #c9b89a;      /* Aged brass border */
    --border-color-hover: #a8946d; /* Warm brass hover */
    
    --primary: #8b1a1a;           /* Deep crimson / Lal Qila red */
    --primary-hover: #6b1212;
    --primary-light: #a32020;
    --primary-glow: rgba(139, 26, 26, 0.08);
    
    --accent: #b5860a;            /* Dark goldenrod / brass gold */
    --accent-hover: #8c6508;
    --accent-light: #d4a017;
    --accent-glow: rgba(181, 134, 10, 0.12);
    
    --text-main: #1e0f00;         /* Darkest walnut brown */
    --text-muted: #5c3d2e;        /* Warm brown */
    --text-light: #8a6d57;        /* Light warm brown */
    
    --success: #3d6b4f;           /* Forest green — old Delhi herb stall */
    --danger: #8b1a1a;
    --warning: #b5860a;
    
    /* ── Heritage Fonts ── */
    --font-heading: 'Jost', sans-serif;
    --font-body: 'Jost', sans-serif;
    --font-serif: 'Jost', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.18s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Ornamental */
    --ornament-gold: #c9a227;
    --sepia-overlay: rgba(120, 80, 20, 0.06);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-body);
    /* Subtle aged paper noise texture via SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.01em;
    line-height: 1.3;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: #c9b89a;
    border-radius: 4px;
    border: 2px solid var(--bg-body);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════
   SITE HEADER — 3-ROW REFERENCE DESIGN
═══════════════════════════════════════════ */

/* Row 1: Topbar */
.site-topbar {
    background: #1a0808;
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    gap: 16px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.topbar-sep {
    opacity: 0.3;
}

.topbar-right a {
    color: rgba(255,255,255,0.85);
    transition: color 0.15s;
}

.topbar-right a:hover { color: #f5d77a; }

/* Row 2: Main header */
.site-header-main {
    background: #fff;
    border-bottom: 1px solid #e8e0d0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 76px;
    padding-top: 0;
    padding-bottom: 0;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-width: 100px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    font-style: italic;
}

/* Search Bar */
.header-search-form {
    flex: 1;
    max-width: 620px;
    display: flex;
    align-items: center;
}

.header-search-wrap {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 6px;
    overflow: hidden;
    height: 44px;
    width: 100%;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 2px 8px rgba(139, 26, 26, 0.06);
}

.search-category-select {
    flex-shrink: 0;
    border: none;
    border-right: 1px solid #e8decb;
    background: #f8f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 0 30px 0 14px;
    cursor: pointer;
    outline: none;
    min-width: 135px;
    max-width: 155px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-category-select:hover {
    background-color: #f3edd9;
}

.header-search-input {
    flex: 1;
    border: none;
    padding: 0 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background: #fff;
    outline: none;
}

.header-search-input::placeholder { color: #a89880; }

.header-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 22px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.header-search-btn:hover { background: var(--primary-hover); }

/* Header action buttons */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 2px solid var(--border-color);
    cursor: pointer;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
    border-radius: 6px;
    transition: all 0.15s;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    height: 44px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.header-action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 26, 26, 0.2);
}

/* Theme-aligned Quick Enquiry Buttons */
.btn-quick-enquiry {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    padding: 8px 10px !important;
    letter-spacing: 0.02em !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(139, 26, 26, 0.18) !important;
}

.btn-quick-enquiry:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 4px 14px rgba(107, 18, 18, 0.35) !important;
    transform: translateY(-1px) !important;
}

.header-action-btn .shortlist-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background-color: var(--primary);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.header-action-btn:hover .shortlist-badge {
    background-color: #fff;
    color: var(--primary);
    border-color: var(--primary);
}


/* Row 3: Nav Bar */
.site-nav-bar {
    background: var(--primary);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.site-nav-inner {
    display: flex;
    align-items: center;
    height: 44px;
    gap: 0;
}

.nav-all-cats-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
    height: 44px;
    white-space: nowrap;
    transition: background 0.15s;
    letter-spacing: 0.03em;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-all-cats-btn:hover { background: rgba(0,0,0,0.4); }

.site-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    margin-left: 8px;
}

.site-nav-links li a {
    display: block;
    color: rgba(255,255,255,0.88);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 0 16px;
    height: 44px;
    line-height: 44px;
    transition: background 0.15s, color 0.15s;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.site-nav-links li a:hover,
.site-nav-links li a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Mobile menu toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 8px;
    margin-left: auto;
}

/* ── Heritage Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    font-family: var(--font-body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: #f5e8c8;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(139, 26, 26, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.35);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: #fdf8ef;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(181, 134, 10, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(181, 134, 10, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #f5e8c8;
    border-color: var(--primary);
}

.btn-danger {
    background-color: var(--primary);
    color: #f5e8c8;
    border-color: var(--primary);
}

.btn-danger:hover {
    background-color: var(--primary-hover);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* ── Vintage Ornamental Utilities ── */

/* Decorative divider — ornamental line with center ornament */
.ornament-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    color: var(--accent);
    font-size: 18px;
}
.ornament-divider::before,
.ornament-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Heritage section label badge */
.heritage-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
    background: rgba(181, 134, 10, 0.06);
}

/* Vintage stamp seal */
.vintage-stamp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 90px;
    height: 90px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
    position: relative;
    box-shadow: inset 0 0 0 2px rgba(139, 26, 26, 0.15);
    transform: rotate(-12deg);
    opacity: 0.85;
}

.vintage-stamp .year {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

/* Section title decorative underline */
.section-title {
    font-size: 40px;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.01em;
    font-style: italic;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    margin-bottom: 56px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-family: var(--font-serif);
    font-style: italic;
    margin-top: 16px;
}

/* ── Heritage Hero Section ── */
.hero-carousel-container {
    position: relative;
    background-color: var(--bg-white);
    background-image: 
        radial-gradient(ellipse at 10% 80%, rgba(139, 26, 26, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(181, 134, 10, 0.06) 0%, transparent 60%);
    border-bottom: 2px solid var(--border-color);
    overflow: hidden;
    height: 620px;
}

.carousel-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    background-image: radial-gradient(rgba(234, 88, 12, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-slide-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.carousel-slide h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.carousel-slide h1 span {
    color: var(--primary);
}

.carousel-slide p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.carousel-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.carousel-visual img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.04));
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    color: var(--text-main);
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--primary);
    width: 28px;
    border-radius: 6px;
}

/* ── Heritage Hero — Half Split Layout ── */
.heritage-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    border-bottom: 2px solid var(--border-color);
    overflow: hidden;
}

/* Left visual pane */
.heritage-hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.heritage-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: sepia(18%) contrast(1.06) brightness(0.96);
    transition: transform 0.8s ease;
}

.heritage-hero:hover .heritage-hero-img {
    transform: scale(1.03);
}

/* Gradient overlay on image */
.heritage-hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        transparent 60%,
        rgba(245, 239, 224, 0.5) 100%
    );
    pointer-events: none;
}

/* Bottom caption on image */
.heritage-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(20, 8, 0, 0.75));
    padding: 40px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #f5e8c8;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Right content pane */
.heritage-hero-content {
    padding: 52px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--bg-white);
    /* Subtle aged paper texture */
    background-image: 
        radial-gradient(ellipse at 80% 20%, rgba(181, 134, 10, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 26, 26, 0.04) 0%, transparent 60%);
}

/* Stamp position */
.heritage-hero-stamp {
    position: absolute;
    top: 32px;
    right: 40px;
    opacity: 0.75;
}

.heritage-hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 20px;
    margin-top: 8px;
}

.heritage-hero-title em {
    color: var(--primary);
    font-style: italic;
}

.heritage-hero-desc {
    font-family: var(--font-serif);
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    font-style: italic;
    margin-top: 8px;
}

.heritage-hero-desc strong {
    color: var(--text-main);
    font-style: normal;
    font-weight: 700;
}

.heritage-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Trust signals bar */
.heritage-hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.heritage-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.heritage-trust-item strong {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.heritage-trust-item span {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.heritage-trust-divider {
    color: var(--border-color);
    font-size: 20px;
    opacity: 0.6;
}

/* ── Heritage Brands Showcase ── */
/* Brand Compatibility slider */
.brands-showcase {
    background-color: var(--bg-card);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.brands-showcase h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-light);
    margin-bottom: 28px;
    font-weight: 700;
    font-family: var(--font-body);
}

.brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-logo-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(60, 30, 10, 0.04);
    transition: var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 140px;
    height: 64px;
}

.brand-logo-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(181, 134, 10, 0.12);
}

/* Page Section Base */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    text-align: center;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Category Grid */
.categories-section {
    padding: 100px 0;
}

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

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(60, 30, 10, 0.04);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(60, 30, 10, 0.1);
}

.category-img {
    height: 200px;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.category-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition-normal);
    filter: sepia(8%) contrast(1.05);
}

.category-card:hover .category-img img {
    transform: scale(1.06);
    filter: sepia(0%) contrast(1);
}

.category-info {
    padding: 24px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
}

.category-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

/* Products grid */
.featured-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(60, 30, 10, 0.04);
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(60, 30, 10, 0.08);
}

.product-media {
    position: relative;
    background-color: var(--bg-card);
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-normal);
}

.product-card:hover .product-media img {
    transform: scale(1.04);
    filter: sepia(0%) contrast(1);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(253, 248, 239, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent);
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: var(--font-body);
}

.product-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-code {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    letter-spacing: 0.08em;
}

.product-name {
    font-size: 14.5px;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.compatibility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.compatibility-tag {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 600;
}

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

.product-actions .btn {
    flex: 1;
    font-size: 12px;
    padding: 9px 10px;
    text-align: center;
    white-space: nowrap;
}

/* Step list style for Procurement Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-normal);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.04);
    border-color: var(--border-color-hover);
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-glow);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.process-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    margin-top: 20px;
    font-family: var(--font-heading);
}

.process-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* About Section & Stats */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-box {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.about-stat-box h2 {
    font-size: 40px;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.about-stat-box p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Catalog Page Layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    padding: 16px 0 30px 0;
}

/* Filters Sidebar */
.filters-sidebar {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    height: fit-content;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.filter-group {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

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

.filter-group h3 {
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
}

.search-input-wrapper input {
    width: 100%;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.filter-link a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.filter-link a:hover, .filter-link.active a {
    color: var(--primary);
}

.brand-badge {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-light);
}

.filter-link.active .brand-badge {
    background-color: var(--primary-glow);
    border-color: rgba(234, 88, 12, 0.25);
    color: var(--primary);
    font-weight: 700;
}

/* Infrastructure Gallery Page */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.infra-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-normal);
}

.infra-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.05);
}

.infra-media {
    height: 240px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.infra-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.infra-card:hover .infra-media img {
    transform: scale(1.06);
}

.infra-content {
    padding: 28px;
}

.infra-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.infra-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* B2B Inquiries Page & Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 50px 0;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 18px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-card-info h4 {
    font-size: 19px;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.contact-card-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.inquiry-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Forms & Inputs styling */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.form-control {
    width: 100%;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

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

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

/* FAQ Accordion Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--bg-body);
}

.faq-item summary {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] {
    background-color: var(--bg-white);
    border-color: var(--border-color-hover);
}

.faq-content {
    padding: 0 28px 24px 28px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

/* Shortlist Drawer UI */
.shortlist-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--primary);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}

.btn-shortlist-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.3);
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-shortlist-float:hover {
    transform: scale(1.06) translateY(-2px);
    background-color: var(--primary-hover);
}

.btn-shortlist-float .shortlist-badge {
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    font-size: 11px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--bg-white);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.drawer-backdrop.open + .drawer, .drawer.open {
    right: 0;
}

.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    background-color: var(--bg-body);
    color: var(--text-main);
}

.drawer-body {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-empty {
    margin: auto;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 300px;
}

.drawer-empty svg {
    opacity: 0.15;
    width: 64px;
    height: 64px;
}

.drawer-item {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer-item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-main);
    font-weight: 700;
}

.drawer-item-info span {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
}

.drawer-item-remove {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    padding: 4px;
    border-radius: 4px;
}

.drawer-item-remove:hover {
    opacity: 1;
    background-color: rgba(239, 68, 68, 0.08);
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-body);
}

.drawer-footer .btn {
    width: 100%;
    padding: 14px;
}

/* Native Dialog Modals */
dialog::backdrop {
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

dialog {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background-color: var(--bg-white);
    color: var(--text-main);
    max-width: 680px;
    width: 90%;
    margin: auto;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.18);
    overflow: hidden;
    max-height: 85vh;
}

dialog[open] {
    display: block;
}

dialog:not([open]) {
    display: none;
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 85vh;
    overflow: hidden;
}

.modal-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--bg-body);
    color: var(--text-main);
}

.modal-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    overflow-y: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
}

.modal-img-wrapper {
    height: 200px;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-img-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-details {
    display: flex;
    flex-direction: column;
}

.modal-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.modal-name {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.modal-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.specs-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
}

.specs-table td:first-child {
    color: var(--text-light);
    font-weight: 600;
    width: 35%;
}

.specs-table td:last-child {
    font-weight: 700;
    color: var(--text-main);
}

.modal-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-body);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
}

.page-item .page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 14px;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #fff;
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 26, 26, 0.25);
}

.page-item.disabled .page-link {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: #f8f4ec;
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: #fbf7f0;
}

/* Modern Gen-Z Load More Button Styles */
.load-more-container {
    margin-top: 40px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.btn-load-more {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid var(--primary);
    color: var(--text-dark);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-load-more:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.25);
    background: var(--primary);
    color: white;
}

.btn-load-more:active {
    transform: translateY(-1px) scale(0.98);
}

/* Three bounce spinner animation */
.btn-load-more .spinner {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.btn-load-more .spinner span {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: three-bounce-bounce 1.4s infinite ease-in-out both;
}

.btn-load-more .spinner .bounce1 {
    animation-delay: -0.32s;
}

.btn-load-more .spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes three-bounce-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

/* ── Heritage Footer ── */
footer {
    margin-top: auto;
    background-color: #1a0d04; /* Darkest walnut — old Delhi haveli depth */
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 26, 26, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(181, 134, 10, 0.08) 0%, transparent 50%);
    color: #e8d5b5;
    border-top: 3px solid var(--accent);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info p {
    color: #c4a882;
    margin-top: 20px;
    line-height: 1.7;
    max-width: 420px;
    font-size: 14.5px;
    font-family: var(--font-serif);
    font-style: italic;
}

.footer-links h4, .footer-contact h4 {
    font-size: 11px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    font-weight: 700;
    font-family: var(--font-body);
    border-bottom: 1px solid rgba(181, 134, 10, 0.3);
    padding-bottom: 12px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #c4a882;
    font-size: 14.5px;
    font-weight: 400;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #c4a882;
    font-size: 14.5px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-item svg {
    color: var(--accent-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(181, 134, 10, 0.2);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #8a6d57;
}

/* Timeline Layout for About Page History */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 12px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background-color: var(--bg-white);
    border: 4px solid var(--primary);
    top: 24px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -9px;
}

.timeline-content {
    padding: 24px 32px;
    background-color: var(--bg-white);
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Grid layout for values cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.03);
    border-color: var(--border-color-hover);
}

.value-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.value-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .hero-grid, .about-grid, .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 44px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .process-grid, .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 22px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }
    
    .modal-img-wrapper {
        height: 160px;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-footer {
        padding: 14px 20px;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .modal-footer .btn {
        width: 100%;
        margin: 0;
        justify-content: center;
    }
}

/* ==========================================================================
   Admin Panel Styles
   ========================================================================== */

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background-color: var(--bg-body);
}

.admin-sidebar {
    background-color: var(--bg-white);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-logo {
    margin-bottom: 40px;
    padding-left: 10px;
}

.admin-logo .logo span {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.admin-nav-item a svg {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.admin-nav-item a:hover {
    background-color: var(--bg-body);
    color: var(--primary);
}

.admin-nav-item a:hover svg {
    color: var(--primary);
}

.admin-nav-item.active a {
    background-color: var(--primary-glow);
    color: var(--primary);
}

.admin-nav-item.active a svg {
    color: var(--primary);
}

.admin-logout-btn {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.admin-main {
    padding: 40px;
    overflow-y: auto;
    max-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 800;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        height: auto;
        position: static;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.stat-info span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-info h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 8px;
    line-height: 1;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-wrapper {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    margin-bottom: 30px;
}

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

.admin-table th {
    background-color: #f8fafc;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 18px 24px;
    font-size: 14.5px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

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

.admin-table tr:hover td {
    background-color: #f8fafc;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge-active {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success);
}

.status-badge-inactive {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger);
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* Switch Toggle widget for Admin Panel */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: var(--success);
}

.switch input:checked + .slider:before {
    transform: translateX(24px);
}

/* ==========================================================================
   Responsive Overrides and Mobile Enhancements
   ========================================================================== */

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    z-index: 200;
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(253, 248, 239, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(60, 30, 10, 0.15);
    z-index: 150;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    border-left: 2px solid var(--border-color);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

/* Mobile Drawer Search Bar */
.mobile-menu-search {
    margin-bottom: 24px;
    width: 100%;
}

.mobile-search-wrap {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    height: 42px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(139, 26, 26, 0.08);
}

.mobile-search-input {
    flex: 1;
    border: none;
    padding: 0 12px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text-main);
    background: #fff;
    outline: none;
    width: 100%;
}

.mobile-search-input::placeholder {
    color: #a89880;
}

.mobile-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.mobile-search-btn:hover {
    background: var(--primary-hover);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: auto;
}

.mobile-nav-links a {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: var(--transition-fast);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-nav-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Collapsible Filter Elements */
.mobile-filter-bar {
    display: none;
    margin-bottom: 24px;
}

.filters-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filters-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.filters-sidebar-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filters-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.btn-close-filters {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 4px;
}

.btn-close-filters:hover {
    color: var(--danger);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    /* Heritage hero: stack on tablet */
    .heritage-hero {
        grid-template-columns: 1fr;
    }

    .heritage-hero-visual {
        min-height: 320px;
        max-height: 380px;
    }

    .heritage-hero-content {
        padding: 40px 40px;
    }

    .heritage-hero-title {
        font-size: 40px;
    }

    .heritage-hero-stamp {
        top: 20px;
        right: 24px;
    }

    /* Filters as slide-up drawer on tablet & mobile */
    .mobile-filter-bar {
        display: block;
    }
    
    .filters-sidebar {
        position: fixed !important;
        bottom: -100% !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        background: var(--bg-white) !important;
        border-top-left-radius: 24px !important;
        border-top-right-radius: 24px !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
        padding: 24px 20px !important;
        z-index: 9999 !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border: 1px solid var(--border-color) !important;
        display: none;
    }
    
    .filters-sidebar.open {
        display: block !important;
        bottom: 0 !important;
    }

    .filters-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(4px) !important;
        z-index: 9998 !important;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease !important;
    }

    .filters-backdrop.open {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .filters-sidebar-header {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    /* Heritage hero mobile */
    .heritage-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .heritage-hero-visual {
        min-height: 260px;
        max-height: 300px;
    }

    .heritage-hero-content {
        padding: 36px 24px 32px 24px;
    }

    .heritage-hero-title {
        font-size: 32px;
    }

    .heritage-hero-stamp {
        width: 64px;
        height: 64px;
        top: 16px;
        right: 20px;
    }

    .heritage-hero-stamp .vintage-stamp {
        width: 64px;
        height: 64px;
        font-size: 7px;
    }

    .heritage-hero-stamp .vintage-stamp .year {
        font-size: 16px;
    }

    .heritage-hero-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .heritage-hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .heritage-hero-trust {
        gap: 12px;
        flex-wrap: wrap;
    }

    .heritage-trust-item strong {
        font-size: 18px;
    }

    /* Header responsiveness */
    .header-container {
        height: 70px;
    }
    
    .header-actions {
        display: flex !important; /* Keep Enquiry Cart visible in header on mobile! */
        gap: 8px !important;
    }

    .header-actions .btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none !important;
    }
    
    /* Override inline section paddings on Home Page */
    section[style*="padding: 100px"], 
    section[style*="padding:100px"] {
        padding: 50px 0 !important;
    }

    /* Stack QA Section grid vertically */
    div[style*="grid-template-columns: 1fr 1.1fr"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    div[style*="grid-template-columns: 1fr 1.1fr"] ul {
        text-align: left !important;
    }

    /* Layout structural changes */
    .section-title {
        font-size: 28px !important;
    }
    
    .about-grid, .contact-layout, .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Carousel / Hero Section stacking fixes */
    .hero-carousel-container {
        height: 600px !important; /* Lock height on mobile */
    }

    .carousel-slide-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 50px 20px !important;
        height: 100% !important;
        gap: 20px !important;
    }

    .carousel-slide-content > div:first-child {
        width: 100% !important;
    }

    .carousel-slide h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .carousel-slide p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }

    .hero-ctas {
        display: flex !important;
        gap: 8px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .hero-ctas .btn {
        padding: 10px 14px !important;
        font-size: 12.5px !important;
    }

    .carousel-visual {
        height: 160px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .carousel-visual img {
        max-height: 100% !important;
        max-width: 100% !important;
        width: auto !important;
    }
}

@media (max-width: 1200px) and (min-width: 577px) {
    .products-grid, .featured-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 576px) {
    /* 2 Columns Products Grid on Mobile */
    .products-grid, .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        border-radius: 12px !important;
    }
    
    .product-media {
        height: 150px !important;
    }
    
    .product-badge {
        top: 8px !important;
        left: 8px !important;
        padding: 3px 6px !important;
        font-size: 9px !important;
    }
    
    .product-content {
        padding: 12px !important;
    }
    
    .product-code {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }
    
    .product-name {
        font-size: 14px !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 38px; /* Fixed height for name to align buttons */
    }
    
    .compatibility-tags {
        display: none !important; /* Hide tags in grid on mobile for compactness, visible in modal anyway! */
    }
    
    .product-actions {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .product-actions .btn {
        padding: 8px 10px !important;
        font-size: 11px !important;
        width: 100% !important;
        justify-content: center;
    }
    
    /* Footer tweaks */
    footer {
        padding: 40px 0 20px 0 !important;
    }
    
    .footer-grid {
        gap: 30px !important;
    }
}

/* Brand Compatibility Marquee */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
    padding-right: 24px;
}

.marquee-group .brand-logo-card {
    flex-shrink: 0;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover to allow users to look at specific brands */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Founder Message Card styling */
.founder-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .founder-card {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        text-align: center;
    }
    
    .founder-card blockquote {
        padding-left: 0 !important;
        border-left: none !important;
        border-top: 2px solid var(--primary);
        padding-top: 15px;
    }
}





/* ═══════════════════════════════════════════════════════
   NEW REFERENCE DESIGN COMPONENTS
   ══════════════════════════════════════════════════════ */

/* ── 1. PURJA HERO — Full-width background image hero ── */
.purja-hero {
    display: flex;
    align-items: center;
    min-height: 540px;
    background: #f5ede0;
    overflow: hidden;
    position: relative;
}

/* Gradient overlay — covers left half to ensure text readability on the cream background */
.purja-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(245, 237, 224, 0.72) 0%,
        rgba(245, 237, 224, 0.55) 40%,
        rgba(245, 237, 224, 0.1) 65%,
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
}

.purja-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 56px 64px 80px;
    max-width: 560px;
    position: relative;
    z-index: 2;
}

.purja-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(139, 26, 26, 0.08);
    border: 1px solid rgba(139, 26, 26, 0.25);
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
    width: fit-content;
}

.purja-hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.purja-hero-title em {
    color: var(--primary);
    font-style: italic;
}

.purja-hero-sub {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    font-family: var(--font-body);
    max-width: 420px;
}

.purja-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.hero-badge-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hero-badge-pill svg {
    color: var(--primary);
}

.purja-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 16px rgba(139,26,26,0.25);
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139,26,26,0.35);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.85);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 4px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.18s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139,26,26,0.25);
}


/* ── 2. BRANDS MARQUEE SECTION ── */
.brands-marquee-section {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.brands-marquee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.brands-marquee-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.brands-view-all {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.brands-view-all:hover { text-decoration: underline; }

.marquee-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    min-width: 120px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fafafa;
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.marquee-brand-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(139,26,26,0.1);
}

/* ── 3. SECTION ORNAMENT TITLES ── */
.section-ornament-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.section-ornament-title::before,
.section-ornament-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
    max-width: 60px;
    opacity: 0.4;
}

.section-ornament-title[style*="text-align: center"]::before,
.section-ornament-title[style*="text-align: center"]::after {
    flex: 1;
    max-width: 80px;
}

.section-ornament-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 16px;
}

.view-all-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    padding-bottom: 2px;
    flex-shrink: 0;
}

.view-all-link:hover {
    color: var(--primary-hover);
}

/* ── 4. SHOP BY CATEGORY — Compact pills grid ── */
.shop-by-cat-section {
    padding: 56px 0;
    background: var(--bg-body);
}

.cat-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.cat-pill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 12px 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s;
    cursor: pointer;
}

.cat-pill-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(139,26,26,0.1);
    transform: translateY(-3px);
}

.cat-pill-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f5efe0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.cat-pill-img img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: sepia(8%) contrast(1.05);
}

.cat-pill-card:hover .cat-pill-img {
    border-color: var(--primary);
}

.cat-pill-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

.cat-pill-count {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

.cat-view-all-tile .cat-pill-img {
    background: var(--primary);
    border-color: var(--primary);
}

/* ── 5. WHY CHOOSE US ── */
.why-choose-section {
    padding: 64px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.why-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(139,26,26,0.08);
    transform: translateY(-3px);
}

.why-icon {
    width: 52px;
    height: 52px;
    background: rgba(139,26,26,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.why-card p {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── 6. BULK DEALS DARK BANNER ── */
.bulk-deals-banner {
    background: linear-gradient(135deg, #5a1010 0%, #3d0a0a 60%, #2a0606 100%);
    padding: 56px 0;
    overflow: hidden;
    position: relative;
}

.bulk-deals-banner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.bulk-deals-inner {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 36px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.bulk-deals-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(181,134,10,0.15);
    border: 1px solid rgba(181,134,10,0.35);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 14px;
    display: block;
    width: fit-content;
}

.bulk-deals-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
}

.bulk-deals-sub {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.bulk-deals-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.bulk-deals-list li {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-bulk-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.18s;
}

.btn-bulk-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181,134,10,0.35);
}

/* Top Picks inside bulk deals */
.bulk-deals-visual {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
}

.top-picks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

.top-picks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.top-pick-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    transition: all 0.2s ease;
}

.top-pick-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

.top-pick-img {
    width: 100%;
    height: 165px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-pick-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.top-pick-card:hover .top-pick-img img {
    transform: scale(1.06);
}

.top-pick-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 6px;
    text-align: center;
    flex-grow: 1;
}

.top-pick-code {
    font-family: var(--font-body);
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

.top-pick-name {
    font-family: var(--font-body);
    font-size: 11.5px;
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    line-height: 1.35;
}

.top-pick-price {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--accent-light);
    font-weight: 700;
    margin-top: 2px;
}

.top-pick-add-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    width: calc(100% - 24px);
    margin: 4px 12px 12px;
    transition: background 0.15s;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.top-pick-add-btn:hover { background: var(--primary-hover); }

/* ── 7. STATS DARK BAR ── */
.stats-dark-bar {
    background: #1a0a04;
    padding: 36px 0;
    border-top: 1px solid rgba(181,134,10,0.2);
    border-bottom: 1px solid rgba(181,134,10,0.2);
}

.stats-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
}

.stat-bar-item strong {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
}

.stat-bar-item span {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-bar-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* ── 8. FEATURED PRODUCTS ── */
.featured-products-section {
    padding: 64px 0;
    background: var(--bg-body);
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.fp-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.fp-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(139,26,26,0.1);
    transform: translateY(-4px);
}

.fp-card-img {
    position: relative;
    background: #f8f3eb;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.fp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.2s;
}

.fp-card:hover .fp-card-img img { transform: scale(1.05); filter: none; }

.fp-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 2px;
}

.fp-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    background: #fff;
}

.fp-card-code {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #888;
    letter-spacing: 0.06em;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 2px;
    width: fit-content;
}

.fp-card-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 4px;
}

.fp-card-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.fp-brand-tag {
    background: #f0ebe2;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.fp-card-price {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

.fp-enquiry-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
    letter-spacing: 0.03em;
    text-align: center;
    margin-top: auto;
}

.fp-enquiry-btn:hover { background: var(--primary-hover); }

/* ── 9. TOP BRANDS STATIC ── */
.top-brands-static-section {
    padding: 56px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.top-brands-static-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.top-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 28px;
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.18s;
    min-width: 110px;
    color: var(--text-main);
}

.top-brand-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(139,26,26,0.1);
}

.top-brand-item span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── 10. HOW TO BUY WHOLESALE ── */
.how-to-buy-section {
    padding: 64px 0;
    background: var(--bg-body);
}

.how-to-buy-steps {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.htb-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    transition: all 0.2s;
}

.htb-step:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(139,26,26,0.08);
}

.htb-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.htb-step-icon {
    width: 56px;
    height: 56px;
    background: rgba(139,26,26,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 8px;
}

.htb-step h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.htb-step p {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.htb-step-arrow {
    font-size: 24px;
    color: var(--border-color-hover);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── 11. TESTIMONIALS ── */
.testimonials-section {
    padding: 64px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.testimonial-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    position: relative;
    transition: all 0.2s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(139,26,26,0.08);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--primary);
    opacity: 0.2;
    line-height: 0.6;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 14px;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.testimonial-author span {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

/* ── 12. NEWSLETTER STRIP ── */
.newsletter-strip {
    background: var(--bg-body);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    padding: 48px 0;
}

.newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.newsletter-text h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.newsletter-text p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--primary);
    max-width: 480px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background: #fff;
    outline: none;
}

.newsletter-input::placeholder { color: #b0a090; }

.newsletter-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.newsletter-btn:hover { background: var(--primary-hover); }

.newsletter-disclaimer {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* ── 13. FOOTER 4-COLUMN ── */
.site-footer {
    background: #1a0a04;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-4col-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.footer-brand-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}

.footer-stats-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.footer-stats-mini span {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

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

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.15s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-list li a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: color 0.15s;
    text-decoration: none;
}

.footer-link-list li a:hover { color: var(--accent-light); }

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

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.footer-contact-row svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255,255,255,0.35);
}

.footer-payment-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
    gap: 8px;
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE — NEW COMPONENTS
═══════════════════════════════════════════ */

@media (max-width: 900px) {
    /* Header */
    .site-header-main {
        padding: 10px 0 !important;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
    }
    
    .site-header-main .header-main-inner {
        flex-wrap: nowrap !important;
        height: 48px !important;
        padding: 0 16px !important;
        gap: 12px !important;
        justify-content: space-between !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Clean logo size for mobile */
    .site-logo img {
        height: 36px !important;
        width: auto !important;
    }
    
    /* Hide the B2B action button from header row on mobile to prevent clutter */
    .header-actions-group {
        display: none !important;
    }
    
    /* Hide header search form completely on mobile */
    .header-search-form {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto !important;
        padding: 8px !important;
        margin-right: -8px !important;
    }
    
    .site-nav-bar {
        display: none !important;
    }

    /* Hero */
    .purja-hero { min-height: auto; background-position: center right; }
    .purja-hero-content { padding: 48px 24px; max-width: 100%; }
    .purja-hero-title { font-size: 40px; }
    .purja-hero-bg-overlay {
        background: linear-gradient(
            to right,
            rgba(245, 237, 224, 0.92) 0%,
            rgba(245, 237, 224, 0.80) 55%,
            rgba(245, 237, 224, 0.3) 80%,
            transparent 100%
        );
    }
    .purja-hero-ctas { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; }


    /* Topbar */
    .topbar-left { display: none; }
    .topbar-right { margin: 0 auto; }

    /* Why choose */
    .why-choose-grid { grid-template-columns: 1fr 1fr; }

    /* Bulk deals */
    .bulk-deals-inner { grid-template-columns: 1fr; }

    /* Stats bar */
    .stats-bar-grid { gap: 0; flex-wrap: wrap; }
    .stat-bar-item { padding: 16px 24px; }
    .stat-bar-sep { display: none; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-4col-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-bottom-bar { flex-direction: column; text-align: center; }

    /* How to buy */
    .how-to-buy-steps { flex-direction: column; align-items: stretch; }
    .htb-step { max-width: 100%; }
    .htb-step-arrow { transform: rotate(90deg); align-self: center; }
}

@media (max-width: 600px) {
    .purja-hero-title { font-size: 32px; }
    .why-choose-grid { grid-template-columns: 1fr; }
    .cat-pill-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-pill-card { padding: 14px 8px 12px; }
    .cat-pill-img { width: 56px; height: 56px; }
    .cat-pill-img img { width: 44px; height: 44px; }
    .top-picks-grid { grid-template-columns: repeat(2, 1fr); }
    .bulk-deals-title { font-size: 30px; }
    .stat-bar-item strong { font-size: 28px; }
    .featured-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-4col-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; border-radius: 6px; }
    .newsletter-input { border-radius: 6px 6px 0 0; }
    .newsletter-btn { padding: 14px; border-radius: 0 0 6px 6px; }
}
/* Purja product gallery */
#product-detail-modal[open] {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: min(760px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--text-main);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    z-index: 9999;
}

#product-detail-modal .modal-content {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 34px);
    background: var(--bg-white);
}

#product-detail-modal .modal-header,
#product-detail-modal .modal-footer {
    flex: 0 0 auto;
    background: var(--bg-white);
}

#product-detail-modal .modal-body {
    min-height: 0;
    overflow-y: auto;
}

#product-detail-modal .modal-img-wrapper {
    align-self: start;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 200px;
    padding: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

#product-detail-modal #modal-main-image {
    display: block;
    width: 100%;
    height: 190px;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.modal-image-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}

.modal-thumb {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
}

.modal-thumb.active { border-color: var(--accent, #e29b18); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
    #product-detail-modal[open] {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 16px;
    }

    #product-detail-modal .modal-content {
        max-height: calc(100dvh - 22px);
    }

    #product-detail-modal .modal-img-wrapper {
        min-height: 0;
    }

    #product-detail-modal #modal-main-image {
        height: 180px;
    }
}

/* Split-screen/tablet layout: keep gallery in its own row so it cannot overlap details. */
@media (max-width: 900px) {
    #product-detail-modal .modal-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-rows: auto;
        align-content: start;
        gap: 18px;
    }

    #product-detail-modal .modal-img-wrapper {
        display: flex;
        flex: none;
        width: 100%;
        min-width: 0;
        height: auto !important;
        max-height: none;
    }

    #product-detail-modal #modal-main-image {
        flex: 0 0 180px;
        width: 100%;
    }

    #product-detail-modal .modal-image-thumbnails {
        display: flex;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 4px;
    }

    #product-detail-modal .modal-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        aspect-ratio: auto;
    }

    #product-detail-modal .modal-details {
        position: relative;
        z-index: 1;
        min-width: 0;
        width: 100%;
        background: var(--bg-white);
    }
}
