@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    /* Palette */
    --navy:        #0a1628;
    --navy-2:      #0f2040;
    --teal:        #0891b2;
    --teal-dark:   #0e7490;
    --teal-xdark:  #155e75;
    --emerald:     #059669;
    --amber:       #d97706;
    --danger:      #dc2626;

    /* Surfaces */
    --bg:          #f0f4f8;
    --bg-2:        #f8fafc;
    --surface:     #ffffff;
    --surface-2:   #f4f8fc;

    /* Text */
    --text:        #0f172a;
    --text-2:      #1e3a5f;
    --muted:       #64748b;
    --muted-light: #94a3b8;

    /* Borders */
    --border:      #e2e8f0;
    --border-2:    #cbd5e1;

    /* Primary = Teal */
    --primary:         var(--teal);
    --primary-strong:  var(--teal-xdark);

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(10,22,40,.07), 0 1px 2px rgba(10,22,40,.05);
    --shadow:     0 4px 16px rgba(10,22,40,.09), 0 1px 4px rgba(10,22,40,.06);
    --shadow-lg:  0 12px 40px rgba(10,22,40,.13), 0 4px 12px rgba(10,22,40,.08);
    --shadow-xl:  0 24px 60px rgba(10,22,40,.18);

    /* Shape */
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .brand, .hero h1 {
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

img { display: block; max-width: 100%; }
/* ─── Layout ────────────────────────────────────────────────────────── */
.container {
    width: min(1200px, 100% - 2rem);
    margin: 0 auto;
}

.narrow { width: min(600px, 94vw); }

/* ─── Top Strip ─────────────────────────────────────────────────────── */
.top-strip {
    background: var(--navy);
    color: #94adc4;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.top-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0;
    gap: 1rem;
}

.top-strip p { margin: 0; }

.top-strip a {
    color: #7ec8e3;
    font-weight: 500;
}

.top-strip-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.top-strip-icons span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-strip-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.top-strip-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #67e3f9 !important;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.top-strip-phone:hover {
    color: #fff !important;
    text-decoration: none;
}

/* ─── Header ────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(10,22,40,.04);
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-weight: 800;
    font-size: 1.12rem;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-lk {
    color: var(--teal);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    justify-content: flex-end;
}

/* Admin panel: plain <a> links (no .nav-item class) */
.header-nav a:not(.nav-item) {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.46rem 0.82rem;
    border-radius: 8px;
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.header-nav a:not(.nav-item):hover {
    background: #f0f7ff;
    color: var(--teal-dark);
    text-decoration: none;
}

.header-nav a:not(.nav-item).active {
    background: #e8f4fd;
    color: var(--teal-dark);
}

/* ── Public site nav items (minimal icon + label) ──────────────────────── */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    transition: color 0.18s, transform 0.18s;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.nav-item:hover {
    color: var(--teal);
    text-decoration: none !important;
}

.nav-item:hover svg {
    transform: translateY(-1px);
}

.nav-item.active {
    color: var(--teal-dark);
}

/* Shop ── subtle teal text, no pill */
.nav-shop {
    color: var(--teal-dark);
    font-weight: 800;
}

.nav-shop:hover {
    color: var(--teal) !important;
    transform: translateY(-1px);
}

.nav-shop.active {
    color: var(--teal-dark) !important;
}

/* Cart ── subtle navy, relative for badge */
.nav-cart {
    color: var(--navy);
    position: relative;
}

.nav-cart:hover {
    color: var(--teal) !important;
    transform: translateY(-1px);
}

.nav-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
    line-height: 1;
    border: 1.5px solid #fff;
    pointer-events: none;
}

@media (max-width: 600px) {
    .nav-item span:not(.nav-cart-badge) { display: none; }
    .nav-item { padding: 0.35rem 0.55rem; }
    .top-strip-icons { display: none; }
    .top-strip .container { justify-content: center; }
    .top-strip-right { gap: 0.6rem; }
    .brand span { font-size: 0.78rem; letter-spacing: -0.01em; }
}

/* backward compat */
.pill-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 4px;
}

.cart-link {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px !important;
}

.cart-link:hover {
    background: #e8f4fd !important;
    border-color: #b3d4e9 !important;
}

.btn-nav-admin {
    background: var(--navy) !important;
    color: #fff !important;
    border-radius: 8px !important;
}

.btn-nav-admin:hover {
    background: var(--navy-2) !important;
    color: #fff !important;
}

/* ─── Links ─────────────────────────────────────────────────────────── */
a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn,
.btn-secondary,
.danger {
    border: 0;
    border-radius: 9px;
    padding: 0.7rem 1.1rem;
    min-height: 44px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.18s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn {
    color: #fff;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-xdark) 100%);
    box-shadow: 0 4px 14px rgba(8,145,178,.28);
}

.btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(8,145,178,.38);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn-secondary {
    background: var(--bg);
    color: var(--text-2);
    border: 1px solid var(--border-2);
}

.btn-secondary:hover {
    background: #e8f0fa;
    border-color: #b8cde0;
    text-decoration: none;
    transform: translateY(-1px);
}

.danger {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 4px 10px rgba(220,38,38,.22);
}

.danger:hover {
    filter: brightness(1.05);
    text-decoration: none;
}

.small {
    padding: 0.36rem 0.65rem;
    font-size: 0.8rem;
    border-radius: 7px;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--teal);
    color: var(--teal-dark);
    border-radius: 9px;
    padding: 0.58rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.18s;
}

.btn-outline:hover {
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ─── Main wrapper ──────────────────────────────────────────────────── */
main.container {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
}

/* ─── Top Search Bar (under header) ─────────────────────────────────── */
.top-search-wrap {
    background: #f0f4f8;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}

.top-search-wrap .hero-search-bar {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: none;
    backdrop-filter: none;
}

.top-search-wrap .hero-search-bar:focus-within {
    border-color: var(--teal);
    background: #fff;
}

.top-search-wrap .hero-search-bar input[type="search"] {
    color: var(--text);
}

.top-search-wrap .hero-search-bar input::placeholder {
    color: rgba(0,0,0,.38);
}

.top-search-wrap .hero-search-icon {
    opacity: 0.45;
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin: 1.4rem 0 1.2rem;
}

.hero-xl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: #040c1a;
    color: #e8f6ff;
    padding: 0;
    min-height: clamp(320px, 42vw, 480px);
    text-align: center;
}

/* Centered hero content wrapper */
.hero-center-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 3.5rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

/* Decorative circles */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 380px;
    height: 380px;
    right: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    z-index: 2;
}

.hero::after {
    width: 240px;
    height: 240px;
    left: 25%;
    bottom: -100px;
    background: radial-gradient(circle, rgba(8,145,178,.18) 0%, transparent 70%);
    z-index: 2;
}

.hero-copy,
.hero-cards {
    position: relative;
    z-index: 3;
    /* z-index handled by hero-bottom-content now */
}

/* Gradient overlay — darker so image shows but text is readable */
.hero-bottom-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(3,11,28,.28) 0%,
        rgba(3,11,28,.42) 40%,
        rgba(3,11,28,.62) 75%,
        rgba(3,11,28,.78) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero .eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #7ecfe8;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero .eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #7ecfe8;
    border-radius: 99px;
}

.hero h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    line-height: 1.12;
    font-weight: 800;
    color: #fff;
}

.hero h1 em {
    font-style: normal;
    color: #67e3f9;
}

.hero .hero-sub {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    color: rgba(220,240,255,.8);
    max-width: 520px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hero-outline-btn {
    color: #fff !important;
    border-color: rgba(255,255,255,.45) !important;
}

/* ── Hero Search Bar ── */
.hero-search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 540px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 50px;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s, background 0.2s;
}

