/* ==============================================================
   AURELIS PHARMA — Premium B2B Header
   styles.css
   --------------------------------------------------------------
   Sections:
   1. Design Tokens (CSS Variables)
   2. Reset & Base
   3. Announcement Marquee Strip
   4. Sticky Header (Glassmorphism)
   5. Logo
   6. Desktop Nav (with underline animation)
   7. Right Actions (icons + sign-in)
   8. Hamburger (mobile)
   9. Mobile Drawer
   10. Responsive Tweaks
   11. Demo Content (remove when integrating)
   ============================================================== */

   
/* ==============================================================
   1. DESIGN TOKENS (CSS Variables)
   ============================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text-dark);

}

:root {
    /* Brand Colors */
    --color-primary: #0F4C81;
    --color-secondary: #3FA9F5;
    --color-bg: #FFFFFF;
    --color-bg-light: #F8FBFF;
    --color-sidebar-dark: #0B2E4F;
    --color-text: #1F2937;
    --color-text-soft: #4B5563;
    --color-text-muted: #6B7280;
    --color-border: rgba(15, 76, 129, 0.08);
    --color-border-strong: rgba(15, 76, 129, 0.16);

    /* Surfaces */
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-glass-scrolled: rgba(255, 255, 255, 0.92);

    /* Typography */
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Shadows — soft, layered, premium */
    --shadow-sm: 0 1px 2px rgba(15, 76, 129, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 76, 129, 0.06), 0 1px 3px rgba(15, 76, 129, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 76, 129, 0.08), 0 4px 12px rgba(15, 76, 129, 0.04);
    --shadow-glow: 0 0 0 4px rgba(63, 169, 245, 0.15);

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 180ms var(--ease);
    --transition-base: 260ms var(--ease);
    --transition-slow: 420ms var(--ease);

    /* Layout */
    --header-height: 72px;
    /* --announcement-height: 38px; */
    --container-max: 1320px;
    --primary-blue: #0F4C81;
    --secondary-blue: #3FA9F5;
    --background: #F8FBFF;
    --card-bg: rgba(255, 255, 255, 0.75);
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --shadow:
        0 10px 30px rgba(15, 76, 129, 0.08);
    --hover-shadow:
        0 20px 40px rgba(15, 76, 129, 0.18);
    --radius: 24px;
    --transition: all 0.35s ease;

    /*==============top selling products========= */
    /* Brand colors */
    --brand-primary: #0F4C81;
    --brand-primary-dark: #0a3a64;
    --brand-primary-light: #1e6fb5;
    --brand-secondary: #FFFFFF;

    /* Neutrals */
    --ink-900: #0c1a2b;
    --ink-700: #2c3e57;
    --ink-500: #5a6b82;
    --ink-300: #aab4c4;
    --ink-100: #e6ecf3;
    --ink-50: #f4f7fb;

    /* Accents */
    --accent-glow: rgba(15, 76, 129, 0.18);
    --accent-glow-soft: rgba(15, 76, 129, 0.08);
    --accent-gold: #c9a55a;

    /* Surfaces */
    --surface-glass: rgba(255, 255, 255, 0.72);
    --surface-glass-strong: rgba(255, 255, 255, 0.92);
    --surface-border: rgba(15, 76, 129, 0.12);

    /* Shadows — layered for premium depth */
    --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 76, 129, 0.10), 0 2px 8px rgba(15, 76, 129, 0.04);
    --shadow-lg: 0 25px 60px rgba(15, 76, 129, 0.18), 0 8px 20px rgba(15, 76, 129, 0.08);
    --shadow-glow: 0 0 40px rgba(15, 76, 129, 0.25);

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 0.2s;
    --dur-mid: 0.4s;
    --dur-slow: 0.7s;

    /* Type */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;


    /* ===footer===== */
    --color-accent: #0F4C81;
    --color-accent-hover: #2563eb;
    --color-error: #ef4444;
    /* Font Variables */
    --font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-family-heading: 'Poppins', 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

}

/* ==============================================================
   2. RESET & BASE
   ============================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(15, 76, 129, 0.06), transparent 60%),
        radial-gradient(1000px 500px at 90% 110%, rgba(15, 76, 129, 0.05), transparent 60%),
        #ffffff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    font-family: var(--font-family);
    color: var(--color-text-primary);
    background-color: #f8fafc;
    line-height: 1.6;


}

/* ==========================================================================
   TOP UTILITY BAR — Fairford Pharma B2B
   Dark navy header strip with contact info, CTA, and social icons.
   Sits above the main navigation. Mobile-first responsive.
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {

    /* Brand colors */
    --topbar-bg: #0a3a64;
    /* Deep navy — slightly darker than #0F4C81 */
    --topbar-bg-gradient: linear-gradient(90deg, #0a3a64 0%, #0F4C81 50%, #0a3a64 100%);
    --topbar-text: #ffffff;
    --topbar-text-muted: rgba(255, 255, 255, 0.85);
    --topbar-divider: rgba(255, 255, 255, 0.18);
    --topbar-hover: rgba(255, 255, 255, 0.10);

    /* CTA — emerald gradient */
    --cta-bg: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --cta-bg-hover: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --cta-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    --cta-shadow-hover: 0 8px 20px rgba(16, 185, 129, 0.5);

    /* Type */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.25s;
}

/* ---------- 2. Base Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: #f4f7fb;
    min-height: 100vh;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- 3. Top Bar Container ---------- */
.topbar {
    width: 100%;
    min-height: 44px;
    background: var(--topbar-bg-gradient);
    background-color: var(--topbar-bg);
    color: var(--topbar-text);
    font-family: var(--font-body);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 100;
}
.topbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* ---------- 4. Left: Contact Links ---------- */
.topbar__contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--topbar-text-muted);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 4px 2px;
    border-radius: 4px;
    white-space: nowrap;
    transition: color var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.topbar__link i {
    font-size: 14px;
    color: var(--topbar-text-muted);
    transition: color var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.topbar__link:hover {
    color: #ffffff;
}

.topbar__link:hover i {
    color: #ffffff;
    transform: translateY(-1px);
}

.topbar__link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

/* Subtle vertical dividers between items */
.topbar__divider {
    width: 1px;
    height: 18px;
    background: var(--topbar-divider);
}

/* ---------- 5. Right: Actions (CTA + Social) ---------- */
.topbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* ---------- 6. "Become a Distributor" CTA ---------- */
.topbar__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--cta-bg);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: var(--cta-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    overflow: hidden;
    transition: transform var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease),
        background var(--dur) var(--ease);
}

/* Shimmer sweep on hover */
.topbar__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transition: left 0.6s var(--ease);
    pointer-events: none;
}

