@import url('fonts.css');

:root {
    --primary: #111111;
    --primary-dark: #000000;
    --primary-light: #2a2a2a;
    --accent: #f5c518;
    --accent-hover: #e0b200;
    --accent-soft: #fff8db;
    --bg: #f6f6f4;
    --surface: #ffffff;
    --surface-2: #f0f0ee;
    --text: #111111;
    --text-muted: #5c5c5c;
    --text-soft: #8a8a8a;
    --border: #e4e4e0;
    --success: #16803c;
    --danger: #dc2626;
    --warning: #f5c518;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 14px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
    --shadow-md: 0 10px 28px rgba(0,0,0,.09);
    --shadow-lg: 0 22px 50px rgba(0,0,0,.12);
    --header-bg: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2a2a2a 0%, #111111 55%, #000000 100%);
    --gradient-accent: linear-gradient(135deg, #ffe066 0%, #f5c518 55%, #e0b200 100%);
    --gradient-dark: linear-gradient(145deg, #111111 0%, #1c1c1c 100%);
    --pcb: rgba(17,17,17,.035);
    --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: Vazirmatn, Tahoma, sans-serif;
    background:
        radial-gradient(ellipse 70% 45% at 100% -5%, rgba(245,197,24,.12), transparent 55%),
        radial-gradient(ellipse 50% 35% at 0% 15%, rgba(17,17,17,.04), transparent 50%),
        linear-gradient(180deg, #fafaf8 0%, var(--bg) 45%, #f0f0ee 100%);
    color: var(--text);
    line-height: 1.75;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .55;
    background-image:
        linear-gradient(var(--pcb) 1px, transparent 1px),
        linear-gradient(90deg, var(--pcb) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 70%);
}
main, .site-header, .site-footer, .topbar, .drawer, .floating-widgets { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 18px; width: 100%; }

.icon { width: 20px; height: 20px; stroke-width: 1.8; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 600;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(0,0,0,.3); transform: translateY(-1px); }

.btn-accent { background: var(--gradient-accent); color: #111; box-shadow: 0 8px 20px rgba(245,197,24,.35); }
.btn-accent:hover { box-shadow: 0 12px 26px rgba(245,197,24,.45); transform: translateY(-1px); }

.btn-outline { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-sm { padding: 8px 15px; font-size: .82rem; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; border-radius: 12px; }

/* ============ Top bar ============ */
.topbar {
    background: var(--gradient-dark);
    color: #cbd5e1;
    font-size: .8rem;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    gap: 16px;
}
.topbar a { color: #cbd5e1; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item .icon { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 768px) { .topbar-left .topbar-item:not(:first-child), .topbar-right { display: none; } }

/* ============ Header ============ */
.site-header {
    background: var(--header-bg);
    color: var(--text);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}
.header-main {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 76px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
    flex: none;
}
.logo span { color: inherit; }
.logo .logo-text { color: var(--primary); }
.logo .logo-text-primary { color: var(--primary); }
.logo .logo-text-accent { color: var(--primary); }
.logo .logo-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--gradient-primary);
    display: grid; place-items: center;
    color: #fff;
}
.logo .logo-mark .icon { width: 22px; height: 22px; }

/* Search */
.header-search {
    flex: 1;
    max-width: 640px;
    position: relative;
}
.header-search input {
    width: 100%;
    height: 50px;
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    border-radius: 12px;
    padding: 0 48px 0 110px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--text);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245,197,24,.22);
}
.header-search .search-icon {
    position: absolute;
    right: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    pointer-events: none;
}
.header-search .search-submit {
    position: absolute;
    left: 6px; top: 50%;
    transform: translateY(-50%);
    height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 9px;
    background: var(--gradient-accent);
    color: #111;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
}
.header-search .search-submit:hover { filter: brightness(1.05); }
/* Search dropdown */
.search-spinner {
    position: absolute;
    left: 92px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0; left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 320;
    max-height: 70vh;
    overflow-y: auto;
}
.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background .15s;
    min-width: 0;
}
.search-result:hover { background: var(--surface-2); }
.search-result-img {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--surface-2);
    overflow: hidden;
    flex: none;
    display: grid; place-items: center;
    color: var(--text-soft);
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-result-name {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-meta {
    display: block;
    font-size: .76rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-price {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    flex: none;
    max-width: 34%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-empty { padding: 22px; text-align: center; color: var(--text-muted); font-size: .88rem; }
.search-all {
    display: block;
    text-align: center;
    padding: 11px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
}
.search-all:hover { background: var(--surface-2); border-radius: 0 0 12px 12px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-right: auto; flex: none; }

.icon-btn {
    position: relative;
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--surface-2);
    border: 1.5px solid transparent;
    color: var(--text);
    display: grid; place-items: center;
    cursor: pointer;
    transition: all .2s;
}
.icon-btn:hover { background: #fff; border-color: var(--border); color: var(--primary); box-shadow: var(--shadow); }
.cart-badge {
    position: absolute;
    top: -6px; left: -6px;
    background: var(--accent);
    color: #111;
    font-size: .7rem;
    font-weight: 800;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    display: grid; place-items: center;
    border: 2px solid #fff;
}
.hamburger { display: none; }

/* ============ Nav + Mega menu ============ */
.site-nav { border-top: 1px solid var(--border); background: var(--surface); }
.nav-inner { display: flex; align-items: center; gap: 6px; height: 56px; }

.nav-cats-btn {
    font-family: 'Vazirmatn';
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--gradient-accent);
    color: #111;
    font-weight: 700;
    font-size: .9rem;
    padding: 11px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(245,197,24,.35);
}
.nav-cats-btn .icon { color: #111; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a, .nav-links > li > .nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-size: .9rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background .2s, color .2s;
    cursor: pointer;
    background: none; border: none; font-family: inherit;
}
.nav-links > li > a:hover, .nav-links > li > .nav-trigger:hover { background: var(--surface-2); color: var(--primary); }
.nav-links .icon { width: 18px; height: 18px; color: var(--primary); }
.nav-spacer { margin-right: auto; }
.nav-hot { color: var(--accent) !important; }
.nav-hot .icon { color: var(--accent); }

/* Mega menu panel */
.has-mega { position: relative; }
.mega-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(1100px, 96vw);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 300;
}
.has-mega:hover .mega-panel,
.has-mega.open .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mega-cat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    transition: background .2s;
}
.mega-cat:hover { background: var(--surface-2); }
.mega-cat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
    flex: none;
    overflow: hidden;
}
.mega-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.mega-cat-title { font-weight: 700; font-size: .85rem; margin-bottom: 3px; }
.mega-cat-sub { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.mega-cat-sub a { font-size: .78rem; color: var(--text-muted); }
.mega-cat-sub a:hover { color: var(--primary); }

@media (max-width: 1200px) {
    .mega-cats { grid-template-columns: repeat(3, 1fr); }
    .mega-panel { width: min(980px, 94vw); }
}

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

.mega-promo {
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}
.mega-promo::after {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    bottom: -50px; left: -40px;
}
.mega-promo h4 { font-size: 1.15rem; margin-bottom: 8px; position: relative; }
.mega-promo p { font-size: .82rem; opacity: .85; position: relative; }

/* ============ Hero slider ============ */
.hero {
    padding: 0 0 8px;
}
.hero--bleed .slider {
    border-radius: 0;
    box-shadow: none;
}
.hero--bleed .container {
    max-width: none;
    padding: 0;
}
.slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.slides { display: flex; transition: transform .6s cubic-bezier(.65,.05,.36,1); }
.slide {
    min-width: 100%;
    min-height: min(72vh, 520px);
    display: flex;
    align-items: center;
    padding: 56px clamp(20px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}
.slide-1 { background: linear-gradient(120deg, #000000 0%, #1a1a1a 55%, #2e2e2e 100%); }
.slide-2 { background: linear-gradient(120deg, #111111 0%, #222 50%, #3a3a3a 100%); }
.slide-3 { background: linear-gradient(120deg, #1a1400 0%, #3d3200 45%, #f5c518 120%); }
.slide-custom { position: relative; color: #fff; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7,17,31,.82), rgba(7,17,31,.35) 55%, rgba(7,17,31,.15)); }
.slide-custom .slide-content { position: relative; z-index: 1; }

.contact-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .contact-form-card .form-row { grid-template-columns: 1fr; } }
.contact-form-card .form-group { margin-bottom: 12px; }
.contact-form-card .form-label { display: block; font-size: .85rem; margin-bottom: 6px; font-weight: 600; }
.newsletter-feedback { margin-top: 12px; font-size: .9rem; }
.slide::before, .slide::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.slide::before { width: 340px; height: 340px; top: -120px; left: -80px; }
.slide::after { width: 220px; height: 220px; bottom: -90px; left: 220px; background: rgba(245,197,24,.18); }
.slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.slide-brand {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 10px;
    line-height: 1.15;
}
.slide-brand span { color: var(--accent); }
.slide-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.14);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: .8rem; font-weight: 600;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.12);
}
.slide-content h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.45; margin-bottom: 12px; font-weight: 700; opacity: .96; }
.slide-content p { font-size: 1rem; opacity: .88; margin-bottom: 26px; max-width: 460px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Fallback electronics hero */
.hero-static {
    position: relative;
    min-height: min(68vh, 480px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 30%, rgba(245,197,24,.28), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(245,197,24,.12), transparent 35%),
        linear-gradient(125deg, #000000 0%, #171717 50%, #2a2a2a 100%);
    color: #fff;
}
.hero-static::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .4;
    background-image:
        linear-gradient(rgba(245,197,24,.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,197,24,.14) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
    animation: pcbDrift 28s linear infinite;
}
@keyframes pcbDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 36px 36px, 36px 36px; }
}
.hero-static-inner {
    position: relative;
    z-index: 2;
    width: min(var(--max), 100%);
    margin: 0 auto;
    padding: 48px 18px;
}
.hero-static .slide-brand { animation: riseIn .7s ease both; }
.hero-static h2 { animation: riseIn .7s ease .08s both; font-size: clamp(1.2rem, 2.4vw, 1.65rem); font-weight: 600; max-width: 32ch; margin-bottom: 12px; }
.hero-static p { animation: riseIn .7s ease .14s both; opacity: .88; max-width: 42ch; margin-bottom: 24px; }
.hero-static .slide-actions { animation: riseIn .7s ease .2s both; }
@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-static::before, .hero-static .slide-brand, .hero-static h2, .hero-static p, .hero-static .slide-actions { animation: none; }
}

.slider-dots {
    position: absolute;
    bottom: 18px; right: 56px;
    display: flex; gap: 8px;
    z-index: 5;
}
.slider-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: all .3s;
}
.slider-dots button.active { background: #fff; width: 30px; border-radius: 6px; }
.slider-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    border: none;
    color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
    transition: background .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.4); }
.slider-arrow.prev { right: 16px; }
.slider-arrow.next { left: 16px; }

/* ============ Feature badges ============ */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 28px 0;
}
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: #111;
    display: grid; place-items: center;
    flex: none;
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-title { font-weight: 700; font-size: .95rem; }
.feature-sub { font-size: .8rem; color: var(--text-muted); }