.hero-search-bar:focus-within {
    border-color: rgba(103,227,249,.7);
    background: rgba(255,255,255,.18);
}

.hero-search-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    opacity: 0.75;
}

.hero-search-bar input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.92rem;
    padding: 0.45rem 0;
    outline: none;
    min-width: 0;
}

.hero-search-bar input::placeholder {
    color: rgba(200,230,250,.6);
}

.hero-search-bar button {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-xdark) 100%);
    color: #fff;
    border: none;
    border-radius: 44px;
    padding: 0.55rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: filter 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-search-bar button:hover {
    filter: brightness(1.1);
}

/* ── Hero trust strip ── */
.hero-trust-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    background: rgba(0,0,0,.38);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 0.75rem;
    color: rgba(200,230,250,.85);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.hero-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-content: center;
    align-items: stretch;
}

.mini-card {
    flex: 1 1 160px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.mini-card:hover {
    background: rgba(255,255,255,.15);
}

.mini-card .kicker {
    margin: 0 0 0.3rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(180,225,245,.8);
    font-weight: 700;
}

.mini-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.02rem;
    color: #fff;
    font-weight: 700;
}

.mini-card p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(210,235,250,.8);
    line-height: 1.5;
}

/* ─── Trust / Feature Band ──────────────────────────────────────────── */
.feature-band {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 1.4rem;
}

.feature-band article {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-band article:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.feature-icon.teal   { background: #dcf7ff; color: var(--teal-dark); }
.feature-icon.green  { background: #dcfce7; color: #059669; }
.feature-icon.amber  { background: #fef3c7; color: #d97706; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }

.feature-band h4 {
    margin: 0 0 0.2rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text);
}

.feature-band p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

/* ─── Catalog Toolbar ───────────────────────────────────────────────── */
.catalog-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.5rem 0 0.8rem;
}

.catalog-toolbar h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
}

.catalog-toolbar .muted { margin: 0.2rem 0 0; font-size: 0.88rem; }

/* ─── Category Chips ────────────────────────────────────────────────── */
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.chip {
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    border: 1.5px solid var(--border-2);
    background: var(--surface);
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.83rem;
    transition: all 0.15s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.chip:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
    text-decoration: none;
    background: #f0f9ff;
}

.chip.active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--teal-xdark));
    box-shadow: 0 3px 10px rgba(8,145,178,.3);
}

/* ─── Product Grid ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.1rem; }
.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ─── Stat Dashboard Cards ──────────────────────────────────────────── */
.stat-card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}
.stat-card-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}
.stat-card-label {
    margin: 0 0 0.2rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}
.stat-card-hint {
    margin: 0.3rem 0 0;
    font-size: 0.78rem;
    color: var(--teal);
    font-weight: 600;
}
.text-teal { color: var(--teal); }

/* ─── Cards ─────────────────────────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
}

/* ─── Product Card ──────────────────────────────────────────────────── */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.product-card-image {
    aspect-ratio: 4 / 3;
    background: var(--surface-2, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none; /* when used as <a> */
    cursor: pointer;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    border: none;
    transition: transform 0.35s ease;
    padding: 0.5rem;
    box-sizing: border-box;
}

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

.product-card-image .image-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: 0;
    border: none;
}

.product-card-body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.product-card .product-category {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-dark);
    font-weight: 700;
}

.product-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.product-card .price {
    margin: 0.3rem 0 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--teal-xdark);
}

.product-card .btn {
    margin-top: auto;
    width: 100%;
    border-radius: 7px;
}

.grid.products {
    margin-bottom: 0.5rem;
}

.home-category-section {
    margin-top: 2rem;
}

.home-category-section .catalog-toolbar {
    margin-bottom: 0.9rem;
}

/* badge on card */
.product-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--teal);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    z-index: 2;
}

.product-badge.sale { background: #e11d48; }
.product-badge.new  { background: var(--emerald); }

/* ─── Product Single ────────────────────────────────────────────────── */
.product-single {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(280px, 500px) 1fr;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow);
}

.product-single .cover {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface-2);
}

.product-panel h1 {
    margin: 0.3rem 0 0.6rem;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.product-tag {
    margin: 0;
    display: inline-flex;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: var(--teal-xdark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.product-description {
    color: var(--text-2);
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.8rem 0 1rem;
}

.product-price-block .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal-xdark);
    margin: 0;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 0.7rem;
}

.stock-pill::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

.product-buy-form {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.product-buy-form input {
    max-width: 90px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9px;
    border: 1.5px solid var(--border-2);
}

.product-gallery-grid {
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 0.5rem;
}

.gallery-thumb {
    padding: 0;
    border: 2px solid var(--border);
    border-radius: 9px;
    background: var(--surface-2);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.15s;
}

.gallery-thumb:hover { border-color: var(--teal); }

.product-gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* ─── Page Head ─────────────────────────────────────────────────────── */
.page-head {
    padding: 1.2rem 0 0.6rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.2rem;
}

.page-head h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
}

.page-head p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

/* ─── Checkout Layout ───────────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: start;
}

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

.summary-card {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.summary-card h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 800;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
}

.summary-row strong {
    font-weight: 700;
    color: var(--teal-xdark);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.7rem 0;
}

.summary-total {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 800;
}

.summary-total .big-price {
    font-size: 1.35rem;
    color: var(--teal-xdark);
}

/* ─── Forms ─────────────────────────────────────────────────────────── */
.form {
    display: grid;
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.3rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-2);
}

input,
select,
textarea {
    width: 100%;
    border: 1.5px solid var(--border-2);
    border-radius: 9px;
    padding: 0.72rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
    min-height: 44px;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(8,145,178,.12);
}

textarea { min-height: 100px; resize: vertical; }

.check {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    font-weight: 500;
}

.check input { width: auto; }

.form-row {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr 1fr;
}