.topbar__cta:hover {
    background: var(--cta-bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--cta-shadow-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.topbar__cta:hover::before {
    left: 120%;
}

.topbar__cta:hover i {
    transform: translateX(3px);
}

.topbar__cta:active {
    transform: translateY(0);
}

.topbar__cta i {
    font-size: 11px;
    transition: transform var(--dur) var(--ease);
}

.topbar__cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* ---------- 7. Social Icons ---------- */
.topbar__social {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.topbar__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--topbar-text);
    font-size: 12px;
    transition: background var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        transform var(--dur) var(--ease),
        color var(--dur) var(--ease);
}

.topbar__social-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--topbar-bg);
    transform: translateY(-2px);
}

.topbar__social-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* ---------- 8. Responsive Breakpoints ---------- */

/* Large tablet — keep all items but tighten spacing */
@media (max-width: 1200px) {
    .topbar__container {
        padding: 15px 30px;
        gap: 16px;
    }

    .topbar__contact {
        gap: 16px;
    }

    .topbar__link {
        font-size: 13px;
    }
}

/* Responsive topbar — single row at all widths ≥640px */
@media (max-width: 1200px) {
    .topbar__container { padding: 0 16px; gap: 16px; }
    .topbar__contact { gap: 14px; }
    .topbar__link { font-size: 12.5px; }
}

@media (max-width: 1024px) {
    .topbar__container { gap: 12px; }
    .topbar__contact { gap: 10px; }
    .topbar__link { font-size: 12px; gap: 6px; }
}

@media (max-width: 860px) {
    .topbar__container { gap: 10px; }
    .topbar__contact { gap: 8px; }
    .topbar__link { font-size: 11.5px; gap: 5px; }
    .topbar__cta { padding: 7px 14px; font-size: 12.5px; }
    .topbar__social-link { width: 26px; height: 26px; }
    .topbar__social { gap: 4px; }
}

/* Mobile — stack into two rows */
@media (max-width: 640px) {
    .topbar__container {
        padding: 8px 14px;
        height: auto;
        min-height: 44px;
        flex-direction: column;
        gap: 6px;
    }
    .topbar__contact {
        width: 100%;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        flex-shrink: unset;
        overflow: visible;
    }
    .topbar__actions { width: 100%; justify-content: space-between; gap: 10px; }
    .topbar__cta { padding: 7px 14px; font-size: 12px; }
    .topbar__social-link { width: 26px; height: 26px; font-size: 11px; }
    .topbar__link { font-size: 12px; }
    .topbar__divider { display: none; }
}

/* Extra small */
@media (max-width: 380px) {
    .topbar__social li:nth-child(n+4) { display: none; }
    .topbar__contact { gap: 8px; }
}

/* ---------- 9. Accessibility — Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ==============================================================
   3. ANNOUNCEMENT MARQUEE STRIP   (uphar mai  use karna hai.....)
   ============================================================== */
/* .announcement {
    background: linear-gradient(90deg,
            var(--color-sidebar-dark) 0%,
            var(--color-primary) 50%,
            var(--color-sidebar-dark) 100%);
    color: #fff;
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
}

/* Soft side-fade to blend marquee edges 
.announcement::before,
.announcement::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.announcement::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-sidebar-dark) 0%, transparent 100%);
}

.announcement::after {
    right: 0;
    background: linear-gradient(270deg, var(--color-sidebar-dark) 0%, transparent 100%);
}

.marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: var(--space-10);
    flex-shrink: 0;
    animation: marquee-scroll 38s linear infinite;
    padding-right: var(--space-10);
    will-change: transform;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    white-space: nowrap;
    opacity: 0.95;
}

.marquee-item .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 8px var(--color-secondary);
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Respect reduced-motion preference  
@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
} */


/* ==============================================================
   4. STICKY HEADER — Glassmorphism
   ============================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-base),
        box-shadow var(--transition-base),
        border-color var(--transition-base);
}




/* Scrolled state — slightly denser surface, softer shadow */
.header.is-scrolled {
    background: var(--surface-glass-scrolled);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-border-strong);
}

.header-inner {
    color: #000;
    font-weight: 600;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

/* ==============================================================
   5. LOGO
   ============================================================== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
    width: max-content;
    transition: transform var(--transition-fast);
    background-color: none;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-mark {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    ;
}

/* Inner shine */
.logo-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.logo-mark svg {
    width: 22px;
    height: 22px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--color-primary);
}

.logo-tag {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 2px;
}


/* ==============================================================
   6. DESKTOP NAV — Underline animation
   ============================================================== */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
}
@media (min-width: 1920px) {
  .nav-desktop {
    max-width: 1800px;
  }
}

@media (min-width: 2560px) {
  .nav-desktop {
    max-width: 2200px;
  }
}

@media (min-width: 3840px) {
  .nav-desktop {
    max-width: 2600px;
  }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-4);
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

/* Underline indicator — appears on hover / active */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 20px;
}

.nav-link.is-active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-link.is-active::after {
    width: 20px;
}

/* Special promotional pill link */
.nav-link--promo {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.06), rgba(63, 169, 245, 0.10));
    border: 1px solid rgba(63, 169, 245, 0.25);
    color: var(--color-primary);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    margin-left: var(--space-2);
}

.nav-link--promo::after {
    display: none;
}

.nav-link--promo:hover {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(63, 169, 245, 0.18));
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.nav-link--promo .promo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(63, 169, 245, 0.05);
    }
}


/* ==============================================================
   7. ACTIONS — Search / Wishlist / Cart / Account / Sign in
   ============================================================== */
.actions {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    color: var(--color-text-soft);
    transition: all var(--transition-fast);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.icon-btn:hover {
    color: var(--color-primary);
    /* background: rgba(63, 169, 245, 0.08);
    box-shadow: var(--shadow-glow); */
}

.icon-btn:hover svg {
    transform: scale(1.08);
}

.icon-btn:active {
    transform: scale(0.96);
}

/* Cart / wishlist badge */
.badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    font-family: var(--font-body);
    display: grid;
    place-items: center;
    box-shadow: 0 2px 6px rgba(15, 76, 129, 0.35);
    border: 2px solid var(--color-bg);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.badge.empty { display: none; }
.badge.pulse { transform: scale(1.4); }

/* ============================================================
   CART / WISHLIST OVERLAY + SIDEBARS + TOASTS
   ============================================================ */

/* Backdrop overlay */
.overlay {
    position: fixed; inset: 0;
    background: rgba(10, 30, 60, 0.40);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 90;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

/* Cart / Wishlist slide panels — scoped to IDs to avoid conflicts with
   page-specific .sidebar TOC navs on T&C, Privacy, and Product pages */
#cartSidebar, #wishSidebar {
    position: fixed;
    top: 0; right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: var(--color-bg);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(10, 30, 60, 0.22);
}
#cartSidebar.is-open, #wishSidebar.is-open { transform: translateX(0); }

#cartSidebar .sidebar-head, #wishSidebar .sidebar-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
#cartSidebar .sidebar-title, #wishSidebar .sidebar-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    margin: 0;
    color: var(--color-text);
    display: flex; align-items: center; gap: 8px;
}
#cartSidebar .sidebar-count, #wishSidebar .sidebar-count {
    background: rgba(15, 76, 129, 0.10);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    font-family: var(--font-body);
}
#cartSidebar .sidebar-close, #wishSidebar .sidebar-close {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--color-text-soft);
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border: none;
}
#cartSidebar .sidebar-close:hover, #wishSidebar .sidebar-close:hover { background: var(--color-bg-light); color: var(--color-text); }
#cartSidebar .sidebar-close svg, #wishSidebar .sidebar-close svg { width: 18px; height: 18px; }

