/* ============================================================
   PakChinaParts.com — Customer Stylesheet
   A warm, organic, human-crafted design language.
   ============================================================ */

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

:root {
    /* Warm, grounded palette */
    --clr-primary: #1b4965;
    --clr-primary-dark: #0d2b3e;
    --clr-primary-light: #2a6f97;
    --clr-accent: #e76f51;
    --clr-accent-hover: #d4553a;
    --clr-accent-soft: #f4a261;
    --clr-success: #2a9d8f;
    --clr-warning: #e9c46a;
    --clr-danger: #e63946;
    --clr-info: #457b9d;

    /* Neutrals — not pure gray, slightly warm */
    --clr-white: #ffffff;
    --clr-off-white: #faf8f5;
    --clr-sand: #f3efe8;
    --clr-stone: #e8e2d8;
    --clr-gray: #b5a99a;
    --clr-gray-dark: #6b5e50;
    --clr-text: #2d2a26;
    --clr-text-light: #6b6560;
    --clr-text-muted: #9a938b;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'DM Sans', 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 50%;

    /* Shadows — soft and warm */
    --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.06);
    --shadow-md: 0 4px 12px rgba(45, 42, 38, 0.08);
    --shadow-lg: 0 8px 30px rgba(45, 42, 38, 0.10);
    --shadow-xl: 0 15px 50px rgba(45, 42, 38, 0.12);
    --shadow-hover: 0 8px 25px rgba(27, 73, 101, 0.15);

    /* Container */
    --container: 1200px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-off-white);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--clr-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--clr-text);
}

/* ─── UTILITIES ────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.65em 1.5em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background: var(--clr-primary-dark);
    color: var(--clr-white);
    box-shadow: var(--shadow-hover);
}

.btn-accent {
    background: var(--clr-accent);
    color: var(--clr-white);
}

.btn-accent:hover {
    background: var(--clr-accent-hover);
    color: var(--clr-white);
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.btn-ghost {
    background: transparent;
    color: var(--clr-text-light);
    padding: 0.5em 0.8em;
}

.btn-ghost:hover {
    color: var(--clr-accent);
    background: var(--clr-sand);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.45em 1em;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.8em 2em;
}

/* ─── HEADER / NAVBAR ──────────────────────────────────────── */
.top-bar {
    background: var(--clr-primary-dark);
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    padding: 0.45rem 0;
    letter-spacing: 0.2px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: rgba(255,255,255,0.75);
    margin-left: 1rem;
}

.top-bar a:hover {
    color: var(--clr-white);
}

.site-header {
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-stone);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(45, 42, 38, 0.06);
}

.header-main {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    flex-shrink: 0;
    margin-right: var(--space-xl);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    letter-spacing: -0.5px;
    transition: opacity 0.2s var(--ease);
}

.logo a:hover {
    color: var(--clr-primary);
    opacity: 0.85;
}

.logo a span.logo-pak {
    color: #0D8A3C;
}

.logo a span.logo-china {
    color: #e63946;
}

/* Waving Flags */
.logo-flag {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    position: relative;
    transform-origin: bottom left;
}

.logo-flag svg {
    display: block;
}

/* Wave animation keyframes */
@keyframes flagWave {
    0%   { transform: rotate(0deg) scaleX(1); }
    10%  { transform: rotate(1deg) scaleX(0.98); }
    20%  { transform: rotate(-0.5deg) scaleX(1.01); }
    30%  { transform: rotate(1.5deg) scaleX(0.97); }
    40%  { transform: rotate(-1deg) scaleX(1); }
    50%  { transform: rotate(0.5deg) scaleX(0.99); }
    60%  { transform: rotate(-1.5deg) scaleX(1.01); }
    70%  { transform: rotate(1deg) scaleX(0.98); }
    80%  { transform: rotate(-0.5deg) scaleX(1); }
    90%  { transform: rotate(0.5deg) scaleX(0.99); }
    100% { transform: rotate(0deg) scaleX(1); }
}

.flag-wave {
    animation: flagWave 2.5s ease-in-out infinite;
}

.flag-wave-delay {
    animation-delay: 0.4s;
}

/* Search bar */
.search-bar {
    flex: 1;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.search-bar form {
    display: flex;
    border: 2px solid var(--clr-stone);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.25s var(--ease);
    background: var(--clr-off-white);
}

.search-bar form:focus-within {
    border-color: var(--clr-primary-light);
    background: var(--clr-white);
    box-shadow: 0 0 0 4px rgba(27, 73, 101, 0.08);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 0.7rem 1.2rem;
    background: transparent;
    outline: none;
    font-size: 0.88rem;
    color: var(--clr-text);
}

.search-bar input::placeholder {
    color: var(--clr-gray);
}

.search-bar button {
    border: none;
    background: var(--clr-primary);
    color: var(--clr-white);
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s var(--ease);
    display: flex;
    align-items: center;
}

.search-bar button:hover {
    background: var(--clr-primary-dark);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: var(--space-xl);
    flex-shrink: 0;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--clr-text-light);
    font-size: 0.7rem;
    font-weight: 600;
    gap: 3px;
    transition: all 0.2s var(--ease);
    position: relative;
    letter-spacing: 0.2px;
}

.header-action:hover {
    color: var(--clr-primary);
    background: var(--clr-sand);
}

.header-action svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.header-action .badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--clr-accent);
    color: var(--clr-white);
    font-size: 0.62rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Navigation */
.nav-bar {
    background: var(--clr-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.7rem 1.1rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    transition: all 0.2s var(--ease);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--clr-white);
    background: rgba(255,255,255,0.1);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    right: 0.8rem;
    height: 2px;
    background: var(--clr-accent-soft);
    border-radius: 2px;
}

.main-nav a svg {
    width: 16px;
    height: 16px;
}

.nav-highlight {
    color: var(--clr-accent-soft) !important;
    font-weight: 600 !important;
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--clr-text);
}

.mobile-toggle svg {
    width: 26px;
    height: 26px;
}