/* ============ Category showcase ============ */
.cat-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.cat-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 14px;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.cat-chip-icon {
    width: 64px; height: 64px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: #fff;
    display: grid; place-items: center;
    overflow: hidden;
}
.cat-chip:nth-child(2n) .cat-chip-icon { background: linear-gradient(135deg, #111, #333); }
.cat-chip:nth-child(3n) .cat-chip-icon { background: linear-gradient(135deg, #f5c518, #e0b200); color: #111; }
.cat-chip-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-chip-icon .icon { width: 30px; height: 30px; }
.cat-chip-name { font-weight: 700; font-size: .88rem; }

/* ============ Section ============ */
.section { margin: 44px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.section-title .bar {
    width: 6px; height: 26px;
    background: var(--gradient-accent);
    border-radius: 4px;
}
.section-link {
    color: var(--primary);
    font-size: .88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s;
}
.section-link:hover { gap: 9px; }

/* ============ Product grid + card ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 14px;
}
.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(245,197,24,.55); }

.product-card-image {
    aspect-ratio: 1;
    background:
        linear-gradient(145deg, #fafafa, #f0f0ee),
        linear-gradient(90deg, rgba(17,17,17,.03) 1px, transparent 1px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s; }
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-image .placeholder { font-size: 3rem; opacity: .25; }

.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
    font-size: .72rem; font-weight: 700;
    padding: 5px 9px;
    border-radius: 7px;
    color: #fff;
    display: inline-flex; align-items: center; gap: 4px;
}
.badge-discount { background: var(--danger); }
.badge-sale { background: #ea580c; color: #fff; }
.badge-new { background: var(--success); }
.badge-type { background: rgba(15,23,42,.7); }
.badge-stock { background: var(--success); }
.badge-stock.out { background: #94a3b8; }

.card-fav {
    position: absolute;
    top: 10px; right: 10px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    color: var(--text-muted);
    display: grid; place-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: all .2s;
    z-index: 2;
}
.product-card:hover .card-fav { opacity: 1; transform: translateY(0); }
.card-fav:hover { color: var(--danger); }

.product-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 1.2em;
    min-width: 0;
}
.product-card-cat {
    font-size: .72rem;
    color: var(--text-soft);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card-sku {
    font-size: .7rem;
    font-weight: 700;
    color: #111;
    background: var(--accent-soft);
    padding: 2px 7px;
    border-radius: 6px;
    direction: ltr;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    flex: none;
    max-width: 52%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card-stock {
    font-size: .72rem;
    font-weight: 600;
    color: var(--success);
}
.product-card-stock.is-out { color: var(--text-soft); }
.product-card-title {
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    color: var(--text);
}
.product-card-title:hover { color: var(--primary); }
.product-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-width: 0; }
.product-card-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.price-current { font-weight: 800; color: var(--text); font-size: 1.02rem; line-height: 1.3; }
.price-current span { font-size: .75rem; font-weight: 500; color: var(--text-muted); }
.price-old { font-size: .78rem; color: var(--text-soft); text-decoration: line-through; }
.card-add {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--gradient-accent);
    color: #111;
    border: none;
    display: grid; place-items: center;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s;
    box-shadow: 0 6px 14px rgba(245,197,24,.35);
}
.card-add:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(245,197,24,.45); }
.card-add:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============ Promo banners ============ */
.banner-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 44px 0; }
.promo-banner {
    border-radius: var(--radius-lg);
    padding: 34px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.promo-a { background: linear-gradient(120deg, #111111, #2a2a2a); }
.promo-b { background: linear-gradient(120deg, #1a1400, #f5c518); color: #111; }
.promo-b h3, .promo-b p { color: #111; }
.promo-b p { opacity: .8; }
.promo-wide { background: var(--gradient-dark); }
.promo-banner::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    top: -60px; left: -40px;
}
.promo-banner h3 { font-size: 1.5rem; margin-bottom: 8px; position: relative; z-index: 2; }
.promo-banner p { opacity: .9; margin-bottom: 18px; position: relative; z-index: 2; }
.promo-banner .btn { position: relative; z-index: 2; align-self: flex-start; }
.banner-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.banner-cta .cta-text h3 { font-size: 1.7rem; margin-bottom: 6px; }

/* ============ Amazing offer ============ */
.amazing-offer { padding: 28px 0 8px; }
.amazing-offer-box {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 55%, #7f1d1d 100%);
    border-radius: 24px;
    padding: 22px 22px 18px;
    box-shadow: 0 20px 50px rgba(185, 28, 28, .28);
    position: relative;
    overflow: hidden;
}
.amazing-offer-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.12), transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(255,255,255,.08), transparent 40%);
    pointer-events: none;
}
.amazing-offer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.amazing-offer-brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.amazing-offer-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,.18);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.amazing-offer-icon .icon { width: 26px; height: 26px; color: #fde047; }
.amazing-offer-title { font-size: 1.35rem; font-weight: 800; margin: 0; line-height: 1.2; }
.amazing-offer-sub { margin: 4px 0 0; font-size: .85rem; opacity: .9; }
.amazing-offer-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    background: rgba(255,255,255,.14);
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.amazing-offer-more:hover { background: rgba(255,255,255,.24); color: #fff; }
.amazing-offer-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
    gap: 14px;
    position: relative;
    z-index: 1;
}
.amazing-offer-item { min-width: 0; }
.amazing-offer-item .product-card {
    background: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    height: 100%;
}
.amazing-offer-item .product-card-image { border-radius: 16px 16px 0 0; }
.amazing-offer-item .card-badges .badge-discount { background: #ef4444; }

.footer-custom-widget { margin-top: 16px; }
.footer-custom-widget img { max-width: 100%; height: auto; }

/* ============ Newsletter ============ */
.newsletter {
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    color: #fff;
    margin: 56px 0;
    position: relative;
    overflow: hidden;
}
.newsletter::before, .newsletter::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(99,102,241,.25);
}
.newsletter::before { width: 240px; height: 240px; top: -100px; right: -60px; }
.newsletter::after { width: 180px; height: 180px; bottom: -80px; left: -40px; background: rgba(249,115,22,.2); }
.newsletter h3 { font-size: 1.6rem; margin-bottom: 8px; position: relative; z-index: 2; }
.newsletter p { color: #cbd5e1; margin-bottom: 24px; position: relative; z-index: 2; }
.newsletter-form {
    display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
    position: relative; z-index: 2;
}
.newsletter-form input {
    flex: 1; height: 52px;
    border: none; border-radius: 14px;
    padding: 0 18px;
    font-family: inherit; font-size: .92rem;
}
.newsletter-form input:focus { outline: 2px solid var(--primary-light); }

/* ============ Category pills ============ */
.category-pills { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.category-pill {
    padding: 9px 18px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: .86rem;
    font-weight: 600;
    transition: all .2s;
}
.category-pill:hover, .category-pill.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(79,70,229,.25);
}

/* ============ Forms ============ */
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 600; }
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: .9rem;
    background: var(--surface);
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
textarea.form-control { min-height: 110px; resize: vertical; }

/* ============ Alerts ============ */
.alert { padding: 13px 17px; border-radius: 12px; margin-bottom: 16px; font-size: .9rem; font-weight: 500; display: flex; align-items: center; gap: 9px; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ============ Cards / sections shared ============ */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ============ Cart & checkout ============ */
.cart-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { padding: 15px; text-align: right; border-bottom: 1px solid var(--border); }
.cart-table th { background: var(--surface-2); font-weight: 700; font-size: .85rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.checkout-summary { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 90px; border: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .9rem; }
.summary-row.total { border-top: 2px solid var(--border); margin-top: 8px; padding-top: 13px; font-weight: 800; font-size: 1.15rem; }

/* ============ Product detail ============ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 32px 0; }
.product-gallery-wrap { min-width: 0; }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main {
    background: var(--surface);
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.product-gallery-placeholder { display: flex; align-items: center; justify-content: center; opacity: .25; }
.product-gallery-placeholder .icon { width: 72px; height: 72px; }
.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.product-gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    padding: 0;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15,23,42,.06));
    transition: border-color .15s, transform .15s;
}
.product-gallery-thumb:hover { transform: translateY(-2px); }
.product-gallery-thumb.is-active { border-color: var(--primary); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info h1 { font-size: 1.75rem; font-weight: 800; line-height: 1.45; margin-bottom: 12px; }
.product-info h1 { font-size: 1.7rem; margin-bottom: 12px; font-weight: 800; }
.product-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.product-price-box { background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
.type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #e0e7ff; color: var(--primary); border-radius: 8px; font-size: .82rem; font-weight: 600; margin-bottom: 12px; }

/* ============ Pagination ============ */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0; }
.pagination a, .pagination span { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 600; background: var(--surface); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active span { background: var(--gradient-primary); color: #fff; border-color: transparent; }

/* ============ Page header / breadcrumb ============ */
.page-hero {
    background: var(--gradient-dark);
    color: #fff;
    padding: 44px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 36px;
}
.page-hero::before, .page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
.page-hero::before { width: 280px; height: 280px; background: rgba(99,102,241,.22); top: -120px; left: -40px; }
.page-hero::after { width: 200px; height: 200px; background: rgba(249,115,22,.16); bottom: -110px; right: 80px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: #cbd5e1; max-width: 600px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-soft); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-soft); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #cbd5e1; }

/* ============ Blog ============ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #eef2ff, #f5f3ff);
    display: grid; place-items: center;
    overflow: hidden;
    color: var(--text-soft);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-date { font-size: .78rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: 6px; }
.blog-card-date .icon { width: 15px; height: 15px; }
.blog-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.6; color: var(--text); }
.blog-card:hover .blog-card-title { color: var(--primary); }
.blog-card-excerpt { font-size: .86rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-more { margin-top: auto; color: var(--primary); font-weight: 700; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.blog-card:hover .blog-card-more { gap: 10px; }

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.blog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: .84rem;
    font-weight: 600;
    transition: all .15s;
}

.blog-cat-chip span {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: .72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blog-cat-chip:hover,
.blog-cat-chip.is-active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79,70,229,.06);
}

.blog-cat-chip.is-active span { background: var(--primary); color: #fff; }

.blog-cat-chip-child {
    font-size: .78rem;
    padding-right: 22px;
    opacity: .92;
}

/* ============ Category pages ============ */
.category-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 28px;
}

.category-subchip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: .84rem;
    font-weight: 600;
    transition: all .15s;
}

.category-subchip:hover,
.category-subchip.is-active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79,70,229,.06);
}

.category-description {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.category-description-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text);
}

.category-description-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-xs);
}

@media (max-width: 768px) {
    .category-description-body { padding: 20px 18px; }
}

.blog-card-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: .74rem;
    font-weight: 700;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
}

.topbar-item--with-badge,
.footer-link-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-item--with-badge .user-badge,
.footer-link-badge .user-badge {
    position: static;
}

.article-meta .blog-card-category { text-decoration: none; }

/* Article */
.article { max-width: 820px; margin: 0 auto; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 28px; box-shadow: var(--shadow); }
.article-meta { display: flex; align-items: center; gap: 16px; color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; flex-wrap: wrap; }
.article-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--primary); }