#cartSidebar .sidebar-body, #wishSidebar .sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 14px;
}
#cartSidebar .sidebar-foot, #wishSidebar .sidebar-foot {
    padding: 18px 22px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-light);
    flex-shrink: 0;
}

/* Slide panels (cart / wishlist) — injected by common.js initPanels() */
.fpanel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 60, 0.40);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 190;
}
.fpanel-overlay.is-open { opacity: 1; pointer-events: auto; }

.fpanel {
    position: fixed;
    top: 0; right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    background: var(--color-bg);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(10, 30, 60, 0.22);
}
.fpanel.is-open { transform: translateX(0); }

.fpanel-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.fpanel-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    margin: 0;
    color: var(--color-text);
    display: flex; align-items: center; gap: 8px;
}
.fpanel-count {
    background: rgba(15, 76, 129, 0.10);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    font-family: var(--font-body);
}
.fpanel-close {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--color-text-soft);
    transition: background 0.15s;
    cursor: pointer;
    background: none;
    border: none;
}
.fpanel-close:hover { background: var(--color-bg-light); color: var(--color-text); }
.fpanel-close svg { width: 18px; height: 18px; }

.fpanel-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 14px;
}
.fpanel-foot {
    padding: 18px 22px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-light);
    flex-shrink: 0;
}
.fpanel-empty {
    padding: 80px 30px 60px;
    text-align: center;
    color: var(--color-text-muted);
}
.fpanel-empty svg {
    width: 64px; height: 64px;
    color: var(--color-border);
    margin: 0 auto 16px;
    display: block;
}
.fpanel-empty-big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-text);
    margin: 0 0 6px;
}

/* Empty state */
.empty-state {
    padding: 80px 30px 60px;
    text-align: center;
    color: var(--color-text-muted);
}
.empty-state svg {
    width: 64px; height: 64px;
    color: var(--color-border);
    margin: 0 auto 16px;
    display: block;
}
.empty-state .big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-text);
    margin: 0 0 6px;
}

/* Cart line items */
.line {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    padding: 14px 8px;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}
.line:last-child { border-bottom: 0; }
.line-thumb {
    width: 44px; height: 44px;
    background: rgba(15, 76, 129, 0.10);
    color: var(--color-primary);
    border-radius: 8px;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
}
.line-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}
.line-comp { font-size: 11.5px; color: var(--color-text-muted); margin: 2px 0 6px; }
.line-rate { font-size: 11.5px; color: var(--color-text-soft); margin: 0 0 8px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; }
.line-total { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-text); display: block; text-align: right; }
.line-remove { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; cursor: pointer; background: none; border: none; padding: 0; display: block; text-align: right; }
.line-remove:hover { color: #DC2E2E; }
.line-moq-warn { grid-column: 1/-1; font-size: 11px; color: #D88810; display: flex; align-items: center; gap: 5px; background: #FFF8EE; padding: 6px 10px; border-radius: 6px; margin-top: 4px; }
.line-scheme-info { grid-column: 1/-1; font-size: 11px; color: #00A86B; background: #F0FFF8; padding: 5px 10px; border-radius: 6px; margin-top: 4px; }

/* Qty stepper */
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text); font-size: 15px; font-weight: 600; display: grid; place-items: center; cursor: pointer; transition: background 0.15s; }
.qty button:hover { background: rgba(15, 76, 129, 0.08); }
.qty input { width: 44px; height: 26px; border: 1px solid var(--color-border); border-radius: 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--color-text); outline: none; }

/* Cart totals + checkout */
.totals { margin-bottom: 14px; }
.totals-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--color-text-soft); padding: 5px 0; }
.totals-row.grand { font-size: 15px; color: var(--color-text); font-weight: 700; border-top: 1px solid var(--color-border); margin-top: 6px; padding-top: 10px; }
.btn-checkout { width: 100%; padding: 13px; background: var(--color-primary); color: #fff; font-weight: 700; font-size: 15px; border-radius: 12px; cursor: pointer; border: none; transition: background 0.15s, transform 0.1s; margin-bottom: 10px; }
.btn-checkout:hover:not(:disabled) { background: #073B7A; }
.btn-checkout:disabled { opacity: 0.55; cursor: not-allowed; }
.foot-note { font-size: 11px; color: var(--color-text-muted); text-align: center; line-height: 1.5; }

/* Wishlist items */
.wish-line { display: flex; align-items: center; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--color-border); }
.wish-line:last-child { border-bottom: 0; }
.wish-actions { margin-left: auto; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; flex-shrink: 0; }
.wish-move { font-size: 10.5px; font-weight: 700; color: var(--color-primary); letter-spacing: 0.04em; background: rgba(15, 76, 129, 0.08); border: none; border-radius: 6px; padding: 5px 9px; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.wish-move:hover { background: rgba(15, 76, 129, 0.15); }
.wish-remove { font-size: 11px; color: var(--color-text-muted); background: none; border: none; padding: 0; cursor: pointer; }
.wish-remove:hover { color: #DC2E2E; }

/* Toast notifications */
.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none; }
.toast { background: var(--color-text); color: #fff; font-size: 13px; font-weight: 500; padding: 11px 18px; border-radius: 99px; box-shadow: 0 18px 50px rgba(10,30,60,.14); display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(20px); animation: toastIn .25s ease-out forwards, toastOut .25s ease-in 2.4s forwards; pointer-events: auto; white-space: nowrap; }
.toast svg { width: 16px; height: 16px; color: #00A86B; }
.toast.warn { background: #2A1F0B; }
.toast.warn svg { color: #F59E0B; }
@keyframes toastIn { to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px); } }

/* "Sign in" button — visible on larger screens (≥1280px) */
.btn-signin {
    display: none;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 18px;
    margin-left: var(--space-2);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-sidebar-dark) 100%);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
    transition: all var(--transition-base);
}

.btn-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 76, 129, 0.35);
}