/* Mobile Menu Drawer — only visible on mobile */
.mobile-menu {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: var(--clr-primary);
    }

    .mobile-menu.open {
        max-height: 800px;
    }

    .mobile-menu a {
        display: block;
        padding: 0.9rem 1.5rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background 0.2s ease;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover,
    .mobile-menu a:active {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .mobile-menu a.nav-highlight {
        background: rgba(231, 111, 81, 0.15);
        color: #f4a261;
        font-weight: 600;
    }

    /* Hide desktop nav on mobile */
    .nav-bar {
        display: none;
    }
}

/* ─── SEARCH AUTOCOMPLETE DROPDOWN ─────────────────────────── */
.search-bar {
    position: relative;
}

.search-autocomplete {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(45,42,38,0.15);
    z-index: 200;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
    animation: acSlideDown 0.2s ease;
}

.search-autocomplete.open {
    display: block;
}

@keyframes acSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ac-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    text-decoration: none;
    color: var(--clr-text);
    border-bottom: 1px solid var(--clr-sand);
    transition: background 0.15s ease;
}

.ac-item:hover,
.ac-item.active {
    background: var(--clr-off-white);
}

.ac-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--clr-sand);
    flex-shrink: 0;
    mix-blend-mode: darken;
}

.ac-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gray);
}

.ac-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ac-name {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ac-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-accent);
}

.ac-viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-decoration: none;
    background: var(--clr-off-white);
    transition: background 0.15s ease;
}

.ac-viewall:hover {
    background: var(--clr-sand);
}

.ac-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 1.2rem;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.ac-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 1.2rem;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.ac-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--clr-stone);
    border-top-color: var(--clr-primary);
    border-radius: 50%;
    animation: acSpin 0.6s linear infinite;
}

@keyframes acSpin {
    to { transform: rotate(360deg); }
}

/* ─── HERO SECTION ─────────────────────────────────────────── */
.hero {
    background: linear-gradient(145deg, #0d2b3e 0%, #1b4965 40%, #2a6f97 100%);
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

/* Diagonal grid overlay for texture */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,0.02) 40px,
            rgba(255,255,255,0.02) 41px
        );
    z-index: 0;
    pointer-events: none;
}

/* Floating animated orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* Hero flag backgrounds — visible soft-glow flags */
.hero-flag-bg {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(8px);
    will-change: opacity, transform;
}

.hero-flag-bg svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-flag-pak {
    top: -15%;
    left: -5%;
    width: 55%;
    height: 130%;
    animation: heroFlagFadeInLeft 2s ease-out 1.5s forwards, heroFlagWave1 6s ease-in-out 3.5s infinite;
}

.hero-flag-cn {
    top: -15%;
    right: -5%;
    width: 55%;
    height: 130%;
    animation: heroFlagFadeInRight 2s ease-out 2s forwards, heroFlagWave2 7s ease-in-out 4s infinite;
}

@keyframes heroFlagFadeInLeft {
    0%   { opacity: 0; transform: translateX(-50px) rotate(-5deg) scale(0.85); }
    100% { opacity: 0.35; transform: translateX(0) rotate(0deg) scale(1); }
}

@keyframes heroFlagFadeInRight {
    0%   { opacity: 0; transform: translateX(50px) rotate(5deg) scale(0.85); }
    100% { opacity: 0.35; transform: translateX(0) rotate(0deg) scale(1); }
}

@keyframes heroFlagWave1 {
    0%   { transform: rotate(0deg) skewX(0deg) scaleX(1); }
    20%  { transform: rotate(1deg) skewX(-2deg) scaleX(1.01); }
    40%  { transform: rotate(-0.5deg) skewX(1.5deg) scaleX(0.99); }
    60%  { transform: rotate(0.8deg) skewX(-1deg) scaleX(1.005); }
    80%  { transform: rotate(-0.3deg) skewX(0.5deg) scaleX(1); }
    100% { transform: rotate(0deg) skewX(0deg) scaleX(1); }
}

@keyframes heroFlagWave2 {
    0%   { transform: rotate(0deg) skewX(0deg) scaleX(1); }
    25%  { transform: rotate(-0.8deg) skewX(1.5deg) scaleX(0.99); }
    50%  { transform: rotate(0.5deg) skewX(-1.5deg) scaleX(1.01); }
    75%  { transform: rotate(-0.3deg) skewX(1deg) scaleX(1); }
    100% { transform: rotate(0deg) skewX(0deg) scaleX(1); }
}

/* Hero category rotator */
.hero-cat-rotator {
    position: relative;
    display: inline-block;
    height: 48px;
    min-width: 140px;
}

.hero-cat-item {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
}

.hero-cat-item.active {
    display: inline-flex;
    opacity: 1;
    transform: translateY(0);
}

.hero-cat-item.slide-out {
    animation: catSlideOut 0.35s ease forwards;
}

.hero-cat-item.slide-in {
    animation: catSlideIn 0.35s ease forwards;
}

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

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

.hero-orb--1 {
    width: 500px;
    height: 500px;
    top: -20%;
    right: -8%;
    background: radial-gradient(circle, rgba(244,162,97,0.18) 0%, transparent 70%);
    animation: floatOrb1 22s ease-in-out infinite;
}

.hero-orb--2 {
    width: 350px;
    height: 350px;
    bottom: -15%;
    left: -5%;
    background: radial-gradient(circle, rgba(231,111,81,0.14) 0%, transparent 70%);
    animation: floatOrb2 28s ease-in-out infinite;
}

.hero-orb--3 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 25%;
    background: radial-gradient(circle, rgba(42,111,151,0.2) 0%, transparent 70%);
    animation: floatOrb3 18s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 25px) scale(1.05); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -20px) scale(1.08); }
    66% { transform: translate(-15px, 15px) scale(0.92); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

/* Hero container */
.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-2xl);
}

/* Hero content */
.hero-content {
    max-width: 720px;
}

/* Shimmer tagline badge */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(244,162,97,0.15));
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4em 1em;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    animation: heroFadeBlur 0.7s ease both;
}

.hero-tagline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    animation: shimmer 4s ease-in-out infinite 1s;
}

.hero-tagline svg {
    color: var(--clr-accent-soft);
    flex-shrink: 0;
}

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

/* Blur-dissolve entrance */
@keyframes heroFadeBlur {
    from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Heading */
.hero-heading {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--clr-white);
    margin-bottom: var(--space-md);
    line-height: 1.12;
    font-weight: 800;
    animation: heroFadeBlur 0.8s ease 0.15s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--clr-accent-soft), #e76f51);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: var(--space-xl);
    max-width: 540px;
    line-height: 1.75;
    animation: heroFadeBlur 0.8s ease 0.3s both;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: heroFadeBlur 0.8s ease 0.45s both;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.95rem;
    padding: 0.8em 1.8em;
    position: relative;
    transition: all 0.3s var(--ease);
}