/* Prose content */
.prose { line-height: 2; color: #334155; font-size: 1.02rem; }
.prose h2 { font-size: 1.4rem; font-weight: 800; margin: 28px 0 12px; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 22px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 22px 16px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius); margin: 16px 0; }
.prose a { color: var(--primary); font-weight: 600; }
.prose blockquote { border-right: 4px solid var(--primary); background: var(--surface-2); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; color: var(--text-muted); }

/* Empty state */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state .empty-icon { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 24px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-soft); }
.empty-state .empty-icon .icon { width: 40px; height: 40px; }
.empty-state h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 8px; }

/* ============ Contact ============ */
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.contact-card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
    margin-bottom: 12px;
}
.contact-card-label { font-size: .78rem; color: var(--text-soft); margin-bottom: 4px; }
.contact-card-value { font-weight: 700; font-size: .95rem; word-break: break-word; }
.contact-card-value a:hover { color: var(--primary); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: var(--surface-2); }
.contact-map iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.contact-social { display: flex; gap: 10px; margin-top: 8px; }
.contact-social a {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--surface-2);
    display: grid; place-items: center;
    color: var(--text-muted);
    transition: all .2s;
}
.contact-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 1.5rem; }
}

/* ============ Footer ============ */
.site-footer { background: var(--gradient-dark); color: #94a3b8; padding: 56px 0 28px; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-grid p { font-size: .88rem; line-height: 1.9; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 1rem; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .88rem; transition: color .2s, padding .2s; display: inline-flex; align-items: center; gap: 7px; }
.footer-links a:hover { color: #fff; padding-right: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 4px; flex: none; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    color: #cbd5e1;
    transition: all .2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid #334155; padding-top: 24px; text-align: center; font-size: .85rem; }

/* ============ Mobile drawer ============ */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(15,23,42,.5);
    z-index: 400;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 84vw;
    background: #fff;
    z-index: 401;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--border); }