/* ─── Table ─────────────────────────────────────────────────────────── */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.table th,
.table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.table th {
    background: var(--surface-2);
    color: var(--text-2);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #fafcff; }

/* ─── Image Helpers ─────────────────────────────────────────────────── */
.image-placeholder {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    border: 1.5px dashed #c5d6e8;
    background: var(--surface-2);
    color: var(--muted-light);
    aspect-ratio: 4 / 3;
    font-size: 0.85rem;
    font-weight: 600;
}

.image-placeholder.large { min-height: 340px; }

.thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.thumb-large {
    width: min(250px, 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.image-preview { display: grid; gap: 0.45rem; }

/* ─── Badges & Pills ────────────────────────────────────────────────── */
.pill {
    background: #e0f2fe;
    color: var(--teal-xdark);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.price {
    font-weight: 800;
    color: var(--teal-xdark);
    font-size: 1rem;
    margin: 0.2rem 0 0.4rem;
}

.muted { color: var(--muted); }

/* ─── Utility ───────────────────────────────────────────────────────── */
.row            { display: flex; align-items: center; }
.spread         { justify-content: space-between; }
.center         { align-items: center; }
.gap-sm         { gap: 0.5rem; }
.big            { font-size: 2.2rem; font-weight: 800; margin: 0.1rem 0 0; line-height: 1; color: var(--navy); }

/* ─── Alerts ────────────────────────────────────────────────────────── */
.notice {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #14532d;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
}

.error {
    background: #fff1f2;
    border: 1.5px solid #fda4af;
    color: #9f1239;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
}

/* ─── Pagination ────────────────────────────────────────────────────── */
.pagination-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.pagination-summary {
    color: var(--text-2);
    font-size: 0.87rem;
    margin: 0;
}

.pagination-summary strong {
    color: var(--text-1);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0;
    justify-content: center;
}

.page-link {
    min-width: 38px;
    text-align: center;
    border: 1.5px solid var(--border-2);
    background: var(--surface);
    color: var(--text-2);
    border-radius: 8px;
    padding: 0.38rem 0.55rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
    text-decoration: none;
    background: #f0f9ff;
}

.page-link.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 3px 10px rgba(8,145,178,.28);
}

/* ─── Empty State ───────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }
.empty-state p   { color: var(--muted); margin: 0 0 1.2rem; }

/* ─── Footer ────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: 3rem;
    background: var(--navy);
    color: #8faec8;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    padding: 2.8rem 0 1.8rem;
}

.footer-brand .brand {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
}

.footer-brand .brand-logo {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    margin: 0 0 1.2rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #7a9ab8;
    max-width: 280px;
}

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

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    color: #7a9ab8;
    font-size: 0.9rem;
    transition: all 0.15s;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.2);
    text-decoration: none;
}

.footer-grid h4 {
    margin: 0 0 1rem;
    color: #e2eaf2;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-grid ul li a {
    color: #7a9ab8;
    font-size: 0.88rem;
    transition: color 0.15s;
    text-decoration: none;
}

.footer-grid ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom small {
    color: #5a7a96;
    font-size: 0.82rem;
}

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

.payment-badge {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: #8aacca;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Footer SEO city strip ─────────────────────────────────────────── */
.footer-seo-cities {
    background: rgba(0,0,0,.18);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 0.9rem 0;
}

.footer-seo-cities p {
    font-size: 0.75rem;
    color: #4d6e88;
    margin: 0;
    line-height: 1.7;
}

.footer-seo-cities a {
    color: #4d6e88;
    text-decoration: none;
}

.footer-seo-cities a:hover {
    color: #8aacca;
}

/* ─── Admin Gallery ─────────────────────────────────────────────────── */
.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.7rem;
}

.admin-gallery-item {
    display: grid;
    gap: 0.35rem;
    padding: 0.45rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-2);
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 7px;
}

/* ─── Summary ───────────────────────────────────────────────────────── */
.summary {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem;
}

/* ─── Animations ────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero      { animation: fadeUp 0.5s ease both; }
.feature-band article { animation: fadeUp 0.45s ease both; }
.product-card { animation: fadeUp 0.4s ease both; }

.product-card:nth-child(2)  { animation-delay: 0.04s; }
.product-card:nth-child(3)  { animation-delay: 0.08s; }
.product-card:nth-child(4)  { animation-delay: 0.12s; }
.product-card:nth-child(5)  { animation-delay: 0.16s; }
.product-card:nth-child(6)  { animation-delay: 0.20s; }
.product-card:nth-child(7)  { animation-delay: 0.24s; }
.product-card:nth-child(8)  { animation-delay: 0.28s; }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .feature-band { grid-template-columns: repeat(2, 1fr); }
    .footer-grid  { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { display: none; }
}

@media (max-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .summary-card     { position: static; }
    .hero-xl { min-height: clamp(280px, 55vw, 380px); }
    .hero-center-content { padding-bottom: 4rem; }
    .hero-trust-strip { gap: 1rem; font-size: 0.7rem; }
    .hero-search-bar { max-width: 100%; }
    .hero-bottom-content { grid-template-columns: 1fr; }
    .hero-cards { flex-direction: row; }
    .mini-card  { flex: 1 1 140px; }
}

@media (max-width: 768px) {
    .feature-band    { grid-template-columns: repeat(2, 1fr); }
    .footer-grid     { grid-template-columns: 1fr 1fr; }
    .product-single  { grid-template-columns: 1fr; }

    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .page-cart {
        overflow-x: hidden;
    }

    .page-cart main.container {
        padding-bottom: 8rem;
    }

    .page-cart #cart-table-wrap,
    .page-cart .cart-table-card,
    .page-cart .cart-summary-card {
        min-width: 0;
    }

    .page-cart #cart-table-wrap {
        overflow: visible;
        padding: 0.9rem;
    }

    .page-cart #cart-table {
        display: block;
        overflow: visible;
        white-space: normal;
        border: none;
        background: transparent;
        min-width: 0;
    }

    .page-cart #cart-table thead {
        display: none;
    }

    .page-cart #cart-table tbody {
        display: grid;
        gap: 0.9rem;
    }

    .page-cart #cart-table tr {
        display: block;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--surface);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }

    .page-cart #cart-table td {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 0.85rem;
        border-bottom: 1px solid var(--border);
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-align: left !important;
    }

    .page-cart #cart-table td::before {
        content: attr(data-label);
        min-width: 0;
        color: var(--muted);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .page-cart #cart-table tr:last-child td:last-child {
        border-bottom: none;
    }

    .page-cart #cart-table .cart-product-cell {
        display: block;
    }

    .page-cart #cart-table .cart-product-cell::before {
        display: block;
        margin-bottom: 0.35rem;
    }

    .page-cart #cart-table .cart-qty-cell,
    .page-cart #cart-table .cart-action-cell,
    .page-cart #cart-table .cart-total-cell,
    .page-cart #cart-table .cart-price-cell {
        align-items: flex-start;
    }

    .page-cart #cart-table .cart-qty-cell .qty-control,
    .page-cart #cart-table .cart-qty-cell .qty-stock-warn,
    .page-cart #cart-table .cart-action-cell .cart-remove-btn {
        margin-left: 0;
        align-self: flex-start;
    }

    .page-cart #cart-table .cart-total-cell {
        font-size: 1rem;
    }

    .page-cart #cart-table .cart-action-cell {
        justify-content: flex-start;
    }

    .page-cart #cart-table .cart-action-cell::before {
        display: block;
    }

    .page-cart .cart-actions {
        justify-content: space-between;
    }

    .page-cart .wa-fab {
        bottom: 7rem;
    }

    .header-nav .btn-nav-admin { display: none; }
}

@media (max-width: 540px) {
    .feature-band { grid-template-columns: 1fr; }
    .footer-grid  { grid-template-columns: 1fr; }
    .hero h1      { font-size: 1.5rem; }
    .form-row     { grid-template-columns: 1fr; }
    .top-strip-right p { display: none; }
    /* Larger touch targets for product action buttons */
    .product-card .btn { padding: 0.65rem 1rem; font-size: 0.85rem; }
    /* Checkout table compact */
    .cart-table td, .cart-table th { padding: 0.5rem 0.4rem; }
    .page-cart #cart-table-wrap { padding: 0.75rem; }
    .page-cart #cart-table td { padding: 0.7rem 0.75rem; }
    .page-cart #cart-table td::before { min-width: 0; }
    .page-cart .wa-fab { right: 1rem; bottom: 6.25rem; }
    /* Stat cards stack */
    .stats { grid-template-columns: 1fr 1fr; }
}

/* ── Shop Navigation Button ──────────────────────────────────────────────── */
.btn-nav-shop {
    background: var(--teal);
    color: #fff !important;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.18s, transform 0.15s;
    white-space: nowrap;
}
.btn-nav-shop:hover,
.btn-nav-shop.active {
    background: var(--teal-dark);
    transform: translateY(-1px);
    text-decoration: none;
}

/* ── Shop page header ────────────────────────────────────────────────────── */
.shop-page-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1.6rem 0 0.6rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.shop-page-head h1 {
    font-size: 1.5rem;
    margin: 0 0 0.15rem;
}
.shop-result-count { margin: 0; font-size: 0.88rem; }