.hero-cta-primary:hover {
    box-shadow: 0 0 25px rgba(231,111,81,0.4), 0 0 60px rgba(231,111,81,0.15);
    transform: translateY(-2px);
}

.hero-buttons .btn-outline {
    border-color: rgba(255,255,255,0.35);
    color: var(--clr-white);
    padding: 0.8em 1.8em;
    font-size: 0.95rem;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--clr-white);
    color: var(--clr-white);
}

/* Trust badges */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: var(--space-xl);
    animation: heroFadeBlur 0.8s ease 0.6s both;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0.35em 0.8em;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.hero-trust-badge:hover {
    background: rgba(255,255,255,0.12);
    color: var(--clr-white);
}

.hero-trust-badge svg {
    color: var(--clr-success);
    flex-shrink: 0;
}

/* Glassmorphism stat strip */
.hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: var(--space-2xl);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    animation: heroFadeBlur 0.9s ease 0.7s both;
}

.hero-stat {
    flex: 1;
    text-align: center;
    padding: 0 var(--space-lg);
}

.hero-stat__number {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--clr-accent-soft);
    line-height: 1.1;
}

.hero-stat__label {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.2rem;
    letter-spacing: 0.3px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* ─── SECTIONS ─────────────────────────────────────────────── */
.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.section-header .section-line {
    width: 50px;
    height: 3px;
    background: var(--clr-accent);
    border-radius: 3px;
    margin: 0.8rem auto 0;
}

.section-alt {
    background: var(--clr-sand);
}

/* ─── CATEGORY CARDS ───────────────────────────────────────── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    border: 1px solid var(--clr-stone);
    transition: all 0.3s var(--ease);
    cursor: pointer;
    text-decoration: none;
    color: var(--clr-text);
}

.category-card:hover {
    border-color: var(--clr-primary-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    color: var(--clr-primary);
}

.category-card .cat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--space-md);
    background: var(--clr-sand);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.category-card:hover .cat-icon {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.category-card .cat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.category-card h3 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-card p {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}

/* ─── PRODUCT CARDS ────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    display: block;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-stone);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s var(--ease);
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: transparent;
}

.product-card .card-badges {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 2;
}

.product-card .badge-sale {
    background: var(--clr-accent);
    color: var(--clr-white);
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-card .badge-new {
    background: var(--clr-success);
    color: var(--clr-white);
    padding: 0.2em 0.6em;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-card .card-image {
    aspect-ratio: 1;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
    transform: scale(1.3);
}

.product-card:hover .card-image img {
    transform: scale(1.35);
}

.product-card .card-image .placeholder-icon {
    color: var(--clr-gray);
    opacity: 0.4;
}

.product-card .card-image .placeholder-icon svg {
    width: 48px;
    height: 48px;
}

.product-card .card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s var(--ease);
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateY(0);
}

.card-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    box-shadow: var(--shadow-sm);
}

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

.card-action-btn svg {
    width: 16px;
    height: 16px;
}

.product-card .card-body {
    padding: var(--space-md);
}

.product-card .card-category {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.product-card .card-title {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.product-card:hover .card-title {
    color: var(--clr-primary);
}

.product-card .card-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 1px;
    color: var(--clr-accent-soft);
}

.stars svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.stars .star-empty {
    color: var(--clr-stone);
}

.card-rating .rating-count {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

.product-card .card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.card-price .price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-primary);
    font-family: var(--font-heading);
}

.card-price .price-original {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    text-decoration: line-through;
}

.card-price .price-discount {
    font-size: 0.72rem;
    background: rgba(231, 111, 81, 0.1);
    color: var(--clr-accent);
    padding: 0.15em 0.5em;
    border-radius: 4px;
    font-weight: 600;
}

/* ─── TRUST SECTION ────────────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-lg);
}

.trust-item {
    text-align: center;
    padding: var(--space-lg);
    transition: transform 0.3s var(--ease);
}

.trust-item:hover {
    transform: translateY(-3px);
}

.trust-item .trust-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--space-sm);
    background: rgba(27, 73, 101, 0.06);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    transition: all 0.3s var(--ease);
}

.trust-item:hover .trust-icon {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.trust-item .trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.trust-item p {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

/* ─── PROMO BANNER ─────────────────────────────────────────── */
.promo-banner {
    background: linear-gradient(135deg, var(--clr-accent) 0%, #e09f3e 100%);
    color: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.promo-banner h3 {
    font-size: 1.5rem;
    color: var(--clr-white);
    margin-bottom: 0.3rem;
}

.promo-banner p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.promo-banner .btn {
    background: var(--clr-white);
    color: var(--clr-accent);
    font-weight: 700;
    border: none;
}

.promo-banner .btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--clr-accent);
}

/* ─── NEWSLETTER ───────────────────────────────────────────── */
.newsletter {
    background: var(--clr-primary-dark);
    color: var(--clr-white);
}

.newsletter-inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--clr-white);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    outline: none;
    background: var(--clr-white);
    color: var(--clr-text);
}

.newsletter-form button {
    background: var(--clr-accent);
    color: var(--clr-white);
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--clr-accent-hover);
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
    background: var(--clr-primary-dark);
    color: rgba(255,255,255,0.7);
    margin-top: auto;
}

.footer-main {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-about .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: var(--space-md);
}

.footer-about .footer-logo .logo-pak {
    color: #2ecc71;
}

.footer-about .footer-logo .logo-china {
    color: var(--clr-accent);
}

.footer-about p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s var(--ease);
}

.footer-social a:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-col h4 {
    color: var(--clr-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--clr-accent);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: all 0.2s var(--ease);
}