.btn-signin:active {
    transform: translateY(0);
}

@media (min-width: 1100px) {
    .btn-signin {
        display: inline-flex;
    }
}

/* Compress nav links at 1024–1280px so logo + nav + login all fit */
@media (min-width: 1024px) and (max-width: 1280px) {
    .nav-link {
        padding: 10px 10px;
        font-size: 14px;
    }
    .header-inner {
        gap: var(--space-3);
    }
}


.btn-logout {
    background: #ef4444;
}

.btn-logout:hover {
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.35);
}

.drawer-logout {
    background: #ef4444;
}

/* ==============================================================
   8. HAMBURGER (Mobile)
   ============================================================== */
.hamburger {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.hamburger:hover {
    background: rgba(63, 169, 245, 0.08);
}

.hamburger-box {
    width: 22px;
    height: 16px;
    position: relative;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition-base),
        opacity var(--transition-fast),
        top var(--transition-base);
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 7px;
    width: 75%;
}

.hamburger-line:nth-child(3) {
    top: 14px;
}

/* Animate to X when active */
.hamburger.is-active .hamburger-line:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}


/* ==============================================================
   9. MOBILE DRAWER
   ============================================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 46, 79, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base),
        visibility var(--transition-base);
    z-index: 99;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88%);
    height: 100dvh;
    background: var(--color-bg);
    box-shadow: -16px 0 48px rgba(15, 76, 129, 0.12);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 110;
    display: flex;
    flex-direction: column;
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.drawer-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    color: var(--color-text-soft);
    transition: all var(--transition-fast);
}

.drawer-close:hover {
    background: rgba(63, 169, 245, 0.08);
    color: var(--color-primary);
}

.drawer-nav {
    flex: 1;
    padding: var(--space-4) var(--space-4);
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--space-4);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    margin-bottom: var(--space-1);
}

.drawer-link:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    transform: translateX(4px);
}

.drawer-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.drawer-link--promo {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.06), rgba(63, 169, 245, 0.10));
    color: var(--color-primary);
    font-weight: 600;
    margin-top: var(--space-2);
}

.drawer-section-title {
    margin-top: 20px;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.drawer-footer {
    padding: var(--space-5) var(--space-6);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-light);
}

.drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: 14px var(--space-5);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-sidebar-dark));
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.25);
    transition: all var(--transition-base);
}

.drawer-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 76, 129, 0.35);
}
.drawer-cta.drawer-logout {
    background: #ef4444;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.25);
}
.drawer-cta.drawer-logout:hover {
    background: #dc2626;
    box-shadow: 0 10px 26px rgba(239, 68, 68, 0.40);
}

.drawer-meta {
    margin-top: var(--space-4);
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}


/* ==============================================================
   10. RESPONSIVE TWEAKS — Hide some icons on small screens
   ============================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .logo-tag {
        display: none;


    }

    /* Keep only Search + Cart + Hamburger on mobile to declutter */
    .icon-btn[data-action="wishlist"],
    .icon-btn[data-action="account"] {
        display: none;
    }
}

@media (max-width: 380px) {
    .logo-name {
        font-size: 17px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }
}


/* ================================================================
   HERO — FULL-SECTION SLIDER
   ================================================================ */

.hero {
    background: #f5f7fb;
    position: relative;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

/* TRACK — 3 slides side by side, JS drives translateX */
.hero-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* EACH SLIDE — full viewport width */
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 80px 0 50px;
    background: #f5f7fb;
}