.drawer-body { padding: 12px; overflow-y: auto; }
.drawer-link { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.drawer-link:hover { background: var(--surface-2); }
.drawer-link .icon { color: var(--primary); }
.drawer-section-title { font-size: .78rem; color: var(--text-soft); font-weight: 700; padding: 16px 14px 8px; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cat-strip { grid-template-columns: repeat(4, 1fr); }
    .features, .features--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header-search {
        display: block;
        order: 10;
        flex: 1 1 100%;
        max-width: none;
        width: 100%;
        min-width: 0;
    }
    .header-search input { padding-left: 16px; height: 44px; }
    .header-search .search-submit { display: none; }
    .header-search .search-spinner { left: 14px; }
    .search-results {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }
    .search-result {
        gap: 10px;
        align-items: flex-start;
    }
    .search-result-price {
        max-width: 38%;
        font-size: .8rem;
        line-height: 1.35;
        padding-top: 2px;
    }
    .site-nav { display: none; }
    .hamburger { display: grid; }
    .header-main { height: auto; min-height: 64px; gap: 12px; flex-wrap: wrap; padding: 10px 0 12px; }
    .header-actions { margin-right: 0; gap: 8px; }
    .logo { min-width: 0; }
    .logo img { max-width: 120px; height: auto !important; }
    .slide { padding: 40px 20px; min-height: 360px; }
    .slide-content h2 { font-size: 1.25rem; }
    .slide-content p { font-size: .92rem; }
    .slide-brand { font-size: 1.7rem; }
    .hero-static { min-height: 420px; }
    .slider-dots { right: 24px; }
    .cat-strip { grid-template-columns: repeat(3, 1fr); }
    .banner-row { grid-template-columns: 1fr; }
    .checkout-grid, .product-detail { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .newsletter-form { flex-direction: column; }
    .section-title { font-size: 1.2rem; }
    .amazing-offer-head { flex-direction: column; align-items: flex-start; }
    .amazing-offer-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .cat-strip { grid-template-columns: repeat(2, 1fr); }
    .features, .features--3 { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card-body { padding: 12px; }
    .product-card-foot { gap: 6px; }
    .price-current { font-size: .88rem; }
    .card-add { width: 38px; height: 38px; }
    .amazing-offer-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-pills { gap: 8px; }
    .category-pill { padding: 8px 14px; font-size: .82rem; }
}

.hidden { display: none !important; }
.mobile-only { display: none; }
@media (max-width: 768px) { .mobile-only { display: grid; } }

/* Cart toast */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--gradient-dark);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 500;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.cart-toast-error { background: linear-gradient(135deg, #dc2626, #991b1b); }
.card-add.cart-added { background: var(--gradient-accent); transform: scale(1.08); }

/* Floating widgets */
.float-cart {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 450;
}
.float-cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0,0,0,.28);
    transition: transform .2s, box-shadow .2s;
}
.float-cart-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79,70,229,.42); }
.float-cart-toggle .icon { width: 22px; height: 22px; }
.float-cart-count {
    background: var(--accent);
    color: #fff;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    font-size: .75rem;
    display: grid;
    place-items: center;
}
.float-cart-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    width: min(320px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: floatPanelIn .25s ease;
}
@keyframes floatPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.float-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}
.float-cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
}
.float-cart-close:hover { background: #fff; color: var(--text); }
.float-cart-body { max-height: 280px; overflow-y: auto; padding: 8px; }
.float-cart-empty { padding: 28px 16px; text-align: center; color: var(--text-muted); font-size: .88rem; }
.float-cart-list { list-style: none; }
.float-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    transition: background .15s;
}
.float-cart-item:hover { background: var(--surface-2); }
.float-cart-item-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--surface-2);
    overflow: hidden;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--text-soft);
}
.float-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.float-cart-item-info { flex: 1; min-width: 0; }
.float-cart-item-name {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}
.float-cart-item-name:hover { color: var(--primary); }
.float-cart-item-meta { font-size: .74rem; color: var(--text-soft); }
.float-cart-item-total { font-size: .82rem; font-weight: 700; flex: none; }
.float-cart-foot {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.float-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: .9rem;
}
.float-cart-actions { display: flex; gap: 8px; }
.float-cart-actions .btn { flex: 1; }