.footer-col a:hover {
    color: var(--clr-white);
    padding-left: 3px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--clr-accent-soft);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-lg) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-payments {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.footer-payments span {
    background: rgba(255,255,255,0.1);
    padding: 0.3em 0.8em;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ─── FLASH MESSAGES ───────────────────────────────────────── */
.flash-messages {
    position: fixed;
    top: 90px;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
}

.flash-msg {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: slideIn 0.3s var(--ease);
}

.flash-msg.success { background: #ecfdf5; color: #065f46; border-left: 3px solid var(--clr-success); }
.flash-msg.error   { background: #fef2f2; color: #991b1b; border-left: 3px solid var(--clr-danger); }
.flash-msg.info    { background: #eff6ff; color: #1e40af; border-left: 3px solid var(--clr-info); }
.flash-msg.warning { background: #fffbeb; color: #92400e; border-left: 3px solid var(--clr-warning); }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-content {
        max-width: 560px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 380px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .header-main {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .main-nav.open {
        max-height: 600px;
    }

    .main-nav a {
        padding: 0.7rem var(--space-lg);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-md);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

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

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-md);
    }

    .stat-card .stat-number {
        font-size: 1.3rem;
    }
}

/* ─── AUTH PAGES ───────────────────────────────────────────── */
.auth-page {
    padding: var(--space-2xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 880px;
    margin: 0 auto;
}

.auth-card {
    padding: var(--space-2xl);
}

.auth-header {
    margin-bottom: var(--space-xl);
}

.auth-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.auth-header p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.auth-form .form-group {
    margin-bottom: var(--space-md);
}

.auth-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.35rem;
}

.auth-form .optional {
    font-weight: 400;
    color: var(--clr-text-muted);
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.form-label-row label {
    margin-bottom: 0;
}

.form-link {
    font-size: 0.8rem;
    color: var(--clr-primary-light);
    font-weight: 500;
}

.form-link:hover {
    color: var(--clr-accent);
}

.input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    background: var(--clr-off-white);
    transition: all 0.2s var(--ease);
    overflow: hidden;
}

.input-wrap:focus-within {
    border-color: var(--clr-primary-light);
    background: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(27, 73, 101, 0.07);
}

.input-wrap svg {
    margin-left: 0.75rem;
    color: var(--clr-gray);
    flex-shrink: 0;
}

.input-wrap:focus-within svg {
    color: var(--clr-primary-light);
}

.input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.7rem 0.75rem;
    font-size: 0.9rem;
    color: var(--clr-text);
    outline: none;
}

.input-wrap input::placeholder {
    color: var(--clr-gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-check {
    margin-bottom: var(--space-lg);
}

.form-check label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--clr-text-light);
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--clr-primary);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.form-check a {
    color: var(--clr-primary-light);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 0.8em;
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--clr-stone);
}

.auth-footer p {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.auth-footer a {
    color: var(--clr-accent);
    font-weight: 600;
}

/* Auth side panel */
.auth-side {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    color: var(--clr-white);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-side::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231,111,81,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-side-content {
    position: relative;
    z-index: 1;
}

.auth-side h2 {
    color: var(--clr-white);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.auth-side p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.auth-features {
    list-style: none;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
}

.auth-features svg {
    color: var(--clr-accent-soft);
    flex-shrink: 0;
}

/* ── Seller Redirect on Auth Pages ── */
.auth-seller-redirect {
    margin-top: 1.25rem;
}

.auth-seller-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.auth-seller-divider::before,
.auth-seller-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--clr-stone);
}

.auth-seller-divider span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-seller-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7em 1.2em;
    background: #fffbeb;
    color: #92400e;
    border: 1.5px solid #fde68a;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.auth-seller-btn:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #78350f;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    transform: translateY(-1px);
}

.auth-seller-btn svg {
    color: #d97706;
    flex-shrink: 0;
}

.auth-seller-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
}

/* ── Side Panel Seller CTA ── */
.auth-side-seller-cta {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.auth-side-seller-cta h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.3rem;
}

.auth-side-seller-cta p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.auth-side-seller-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-accent-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-side-seller-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-side {
        display: none;
    }

    .auth-card {
        padding: var(--space-xl);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ─── PRODUCT LISTING PAGE ─────────────────────────────────── */
.page-header {
    background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-off-white) 100%);
    border-bottom: 1px solid var(--clr-stone);
    padding: var(--space-xl) 0 var(--space-lg);
}

.page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.page-header p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.6rem;
}

.breadcrumb a {
    color: var(--clr-text-muted);
}

.breadcrumb a:hover {
    color: var(--clr-primary);
}

.breadcrumb .sep {
    color: var(--clr-gray);
}

/* Catalog layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

/* Sidebar filters */
.catalog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.filter-section {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.filter-section h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--clr-text);
}

.filter-section ul {
    list-style: none;
}

.filter-section li {
    margin-bottom: 0.4rem;
}

.filter-section li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--clr-text-light);
    transition: color 0.2s;
}

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

.filter-section li a .count {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    background: var(--clr-sand);
    padding: 0.1em 0.5em;
    border-radius: 10px;
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--clr-stone);
}

.catalog-count {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-sort label {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.catalog-sort select {
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    background: var(--clr-white);
    color: var(--clr-text);
    cursor: pointer;
    outline: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text-light);
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

.pagination a:hover {
    background: var(--clr-sand);
    color: var(--clr-primary);
}

.pagination .active {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .catalog-sidebar {
        position: static;
    }
}

/* ─── STATIC / CMS PAGES ──────────────────────────────────── */
.cms-page {
    padding: var(--space-2xl) 0;
}

.cms-content {
    max-width: 860px;
    margin: 0 auto;
    background: var(--clr-white);
    padding: var(--space-2xl) var(--space-3xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-stone);
    box-shadow: var(--shadow-sm);
}

.cms-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    margin-top: 1.5rem;
}

.cms-content h2:first-child {
    margin-top: 0;
}

.cms-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    margin-top: 1.2rem;
}

.cms-content p {
    margin-bottom: 0.8rem;
    color: var(--clr-text-light);
    line-height: 1.75;
}

.cms-content ul, .cms-content ol {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

.cms-content li {
    margin-bottom: 0.4rem;
    color: var(--clr-text-light);
    line-height: 1.65;
}

.cms-content a {
    color: var(--clr-primary-light);
    text-decoration: underline;
}

/* ─── CART PAGE ────────────────────────────────────────────── */
.cart-page {
    padding: var(--space-2xl) 0;
}

.cart-empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.cart-empty svg {
    color: var(--clr-gray);
    margin-bottom: var(--space-md);
}

.cart-empty h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.cart-empty p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
}

/* ─── PRODUCT DETAIL ───────────────────────────────────────── */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.pd-gallery {
    position: sticky;
    top: 100px;
}

.pd-main-image {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-placeholder {
    color: var(--clr-gray);
    opacity: 0.3;
}

.pd-thumbs {
    display: flex;
    gap: var(--space-sm);
}

.pd-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s var(--ease);
}

.pd-thumb:hover,
.pd-thumb.active {
    border-color: var(--clr-primary);
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info */
.pd-category-tag {
    display: inline-block;
    background: var(--clr-sand);
    color: var(--clr-text-light);
    padding: 0.2em 0.7em;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}

.pd-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.pd-rating .stars svg {
    width: 16px;
    height: 16px;
}

.pd-rating-text {
    font-size: 0.85rem;
    color: var(--clr-text-light);
}

.pd-sales {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    padding-left: 0.6rem;
    border-left: 1px solid var(--clr-stone);
}

.pd-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--clr-sand);
    border-radius: var(--radius-md);
}