/* ── Filter bar (single horizontal row) ──────────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;
}
.filter-bar-search {
    display: flex;
    align-items: center;
    flex: 1 1 200px;
    min-width: 140px;
    padding: 0 0.75rem;
    gap: 0.4rem;
    border-right: 1px solid var(--border);
    background: #fff;
}
.filter-bar-search:focus-within {
    background: #f0fbff;
}
.filter-bar-icon { color: var(--muted); font-size: 0.95rem; flex-shrink: 0; }
.filter-bar-search input {
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    font-size: 0.88rem;
    width: 100%;
    padding: 0.6rem 0;
    color: var(--text);
}
.filter-bar-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    border-right: 1px solid var(--border);
    min-width: 0;
    flex-shrink: 0;
    background: #fff;
}
.filter-bar-field:focus-within { background: #f0fbff; }
.filter-bar-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.1rem;
    white-space: nowrap;
}
.filter-bar-field input,
.filter-bar-field select {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--text);
    padding: 0;
    width: 100%;
    cursor: pointer;
    min-width: 80px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
}
.filter-bar-field input[type="number"] { min-width: 80px; max-width: 100px; }
.filter-bar-field select {
    min-width: 100px;
    padding-right: 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px;
}
.filter-bar-btn {
    flex-shrink: 0;
    border: none;
    background: var(--teal);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: background 0.18s;
    white-space: nowrap;
}
.filter-bar-btn:hover { background: var(--navy); }
.filter-bar-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 0.8rem;
    font-size: 1.2rem;
    color: var(--muted);
    text-decoration: none;
    border-left: 1px solid var(--border);
    transition: color 0.15s, background 0.15s;
    background: #fff;
}
.filter-bar-clear:hover { color: #dc2626; background: #fef2f2; }

/* ── Active filter pills ─────────────────────────────────────────────────── */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    background: #e0f7f5;
    border: 1px solid var(--teal);
    color: var(--teal);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.active-filter-tag a {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.7;
}
.active-filter-tag a:hover { opacity: 1; }

/* ── Shop product grid ───────────────────────────────────────────────────── */
.shop-grid {
    margin-top: 0.5rem;
}

/* ── Pagination ellipsis ─────────────────────────────────────────────────── */
.page-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.5rem;
    color: var(--muted);
    font-size: 0.88rem;
}

/* ── Responsive filter bar ───────────────────────────────────────────────── */
@media (max-width: 860px) {
    .filter-bar { flex-wrap: wrap; border-radius: var(--radius); }
    .filter-bar-search { border-right: none; border-bottom: 1px solid var(--border); flex: 1 1 100%; }
    .filter-bar-field { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid var(--border); }
    .filter-bar-field:nth-child(odd) { border-right: 1px solid var(--border); }
    .filter-bar-btn { flex: 1 1 auto; padding: 0.6rem 1rem; }
    .filter-bar-clear { flex: 0 0 48px; border-left: 1px solid var(--border); }
}
@media (max-width: 540px) {
    .filter-bar-field { flex: 1 1 100%; border-right: none !important; }
}

/* ── View All CTA (homepage) ─────────────────────────────────────────────── */
.view-all-cta {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
    margin-top: 0.5rem;
}
.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 2rem;
    border: 2px solid var(--navy);
    border-radius: var(--radius-lg);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
}

/* ── Order Management ────────────────────────────────────────────────────── */

/* Status pills – list & view */
.ord-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.os-pending      { background: #fef3c7; color: #92400e; }
.os-awaiting     { background: #ede9fe; color: #5b21b6; }
.os-paid         { background: #d1fae5; color: #065f46; }
.os-processing   { background: #dbeafe; color: #1e40af; }
.os-dispatched   { background: #e0f2fe; color: #0c4a6e; }
.os-delivered    { background: #dcfce7; color: #14532d; }
.os-cancelled    { background: #f1f5f9; color: #475569; }
.os-failed       { background: #fee2e2; color: #991b1b; }
.os-chargeback   { background: #fce7f3; color: #9d174d; }

/* Issue badge */
.ord-issue-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.18rem 0.55rem;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #fca5a5;
}

/* Payment badge */
.ord-pay-badge {
    display: inline-flex;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.pay-cod    { background: #fef9c3; color: #854d0e; }
.pay-online { background: #dbeafe; color: #1e3a8a; }
.pay-bank   { background: #dcfce7; color: #166534; }

/* Issue row highlight */
.ord-row-issue td { background: #fff8f8 !important; }
.ord-row-issue:hover td { background: #fff1f1 !important; }

/* Stats bar */
.ord-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}
.ord-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    border: 1.5px solid var(--border-2);
    background: var(--surface);
    color: var(--text-2);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.ord-stat-pill:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
    text-decoration: none;
    background: #f0f9ff;
}
.ord-stat-pill.active {
    background: linear-gradient(135deg, var(--teal), var(--teal-xdark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(8,145,178,.28);
}
.ord-stat-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 0 0.3rem;
    height: 18px;
    border-radius: 99px;
    background: rgba(0,0,0,.12);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
}
.ord-stat-pill.active span { background: rgba(255,255,255,.25); }

/* Search form */
.ord-search-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.ord-search-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
    align-items: end;
}
.ord-search-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
}
.ord-issues-check {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
    flex-direction: row !important;
}
.ord-issues-check input {
    width: auto;
    min-height: auto;
    margin: 0;
    cursor: pointer;
}
.ord-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ord-field-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.ord-field input,
.ord-field select {
    padding: 0.5rem 0.7rem;
    font-size: 0.86rem;
    min-height: 38px;
    border-radius: 8px;
}
/* .ord-field-check merged into ord-field in orders.php */

/* Orders table */
.ord-table td { vertical-align: top; padding: 0.65rem 0.7rem; }
.ord-table th  { white-space: nowrap; }

@media (max-width: 1100px) {
    .ord-search-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .ord-search-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .ord-stats-bar { gap: 0.3rem; }
    .ord-stat-pill { font-size: 0.76rem; padding: 0.25rem 0.6rem; }
    .ord-search-grid { grid-template-columns: 1fr; }
    .ord-search-actions { flex-wrap: wrap; }
    .ord-search-actions > div { margin-left: 0; width: 100%; }
    .ord-search-actions > div .btn,
    .ord-search-actions > div .btn-secondary { flex: 1; justify-content: center; }
}

/* ── Admin search-bar input group ──────────────────────────────────────── */
.search-bar {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border-2);
    border-radius: 9px;
    overflow: hidden;
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.search-bar:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(8,145,178,.12);
}
.search-bar input {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    outline: none;
    box-shadow: none !important;
    width: 100%;
}
.search-bar input:focus {
    border-color: transparent;
    box-shadow: none;
}
.search-bar button {
    flex-shrink: 0;
    border: none;
    border-left: 1.5px solid var(--border-2);
    background: var(--surface-2, #f3f4f6);
    color: var(--text-2, #374151);
    padding: 0 0.85rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s;
    border-radius: 0;
    min-height: 38px;
    line-height: 1;
}
.search-bar button:hover {
    background: var(--teal);
    color: #fff;
}

/* ── WhatsApp Floating Action Button ────────────────────────────────────── */
.wa-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 7000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem 0.65rem 0.85rem;
    background: #25d366;
    color: #fff;
    border-radius: 3rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(37,211,102,.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(37,211,102,.55);
    color: #fff;
}
.wa-fab svg {
    flex-shrink: 0;
}
@media (max-width: 540px) {
    .wa-fab span { display: none; }
    .wa-fab { padding: 0.8rem; border-radius: 50%; }
}

/* ─── Add-to-Cart fly dot ───────────────────────────────────────────── */
.cart-fly-dot {
    position: fixed;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--teal);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(8,145,178,.5);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

/* ─── Add-to-Cart success modal ─────────────────────────────────────── */
.atc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.45);
    backdrop-filter: blur(3px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.atc-overlay.open { display: flex; }

.atc-modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2rem 2rem 1.6rem;
    max-width: 400px;
    width: calc(100% - 2rem);
    text-align: center;
    animation: atcPop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.atc-modal-icon {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.atc-modal h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    color: var(--teal-xdark);
}
.atc-modal p {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
}
.atc-modal-btns {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}
@keyframes atcPop {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* ─── Cart bounce animation ─────────────────────────────────────────── */
@keyframes cartBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.35); }
    60%  { transform: scale(0.92); }
    80%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.cart-link.bouncing {
    animation: cartBounce 0.55s ease forwards;
}

/* ─── Cart preview panel (mini-cart) ───────────────────────────────── */
.cart-preview-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 8000;
}
.cart-preview-overlay.open { display: block; }

.cart-preview {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 100vw;
    background: var(--surface);
    box-shadow: -4px 0 40px rgba(10,22,40,0.18);
    display: flex;
    flex-direction: column;
    z-index: 8001;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-preview-overlay.open .cart-preview {
    transform: translateX(0);
}
.cart-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.3rem 0.9rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-preview-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}
.cart-preview-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--muted);
    line-height: 1;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.cart-preview-close:hover { background: var(--surface-2); color: var(--text); }

.cart-preview-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem 1.1rem;
}
.cart-preview-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}
.cart-preview-item:last-child { border-bottom: none; }
.cart-preview-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
}
.cart-preview-thumb-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: var(--surface-2);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}
.cart-preview-item-info { flex: 1; min-width: 0; }
.cart-preview-item-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}
.cart-preview-item-meta {
    font-size: 0.8rem;
    color: var(--muted);
}
.cart-preview-item-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--teal-xdark);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0.15rem;
}

.cart-preview-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
}
.cart-preview-empty span { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }

.cart-preview-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 1.3rem;
    flex-shrink: 0;
}
.cart-preview-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}
.cart-preview-subtotal strong {
    font-size: 1.05rem;
    color: var(--teal-xdark);
}