.float-contacts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 450;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.float-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .18);
    transition: transform .2s, box-shadow .2s;
}
.float-contact-btn:hover { transform: translateY(-2px); color: #fff; }
.float-contact-btn .icon { width: 24px; height: 24px; }
.float-contact-btn--whatsapp { background: #25D366; box-shadow: 0 8px 28px rgba(37,211,102,.35); }
.float-contact-btn--whatsapp:hover { box-shadow: 0 12px 32px rgba(37,211,102,.45); }
.float-contact-btn--eitaa { background: #EF7F1A; box-shadow: 0 8px 28px rgba(239,127,26,.35); }
.float-contact-btn--eitaa:hover { box-shadow: 0 12px 32px rgba(239,127,26,.45); }
.float-contact-btn--rubika { background: #0084FF; box-shadow: 0 8px 28px rgba(0,132,255,.35); }
.float-contact-btn--rubika:hover { box-shadow: 0 12px 32px rgba(0,132,255,.45); }

/* Legacy alias kept for older cached views */
.float-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 450;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(37,211,102,.35);
    transition: transform .2s, box-shadow .2s;
}
.float-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.45); color: #fff; }
.float-whatsapp .icon { width: 24px; height: 24px; }

/* Account area nav */
.account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px;
    background: var(--surface-2, #f4f4f5);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.account-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: background .15s, color .15s;
}
.account-nav-link:hover {
    color: var(--text);
    background: #fff;
}
.account-nav-link.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 25%, transparent);
}

/* Checkout choice cards (shipping / payment) */
.choice-grid {
    display: grid;
    gap: 10px;
}
.choice-card {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
}
.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.choice-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.choice-card-title {
    font-weight: 700;
    color: var(--text);
}
.choice-card-meta {
    font-size: .82rem;
    color: var(--text-muted);
}
.choice-card:hover .choice-card-body {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}
.choice-card input:checked + .choice-card-body {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, #fff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.choice-card--accent input:checked + .choice-card-body {
    border-color: var(--accent, #f5c518);
    background: color-mix(in srgb, var(--accent, #f5c518) 16%, #fff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #f5c518) 22%, transparent);
}

/* Select2 — match .form-control */
.select2-container.select2-form-control {
    width: 100% !important;
    display: block;
}
.select2-form-control .select2-selection--single {
    height: auto;
    min-height: 48px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: border-color .2s, box-shadow .2s;
}
.select2-form-control .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 12px 15px;
    padding-left: 38px;
    padding-right: 15px;
    color: var(--text);
    font-size: .9rem;
    font-family: inherit;
}
.select2-form-control .select2-selection--single .select2-selection__placeholder {
    color: var(--text-muted);
}
.select2-form-control.select2-container--focus .select2-selection--single,
.select2-form-control.select2-container--open .select2-selection--single {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
    outline: none;
}
.select2-form-control .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    left: 14px;
    right: auto;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.select2-form-control .select2-selection--single .select2-selection__arrow b {
    position: static;
    margin: 0;
    border-color: var(--text-muted) transparent transparent transparent;
    border-width: 6px 5px 0;
}
.select2-form-control.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--text-muted) transparent;
    border-width: 0 5px 6px;
}
.select2-form-control .select2-selection--single .select2-selection__clear {
    float: left;
    margin-left: 0;
    margin-right: 8px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
    padding-top: 2px;
}
.select2-form-control .select2-selection--single .select2-selection__clear:hover {
    color: var(--text);
}
.select2-form-dropdown {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--surface);
    z-index: 9999;
}
.select2-form-dropdown .select2-search--dropdown {
    padding: 10px;
}
.select2-form-dropdown .select2-search--dropdown .select2-search__field {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: .9rem;
    outline: none;
}
.select2-form-dropdown .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
}
.select2-form-dropdown .select2-results__option {
    padding: 10px 14px;
    font-size: .9rem;
}
.select2-form-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--primary);
    color: #fff;
}
.select2-form-dropdown .select2-results__option--selected {
    background: var(--surface-2);
    color: var(--text);
}

@media (max-width: 480px) {
    .float-cart-label, .float-contact-label { display: none; }
    .float-cart-toggle, .float-contact-btn { padding: 14px; border-radius: 50%; }
    .float-cart { left: 14px; bottom: 14px; }
    .float-contacts { right: 14px; bottom: 14px; }
}