.pd-price {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--clr-primary);
}

.pd-price-old {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    text-decoration: line-through;
}

.pd-discount {
    font-size: 0.8rem;
    background: rgba(231, 111, 81, 0.12);
    color: var(--clr-accent);
    padding: 0.25em 0.65em;
    border-radius: 4px;
    font-weight: 700;
}

.pd-short-desc {
    color: var(--clr-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 0.92rem;
}

/* Variants */
.pd-variants {
    margin-bottom: var(--space-lg);
}

.pd-variant-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    display: block;
}

.pd-variant-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.variant-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5em 1em;
    border: 2px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    background: var(--clr-white);
}

.variant-chip:hover {
    border-color: var(--clr-primary-light);
}

.variant-chip.active {
    border-color: var(--clr-primary);
    background: rgba(27, 73, 101, 0.04);
    color: var(--clr-primary);
    font-weight: 600;
}

.variant-chip input { display: none; }

.variant-chip small {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
}

/* Stock */
.pd-stock {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    padding: 0.5rem 0;
}

.pd-stock.in-stock { color: var(--clr-success); }
.pd-stock.low-stock { color: var(--clr-accent); }
.pd-stock.out-of-stock { color: var(--clr-danger); }

/* Cart form */
.pd-cart-form {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.pd-quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 42px;
    border: none;
    background: var(--clr-sand);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--clr-stone);
}

.pd-quantity input {
    width: 50px;
    height: 42px;
    text-align: center;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text);
    outline: none;
    background: var(--clr-white);
    -moz-appearance: textfield;
    appearance: textfield;
}

.pd-quantity input::-webkit-outer-spin-button,
.pd-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pd-add-btn {
    flex: 1;
    min-width: 180px;
}

.pd-wish-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    flex-shrink: 0;
}

/* Meta */
.pd-meta {
    border-top: 1px solid var(--clr-stone);
    padding-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pd-meta-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--clr-text-light);
    margin-bottom: 0.3rem;
}

.pd-meta-label {
    font-weight: 600;
    color: var(--clr-text);
    min-width: 70px;
}

/* Trust badges */
.pd-trust {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-md);
    background: var(--clr-sand);
    border-radius: var(--radius-md);
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-text-light);
}

.pd-trust-item svg {
    color: var(--clr-primary);
}

/* Tabs */
.pd-tabs {
    margin-top: var(--space-2xl);
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pd-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--clr-stone);
    background: var(--clr-off-white);
}

.pd-tab-btn {
    padding: 0.9rem 1.5rem;
    border: none;
    background: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.pd-tab-btn:hover { color: var(--clr-text); }

.pd-tab-btn.active {
    color: var(--clr-primary);
    background: var(--clr-white);
}

.pd-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--clr-accent);
}

.pd-tab-content {
    padding: var(--space-lg);
}

.pd-tab-pane { display: none !important; }
.pd-tab-pane.active { display: block !important; }

@media (max-width: 768px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .pd-gallery {
        position: static;
    }

    .pd-title { font-size: 1.3rem; }
    .pd-price { font-size: 1.5rem; }

    .pd-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pd-cart-form {
        flex-direction: column;
        align-items: stretch;
    }

    .pd-wish-btn {
        width: 100%;
        height: auto;
        padding: 0.7em;
    }
}

/* ─── CART LAYOUT ──────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-xl);
    align-items: start;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 40px;
    gap: var(--space-md);
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 2px solid var(--clr-stone);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--clr-text-muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 40px;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--clr-sand);
}

.ct-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.ct-details .ct-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clr-text);
    margin-bottom: 0.15rem;
}

.ct-details .ct-name:hover {
    color: var(--clr-primary);
}

.ct-details .ct-sku {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

.ct-price span {
    font-weight: 600;
    font-size: 0.9rem;
}

.ct-qty-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ct-qty-form .qty-btn {
    width: 32px;
    height: 34px;
    font-size: 0.9rem;
}

.ct-qty-form input {
    width: 40px;
    height: 34px;
    text-align: center;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.ct-qty-form input::-webkit-outer-spin-button,
.ct-qty-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.ct-total span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-primary);
}

.ct-remove {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--clr-text-muted);
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.ct-remove:hover {
    color: var(--clr-danger);
    background: rgba(230, 57, 70, 0.06);
}

/* Cart Summary */
.cart-summary-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: sticky;
    top: 100px;
}

.cart-summary-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--clr-stone);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.88rem;
}

.summary-muted {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    font-style: italic;
}

.summary-divider {
    height: 1px;
    background: var(--clr-stone);
    margin: var(--space-sm) 0;
}

.summary-total {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--clr-primary);
    padding: var(--space-sm) 0;
}

.summary-coupon {
    margin: var(--space-lg) 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--clr-sand);
}

.summary-coupon label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--clr-text);
}

.coupon-input-wrap {
    display: flex;
    gap: 0.4rem;
}

.coupon-input-wrap input {
    flex: 1;
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    outline: none;
    background: var(--clr-off-white);
}

.coupon-input-wrap input:focus {
    border-color: var(--clr-primary-light);
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-table-header { display: none; }

    .cart-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .cart-summary-card {
        position: static;
    }
}

/* ─── ACCOUNT PAGES ────────────────────────────────────────── */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.account-nav {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem var(--space-lg);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--clr-text-light);
    border-bottom: 1px solid var(--clr-sand);
    transition: all 0.2s var(--ease);
}

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

.account-nav-item:hover {
    background: var(--clr-sand);
    color: var(--clr-primary);
}

.account-nav-item.active {
    background: rgba(27, 73, 101, 0.04);
    color: var(--clr-primary);
    font-weight: 600;
    border-left: 3px solid var(--clr-accent);
}

.account-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.account-nav-logout {
    color: var(--clr-danger) !important;
}

.account-nav-logout:hover {
    background: rgba(230, 57, 70, 0.04) !important;
}

/* Account stat cards */
.account-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.account-stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all 0.2s var(--ease);
    text-decoration: none;
}

.account-stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.asc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.asc-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--clr-text);
    line-height: 1.1;
}