.hero-slide--teal { background: #f0faf6; }
.hero-slide--dark { background: #f2f4f8; }

/* TWO-COLUMN LAYOUT INSIDE EACH SLIDE */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* LEFT CONTENT */
.hero-content {
    flex: 1;
    min-width: 320px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #d8dee9;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #4b6382;
    margin-bottom: 30px;
    background: white;
}

.hero-badge--teal {
    border-color: #a7e8d0;
    color: #1a7a56;
    background: #e6faf3;
}

.hero-badge--dark {
    border-color: #c3cfe0;
    color: #344563;
    background: #edf1f7;
}

.hero-content h1 {
    font-size: 68px;
    line-height: 1.05;
    color: #0b1020;
    font-weight: 600;
}

.hero-content h1 span {
    display: block;
    color: #0f4c81;
}

.hero-content h1 .accent--teal {
    display: inline;
    color: #1a9e6d;
}

.hero-content p {
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.8;
    color: #667085;
    max-width: 620px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary {
    background: #0f4c81;
    color: white;
}

.btn-primary:hover { transform: translateY(-3px); }

.btn-primary--teal {
    background: #1a9e6d;
}

.btn-secondary {
    background: white;
    border: 1px solid #dbe2ea;
}

.btn-secondary:hover { transform: translateY(-3px); }

/* RIGHT IMAGE */
.hero-image {
    flex: 1;
    min-width: 320px;
    height: 560px;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 76, 129, 0.18);
    background: linear-gradient(135deg, #0f4c81, #1b6ca8);
}

.hero-image--teal { background: linear-gradient(135deg, #1b6ca8, #1fa971); }
.hero-image--dark { background: linear-gradient(135deg, #0f4c81, #111827); }

.hero-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ARROWS */
.hero-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
    color: #0b1020;
}

.hero-arrow:hover {
    background: #0f4c81;
    color: white;
    border-color: #0f4c81;
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow svg { width: 20px; height: 20px; }

.hero-arrow--prev { left: 22px; }
.hero-arrow--next { right: 22px; }

/* DOTS */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 24px 0 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8d3e0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: 0.35s ease;
}

.hero-dot.active {
    width: 34px;
    border-radius: 6px;
    background: #0f4c81;
}

/* STATS */
.hero-stats {
    text-align: center;
    justify-content: center;
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding-top: 36px;
    padding-bottom: 50px;
}

.stat-box h2 {
    font-size: 37px;
    color: #0f4c81;
    font-weight: 700;
}

.stat-box {
    position: relative;
    padding-right: 40px;
}

.stat-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 5%;
    height: 100%;
    border-right: 1px solid #ccc;
}

.stat-box:last-child::after {
    display: none;
}

.stat-box span {
    font-size: 12px;
    letter-spacing: 1px;
    color: #667085;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 42px; }
    .hero-image { height: 320px; }
    .hero-stats { gap: 25px; }
    .hero-arrow { display: none; }
}

/* =========================
       CATEGORY SECTION
    ========================== */

.categories-section {
    padding: 100px 0;
    position: relative;
}


/* =========================
       SECTION HEADER
    ========================== */

.section-header {

    text-align: center;
    margin-bottom: 70px;

}

.section-header h2 {

    font-family: "Poppins", sans-serif;

    font-size: clamp(36px, 5vw, 68px);

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 18px;

    color: var(--text-dark);

}

.section-header h2 span {

    color: var(--primary-blue);

}

.divider {

    width: 90px;
    height: 5px;
    margin: 20px auto 28px;
    border-radius: 50px;
    background:
        linear-gradient(to right,
            var(--primary-blue),
            var(--secondary-blue));
}


/* =========================
       GRID LAYOUT
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Sora:wght@600;700&display=swap');

/* Reset and Base Styles */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} */

/* Main Section */
.therapeutic-section {
    background: #eaf3fc;
    padding: 80px 24px 100px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 64px;
}

.label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.divider-left,
.divider-right {
    height: 1px;
    width: 60px;
}

.divider-left {
    background: linear-gradient(to right, transparent, #DCE6F2);
}

.divider-right {
    background: linear-gradient(to left, transparent, #DCE6F2);
}

.label-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #667085;
    text-transform: uppercase;
}

.main-heading {
    font-family: 'Sora', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: #0B1020;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.supporting-text {
    font-size: 15px;
    line-height: 1.6;
    color: #667085;
    max-width: 580px;
    margin: 0 auto;
    font-weight: 400;
}

/* Controls Section */
.controls-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}

/* Search Bar */
.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 480px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0F4C81;
    font-size: 20px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
}

.search-icon.fa {
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-size: 15px;
    border: 1px solid #DCE6F2;
    border-radius: 12px;
    background: white;
    color: #0B1020;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.search-input:focus {
    border-color: #0F4C81;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.08);
}

.search-input::placeholder {
    color: #667085;
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #DCE6F2;
    border-radius: 24px;
    background: white;
    color: #667085;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.filter-pill.active {
    background: #0F4C81;
    color: white;
    border: none;
}

.filter-pill:not(.active):hover {
    border-color: #0F4C81;
    color: #0F4C81;
}

/* Division Cards Grid */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
}

.division-card {
    position: relative;
    overflow: hidden;
      background-color: #F4F8FC;
    border-radius: 12px;
    padding: 20px;
    transition: color 0.4 ease;
    z-index: 1;
    cursor: pointer;
    color: black;
    transition: all 0.3s ease; 
    /* border: 1px solid #c4c4c4; */
}

.division-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* background: #cab27e; */
    color: #ffffff;
    transition: height 0.3s ease;
    z-index:-1;
    border-radius: 12px;

}

.division-card:hover::before{
    height: 100%;
}

.division-card:hover {
        background: linear-gradient(
    135deg,
    #e9f3fd,
    #afcadf
  );
  border-color: #0F4C81;
}

/* Stagger animation for cards */
.division-card:nth-child(1) { animation-delay: 0.05s; }
.division-card:nth-child(2) { animation-delay: 0.1s; }
.division-card:nth-child(3) { animation-delay: 0.15s; }
.division-card:nth-child(4) { animation-delay: 0.2s; }
.division-card:nth-child(5) { animation-delay: 0.25s; }
.division-card:nth-child(6) { animation-delay: 0.3s; }
.division-card:nth-child(7) { animation-delay: 0.35s; }
.division-card:nth-child(8) { animation-delay: 0.4s; }
.division-card:nth-child(9) { animation-delay: 0.45s; }
.division-card:nth-child(10) { animation-delay: 0.5s; }

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.division-card:hover .icon-container {
    transform: scale(1.05);
    color: #fff;
}

.icon-container i {
    font-size: 36px;
    transition: transform 0.3s ease;
}

.division-card:hover .icon-container i {
    transform: scale(1.1);
}

.division-title {
    font-size: 18px;
    font-weight: 600;
    color: #0B1020;
    margin-bottom: 8px;
    line-height: 1.4;
}

.division-meta {
    font-size: 13px;
    color: #667085;
    margin-bottom: 20px;
    font-weight: 400;
}

.browse-link {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.browse-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}


.division-card:hover .browse-arrow {
    transform: translateX(4px);
    color: #000;
}

/* CTA Section */
.cta-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
    border: none;
}

.btn-primary {
    background: #0F4C81;
    color: white;
    box-shadow: 0 2px 8px rgba(15, 76, 129, 0.2);
}

.btn-primary:hover {
    background: #0d3f6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: #0F4C81;
    border: 1px solid #DCE6F2;
}

.btn-secondary:hover {
    border-color: #0F4C81;
    background: #F8FAFC;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .therapeutic-section {
        padding: 60px 20px 80px;
    }

    .main-heading {
        font-size: 40px;
    }

    .supporting-text {
        font-size: 16px;
    }

    .controls-section {
        flex-direction: column;
        align-items: stretch;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .filter-pills {
        justify-content: center;
    }

    .divisions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .cta-section {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 32px;
    }

    .divisions-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================top selling products================== */

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- 3. Section Container ---------- */
.top-products {
    position: relative;
    padding: 70px 0 50px;
    overflow: hidden;
    isolation: isolate;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 2;
}

/* ---------- 4. Floating Background Glows ---------- */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    animation: float 12s ease-in-out infinite;
}

.bg-glow--1 {
    width: 480px;
    height: 480px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.35), transparent 70%);
    animation-delay: 0s;
}

.bg-glow--2 {
    width: 520px;
    height: 520px;
    bottom: -200px;
    right: -140px;
    background: radial-gradient(circle, rgba(30, 111, 181, 0.28), transparent 70%);
    animation-delay: -4s;
}

.bg-glow--3 {
    width: 360px;
    height: 360px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(15, 76, 129, 0.12), transparent 70%);
    opacity: 0.4;
    animation-delay: -8s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.97);
    }
}

.bg-glow--3 {
    animation-name: floatCenter;
}

@keyframes floatCenter {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Subtle grid backdrop */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 76, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 76, 129, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}


/* ---------- 5. Section Header ---------- */
.sections-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-primary);
    background: rgba(15, 76, 129, 0.07);
    border: 1px solid rgba(15, 76, 129, 0.15);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
    display: inline-block;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}


.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    /* color: var(--ink-900); */
    color: #0F4C81;
    margin: 0 0 16px;
}

.section-title__accent {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.section-title__accent::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    border-radius: 3px;
    opacity: 0.5;
}

.section-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--ink-500);
    margin: 0;
    line-height: 1.65;
}

/* ---------- 6. Slider Wrapper ---------- */
.slider-wrapper {
    position: relative;
    padding: 10px 58px 20px;
}

.products-swiper {
    padding: 20px 8px 50px !important;
    overflow: hidden;
}

.swiper-wrapper {
    /* Linear transition for the auto-loop feel */
    transition-timing-function: linear;
}