/* ============ Storefront redesign 2026 ============ */
:root {
    --primary: #0f3d75;
    --primary-dark: #082a54;
    --primary-light: #1d5fa7;
    --accent: #16a6b6;
    --accent-hover: #0d8c9b;
    --accent-soft: #e9f9fb;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #f1f4f8;
    --text: #172033;
    --text-muted: #667085;
    --text-soft: #98a2b3;
    --border: #e4e9f0;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
    --shadow: 0 8px 24px rgba(16, 24, 40, .07);
    --shadow-md: 0 16px 38px rgba(16, 24, 40, .1);
    --shadow-lg: 0 28px 70px rgba(16, 24, 40, .16);
    --gradient-primary: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    --gradient-accent: linear-gradient(135deg, #22c3cf, var(--accent));
    --gradient-dark: linear-gradient(135deg, #10233e, #071525);
}

body.storefront {
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
}
body.storefront::before { display: none; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent);
    outline-offset: 3px;
}
.skip-link {
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 10000;
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    transform: translateY(-150%);
    transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.topbar { background: #10233e; }
.topbar-inner { height: 36px; }
.site-header {
    box-shadow: 0 1px 0 rgba(16, 24, 40, .04);
    border-bottom: 0;
}
.header-main { height: 82px; gap: 28px; }
.logo .logo-mark {
    border-radius: 13px;
    background: var(--gradient-primary);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 22%, transparent);
}
.header-search { max-width: 720px; }
.header-search input {
    height: 52px;
    border: 1px solid transparent;
    background: #f2f5f9;
    border-radius: 15px;
}
.header-search input:hover { background: #edf1f6; }
.header-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
}
.header-search .search-submit {
    height: 40px;
    color: #fff;
    background: var(--primary);
}
.icon-btn {
    border-color: var(--border);
    background: #fff;
}
.icon-btn:hover { border-color: color-mix(in srgb, var(--primary) 28%, var(--border)); }
.cart-badge, .mobile-nav-badge { background: var(--danger); color: #fff; }
.site-nav { border-color: var(--border); }
.nav-inner { height: 52px; }
.nav-cats-btn {
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}
.nav-cats-btn .icon { color: #fff; }
.nav-hot, .nav-hot .icon { color: #d54141 !important; }
.mega-panel { top: calc(100% + 10px); }
.mega-promo { background: var(--gradient-primary); }

.btn { min-height: 42px; border-radius: 11px; }
.btn-primary {
    background: var(--primary);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 20%, transparent);
}
.btn-accent { color: #fff; background: var(--accent); box-shadow: none; }
.btn-outline:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 4%, #fff); }
.card {
    padding: 26px;
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.card:hover { border-color: color-mix(in srgb, var(--primary) 16%, var(--border)); }

.hero { padding-bottom: 0; }
.hero--bleed .container { max-width: var(--max); padding: 18px 18px 0; }
.hero--bleed .slider {
    border-radius: 26px;
    box-shadow: 0 22px 54px rgba(16, 35, 62, .2);
}
.slide { min-height: min(60vh, 500px); }
.slide-overlay {
    background: linear-gradient(90deg, rgba(7, 21, 37, .3), rgba(7, 21, 37, .82) 72%);
}
.slide-badge {
    border-radius: 999px;
    background: rgba(255,255,255,.12);
}
.hero-static {
    width: calc(100% - 36px);
    max-width: var(--max);
    min-height: min(56vh, 480px);
    margin: 18px auto 0;
    border-radius: 26px;
    background: radial-gradient(circle at 15% 20%, rgba(22,166,182,.3), transparent 34%), var(--gradient-dark);
}
.hero-static::before { animation: none; background-size: 42px 42px; }

.features { margin: 22px 0 38px; }
.feature {
    padding: 18px 20px;
    box-shadow: var(--shadow-xs);
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    color: var(--primary);
}
.section { margin: 52px 0; }
.section-header { margin-bottom: 20px; }
.section-title { font-size: 1.35rem; }
.section-title .bar {
    width: 4px;
    background: var(--accent);
}
.section-link { color: var(--primary); }
.cat-strip { gap: 12px; }
.cat-chip {
    padding: 18px 12px;
    box-shadow: var(--shadow-xs);
}
.cat-chip:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-chip-icon {
    width: 72px;
    height: 72px;
    background: var(--surface-2) !important;
    color: var(--primary) !important;
}

.product-grid { gap: 16px; }
.product-card {
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    box-shadow: var(--shadow-md);
}
.product-card-image {
    margin: 8px 8px 0;
    border-radius: 12px;
    background: #f7f9fb;
}
.product-card-image img { padding: 16px; }
.product-card-body { padding: 14px 16px 16px; gap: 9px; }
.product-card-title { font-size: .92rem; min-height: 2.85em; }
.product-card-stock { display: inline-flex; align-items: center; gap: 5px; }
.product-card-stock::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.product-card-sku { background: var(--surface-2); color: var(--text-muted); }
.price-current { color: var(--primary-dark); }
.card-add {
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}
.card-add:hover { background: var(--primary-light); box-shadow: none; }
.badge-discount { border-radius: 999px; }
.promo-banner { min-height: 190px; border-radius: 22px; }
.promo-a, .promo-wide { background: var(--gradient-dark); }
.promo-b { background: linear-gradient(120deg, #0f7784, #22b7c6); color: #fff; }
.promo-b h3, .promo-b p { color: #fff; }
.amazing-offer-box {
    background: linear-gradient(135deg, #bd2435, #8e1727);
    box-shadow: 0 18px 42px rgba(142, 23, 39, .2);
}

.page-hero {
    padding: 42px 0;
    margin-bottom: 36px;
    background: var(--gradient-dark);
}
.page-hero::before { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.page-hero::after { background: color-mix(in srgb, var(--primary-light) 25%, transparent); }
.category-pill, .category-subchip, .blog-cat-chip { border-radius: 999px; }
.category-pill:hover, .category-pill.active,
.category-subchip:hover, .category-subchip.is-active,
.blog-cat-chip:hover, .blog-cat-chip.is-active {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: none;
}
.empty-state {
    width: 100%;
    padding: 64px 24px;
    border: 1px dashed color-mix(in srgb, var(--primary) 25%, var(--border));
    border-radius: 20px;
    background: var(--surface);
}
.empty-state .empty-icon { background: var(--accent-soft); color: var(--primary); }

.form-label { color: var(--text); }
.form-control {
    min-height: 48px;
    border-color: #d7dee8;
    background: #fff;
}
.form-control:hover { border-color: #b8c3d1; }
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent);
}
select.form-control {
    appearance: auto;
    cursor: pointer;
}
.choice-card-body { border-width: 1px; }
.choice-card input:checked + .choice-card-body {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 5%, #fff);
}
.checkout-summary {
    top: 155px;
    padding: 26px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.summary-row { gap: 18px; }
.summary-row span:last-child { white-space: nowrap; }
.cart-table { box-shadow: var(--shadow-xs); }
.cart-table th { background: #f7f9fb; color: var(--text-muted); }

.blog-card { border-radius: 18px; }
.blog-card:hover { transform: translateY(-3px); }
.blog-card-category { color: var(--primary); background: var(--accent-soft); }
.article, .prose { color: #344054; }
.account-nav { padding: 5px; background: #eaf0f6; }
.account-nav-link.is-active { background: var(--primary); box-shadow: none; }

.site-footer {
    background: #0b192b;
    margin-top: 80px;
}
.footer-bottom { border-color: rgba(255,255,255,.12); }
.footer-social a:hover, .contact-social a:hover { background: var(--accent); }

.float-cart { bottom: 24px; }
.float-cart-toggle { background: var(--primary); box-shadow: 0 10px 28px rgba(15,61,117,.24); }
.float-cart-toggle:hover { box-shadow: 0 14px 34px rgba(15,61,117,.3); }
.float-cart-panel { border-radius: 18px; }
.float-cart-count { background: #fff; color: var(--primary); }
.mobile-bottom-nav { display: none; }
.mobile-nav-icon { position: relative; display: inline-flex; }
.mobile-nav-badge {
    position: absolute;
    top: -8px;
    left: -10px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: .62rem;
    font-weight: 800;
    border: 2px solid #fff;
}

@media (max-width: 768px) {
    body.storefront { padding-bottom: 70px; }
    .topbar { display: none; }
    .site-header { position: relative; }
    .header-main { padding: 10px 0 12px; gap: 10px; }
    .header-actions > *:not(:last-child) { display: none; }
    .header-actions .icon-btn { display: grid; }
    .header-search { background: #fff; }
    .header-search input { height: 46px; border-radius: 12px; }
    .hero--bleed .container { padding: 10px 10px 0; }
    .hero--bleed .slider, .hero-static { border-radius: 18px; }
    .hero-static { width: calc(100% - 20px); margin-top: 10px; min-height: 380px; }
    .slide { min-height: 390px; }
    .slide-overlay { background: rgba(7,21,37,.68); }
    .features { gap: 10px; margin: 14px 0 32px; }
    .feature { padding: 14px; }
    .cat-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .cat-chip { flex: 0 0 132px; scroll-snap-align: start; }
    .section { margin: 38px 0; }
    .section-header { align-items: flex-end; }
    .checkout-summary { position: static; }
    .mobile-bottom-nav {
        position: fixed;
        right: 10px;
        left: 10px;
        bottom: 8px;
        z-index: 440;
        min-height: 62px;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        border: 1px solid rgba(16,24,40,.1);
        border-radius: 18px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 12px 35px rgba(16,24,40,.18);
        backdrop-filter: blur(16px);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .mobile-bottom-nav a, .mobile-bottom-nav button {
        border: 0;
        background: none;
        color: var(--text-muted);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: .68rem;
        cursor: pointer;
    }
    .mobile-bottom-nav .icon { width: 21px; height: 21px; }
    .mobile-bottom-nav .is-active { color: var(--primary); font-weight: 800; }
    .float-cart { display: none; }
    .float-contacts { bottom: 82px; right: 14px; }
    .site-footer { margin-top: 56px; padding-bottom: 44px; }
}

@media (max-width: 480px) {
    .container { padding-right: 14px; padding-left: 14px; }
    .logo .logo-text { font-size: 1.15rem; }
    .logo .logo-mark { width: 36px; height: 36px; }
    .product-grid { gap: 10px; }
    .product-card-image { margin: 6px 6px 0; }
    .product-card-body { padding: 11px; }
    .product-card-meta { display: block; }
    .product-card-cat { display: block; margin-bottom: 3px; }
    .product-card-sku { display: none; }
    .price-current { font-size: .86rem; }
    .card-add { width: 36px; height: 36px; }
    .card { padding: 20px 16px; }
    .page-hero { padding: 32px 0; margin-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Catalog, cart, checkout and account compositions */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.storefront-catalog { padding-bottom: 48px; }
.catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.catalog-heading h2 { font-size: 1.45rem; }
.catalog-heading p { color: var(--text-muted); font-size: .88rem; }
.page-hero--compact { padding: 32px 0; }
.cart-page, .checkout-page, .account-page { padding-top: 0; padding-bottom: 52px; }
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-xs);
}
.cart-item-image {
    width: 110px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: #f7f9fb;
    color: var(--text-soft);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-title { display: block; font-weight: 800; line-height: 1.6; margin-bottom: 4px; }
.cart-item-title:hover { color: var(--primary); }
.cart-item-unit { display: block; color: var(--text-muted); font-size: .8rem; margin-bottom: 12px; }
.cart-quantity { display: flex; align-items: center; gap: 8px; }
.cart-quantity .form-control { width: 74px; min-height: 40px; padding: 7px 9px; text-align: center; }
.cart-item-actions { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 14px; }
.cart-item-actions strong { white-space: nowrap; color: var(--primary-dark); }
.cart-remove {
    padding: 4px;
    border: 0;
    background: none;
    color: var(--danger);
    font-size: .8rem;
    cursor: pointer;
}
.cart-remove:hover { text-decoration: underline; }
.cart-continue { align-self: flex-start; color: var(--primary); font-weight: 700; padding: 8px 2px; }
.cart-summary {
    position: sticky;
    top: 155px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.cart-summary h2 { font-size: 1.1rem; margin-bottom: 14px; }
.cart-summary-note, .secure-note {
    margin: 12px 0 16px;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.7;
}
.secure-note { text-align: center; margin-bottom: 0; }
.checkout-card { margin-bottom: 16px; }
.checkout-card .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-step {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    font-size: .8rem;
}
.checkout-summary-title { font-size: 1.12rem; margin-bottom: 16px; }
.checkout-pay { margin-top: 18px; min-height: 50px; }
[aria-busy="true"] { opacity: .62; cursor: progress; }
.account-page { padding-top: 32px; }
.account-empty { margin-bottom: 20px; padding: 32px 18px; }
.auth-tabs {
    padding: 5px;
    border-radius: 12px;
    background: var(--surface-2);
}
.auth-tabs .auth-tab { flex: 1; border-color: transparent; background: transparent; }
.auth-tabs .auth-tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-xs); }
.auth-page {
    min-height: 620px;
    padding: 64px 18px;
    display: grid;
    place-items: start center;
    background:
        radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 28%),
        radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 30%);
}
.auth-panel {
    width: min(100%, 440px);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-md);
}
.auth-heading { text-align: center; margin-bottom: 22px; }
.auth-heading h1 { font-size: 1.35rem; margin: 10px 0 4px; }
.auth-heading p { color: var(--text-muted); font-size: .86rem; }
.auth-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--gradient-primary);
}
.auth-tabs { display: flex; gap: 6px; margin-bottom: 20px; }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}
@media (max-width: 640px) {
    .cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 12px;
    }
    .cart-item-image { width: 82px; }
    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }
    .cart-quantity { flex-wrap: wrap; }
    .checkout-page .form-row, .account-page .form-row { grid-template-columns: 1fr !important; }
    .auth-page { min-height: auto; padding: 28px 14px; }
    .auth-panel { padding: 24px 18px; border-radius: 18px; }
}

/* Quick order */
.quick-order-page { padding: 42px 0 64px; }
.quick-order-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.quick-order-head .eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
}
.quick-order-head h1 { font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.35; }
.quick-order-head p { margin-top: 7px; color: var(--text-muted); }
.quick-order-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    gap: 20px;
    align-items: start;
}
.quick-order-search-panel,
.quick-cart-panel {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.quick-order-search-panel { padding: 24px; min-height: 560px; }
.quick-order-search-head,
.quick-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.quick-order-search-head h2,
.quick-cart-head h2 { font-size: 1.08rem; }
.quick-order-search-head p { color: var(--text-muted); font-size: .8rem; }
.quick-order-search-head kbd {
    min-width: 34px;
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text-muted);
    text-align: center;
}
.quick-search-box { display: block; position: relative; }
.quick-search-box > .icon {
    position: absolute;
    z-index: 1;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
}
.quick-search-box input {
    width: 100%;
    height: 58px;
    padding: 0 50px 0 46px;
    border: 1.5px solid var(--border);
    border-radius: 15px;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
}
.quick-search-box input:focus {
    outline: 0;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}
.quick-search-loader {
    position: absolute;
    left: 16px;
    top: 20px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.quick-search-hint { min-height: 24px; padding: 8px 2px; color: var(--text-muted); font-size: .78rem; }
.quick-search-hint[data-state="success"] { color: var(--success); }
.quick-search-hint[data-state="error"] { color: var(--danger); }
.quick-product-results { display: grid; gap: 9px; }
.quick-product-result {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: border-color .18s, box-shadow .18s;
}
.quick-product-result:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: var(--shadow-xs); }
.quick-product-thumb {
    width: 62px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 11px;
    background: var(--surface-2);
    color: var(--text-soft);
}
.quick-product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.quick-product-copy { min-width: 0; }
.quick-product-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.quick-product-copy small,
.quick-product-buy small { display: block; color: var(--text-muted); font-size: .72rem; }
.quick-product-buy { display: grid; justify-items: end; gap: 4px; }
.quick-product-buy b { color: var(--primary-dark); font-size: .84rem; }
.quick-product-buy .is-out { color: var(--danger); }
.quick-results-empty,
.quick-cart-empty {
    min-height: 180px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 5px;
    color: var(--text-muted);
    text-align: center;
}
.quick-cart-panel { position: sticky; top: 150px; overflow: hidden; }
.quick-cart-head { padding: 20px 20px 14px; margin: 0; border-bottom: 1px solid var(--border); }
.quick-cart-head > div { display: flex; align-items: center; gap: 9px; }
.quick-cart-head a { color: var(--primary); font-size: .75rem; font-weight: 700; }
.quick-cart-count {
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 800;
}
.quick-cart-lines { max-height: 390px; overflow-y: auto; padding: 8px 16px; }
.quick-cart-line {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.quick-line-image { width: 44px; height: 44px; overflow: hidden; border-radius: 9px; background: var(--surface-2); }
.quick-line-image img { width: 100%; height: 100%; object-fit: contain; }
.quick-line-copy { min-width: 0; }
.quick-line-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.quick-line-copy small { color: var(--text-muted); font-size: .7rem; }
.quick-line-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 7px;
}
.quick-line-actions button {
    width: 29px;
    height: 29px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}
.quick-line-actions .quick-line-remove { margin-right: auto; color: var(--danger); }
.quick-cart-summary { padding: 16px 20px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }
.quick-cart-summary > div { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: .88rem; }
.quick-cart-summary .is-disabled { pointer-events: none; opacity: .5; }

@media (max-width: 920px) {
    .quick-order-shell { grid-template-columns: 1fr; }
    .quick-cart-panel { position: static; }
    .quick-order-search-panel { min-height: auto; }
}
@media (max-width: 640px) {
    .quick-order-page { padding-top: 24px; }
    .quick-order-head { align-items: flex-start; flex-direction: column; }
    .quick-order-search-panel { padding: 16px; border-radius: 17px; }
    .quick-product-result { grid-template-columns: 52px minmax(0, 1fr); }
    .quick-product-thumb { width: 52px; }
    .quick-product-buy {
        grid-column: 1 / -1;
        width: 100%;
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-items: start;
    }
    .quick-product-buy small { display: none; }
    .quick-product-buy .btn { grid-row: 1 / span 2; grid-column: 2; }
}

/* Distinct storefront chrome: technical ribbon, action header and editorial footer */
.topbar {
    background: #07182d;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner { height: 34px; }
.topbar-message,
.topbar-links { display: flex; align-items: center; gap: 12px; }
.topbar-message { color: #dce8f7; font-size: .76rem; }
.topbar-message strong { color: #fff; }
.topbar-message > span:last-child { color: #91a7c3; }
.topbar-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52,211,153,.13);
}
.topbar-links { margin-right: auto; color: #a9bad0; }
.topbar-links .topbar-item { color: inherit; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.1); }
.topbar-links .topbar-item:first-child { border-right: 0; padding-right: 0; }

.site-header {
    background: rgba(255,255,255,.96);
    border-bottom: 0;
    box-shadow: 0 8px 30px rgba(15,35,60,.07);
    backdrop-filter: blur(16px);
}
.header-main {
    display: grid;
    grid-template-columns: auto minmax(300px, 1fr) auto;
    height: 96px;
    gap: 28px;
}
.brand-lockup {
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 8px;
    min-width: 190px;
}
.brand-lockup .logo-mark,
.brand-lockup > img { grid-row: 1 / span 2; }
.brand-caption {
    grid-column: 2;
    align-self: start;
    margin-top: -5px;
    color: var(--text-soft) !important;
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: -.02em;
}
.header-search { max-width: none; }
.header-search input {
    height: 56px;
    border: 1px solid #dbe4ee;
    border-radius: 18px;
    background: #f4f7fa;
    padding-right: 52px;
}
.header-search .search-submit {
    left: 7px;
    height: 42px;
    min-width: 82px;
    border-radius: 13px;
    background: var(--primary);
    color: #fff;
}
.header-actions { gap: 8px; margin-right: 0; }
.header-action {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: var(--text);
    transition: background .18s, border-color .18s, transform .18s;
}
.header-action:hover { border-color: var(--border); background: var(--surface-2); transform: translateY(-1px); }
.header-action-icon {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 12px;
    background: #edf2f7;
    color: var(--primary);
}
.header-action small,
.header-action strong { display: block; white-space: nowrap; }
.header-action small { color: var(--text-soft); font-size: .6rem; line-height: 1.5; }
.header-action strong { font-size: .75rem; line-height: 1.5; }
.header-action--quick {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
    background: var(--accent-soft);
}
.header-action--quick .header-action-icon { background: var(--accent); color: #111; }
.header-cart { position: relative; }
.header-cart .cart-badge {
    top: 2px;
    right: 2px;
    border: 2px solid #fff;
}

.site-nav {
    border: 0;
    border-top: 1px solid #edf1f5;
    background: #fff;
}
.nav-inner { height: 48px; }
.nav-cats-btn {
    height: 48px;
    padding: 0 18px;
    border-radius: 0;
    background: #0b223d;
    color: #fff;
}
.nav-cats-btn:hover { background: #102f52; color: #fff; }
.nav-links { width: 100%; gap: 2px; }
.nav-links > li > a {
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: .78rem;
}
.nav-links .nav-quick-order { color: var(--primary); font-weight: 800; }
.nav-links .nav-spacer { flex: 1; }
.nav-hot {
    border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
    background: var(--accent-soft);
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 110px;
    padding: 0 0 26px;
    background: #07182d;
    color: #9eb0c7;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-showcase {
    position: relative;
    top: -38px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    border: 1px solid color-mix(in srgb, var(--accent) 38%, #fff);
    border-radius: 22px;
    background:
        radial-gradient(circle at 15% 0, rgba(255,255,255,.85), transparent 35%),
        var(--gradient-accent);
    color: #0b1726;
    box-shadow: 0 24px 50px rgba(2,12,27,.25);
}
.footer-showcase-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: rgba(7,24,45,.9);
    color: #fff;
}
.footer-showcase-mark .icon { width: 30px; height: 30px; }
.footer-showcase span { font-size: .72rem; font-weight: 700; }
.footer-showcase h2 { max-width: 680px; margin-top: 3px; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.55; }
.footer-showcase-actions { display: flex; align-items: center; gap: 16px; }
.footer-showcase-actions .btn-accent { background: #07182d; color: #fff; box-shadow: none; }
.footer-call { display: grid; color: #0b1726; }
.footer-call small { opacity: .65; }
.footer-call strong { direction: ltr; font-size: .9rem; }
.footer-grid {
    grid-template-columns: minmax(260px, 1.7fr) .8fr .8fr 1.2fr;
    gap: 42px;
    margin: 5px 0 38px;
}
.footer-brand {
    padding-left: 34px;
    border-left: 1px solid rgba(255,255,255,.1);
}
.footer-brand-name { color: #fff; font-size: 1.55rem; font-weight: 900; }
.footer-brand-label {
    display: inline-block;
    margin: 4px 0 17px;
    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: var(--accent);
    font-size: .65rem;
}
.footer-title {
    position: relative;
    padding-bottom: 10px;
    font-size: .88rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--accent);
}
.footer-bottom {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-color: rgba(255,255,255,.1);
    color: #778da8;
}

@media (max-width: 1180px) {
    .header-main { grid-template-columns: auto minmax(260px, 1fr) auto; gap: 16px; }
    .header-action--quick { display: none; }
    .header-action { padding: 7px; }
    .header-action > span:last-child { display: none; }
    .footer-showcase { grid-template-columns: 58px minmax(0, 1fr); }
    .footer-showcase-actions { grid-column: 2; }
}
@media (max-width: 768px) {
    .topbar-message > span:last-child, .topbar-links > *:not(:first-child) { display: none; }
    .topbar-message strong { font-size: .69rem; }
    .header-main {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 72px;
        padding: 9px 0 12px;
    }
    .brand-lockup { min-width: 0; }
    .brand-caption { display: none; }
    .brand-lockup .logo-text { display: block; }
    .header-actions > *:not(:last-child) { display: none; }
    .header-cart { min-height: 42px; padding: 2px; border: 0; }
    .header-cart .header-action-icon { width: 40px; height: 40px; }
    .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .footer-showcase {
        top: -28px;
        grid-template-columns: 46px 1fr;
        padding: 20px;
        border-radius: 18px;
    }
    .footer-showcase-mark { width: 46px; height: 46px; border-radius: 14px; }
    .footer-showcase-actions { grid-column: 1 / -1; justify-content: space-between; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-brand { grid-column: 1 / -1; padding: 0 0 24px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 480px) {
    .topbar-links { display: none; }
    .header-main { gap: 9px; }
    .brand-lockup .logo-text { display: none; }
    .footer-showcase-actions { align-items: stretch; flex-direction: column; }
    .footer-showcase-actions .btn { width: 100%; }
    .footer-call { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
}