.asc-label {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

.account-section {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.account-section h2 {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--clr-stone);
}

.empty-state-sm {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    color: var(--clr-text-muted);
}

.empty-state-sm p {
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

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

    .account-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Breakpoints: 1024px (tablet), 768px (small tablet), 480px (phone)
   ============================================================ */

/* ─── TABLET: 1024px ──────────────────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    /* Header */
    .search-bar {
        max-width: 400px;
    }

    .header-action span {
        display: none;
    }

    .header-action {
        padding: 0.5rem;
    }

    /* Hero */
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    /* Promo Banner */
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    /* Product Detail */
    .pd-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* ─── SMALL TABLET / LARGE PHONE: 768px ───────────────────── */
@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    /* Global spacing — breathe */
    .container {
        padding: 0 1.25rem;
    }

    /* Top Bar */
    .top-bar {
        padding: 0.5rem 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .top-bar a {
        margin-left: 0.5rem;
    }

    /* Header — clean mobile header */
    .header-main {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.85rem 0;
    }

    .logo {
        margin-right: auto;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
        order: 3;
    }

    .search-bar {
        order: 4;
        flex: none;
        width: 100%;
        max-width: 100%;
        margin: 0.6rem 0 0;
    }

    .header-actions {
        margin-left: 0;
        order: 2;
    }

    .header-action span {
        display: none;
    }

    /* Navigation - mobile slide-down menu */
    .nav-bar {
        overflow: hidden;
    }

    .nav-bar.nav-open {
        overflow: visible;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .main-nav.open {
        max-height: 600px;
    }

    .main-nav a {
        padding: 0.9rem 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        justify-content: flex-start;
        font-size: 0.9rem;
    }

    .main-nav a.active::after {
        display: none;
    }

    /* Sections — generous spacing between modules */
    .section {
        padding: var(--space-2xl) 0;
    }

    .section-sm {
        padding: var(--space-xl) 0;
    }

    .section-alt {
        margin: var(--space-md) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header p {
        font-size: 0.88rem;
        max-width: 90%;
        margin: 0 auto;
    }

    /* Hero — spacious mobile hero */
    .hero {
        min-height: auto;
    }

    .hero .container {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero h1,
    .hero-heading {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: var(--space-lg);
    }

    .hero-tagline {
        font-size: 0.76rem;
        margin-bottom: var(--space-md);
    }

    .hero-buttons {
        gap: var(--space-sm);
    }

    .hero-trust {
        margin-top: var(--space-lg);
        gap: 0.5rem;
    }

    .hero-trust-badge {
        font-size: 0.72rem;
        padding: 0.3em 0.7em;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-md);
    }

    .stat-card .stat-number {
        font-size: 1.3rem;
    }

    /* Product Grid — generous spacing */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-card .card-body {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }

    .product-card .card-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .product-card .card-rating {
        margin-bottom: 0.3rem;
    }

    .card-price .price-current {
        font-size: 0.95rem;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .category-card {
        padding: var(--space-md);
    }

    .category-card h3 {
        font-size: 0.82rem;
    }

    .category-card p {
        display: none;
    }

    /* Product Detail — spacious mobile detail */
    .pd-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .pd-gallery {
        position: static;
    }

    .pd-title {
        font-size: 1.3rem;
        margin-bottom: var(--space-sm);
    }

    .pd-price {
        font-size: 1.5rem;
    }

    .pd-trust {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pd-cart-form {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .pd-wish-btn {
        width: 100%;
        height: auto;
        padding: 0.7em;
    }

    .pd-tab-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.82rem;
    }

    /* Cart — clean mobile cart */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .cart-table-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .cart-summary-card {
        position: static;
    }

    /* Auth Pages */
    .auth-page {
        padding: var(--space-xl) 0;
    }

    .auth-wrapper {
        padding: 0 var(--space-md);
    }

    .auth-card {
        padding: var(--space-xl) !important;
    }

    /* Footer — spacious footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-main {
        padding: var(--space-2xl) 0;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-payments {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Flash Messages */
    .flash-messages {
        top: auto;
        bottom: var(--space-md);
        right: var(--space-md);
        left: var(--space-md);
        max-width: none;
    }

    /* Page Header / Breadcrumb */
    .page-header {
        padding: var(--space-lg) 0;
    }

    .page-header h1 {
        font-size: 1.3rem;
        margin-top: var(--space-sm);
    }

    .breadcrumb {
        font-size: 0.78rem;
        flex-wrap: wrap;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: var(--space-xs);
        margin-top: var(--space-xl);
    }

    /* Admin Tables */
    .admin-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .admin-panel {
        overflow: hidden;
    }

    /* Newsletter — spacious */
    .newsletter {
        padding: var(--space-2xl) 0;
    }

    .newsletter h2 {
        font-size: 1.3rem;
        margin-bottom: var(--space-sm);
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-md);
        gap: var(--space-sm);
    }

    .newsletter-form input {
        border-radius: var(--radius-sm);
        padding: 0.8rem 1rem;
    }

    .newsletter-form button {
        border-radius: var(--radius-sm);
        padding: 0.8rem 1.5rem;
    }

    /* Trust Grid */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .trust-item {
        padding: var(--space-lg) var(--space-md);
    }

    /* Product Sidebar (shop page) */
    .shop-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .shop-sidebar {
        order: 2;
    }

    /* Checkout */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ─── PHONE: 480px ────────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --space-xl: 1.8rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }

    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Header */
    .logo a {
        font-size: 1.1rem;
    }

    .header-actions {
        gap: 0.2rem;
    }

    .header-action {
        padding: 0.4rem;
    }

    .header-action svg {
        width: 20px;
        height: 20px;
    }

    .header-action .badge {
        width: 16px;
        height: 16px;
        font-size: 0.58rem;
    }

    .search-bar input {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }

    .search-bar button {
        padding: 0.6rem 0.9rem;
    }

    /* Hero — spacious mobile hero */
    .hero {
        min-height: auto;
    }

    .hero .container {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-heading {
        font-size: 1.4rem;
        line-height: 1.25;
        margin-bottom: var(--space-md);
    }

    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: var(--space-lg);
    }

    .hero-tagline {
        font-size: 0.72rem;
        margin-bottom: var(--space-md);
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-strip {
        flex-wrap: wrap;
        gap: var(--space-sm);
        padding: var(--space-md);
        margin-top: var(--space-lg);
    }

    .hero-stat {
        flex: 1 0 40%;
        padding: var(--space-sm) 0;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat__number {
        font-size: 1.3rem;
    }

    .hero-trust {
        flex-wrap: wrap;
        margin-top: var(--space-lg);
    }

    .hero-trust-badge {
        font-size: 0.68rem;
    }

    .hero-orb--1 { width: 300px; height: 300px; }
    .hero-orb--2 { width: 200px; height: 200px; }
    .hero-orb--3 { display: none; }

    /* Product Grid — spacious cards */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-card .card-body {
        padding: 0.6rem 0.65rem 0.75rem;
    }

    .product-card .card-title {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.25rem;
    }

    .product-card .card-category {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }

    .card-price .price-current {
        font-size: 0.88rem;
    }

    .card-price .price-original {
        font-size: 0.72rem;
    }

    .product-card .card-image {
        aspect-ratio: 1;
    }

    .badge-sale, .badge-new {
        font-size: 0.62rem !important;
        padding: 0.15em 0.4em !important;
    }

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

    .category-card {
        padding: var(--space-md);
    }

    .category-card .cat-icon {
        width: 40px;
        height: 40px;
    }

    .category-card .cat-icon svg {
        width: 18px;
        height: 18px;
    }

    .category-card h3 {
        font-size: 0.78rem;
    }

    /* Product Detail */
    .pd-title {
        font-size: 1.15rem;
    }

    .pd-price-block {
        padding: var(--space-md);
    }

    .pd-price {
        font-size: 1.3rem;
    }

    .pd-thumbs {
        gap: 0.4rem;
    }

    .pd-thumb {
        width: 56px;
        height: 56px;
    }

    .pd-meta-item {
        flex-direction: column;
        gap: 0.1rem;
    }

    .pd-tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pd-tab-btn {
        padding: 0.6rem 0.7rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .pd-tab-content {
        padding: var(--space-md);
    }

    /* Cart */
    .ct-product {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Auth */
    .auth-page {
        padding: var(--space-xl) 0;
    }

    .auth-card {
        border-radius: var(--radius-md) !important;
        padding: var(--space-lg) !important;
    }

    .auth-header h1 {
        font-size: 1.3rem;
    }

    /* Buttons — more touch-friendly */
    .btn {
        font-size: 0.84rem;
        padding: 0.6em 1.3em;
    }

    .btn-lg {
        font-size: 0.9rem;
        padding: 0.75em 1.5em;
    }

    /* Promo Banner */
    .promo-banner {
        padding: var(--space-xl);
        border-radius: var(--radius-md);
    }

    .promo-banner h3 {
        font-size: 1.2rem;
    }

    .promo-banner p {
        font-size: 0.85rem;
    }

    /* Trust Grid */
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .trust-item {
        padding: var(--space-md);
    }

    .trust-item h4 {
        font-size: 0.8rem;
    }

    .trust-item p {
        font-size: 0.72rem;
        line-height: 1.5;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.2rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    /* Newsletter */
    .newsletter h2 {
        font-size: 1.15rem;
    }

    .newsletter p {
        font-size: 0.85rem;
        margin-bottom: var(--space-md);
    }

    /* Footer */
    .footer-main {
        padding: var(--space-2xl) 0;
    }

    .footer-about p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .footer-col h4 {
        margin-bottom: var(--space-sm);
    }

    .footer-col a {
        font-size: 0.82rem;
        padding: 0.25em 0;
    }

    /* Account */
    .account-stat-card {
        padding: var(--space-md);
    }

    .asc-number {
        font-size: 1.1rem;
    }

    .account-section {
        padding: var(--space-md);
    }

    /* Admin */
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
        font-size: 0.78rem;
    }

    /* Form Groups — touch-friendly inputs */
    .form-group {
        margin-bottom: var(--space-md);
    }

    .form-group label {
        font-size: 0.84rem;
        margin-bottom: 0.3rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.88rem;
        padding: 0.65rem 0.85rem;
    }
}

/* ─── ULTRA SMALL: 360px ──────────────────────────────────── */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .logo a {
        font-size: 1rem;
    }

    .product-grid {
        gap: 0.5rem;
    }

    .hero-heading {
        font-size: 1.15rem;
    }

    .hero-desc {
        font-size: 0.82rem;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

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

    .pd-price {
        font-size: 1.15rem;
    }

    .pd-thumb {
        width: 48px;
        height: 48px;
    }

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

    .track-form {
        flex-direction: column;
    }
}

/* ─── SOURCE FROM CHINA ───────────────────────────────────── */

/* How It Works — 4 Steps */
.sourcing-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    margin-top: var(--space-xl);
}

.sourcing-step {
    text-align: center;
    max-width: 220px;
    padding: 0 var(--space-md);
    position: relative;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--clr-accent);
    color: var(--clr-white);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--clr-sand);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.sourcing-step h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.sourcing-step p {
    font-size: 0.82rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--clr-stone);
    margin-top: 70px;
    flex-shrink: 0;
}

/* Request Form */
.sourcing-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.sourcing-form-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.sourcing-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.sourcing-form-card .form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.sourcing-form-card .form-group {
    margin-bottom: var(--space-md);
}

.sourcing-form-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--clr-text);
}

.sourcing-form-card label .required {
    color: var(--clr-danger);
}

.sourcing-form-card input[type="text"],
.sourcing-form-card input[type="email"],
.sourcing-form-card input[type="tel"],
.sourcing-form-card input[type="url"],
.sourcing-form-card input[type="number"],
.sourcing-form-card textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    background: var(--clr-off-white);
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.sourcing-form-card input:focus,
.sourcing-form-card textarea:focus {
    border-color: var(--clr-primary-light);
    background: var(--clr-white);
    outline: none;
    box-shadow: 0 0 0 4px rgba(27, 73, 101, 0.08);
}

.sourcing-form-card .file-input {
    padding: 0.5rem;
    border: 2px dashed var(--clr-stone);
    border-radius: var(--radius-sm);
    width: 100%;
    background: var(--clr-off-white);
    cursor: pointer;
}

/* Tracking Page */
.sourcing-track-search {
    max-width: 500px;
    margin: 0 auto;
}

.track-form {
    display: flex;
    gap: var(--space-sm);
}

.track-form input {
    flex: 1;
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--clr-stone);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--clr-white);
    outline: none;
    transition: border-color 0.2s ease;
    text-transform: uppercase;
}

.track-form input:focus {
    border-color: var(--clr-primary-light);
}

.sourcing-track-result {
    margin-top: var(--space-xl);
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
}

.track-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.track-header p {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
}

/* Status Timeline */
.sourcing-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-lg) 0;
    overflow-x: auto;
    margin-bottom: var(--space-xl);
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 100px;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 16px);
    right: calc(-50% + 16px);
    height: 3px;
    background: var(--clr-stone);
    z-index: 0;
}