/* ─── Bank deposit info box ─────────────────────────────────────────── */
.bank-info-box {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-top: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.65;
    white-space: pre-wrap;
    color: var(--text-2);
}
.bank-info-box strong { color: var(--teal-xdark); }

/* ─── Payment slip upload card ──────────────────────────────────────── */
.slip-upload-card {
    max-width: 560px;
    margin: 1.5rem auto 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.6rem;
}
.slip-upload-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--teal-xdark);
}
.slip-upload-card label {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.slip-upload-card input[type="file"] {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.88rem;
}
.slip-ok {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
}
.slip-err {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
}

/* ─── Cart qty controls ─────────────────────────────────────────────── */
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-2);
    border-radius: 8px;
    overflow: hidden;
}
.qty-control button {
    background: var(--surface-2);
    border: none;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--teal-dark);
    transition: background 0.15s;
    min-width: 34px;
}
.qty-control button:hover { background: #dbeafe; }
.qty-control input {
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    width: 54px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.3rem 0;
    background: var(--surface);
    color: var(--text);
    outline: none;
}
.qty-stock-warn {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO SLIDESHOW SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: opacity, transform;
    transform: scale(1.0);
}

/* Slide 1: starts immediately at full opacity (no delay flash) */
@keyframes heroSlideFirst {
    0%        { opacity: 1; transform: scale(1.00); }
    23%       { opacity: 1; transform: scale(1.07); }
    28%       { opacity: 0; transform: scale(1.07); }
    100%      { opacity: 0; transform: scale(1.00); }
}

/* Slides 2–4: fade in after delay */
@keyframes heroSlide {
    0%        { opacity: 0; transform: scale(1.00); }
    4%        { opacity: 1; transform: scale(1.00); }
    23%       { opacity: 1; transform: scale(1.07); }
    28%       { opacity: 0; transform: scale(1.07); }
    100%      { opacity: 0; transform: scale(1.00); }
}

/* 4 slides × 5s each = 20s total cycle */
.hero-slide.slide-1 { animation: heroSlideFirst 20s ease-in-out infinite 0s;    background: radial-gradient(ellipse 100% 80% at 85% 70%, rgba(6,182,212,.32) 0%, transparent 55%), radial-gradient(ellipse 70% 70% at 10% 15%, rgba(99,102,241,.2) 0%, transparent 55%), linear-gradient(135deg, #031120 0%, #091d38 35%, #0b3a58 65%, #0b5e78 100%); }
.hero-slide.slide-2 { animation: heroSlide      20s ease-in-out infinite 5s;   background: radial-gradient(ellipse 90% 80% at 10% 80%, rgba(139,92,246,.32) 0%, transparent 55%), radial-gradient(ellipse 70% 60% at 90% 10%, rgba(236,72,153,.18) 0%, transparent 55%), linear-gradient(135deg, #070312 0%, #160828 35%, #2b1862 65%, #1e1b4c 100%); }
.hero-slide.slide-3 { animation: heroSlide      20s ease-in-out infinite 10s;  background: radial-gradient(ellipse 90% 80% at 80% 15%, rgba(16,185,129,.28) 0%, transparent 55%), radial-gradient(ellipse 70% 60% at 10% 80%, rgba(6,182,212,.22) 0%, transparent 55%), linear-gradient(135deg, #020907 0%, #042014 35%, #06542b 65%, #055f42 100%); }
.hero-slide.slide-4 { animation: heroSlide      20s ease-in-out infinite 15s;  background: radial-gradient(ellipse 90% 70% at 20% 25%, rgba(245,158,11,.26) 0%, transparent 55%), radial-gradient(ellipse 70% 60% at 85% 80%, rgba(249,115,22,.2) 0%, transparent 55%), linear-gradient(135deg, #080503 0%, #1c0f05 35%, #3e1d09 65%, #5b2910 100%); }

/* When an uploaded image is set, add a dark overlay via ::before so text stays readable */
.hero-slide.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.38) 60%, rgba(0,0,0,.25) 100%);
    z-index: 1;
}

/* Dot grid overlay — tech feel */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Reduce-motion: only show first slide, no animation */
@media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none !important; opacity: 0 !important; }
    .hero-slide.slide-1 { opacity: 1 !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — TRUST / MARQUEE STRIP
   ══════════════════════════════════════════════════════════════════════════ */

.trust-marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 0.6rem 0;
    margin-bottom: 1.4rem;
}

.trust-marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

.trust-marquee-wrap:hover .trust-marquee-track { animation-play-state: paused; }

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

.trust-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.trust-marquee-item span.dot {
    width: 5px;
    height: 5px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — SECTION HEADER (modernised)
   ══════════════════════════════════════════════════════════════════════════ */

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.5rem 0 1.2rem;
}

.section-header-left { min-width: 0; }

.section-eyebrow {
    margin: 0 0 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--teal-dark);
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--teal), var(--emerald));
    border-radius: 99px;
}

.section-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
}

.section-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--teal), var(--emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    margin: 0.3rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP HERO BANNER
   ══════════════════════════════════════════════════════════════════════════ */

.shop-hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin: 1rem 0 0;
    padding: 1.3rem clamp(1.2rem, 3vw, 2rem) 1.4rem;
    background: radial-gradient(ellipse 80% 100% at 90% 50%, rgba(6,182,212,.22) 0%, transparent 60%),
                linear-gradient(135deg, #040e22 0%, #091e3c 40%, #0a3a58 80%, #0a4e6e 100%);
    color: #e8f6ff;
    animation: fadeUp 0.5s ease both;
}

.shop-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.shop-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.shop-hero-orb-1 {
    width: 220px;
    height: 220px;
    right: -60px;
    top: -80px;
    background: radial-gradient(circle, rgba(6,182,212,.14) 0%, transparent 70%);
}
.shop-hero-orb-2 {
    width: 140px;
    height: 140px;
    left: 30%;
    bottom: -60px;
    background: radial-gradient(circle, rgba(99,102,241,.1) 0%, transparent 70%);
}

.shop-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 800px;
}