/* ---------- 7. Product Card (Glassmorphism) ---------- */

/* Force equal-height slides across the row */
.products-swiper .swiper-wrapper {
    align-items: stretch;
}

.product-card {
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    background: var(--surface-glass-strong);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--dur-mid) var(--ease),
        box-shadow var(--dur-mid) var(--ease),
        border-color var(--dur-mid) var(--ease);
    will-change: transform;
}

/* Animated gradient border on hover */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.4), transparent 40%, transparent 60%, rgba(15, 76, 129, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--dur-mid) var(--ease);
    pointer-events: none;
    z-index: 2;
}

.product-card:hover {
    transform: translatey(-4px);
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.12);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

/* --- Media area --- */
.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(15, 76, 129, 0.08), transparent 60%),
        linear-gradient(135deg, #f4f9ff 0%, #e8f1fb 100%);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.7s var(--ease);
}

.product-card:hover .product-card__media img {
    transform: scale(1.08);
}

/* Image overlay on hover */
.product-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 76, 129, 0.12));
    opacity: 0;
    transition: opacity var(--dur-mid) var(--ease);
    pointer-events: none;
}

.product-card:hover .product-card__media::after {
    opacity: 1;
}

/* --- Badge --- */
.product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--surface-glass-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.product-card__badge--blue {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
    color: #fff;
    border-color: transparent;
}

.product-card__badge i {
    font-size: 10px;
}

/* --- Body --- */
.product-card__body {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 24px;
    gap: 10px;
    flex: 1;
}

.product-card__category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.product-card__category i {
    font-size: 11px;
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.01em;
    /* Limit to 2 lines for consistent card height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-card__desc {
    font-size: 0.875rem;
    color: var(--ink-500);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

/* --- Meta row (MOQ + Rating) --- */
.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin-top: auto;
    border-top: 1px dashed var(--ink-100);
    border-bottom: 1px dashed var(--ink-100);
}

.product-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card__price-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-300);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-card__price-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-900);
}

.product-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(15, 76, 129, 0.06);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
}

.product-card__rating i {
    color: #f5a623;
    font-size: 12px;
}

/* --- Bulk Order CTA --- */
.btn-bulk {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    margin-top: 6px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-md);
    box-shadow:
        0 8px 20px rgba(15, 76, 129, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform var(--dur-fast) var(--ease),
        box-shadow var(--dur-mid) var(--ease);
}

.btn-bulk::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s var(--ease);
}

.btn-bulk:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(15, 76, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-bulk:hover::before {
    left: 100%;
}

.btn-bulk:active {
    transform: translateY(0);
}

.btn-bulk i {
    font-size: 12px;
    transition: transform var(--dur-fast) var(--ease);
}

.btn-bulk:hover i {
    transform: translateX(4px);
}

/* ---------- 8. Navigation Arrows ---------- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    color: var(--brand-primary);
    font-size: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--dur-mid) var(--ease);
}

.nav-arrow:hover {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
    color: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 30px rgba(15, 76, 129, 0.35);
    border-color: transparent;
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.nav-arrow--prev {
    left: 4px;
}

.nav-arrow--next {
    right: 4px;
}

.nav-arrow.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- 9. Pagination ---------- */
.products-pagination {
    position: relative !important;
    margin-top: 8px;
    text-align: center;
    display: none;
    justify-content: center;
    gap: 8px;
}

/* Show pagination on mobile where nav arrows are hidden */
@media (max-width: 540px) {
    .products-pagination {
        display: flex;
    }
}

.products-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--ink-300);
    opacity: 0.6;
    border-radius: var(--radius-pill);
    transition: all var(--dur-mid) var(--ease);
    margin: 0 !important;
}

.products-pagination .swiper-pagination-bullet:hover {
    opacity: 1;
    transform: scale(1.2);
}

.products-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-light));
    opacity: 1;
    box-shadow: 0 0 12px rgba(15, 76, 129, 0.4);
}

/* ---------- 10. Section Footer ---------- */
.section-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--brand-primary);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--brand-primary);
    border-radius: var(--radius-pill);
    transition: all var(--dur-mid) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-mid) var(--ease);
    z-index: -1;
}

.btn-outline:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(15, 76, 129, 0.3);
}

.btn-outline:hover::before {
    transform: scaleX(1);
}

.btn-outline i {
    font-size: 13px;
    transition: transform var(--dur-fast) var(--ease);
}

.btn-outline:hover i {
    transform: translate(2px, -2px);
}

/* ---------- 11. Responsive Breakpoints ---------- */

/* ============================================================
   13-INCH LAPTOP — 1366 × 768 @ 100% zoom
   Goal : 4 complete cards (image + body + button) fully
          visible without scrolling.

   Height budget:
     viewport 768 – chrome ~80 – topbar 44 – header 72 = 572px
     section padding-top 38 + header block ~84           = 122px
     slider padding (top+bottom)                         =  12px
     card target height                                  ≤ 410px
   ============================================================ */