.timeline-step.completed:not(:last-child)::after {
    background: var(--clr-success);
}

.timeline-step.current:not(:last-child)::after {
    background: linear-gradient(90deg, var(--clr-success) 0%, var(--clr-stone) 100%);
}

.timeline-node {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xs);
    position: relative;
    z-index: 1;
    border: 3px solid var(--clr-stone);
    background: var(--clr-white);
}

.timeline-step.completed .timeline-node {
    background: var(--clr-success);
    border-color: var(--clr-success);
    color: var(--clr-white);
}

.timeline-step.current .timeline-node {
    border-color: var(--clr-primary);
    background: var(--clr-white);
}

.timeline-pulse {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--clr-primary);
    animation: timelinePulse 1.5s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.timeline-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    white-space: nowrap;
}

.timeline-step.completed .timeline-label {
    color: var(--clr-success);
}

.timeline-step.current .timeline-label {
    color: var(--clr-primary);
    font-weight: 700;
}

/* Cancelled Notice */
.sourcing-cancelled-notice {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    color: var(--clr-danger);
    margin-bottom: var(--space-xl);
}

/* Track Details */
.track-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.track-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.track-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--clr-sand);
}

.track-field {
    margin-bottom: var(--space-sm);
}

.track-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.15rem;
}

.track-field p,
.track-field a {
    font-size: 0.9rem;
}