.shop-hero-eyebrow {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #7ecfe8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #7ecfe8;
    border-radius: 99px;
}

.shop-hero-title {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.shop-hero-sub {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(200,230,250,.6);
}

/* Large Airbnb-style search input */
.shop-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.25rem 0.3rem 0.25rem 1.2rem;
    gap: 0.5rem;
    max-width: 540px;
    margin-top: 0.3rem;
    transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
    box-shadow: 0 2px 14px rgba(0,0,0,.2);
}

.shop-search-bar:focus-within {
    border-color: rgba(103,227,249,.6);
    background: rgba(255,255,255,.2);
    box-shadow: 0 0 0 5px rgba(6,182,212,.2), 0 4px 24px rgba(0,0,0,.3);
}

.shop-search-icon {
    font-size: 1.1rem;
    color: rgba(200,230,250,.7);
    flex-shrink: 0;
    line-height: 1;
}

.shop-search-bar input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #fff;
    padding: 0.4rem 0;
    min-height: unset;
    box-shadow: none;
    font-family: inherit;
}

.shop-search-bar input[type="search"]::placeholder {
    color: rgba(200,230,250,.5);
}

.shop-search-bar button {
    flex-shrink: 0;
    border: none;
    background: var(--teal);
    color: #fff;
    border-radius: 2.4rem;
    padding: 0.5rem 1.3rem;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(8,145,178,.35);
}

.shop-search-bar button:hover {
    background: var(--teal-xdark);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(8,145,178,.5);
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP CATEGORY PILL BAR
   ══════════════════════════════════════════════════════════════════════════ */

.shop-cat-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.75rem 0 0.45rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 0;
}

.shop-cat-bar::-webkit-scrollbar { display: none; }

.shop-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.9rem;
    border-radius: 3rem;
    border: 1.5px solid var(--border-2);
    background: var(--surface);
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.shop-cat-pill:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
    background: #f0f9ff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8,145,178,.2);
}

.shop-cat-pill.active {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-xdark) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 16px rgba(8,145,178,.38);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP — SLIM FILTER ROW (replaces old filter-bar on shop page)
   ══════════════════════════════════════════════════════════════════════════ */

.shop-filter-slim {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 0.7rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.2rem;
}

.sfs-count {
    margin: 0;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.sfs-spacer { flex: 1; min-width: 8px; }

.sfs-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sfs-group:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(8,145,178,.1);
}

.sfs-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    user-select: none;
}

.sfs-group input,
.sfs-group select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    color: var(--text);
    width: auto;
    min-width: 70px;
    min-height: unset;
    padding: 0.25rem 0;
    box-shadow: none;
    font-family: inherit;
    cursor: pointer;
}

.sfs-group select {
    min-width: 100px;
    padding-right: 1.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px;
}

.sfs-group select option {
    padding: 0.5rem 0.75rem;
    margin: 2px 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.sfs-group input[type="number"] { min-width: 72px; max-width: 90px; }

.sfs-apply {
    background: linear-gradient(135deg, var(--teal), var(--teal-xdark));
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 0.5rem 1.1rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: filter 0.18s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(8,145,178,.28);
}

.sfs-apply:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.sfs-clear {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0;
}

.sfs-clear:hover {
    color: #dc2626;
    text-decoration: none;
}

@media (max-width: 720px) {
    .shop-filter-slim { gap: 0.5rem; }
    .sfs-spacer { display: none; }
    .sfs-group { flex: 1 1 auto; }
    .shop-cat-bar { padding-bottom: 0.5rem; }
    .shop-hero-banner { border-radius: var(--radius); padding: 1rem 1rem 1.1rem; }
}

@media (max-width: 480px) {
    .shop-search-bar button { padding: 0.65rem 1rem; font-size: 0.82rem; }
    .shop-hero-title { font-size: 1.4rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ENHANCED PRODUCT CARDS
   ══════════════════════════════════════════════════════════════════════════ */

/* Quick action overlay on product card hover */
.product-card {
    position: relative;
}

.product-card-image {
    position: relative;
    overflow: hidden;
}

.product-card-quick {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(4,12,28,.82) 0%, transparent 100%);
    padding: 1.2rem 0.8rem 0.6rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.product-card:hover .product-card-quick {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-card-quick .btn {
    font-size: 0.78rem;
    padding: 0.42rem 0.9rem;
    border-radius: 2rem;
    min-height: unset;
    box-shadow: 0 3px 12px rgba(8,145,178,.45);
}

/* Slightly upgrade the card shadow on hover */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10,22,40,.16), 0 4px 12px rgba(10,22,40,.10);
}

/* ══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — FEATURE BAND UPGRADE
   ══════════════════════════════════════════════════════════════════════════ */

.feature-band article {
    gap: 1rem;
    padding: 1.3rem 1.2rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   HOMEPAGE HERO MINI-CARDS UPGRADE
   ══════════════════════════════════════════════════════════════════════════ */

.mini-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.mini-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.18);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.mini-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   SHOP RESULTS HEADING
   ══════════════════════════════════════════════════════════════════════════ */

.shop-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.shop-results-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

/* ══════════════════════════════════════════════════════════════════════════
   GRADIENT DIVIDER
   ══════════════════════════════════════════════════════════════════════════ */

.gradient-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--emerald), transparent);
    border: none;
    margin: 2rem 0;
    opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRODUCT BREADCRUMB
   ══════════════════════════════════════════════════════════════════════════ */

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0 0.5rem;
    font-size: 0.84rem;
    flex-wrap: wrap;
}

.product-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

/* ══════════════════════════════════════════════════════════════════════════
   PROMO / NOTICE BANNER
   ══════════════════════════════════════════════════════════════════════════ */

.promo-banner-outer {
    margin: 0 0 1rem;
}

.promo-banner-section {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 36px rgba(0,0,0,.22), 0 0 0 3px var(--teal);
    animation: fadeUp 0.55s cubic-bezier(0.34,1.2,0.64,1) both;
    line-height: 0;
}

.promo-banner-section::before {
    content: '\1F525\00A0 SPECIAL OFFER';
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 4;
    background: var(--teal);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 99px;
    pointer-events: none;
    line-height: 1.4;
    box-shadow: 0 2px 10px rgba(8,145,178,.45);
}

.promo-banner-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.promo-banner-img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
    transition: opacity 0.2s, transform 0.35s;
}

.promo-banner-link:hover .promo-banner-img {
    opacity: 0.92;
    transform: scale(1.01);
}

/* ══════════════════════════════════════════════════════════════════════════
   CATEGORY TILES – horizontal scroll strip
   ══════════════════════════════════════════════════════════════════════════ */

.home-cat-tiles-section {
    margin: 1.6rem 0;
}

.cat-scroll-wrap {
    position: relative;
    margin-top: 1rem;
}

.cat-scroll-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;           /* Firefox */
    padding: 6px 0 4px;             /* room for hover lift */
}
.cat-scroll-track::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