@media (max-width: 1366px) {

    /* ── 1. Section shell ───────────────────────────────────── */
    .top-products {
        padding: 38px 0 24px;
    }

    .top-products .sections-header {
        margin: 0 auto 16px;
    }

    .top-products .section-title {
        font-size: clamp(1.25rem, 2.4vw, 1.75rem);
        margin: 0 0 6px;
        letter-spacing: -0.02em;
    }

    .top-products .eyebrow {
        font-size: 10.5px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .top-products .section-subtitle {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    /* ── 2. Swiper wrapper ──────────────────────────────────── */
    .top-products .slider-wrapper {
        padding: 2px 46px 6px;
    }

    .products-swiper {
        padding: 6px 4px 40px !important;
    }

    /* ── 3. Card image — keep square for product contain display */
    .product-card__media {
        aspect-ratio: 1 / 1;
    }

    .product-card__badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 9.5px;
        gap: 4px;
    }

    .product-card__badge i {
        font-size: 8px;
    }

    /* ── 4. Card body ───────────────────────────────────────── */
    .product-card__body {
        padding: 10px 12px 11px;
        gap: 4px;
    }

    .product-card__category {
        font-size: 9.5px;
        letter-spacing: 0.04em;
    }

    .product-card__category i {
        font-size: 9px;
    }

    /* Title — 2-line clamp */
    .product-card__title {
        font-size: 0.875rem;
        line-height: 1.25;
        min-height: 2.2em;
        letter-spacing: -0.005em;
    }

    /* Description — 2-line clamp */
    .product-card__desc {
        font-size: 0.74rem;
        line-height: 1.5;
        min-height: 2.2em;
    }

    /* ── 5. MOQ + Rating row ────────────────────────────────── */
    .product-card__meta {
        padding: 7px 0;
        margin-top: 1px;
    }

    .product-card__price-label {
        font-size: 9.5px;
    }

    .product-card__price-value {
        font-size: 0.82rem;
    }

    .product-card__rating {
        font-size: 10.5px;
        padding: 3px 7px;
        gap: 3px;
    }

    .product-card__rating i {
        font-size: 9px;
    }

    /* ── 6. Bulk Order button ───────────────────────────────── */
    .btn-bulk {
        padding: 8px 12px;
        font-size: 0.82rem;
        margin-top: 0;
        border-radius: var(--radius-sm);
        gap: 6px;
    }

    .btn-bulk i {
        font-size: 10px;
    }

    /* ── 7. Navigation arrows ───────────────────────────────── */
    .nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    /* ── 8. "View Full Catalog" footer button ───────────────── */
    .section-footer {
        margin-top: 12px;
    }

    .btn-outline {
        padding: 9px 20px;
        font-size: 0.85rem;
    }
}

/* Tablet — small */
@media (max-width: 768px) {
    .nav-arrow {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .nav-arrow--prev {
        left: 4px;
    }

    .nav-arrow--next {
        right: 4px;
    }

    .product-card__body {
        padding: 18px 18px 20px;
    }

    .product-card__title {
        font-size: 1.0625rem;
    }
}

/* Mobile */
@media (max-width: 540px) {
    .top-products {
        padding: 60px 0;
    }

    .nav-arrow {
        display: none;
        /* Rely on swipe + pagination */
    }

    .slider-wrapper {
        padding: 10px 0 20px;
    }

    .products-swiper {
        padding: 20px 4px 40px !important;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .sections-header {
        margin-bottom: 32px;
    }

    .product-card__media {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- 12. Accessibility & Motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bg-glow {
        animation: none;
    }
}

/* Keyboard focus ring */
.btn-bulk:focus-visible,
.btn-outline:focus-visible,
.nav-arrow:focus-visible,
.swiper-pagination-bullet:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
}

/* ==================== 3 WAYS SECTION ==================== */

.sections-3ways {
    padding: clamp(60px, 10vw, 120px) 0;
}

.sections-3ways-header {
    text-align: center;
    margin-bottom: 70px;

}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Base Styling */
.card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: 0 16px 48px rgba(63, 169, 245, 0.12);
}

/* Card Color Variants */
.card--blue .card-icon {
    background: rgba(15, 76, 129, 0.1);
    color: #0F4C81;
}

.card--blue .tag-badge {
    background: rgba(15, 76, 129, 0.1);
    color: #0F4C81;
}

.card--green .card-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.card--green .tag-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.card--orange .card-icon {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.card--orange .tag-badge {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

/* Card Icon */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.card:hover .card-icon {
    transform: scale(1.12) rotate(-4deg);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Tag Badge */
.tag-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    width: fit-content;
    transition: all var(--transition-fast);
}

/* Card Content */
.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.card-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-light);
    margin: 0 0 12px 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 12px 0;
    flex-grow: 1;
    padding: 0;
}

.feature-list li {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-light);
    padding: 6px 0 6px 18px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--color-border);
    margin-bottom: 12px;
}

.stats > div {
    flex: 1;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* CTA Link */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-base);
    width: fit-content;
    border: 2px solid var(--color-primary);
}

.cta-link:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateX(4px);
}

.cta-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform var(--transition-fast);
}

.cta-link:hover .cta-arrow {
    transform: translateX(4px);
}
/* sections-3ways responsive */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 20px;
    }

    .sections-3ways-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .sections-3ways-header .section-subtitle br {
        display: none;
    }
}

@media (max-width: 580px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 16px;
    }

    .sections-3ways-header {
        margin-bottom: 30px;
        padding: 0 16px;
    }

    .sections-3ways-header .section-title {
        font-size: 24px;
    }

    .sections-3ways-header .section-subtitle {
        font-size: 14px;
    }

    .card {
        padding: 16px;
    }

    .cta-link {
        width: 100%;
        justify-content: center;
    }
}