.track-field-row {
    display: flex;
    gap: var(--space-xl);
}

.track-link {
    color: var(--clr-primary);
    font-weight: 500;
}

.tracking-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--clr-primary);
}

/* Quotation Breakdown */
.quote-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quote-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--clr-sand);
}

.quote-total {
    border-bottom: none;
    border-top: 2px solid var(--clr-stone);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-primary);
    padding-top: 0.7rem;
    margin-top: 0.3rem;
}

/* Photo Gallery */
.track-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.track-gallery a {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--clr-stone);
}

.track-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* WhatsApp Contact */
.track-contact {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--clr-sand);
    border-radius: var(--radius-lg);
}

.track-contact p {
    color: var(--clr-text-light);
    margin-bottom: var(--space-md);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25em 0.75em;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-new { background: #dbeafe; color: #1e40af; }
.status-quoted { background: #fef3c7; color: #92400e; }
.status-accepted { background: #d1fae5; color: #065f46; }
.status-paid { background: #a7f3d0; color: #047857; }
.status-sourcing { background: #e0e7ff; color: #3730a3; }
.status-inspecting { background: #ffedd5; color: #c2410c; }
.status-shipped { background: #bfdbfe; color: #1d4ed8; }
.status-delivered { background: #bbf7d0; color: #15803d; }
.status-cancelled { background: #fee2e2; color: #dc2626; }

/* Admin Sourcing */
.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-lg);
    align-items: flex-start;
}

.admin-detail-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.admin-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: sticky;
    top: 80px;
}

.admin-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.admin-card h3 {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--clr-sand);
}

.detail-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.detail-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    flex-shrink: 0;
}

.admin-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: var(--space-sm);
}

.admin-thumb {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--clr-stone);
}

.admin-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.admin-thumb-wrap {
    position: relative;
}

.thumb-delete {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--clr-danger);
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Admin Tabs (status filter) */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    padding: var(--space-xs);
    background: var(--clr-sand);
    border-radius: var(--radius-md);
}

.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.45em 0.9em;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--clr-text-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-tab:hover {
    background: var(--clr-white);
    color: var(--clr-text);
}

.admin-tab.active {
    background: var(--clr-white);
    color: var(--clr-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.tab-count {
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1em 0.5em;
    border-radius: 50px;
}

/* Sourcing mobile */
@media (max-width: 768px) {
    .sourcing-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .sourcing-form-card .form-row,
    .sourcing-form-card .form-row-3 {
        grid-template-columns: 1fr;
    }

    .track-details-grid {
        grid-template-columns: 1fr;
    }

    .sourcing-timeline {
        gap: 0;
        padding: var(--space-md) 0;
    }

    .timeline-label {
        font-size: 0.62rem;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

    .track-header {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .track-field-row {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    position: relative;
    background: var(--clr-primary-dark);
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-content h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

/* Story */
.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-prose {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--clr-text-light);
}

.about-story-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Mission / Vision */
.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.about-mv-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.about-mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--clr-primary-light);
    color: var(--clr-primary);
    margin-bottom: var(--space-md);
}

.about-mv-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.about-mv-card p {
    color: var(--clr-text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Why Choose Us */
.about-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.about-why-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.3s var(--ease);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.about-why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-accent);
}

.about-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--clr-sand);
    color: var(--clr-accent);
    margin-bottom: var(--space-md);
}

.about-why-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* Stats */
.about-stats-section {
    background: var(--clr-primary-dark);
    padding: 3rem 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-accent);
    margin-bottom: 0.2rem;
}

.about-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* CEO */
.about-ceo-card {
    display: flex;
    gap: var(--space-2xl);
    align-items: center;
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-ceo-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--clr-accent);
}

.about-ceo-quote {
    position: relative;
}

.about-ceo-quote svg {
    position: absolute;
    top: -10px;
    left: -5px;
}

.about-ceo-quote p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--clr-text-light);
    font-style: italic;
}

.about-ceo-name {
    font-weight: 700;
    color: var(--clr-text);
    margin-top: var(--space-md);
    font-size: 0.95rem;
}

/* Contact Grid */
.about-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.about-contact-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--clr-white);
    border: 1px solid var(--clr-stone);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.about-contact-card svg {
    color: var(--clr-primary);
    margin-bottom: var(--space-sm);
}

.about-contact-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.about-contact-card p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin: 0;
}

.about-contact-card a {
    color: var(--clr-primary);
    text-decoration: none;
}

/* About Responsive */
@media (max-width: 768px) {
    .about-hero-content h2 { font-size: 1.3rem; }
    .about-story-layout { grid-template-columns: 1fr; }
    .about-mv-grid { grid-template-columns: 1fr; }
    .about-why-grid { grid-template-columns: 1fr 1fr; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
    .about-ceo-card { flex-direction: column; text-align: center; }
    .about-contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .about-why-grid { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; }
    .about-contact-grid { grid-template-columns: 1fr; }
}