.cat-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    color: var(--text-2);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
    transition: all 0.18s;
    z-index: 2;
}
.cat-scroll-arrow-right { right: -4px; }
.cat-scroll-arrow-left  { left: -4px; }
.cat-scroll-arrow:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 4px 16px rgba(8,145,178,.30);
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 88px;
    flex: 1 0 0;
    padding: 0.75rem 0.6rem 0.65rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    text-align: center;
    scroll-snap-align: start;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.cat-tile:hover {
    border-color: var(--teal);
    background: #f0fafe;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(8,145,178,.12);
    text-decoration: none;
}

.cat-tile-icon {
    font-size: 1.75rem;
    line-height: 1;
    display: block;
}

.cat-tile-name {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 84px;
}

.cat-tile-cta {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.cat-tile:hover .cat-tile-cta {
    opacity: 1;
}

/* "Explore all [category]" CTA below each homepage category section */
.cat-section-cta {
    margin-top: 1.4rem;
    text-align: center;
    padding-bottom: 0.5rem;
}

/* Small button variant */
.btn-sm {
    padding: 0.52rem 1.3rem !important;
    font-size: 0.85rem !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER TRUST LIST  (replaces "We Accept" badges)
   ══════════════════════════════════════════════════════════════════════════ */

.footer-trust-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.footer-trust-list li {
    font-size: 0.8rem;
    color: #7a9ab8;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .cat-scroll-arrow { width: 30px; height: 30px; }
    .promo-banner-img { max-height: 180px; }
}

.product-breadcrumb a:hover {
    color: var(--teal-dark);
    text-decoration: none;
}

.breadcrumb-sep {
    color: var(--muted-light);
    font-size: 0.76rem;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* ══════════════════════════════════════════════════════════════════════════
   MODERN PAGE HEADERS (cart, checkout, etc.)
   ══════════════════════════════════════════════════════════════════════════ */

.page-head-modern {
    padding: 1.8rem 0 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-head-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--emerald), transparent);
    opacity: 0.3;
}

.page-head-modern-inner {
    max-width: 600px;
}

/* ══════════════════════════════════════════════════════════════════════════
   ORDER SUCCESS CARD
   ══════════════════════════════════════════════════════════════════════════ */

.success-card {
    max-width: 580px;
    margin: 2.5rem auto;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: fadeUp 0.5s ease both;
}

.success-icon-ring {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 50%, #cffafe 100%);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 28px rgba(5, 150, 105, .18);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(5, 150, 105, .18); }
    50%      { box-shadow: 0 8px 40px rgba(5, 150, 105, .32); }
}

.success-title {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.success-sub {
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.success-order-no {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    background: linear-gradient(135deg, #f0f9ff, #ecfdf5);
    border: 2px solid var(--teal);
    border-radius: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--teal-xdark);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.success-msg {
    color: var(--text-2);
    margin: 0 0 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.success-actions {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-trust {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    font-size: 0.82rem;
    color: var(--muted);
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER TOP BAR (trust strip)
   ══════════════════════════════════════════════════════════════════════════ */

.footer-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}

.footer-top-bar span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #8faec8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRODUCT SINGLE MODERN POLISH
   ══════════════════════════════════════════════════════════════════════════ */

.product-single {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeUp 0.45s ease both;
}

.product-single .cover {
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.product-single .cover:hover {
    transform: scale(1.02);
}

.product-panel h1 {
    background: linear-gradient(135deg, var(--text) 0%, var(--teal-xdark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-tag {
    background: linear-gradient(135deg, #e0f7ff, #dcfce7);
    border: 1px solid rgba(8,145,178,.15);
}

.stock-pill {
    animation: fadeUp 0.3s ease 0.2s both;
}

/* ══════════════════════════════════════════════════════════════════════════
   CHECKOUT MODERN POLISH
   ══════════════════════════════════════════════════════════════════════════ */

.checkout-layout .form.card,
.checkout-layout .summary-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.checkout-layout .form.card {
    animation: fadeUp 0.4s ease both;
}

.checkout-layout .summary-card {
    animation: fadeUp 0.4s ease 0.1s both;
}

/* ══════════════════════════════════════════════════════════════════════════
   CART MODERN POLISH
   ══════════════════════════════════════════════════════════════════════════ */

.cart-table-card {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.cart-summary-card {
    border-radius: var(--radius-lg) !important;
}

.cart-layout .cart-table-card {
    animation: fadeUp 0.4s ease both;
}

.cart-layout .cart-summary-card {
    animation: fadeUp 0.4s ease 0.1s both;
}

/* ══════════════════════════════════════════════════════════════════════════
   EMPTY STATE MODERN
   ══════════════════════════════════════════════════════════════════════════ */

.empty-state {
    border-radius: var(--radius-xl);
    animation: fadeUp 0.5s ease both;
}

/* ══════════════════════════════════════════════════════════════════════════
   ENHANCED TRANSITIONS & POLISH
   ══════════════════════════════════════════════════════════════════════════ */

/* Smooth page load animation for main content */
main.container {
    animation: fadeUp 0.35s ease both;
}

/* Card hover glow effect */
.card:hover {
    box-shadow: var(--shadow);
}

/* Modern selection color */
::selection {
    background: rgba(8, 145, 178, 0.2);
    color: var(--text);
}

/* Smooth scrollbar (webkit) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-2);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted-light);
}

/* Focus visible ring for accessibility */
:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* Button focus-visible override */
.btn:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(8,145,178,.15);
}

/* ══════════════════════════════════════════════════════════════════════════
   HEADER GLASS ENHANCEMENT
   ══════════════════════════════════════════════════════════════════════════ */

.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(10,22,40,.06), 0 2px 12px rgba(10,22,40,.04);
}

/* ══════════════════════════════════════════════════════════════════════════
   TOP STRIP GRADIENT
   ══════════════════════════════════════════════════════════════════════════ */

.top-strip {
    background: linear-gradient(90deg, #070f1e 0%, #0a1d36 50%, #081727 100%);
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGINATION MODERN
   ══════════════════════════════════════════════════════════════════════════ */

.pagination {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-link {
    border-radius: 10px;
    transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8,145,178,.18);
}

.page-link.active {
    background: linear-gradient(135deg, var(--teal), var(--teal-xdark));
    box-shadow: 0 4px 14px rgba(8,145,178,.35);
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER MODERN POLISH
   ══════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background: linear-gradient(180deg, #0a1628 0%, #060e1c 100%);
}

.footer-social a {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    box-shadow: 0 4px 14px rgba(8,145,178,.4);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE EXTRAS
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .page-head-modern { padding: 1.2rem 0 0.8rem; }
    .section-title { font-size: 1.35rem; }
    .success-card { padding: 2rem 1.5rem; margin: 1.5rem auto; }
    .success-trust { gap: 0.8rem; }
    .footer-top-bar { gap: 1rem; }
    .footer-top-bar span { font-size: 0.78rem; }
    .header-shell { padding: 0.6rem 0; gap: 0.6rem; }
    .brand { font-size: 1rem; gap: 0.45rem; }
    .brand-logo { width: 32px; height: 32px; }
    .header-nav { gap: 0; }
    .cat-tile { min-width: 76px; padding: 0.6rem 0.5rem 0.55rem; }
    .cat-tile-icon { font-size: 1.5rem; }
    .cat-tile-name { font-size: 0.62rem; max-width: 72px; }
}

@media (max-width: 600px) {
    .cat-scroll-track { gap: 0.5rem; }
    .cat-tile { flex: 0 0 calc(50% - 0.25rem); min-width: 0; }
    .cat-scroll-arrow { display: none !important; }
}

@media (max-width: 540px) {
    .product-breadcrumb { font-size: 0.78rem; gap: 0.35rem; }
    .breadcrumb-current { max-width: 180px; }
    .success-title { font-size: 1.4rem; }
    .success-order-no { font-size: 1.1rem; padding: 0.45rem 1rem; }
    .section-title { font-size: 1.2rem; }
    .section-eyebrow { font-size: 0.68rem; }
    .footer-top-bar { gap: 0.6rem; padding: 0.8rem 0; }
    .trust-marquee-item { font-size: 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PRODUCT TAGS (on product detail page)
   ══════════════════════════════════════════════════════════════════════════ */

.product-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

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

.product-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.7rem;
    border-radius: 99px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.product-tag-pill:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════
   Language Switcher
   ══════════════════════════════════════════════════════════════════════════ */

.lang-switcher {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: 0.5rem;
}

.lang-switcher a {
    padding: 2px 7px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    color: #c8dfe8;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
    line-height: 1.6;
}

.lang-switcher a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.lang-switcher a.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.top-strip-account {
    color: #c8dfe8;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s;
    white-space: nowrap;
}

.top-strip-account:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════
   Auth pages (login)
   ══════════════════════════════════════════════════════════════════════════ */

.auth-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem 4rem;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg, 0 8px 32px rgba(0,0,0,.08));
}

.auth-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.auth-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.auth-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.9rem;
}

.auth-form input {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--navy);
    transition: border-color 0.15s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20,184,166,0.12);
}

.auth-note {
    margin: 1.25rem 0 0;
    font-size: 0.82rem;
    color: var(--muted, #64748b);
    text-align: center;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════════
   Customer Account Dashboard
   ══════════════════════════════════════════════════════════════════════════ */

.account-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,.05));
}

.account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    font-family: var(--font-head, 'Sora', sans-serif);
}

.account-info {
    flex: 1;
}

.account-info h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--navy);
}

.account-info p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: var(--muted, #64748b);
}

.account-empty {
    text-align: center;
    padding: 3.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.account-empty span {
    font-size: 3rem;
}

.account-empty p {
    color: var(--muted, #64748b);
    margin: 0;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.order-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    transition: box-shadow 0.15s;
}

.order-card:hover {
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,.08));
}

.order-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
}

.order-card-no {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    font-family: var(--font-head, 'Sora', monospace);
    flex: 1;
    min-width: 120px;
}

.order-card-date {
    font-size: 0.82rem;
    color: var(--muted, #64748b);
}

.order-card-total {
    font-weight: 700;
    color: var(--teal-xdark, #0d9488);
    font-size: 0.95rem;
}

.order-toggle-btn {
    background: var(--surface-2, #f8fafc);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--navy);
    transition: all 0.15s;
}

.order-toggle-btn:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.order-items-detail {
    border-top: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1rem;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    font-size: 0.87rem;
    border-bottom: 1px dashed var(--border);
}

.order-item-row:last-of-type {
    border-bottom: none;
}

.order-item-name {
    flex: 1;
    color: var(--navy);
}

.order-item-qty {
    color: var(--muted, #64748b);
    font-size: 0.82rem;
}

.order-item-price {
    font-weight: 600;
    color: var(--teal-xdark, #0d9488);
}

.order-item-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--border);
    color: var(--muted, #64748b);
}

/* ── Order Status Badges ─────────────────────────────────────────────────── */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.status-pending         { background: #fef3c7; color: #92400e; }
.status-pending_payment { background: #dbeafe; color: #1e40af; }
.status-processing      { background: #e0f2fe; color: #0369a1; }
.status-dispatched      { background: #d1fae5; color: #065f46; }
.status-delivered       { background: #dcfce7; color: #14532d; }
.status-cancelled       { background: #fee2e2; color: #991b1b; }

/* ══════════════════════════════════════════════════════════════════════════
   Checkout — Account creation box & user bar
   ══════════════════════════════════════════════════════════════════════════ */

.checkout-user-bar {
    background: linear-gradient(90deg, var(--teal-xdark, #0d9488), var(--navy, #0f172a));
    color: #fff;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.checkout-user-bar strong {
    flex: 1;
}

.checkout-user-bar a {
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    text-decoration: underline;
    white-space: nowrap;
}

.checkout-user-bar a:hover {
    color: #fff;
}

.create-acct-box {
    border: 1px dashed var(--teal, #14b8a6);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-top: 0.6rem;
    background: linear-gradient(135deg, rgba(20,184,166,0.05), rgba(15,23,42,0.02));
}

.create-acct-check-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--navy);
    font-size: 0.9rem;
    flex-direction: row !important;
    margin: 0;
}

.create-acct-check-label input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: var(--teal);
    flex-shrink: 0;
    margin: 0;
}

.create-acct-pw {
    display: none;
    margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   Info pages (Delivery & Returns, Outlet)
   ══════════════════════════════════════════════════════════════════════════ */

.info-page-layout {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.info-section {
    margin-bottom: 3rem;
}

.info-section-title {
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0 0 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--teal, #14b8a6);
    font-family: var(--font-head, 'Sora', sans-serif);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem;
    text-align: center;
}

.info-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 0.9rem;
    margin: 0 0 0.4rem;
    color: var(--navy);
}

.info-card p {
    font-size: 0.85rem;
    color: var(--muted, #64748b);
    margin: 0;
}

.info-table-heading {
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 0.75rem;
}

.district-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.district-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}

.district-table th {
    background: var(--navy, #0f172a);
    color: #fff;
    padding: 0.6rem 1rem;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.district-table td {
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
}

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

.district-table tr:nth-child(even) td {
    background: var(--surface-2, #f8fafc);
}

.delivery-free-badge {
    display: inline-flex;
    align-items: center;
    background: #d1fae5;
    color: #065f46;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.returns-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.returns-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.returns-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--teal, #14b8a6);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.returns-step p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--muted, #64748b);
}

.returns-note {
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.87rem;
    color: #713f12;
    line-height: 1.6;
}

/* ── Outlet page ──────────────────────────────────────────────────────────── */

.outlet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.outlet-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.outlet-instore-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem;
}

.outlet-instore-card h3 {
    margin: 0 0 0.9rem;
    font-size: 1rem;
    color: var(--navy);
}

.outlet-instore-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.outlet-instore-list li {
    font-size: 0.88rem;
    color: var(--navy);
}

.outlet-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outlet-details-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.outlet-detail-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.outlet-details-list strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted, #64748b);
    margin-bottom: 0.2rem;
}

.outlet-details-list p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--navy);
}

.outlet-details-list a {
    color: var(--teal-xdark, #0d9488);
    text-decoration: none;
}

.outlet-details-list a:hover {
    text-decoration: underline;
}

.outlet-map-wrap {
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 380px;
}

.outlet-map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.outlet-map-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted, #64748b);
    margin-top: 0.5rem;
}

.outlet-cta-band {
    background: linear-gradient(135deg, var(--navy, #0f172a), var(--teal-xdark, #0d9488));
    color: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.outlet-cta-band p {
    margin: 0;
    font-size: 1rem;
}

.outlet-cta-band strong {
    color: #5eead4;
}

/* flash success */
.flash-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
    .outlet-grid {
        grid-template-columns: 1fr;
    }

    .outlet-map-col {
        order: -1;
    }

    .outlet-cta-band {
        flex-direction: column;
        text-align: center;
    }

    .order-card-header {
        gap: 0.5rem;
    }

    .account-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .auth-card {
        padding: 1.5rem 1.25rem;
    }
}