/* =====Uphaar======= */
/* HERO SECTION */
.uphaar-hero {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 80px;
    background: linear-gradient(135deg, #002c5f, #1f6f5f);
    color: #fff;
    overflow: hidden;
    min-height: auto;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 50px;
}

/* LEFT CONTENT */
.uphaar-content {
    width: 50%;
}

.uphaar-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.uphaar-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.uphaar-content h1 span {
    color: #ffd166;
}

.uphaar-content p {
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* LIST */
.uphaar-features {
    list-style: none;
    margin-bottom: 30px;
}

.uphaar-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uphaar-features li::before {
    content: "✔";
    color: #22c55e;
}

/* BUTTONS */
.uphaar-buttons {
    display: flex;
    gap: 15px;
}

.uphaar-btn-primary {
    background: #ffd166;
    color: #000;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.uphaar-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
}

/* RIGHT CARD CONTAINER */
.uphaar-cards {
    position: relative;
    width: 50%;
    height: 500px;
}

/* COMMON CARD STYLE */
.uphaar-card {
    position: absolute;
    border-radius: 18px;
    padding: 20px;
    color: white;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* MAIN CARD */
.uphaar-card.main-card {
    top: 20px;
    right: 20px;
    width: 380px;
    height: 150px;
    z-index: 3;
    transform: rotate(-2deg);
}

/* BACK CARD (OPTIONAL LAYER EFFECT) */
.uphaar-card.main-card::after {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

/* TIER PROGRESS */
.uphaar-card.tier {
    top: 190px;
    right: 80px;
    width: 400px;
    z-index: 2;
}

/* PROGRESS BAR */
.uphaar-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 10px 0;
}

.uphaar-progress span {
    display: block;
    height: 100%;
    width: 68%;
    background: #ffd166;
    border-radius: 10px;
}

/* REVIEW CARD */
.uphaar-card.review {
    top: 290px;
    right: 0;
    width: 290px;
    font-size: 13px;
    z-index: 4;
    transform: rotate(3deg);
}

/* SMALL TEXT */
.uphaar-small {
    font-size: 12px;
    color: #cbd5e1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .uphaar-hero {
        flex-direction: column;
        padding: 50px 30px;
        border-radius: 30px;
    }

    .uphaar-content {
        width: 100%;
    }

    .uphaar-content h1 {
        font-size: 36px;
    }

    .uphaar-buttons {
        flex-wrap: wrap;
    }

    .uphaar-cards {
        width: 100%;
        height: auto;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: static;
    }

    .uphaar-card {
        position: static;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .uphaar-hero {
        padding: 36px 20px;
        border-radius: 20px;
    }

    .uphaar-content h1 {
        font-size: 28px;
    }

    .uphaar-content p {
        font-size: 14px;
    }

    .uphaar-btn-primary,
    .uphaar-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* =====footer===== */

.footer {
    /* background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); */
    background: #ffffff;
    color: var(--color-text-primary);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xl);
    position: relative;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all var(--transition-normal);
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--color-accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ==================== Footer Top Section ==================== */

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: flex-start;
}

.footer-section {
    animation: fadeIn 0.6s ease-out;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(5) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(7) {
    animation-delay: 0.4s;
}

/* Vertical Dividers */
.divider-vertical {
    display: none;
    background: var(--color-border);
    width: 1px;
    min-height: 150px;
    opacity: 0.3;
}

/* ==================== Company Info Section ==================== */

.company-info {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f4c81;
    transition: transform var(--transition-normal);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo i {
    font-size: 2rem;
}

.footer-logo .logo-text {
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 700;
    background: #0f4c81;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.company-description {
    color: #0f4c81;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(235, 237, 240, 0.1);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: #000000;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: #0f4c81;
    color: #ffffff;
    border-color: #0f4c81;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ==================== Link Sections ==================== */

.footer-title {
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: #0f4c81;
    padding-bottom: var(--spacing-sm);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0f4c81;
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.link-item {
    color: #0f4c81;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.link-item::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
}

.link-item:hover {
    color: #0f4c81;
    padding-left: var(--spacing-xs);
}

.link-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== Contact Information ==================== */

.contact-info {
    grid-column: span 1;
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-item i {
    color: #0f4c81;
    font-size: 1.25rem;
    margin-top: 4px;
    min-width: 20px;
}

.contact-label {
    font-size: 0.85rem;
    color: #0f4c81;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    color: #0f4c81;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-normal);
}

.contact-value:hover {
    color: #0f4c81;
}

/* ==================== Horizontal Dividers ==================== */

.divider-horizontal {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            var(--color-border),
            transparent);
    margin: var(--spacing-lg) 0;
    opacity: 0.5;
}

/* ==================== Newsletter Section ==================== */

.newsletter-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 0.6s ease-out 0.5s both;
}

.newsletter-content h3 {
    font-family: var(--font-family-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #0f4c81;
}

.newsletter-subtitle {
    color: #0f4c81;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.input-group {
    display: flex;
    gap: var(--spacing-xs);
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem var(--spacing-md);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: #000;
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.newsletter-input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #0f4c81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

.newsletter-btn {
    padding: 0.75rem var(--spacing-md);
    background: #0f4c81;
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-normal);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-message {
    font-size: 0.85rem;
    min-height: 20px;
    margin-top: 4px;
}

.newsletter-message.success {
    color: var(--color-success);
}

.newsletter-message.error {
    color: var(--color-error);
}

/* ==================== Footer Bottom Bar ==================== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    border-top: none;
    padding-top: 0;
    animation: fadeIn 0.6s ease-out 0.6s both;
}

.copyright,
.footer-credit {
    font-size: 0.85rem;
    color: #0f4c81;
}

.footer-credit p {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-heart-svg {
    vertical-align: middle;
    flex-shrink: 0;
    animation: heartbeat 1.5s infinite;
}

.footer-credit i {
    color: var(--color-error);
    margin: 0 4px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

/* ==================== Responsive Design ==================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .divider-vertical {
        display: none;
    }

    .newsletter-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .footer-top {
        gap: var(--spacing-md);
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-logo i {
        font-size: 1.75rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .newsletter-section {
        gap: var(--spacing-sm);
    }

    .input-group {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    .newsletter-content h3 {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }

    .footer-bottom {
        gap: var(--spacing-sm);
    }

    .copyright,
    .footer-credit {
        font-size: 0.8rem;
    }

    .contact-item {
        gap: var(--spacing-sm);
    }

    .social-links {
        gap: var(--spacing-xs);
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Ultra-wide screens (1400px and above) */
@media (min-width: 1400px) {
    .footer-container {
        padding: 0 var(--spacing-lg);
    }
}

/* ==================== Accessibility & Print ==================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media print {

    .footer,
    .main-content {
        display: none;
    }
}

/* ==============================================================
   13-INCH LAPTOP FIXES  (1024px – 1280px)
   Targets CSS viewports of ~1024–1280px wide and ~720–900px tall.
   MacBook 13" = 1280×800 CSS px; Windows 13" = ~1280×720 CSS px.
   ============================================================== */

/* ---- Hero: scale h1 and image so they fit a short viewport ---- */
@media (max-width: 1280px) {
    .hero-content h1 {
        font-size: clamp(38px, 4.5vw, 58px);
    }

    .hero-image {
        height: 440px;
    }

    .hero-wrapper {
        gap: 40px;
    }

    .hero-slide {
        padding: 60px 0 40px;
    }

    .uphaar-hero {
        padding: 70px 60px;
    }

    /* Top products: keep nav arrows fully inside the slider on 13" screens */
    .nav-arrow--prev {
        left: 4px;
    }

    .nav-arrow--next {
        right: 4px;
    }

    .products-swiper {
        padding: 20px 4px 50px !important;
    }
}

/* ---- Tighter adjustments at 1100px (nav still visible, but space is tighter) ---- */
@media (max-width: 1100px) {
    .hero-content h1 {
        font-size: clamp(34px, 4vw, 48px);
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image {
        min-width: 260px;
        height: 360px;
    }

    .hero-slide {
        padding: 50px 0 36px;
    }

    .main-heading {
        font-size: clamp(36px, 4.5vw, 48px);
    }

    .uphaar-hero {
        padding: 60px 40px;
    }

    /* Prevent uphaar absolute cards from overflowing at this width */
    .uphaar-card.main-card {
        width: 300px;
    }

    .uphaar-card.tier {
        width: 320px;
        right: 40px;
    }

    .uphaar-card.review {
        width: 240px;
    }
}

/* ---- At 1024px: hamburger visible, nav hidden — keep layout clean ---- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: clamp(30px, 5vw, 44px);
    }

    .hero-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero-content {
        min-width: unset;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        min-width: unset;
        height: 320px;
        border-radius: 20px;
    }

    .hero-slide {
        padding: 44px 0 32px;
    }

    .hero-stats {
        gap: 24px;
        padding-top: 24px;
        padding-bottom: 36px;
    }

    .stat-box h2 {
        font-size: 28px;
    }

    .uphaar-hero {
        flex-direction: column;
        padding: 50px 30px;
        border-radius: 30px;
    }

    .uphaar-content {
        width: 100%;
    }

    .uphaar-content h1 {
        font-size: 36px;
    }

    .uphaar-cards {
        width: 100%;
        height: auto;
        position: static;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }

    .uphaar-card {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 20px;
    }

    .topbar__container {
        padding: 10px 20px;
    }
}