/* ============================================================
   HOKURACING — Static Design Prototype
   Single stylesheet for backend handoff. All classes match
   backend Blade partials (see BACKEND: comments in HTML).
   ============================================================ */

:root {
    /* ---- locked variables (backend already uses these) ---- */
    --red: #c0392b;
    --red-dark: #a93226;
    --ink: #f0f0f0;
    --ink-mute: #888;
    --ink-dim: #555;
    --line: #2a2a2a;
    --bg-1: #141414;
    --bg-2: #1a1a1a;

    /* ---- design tokens ---- */
    --bg: #0d0d0d;
    --line-soft: #1f1f1f;
    --red-glow: rgba(192, 57, 43, 0.35);
    --red-soft: rgba(192, 57, 43, 0.1);
    --ok: #2ecc71;
    --warn: #f39c12;

    --font-head: 'Archivo Black', sans-serif;
    --font-ui:   'Archivo', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --max-w: 1440px;
}

/* ============ BASE ============ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red); }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
input, select, textarea { font: inherit; }
::selection { background: var(--red); color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); }

.display { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 0.95; text-transform: uppercase; }
.mono { font-family: var(--font-mono); }

/* ============ TOPBAR ============ */
.topbar {
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 7px 16px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.topbar::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,0.08) 10px 20px);
    pointer-events: none;
}
.topbar-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 1;
}
.topbar-left, .topbar-right { display: inline-flex; align-items: center; gap: 16px; }

/* ============ HEADER ============ */
.header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 32px;
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 32px; align-items: center;
    height: 72px;
}
.logo { display: inline-flex; align-items: center; }
.logo-img {
    height: 22px; width: auto;
    filter: drop-shadow(0 0 12px var(--red-glow));
}

.search {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 0 14px;
    height: 42px;
    max-width: 520px;
}
.search svg { color: var(--ink-mute); flex: none; }
.search input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--ink); font-size: 14px;
}
.search input::placeholder { color: var(--ink-mute); }
.kbd {
    border: 1px solid var(--line);
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 10px; color: var(--ink-mute);
}

.actions { display: flex; align-items: center; gap: 28px; }
.action-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--ink-mute);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.15s;
}
.action-item:hover { color: var(--ink); }
.action-item svg { width: 18px; height: 18px; }
.action-item .label { display: flex; flex-direction: column; line-height: 1.15; }
.action-item .label .top { color: var(--ink-mute); font-size: 9px; }
.action-item .label .bot { color: var(--ink); font-family: var(--font-mono); font-size: 13px; }
.badge {
    position: absolute; top: -6px; right: -8px;
    background: var(--red); color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    min-width: 16px; height: 16px; padding: 0 4px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
}

/* ============ NAV ============ */
.nav {
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 32px;
    display: flex; align-items: stretch;
    height: 52px;
    gap: 2px;
}
.nav-item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 22px;
    font-family: var(--font-ui); font-weight: 700;
    font-size: 13px; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
    transition: color 0.15s;
}
.nav-item:first-child { padding-left: 0; }
.nav-item::after {
    content: ''; position: absolute;
    left: 22px; right: 22px; bottom: 0;
    height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.22s ease;
}
.nav-item:first-child::after { left: 0; }
.nav-item:hover::after, .nav-item.active::after { transform: scaleX(1); }
.nav-item.active { color: var(--red); }
.chev { color: var(--ink-mute); font-size: 10px; }
.nav-right {
    margin-left: auto;
    display: flex; align-items: center; gap: 20px;
    font-family: var(--font-mono);
    font-size: 12px; color: var(--ink-mute);
}
.live {
    width: 6px; height: 6px;
    background: var(--ok);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
    animation: live-pulse 2s infinite;
    margin-right: 6px;
}
@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
}

/* ============ MEGA MENU ============ */
.mega {
    position: absolute; top: 100%; left: 0; right: 0;
    z-index: 80;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6);
    display: none;
}
.nav:hover .mega,
.nav-item:focus + .mega,
.mega:hover { display: block; }
.mega-inner { max-width: var(--max-w); margin: 0 auto; padding: 20px 32px 24px; }
.mega-top {
    display: flex; align-items: center; gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 16px;
}
.mega-search {
    display: flex; align-items: center; gap: 10px;
    flex: 0 0 320px;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 10px 14px;
    transition: border-color 0.15s;
}
.mega-search:focus-within { border-color: var(--red); }
.mega-search svg { color: var(--ink-mute); }
.mega-search input { flex: 1; background: none; border: none; outline: none; color: var(--ink); font-size: 13px; }
.mega-search input::placeholder { color: var(--ink-mute); }
.mega-body { display: grid; grid-template-columns: 220px 1fr; gap: 24px; min-height: 260px; }
.mega-rail {
    max-height: 360px; overflow-y: auto;
    padding-right: 8px;
    border-right: 1px solid var(--line-soft);
}
.mega-rail::-webkit-scrollbar { width: 4px; }
.mega-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.mega-rail-label {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--ink-mute); letter-spacing: 0.2em;
    padding: 4px 10px 10px;
    text-transform: uppercase;
}
.mega-rail a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 10px;
    font-family: var(--font-ui); font-weight: 600;
    font-size: 12.5px;
    color: var(--ink-mute);
    border-left: 2px solid transparent;
    transition: all 0.1s;
}
.mega-rail a:hover, .mega-rail a.on {
    color: var(--ink); background: var(--bg-2);
    border-left-color: var(--red);
}
.mega-rail .count { font-family: var(--font-mono); font-size: 10px; color: var(--ink-dim); }
.mega-rail a.on .count { color: var(--red); }

.mega-panel-head {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 2px 4px 14px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 14px;
}
.mega-panel-brand {
    font-family: var(--font-head);
    font-size: 18px; color: var(--ink);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.mega-panel-all {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--red);
    letter-spacing: 0.04em;
}
.mega-panel-all:hover { color: var(--ink); }
.mega-models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mega-models a {
    padding: 10px 12px;
    border: 1px solid transparent;
    font-family: var(--font-ui); font-weight: 700;
    font-size: 11.5px; color: var(--ink);
    letter-spacing: 0.04em;
    transition: all 0.1s;
}
.mega-models a:hover {
    background: var(--bg-2);
    border-color: var(--line);
    color: var(--red);
}
.mega-models .code {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-mute);
    margin-top: 2px;
    letter-spacing: 0.06em;
}

/* ============ HERO BANNER ============ */
.hero {
    position: relative;
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 32px;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    padding: 72px 0 96px;
    min-height: 560px;
}
.hero-bg, .hero-grid {
    position: absolute; inset: 0; pointer-events: none;
}
.hero-bg {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(192,57,43,0.25), transparent 60%),
        repeating-linear-gradient(110deg, transparent 0 38px, var(--red-soft) 38px 39px);
}
.hero-grid {
    opacity: 0.4;
    background-image:
        linear-gradient(var(--line-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
    background-size: 120px 120px;
    -webkit-mask: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
            mask: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
}
.hero-tag, .hero-tag-right {
    position: absolute; top: 24px;
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-mono); font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase; letter-spacing: 0.2em;
    z-index: 4;
}
.hero-tag { left: 32px; }
.hero-tag-right { right: 32px; }
.hero-tag .line, .hero-tag-right .line { width: 40px; height: 1px; background: var(--red); display: block; }

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(56px, 11vw, 160px);
    line-height: 0.9;
    color: var(--ink);
    text-align: center;
    margin: 24px 0;
    letter-spacing: -0.02em;
    text-shadow: 0 0 80px var(--red-glow);
}
.hero-title .red { color: var(--red); }
.hero-sub {
    text-align: center;
    color: var(--ink-mute);
    font-size: 14px;
    letter-spacing: 0.04em;
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn-red, .btn-primary {
    height: 56px; padding: 0 40px 0 28px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 13px; letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background 0.15s;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.btn-red:hover, .btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-red:disabled, .btn-primary:disabled { background: var(--bg-2); color: var(--ink-mute); cursor: not-allowed; }
.btn-ghost {
    height: 56px; padding: 0 22px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-ui); font-weight: 800;
    font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--red); background: var(--red-soft); }
.btn-outline-red {
    height: 56px; padding: 0 22px;
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: var(--font-ui); font-weight: 800;
    font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.15s;
}
.btn-outline-red:hover { background: var(--red); color: #fff; }

/* ============ VEHICLE FINDER ============ */
.finder-wrap {
    position: relative; z-index: 5;
    max-width: var(--max-w); margin: -48px auto 0;
    padding: 0 32px;
}
.finder {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    position: relative;
}
.finder::before {
    content: ''; position: absolute; left: -1px; top: -1px;
    width: 40px; height: 3px; background: var(--red);
}
.finder-label {
    padding-right: 18px;
    border-right: 1px solid var(--line);
    margin-right: 4px;
}
.finder-label .small {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}
.finder-label .big {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.finder-field { position: relative; }
.finder-field label {
    position: absolute; top: 8px; left: 14px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    pointer-events: none;
}
.finder-select {
    width: 100%; height: 56px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 22px 36px 8px 14px;
    font-family: var(--font-ui);
    font-size: 14px; font-weight: 600;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
        linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
    background-position: calc(100% - 18px) center, calc(100% - 13px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: border-color 0.15s;
}
.finder-select:hover { border-color: var(--red-dark); }
.finder-select:focus { outline: none; border-color: var(--red); background-color: var(--bg); }
.finder-select:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ SECTION HEAD ============ */
.section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 80px 32px;
}
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 36px;
    gap: 32px;
}
.section-head .tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.section-head .tag::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--red);
}
.section-head h2 {
    font-family: var(--font-head);
    font-size: clamp(32px, 4vw, 52px);
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
}
.section-head h2 .red { color: var(--red); }
.section-head p { margin: 8px 0 0; color: var(--ink-mute); max-width: 420px; }

/* ============ BRAND CARDS ============ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.brand-card {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-1);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.2s;
}
.brand-card:hover { border-color: var(--red); }
.brand-card__image {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 32px;
}
.brand-card__image img {
    max-width: 60%; max-height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
    transition: filter 0.2s, transform 0.3s;
}
.brand-card:hover .brand-card__image img {
    filter: brightness(0) invert(1);
    transform: scale(1.04);
}
.brand-card__overlay {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 22px;
    background: linear-gradient(to top, var(--bg) 20%, transparent);
    display: flex; justify-content: space-between; align-items: center;
}
.brand-card__name {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--ink);
}
.brand-card__overlay::after {
    content: '→';
    color: var(--red);
    font-size: 22px;
    font-family: var(--font-mono);
}

/* ---- brand-card--photo: tikros nuotraukos, ne logotipai ant balto fono ---- */
.brand-card--photo .brand-card__image {
    padding: 0;
}
.brand-card--photo .brand-card__image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(1.05);
    transition: filter 0.25s, transform 0.4s;
}
.brand-card--photo:hover .brand-card__image img {
    filter: brightness(0.82) saturate(1.1);
    transform: scale(1.04);
}
.brand-card--photo .brand-card__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 15%, transparent 75%);
}

.brand-card__logo {
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 2;
    pointer-events: none;
}
.brand-card__logo img {
    height: 28px;
    max-width: 60%;
    width: auto;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.65)) drop-shadow(0 0 12px rgba(0,0,0,0.4));
}
@media (max-width: 600px) {
    .brand-card__logo { top: 14px; left: 16px; }
    .brand-card__logo img { height: 20px; }
}


/* ============ PRODUCT CARDS / GRID ============ */
.products-grid, .product-collection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-collection .grid-item, .product-collection .halo-row-item { padding: 0; }
.product-card {
    display: flex; flex-direction: column;
    background: var(--bg-1);
    border: 1px solid var(--line);
    overflow: hidden;
    color: var(--ink);
    transition: border-color 0.18s, transform 0.18s;
    height: 100%;
}
.product-card:hover { border-color: var(--red); transform: translateY(-2px); }

.product-card .img {
    position: relative;
    aspect-ratio: 1;
    background: radial-gradient(ellipse at 50% 55%, var(--bg-2), var(--bg) 80%);
    overflow: hidden;
}
.product-card .img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 14%;
    transition: transform 0.4s ease;
}
.product-card:hover .img img { transform: scale(1.05); }

.ribbon {
    position: absolute; top: 12px; left: 0;
    background: var(--red);
    color: #fff;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 10px;
    padding: 5px 14px 5px 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    z-index: 2;
}
.product-card .wish {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px;
    background: rgba(13,13,13,0.7);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    color: var(--ink-mute);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.15s;
    z-index: 2;
}
.product-card .wish:hover, .product-card .wish.on {
    color: var(--red); border-color: var(--red);
}
.product-card .wish.on svg { fill: var(--red); }
.spec-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 6px 12px;
    display: flex; gap: 10px; justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase; letter-spacing: 0.15em;
    background: linear-gradient(transparent, rgba(13,13,13,0.95));
}

.product-card .body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column;
    gap: 8px;
    flex: 1;
}
.product-card .brand {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}
.product-card .name {
    font-family: var(--font-ui); font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.product-card .sku {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
}
.product-card .finishes {
    display: flex; align-items: center; gap: 6px;
    margin-top: 2px;
}
.product-card .finishes .dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1px solid var(--line);
}
.product-card .finishes .dot-0 { background: #1a1a1a; }
.product-card .finishes .dot-1 { background: linear-gradient(135deg, #888, #cfcfcf); }
.product-card .finishes .dot-2 { background: linear-gradient(135deg, #2a2a2a, #6a6a6a); }
.product-card .finishes .dot-3 { background: linear-gradient(135deg, #c0392b, #6a1410); }
.product-card .finishes-count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-mute);
    margin-left: 4px;
}

.product-card .price-row {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
}
.product-card .price {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--ink);
}
.product-card .was {
    color: var(--ink-mute);
    text-decoration: line-through;
    font-size: 13px;
}
.product-card .add {
    margin-top: 12px;
    height: 42px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-ui); font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.15s;
}
.product-card .add:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* certificate badges */
.cert-badges {
    display: flex; gap: 6px; margin-top: 4px;
}
.cert-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--ink-mute);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: 2px 6px;
}

/* ============ MARQUEE ============ */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg-1);
    padding: 18px 0;
}
.marquee-track {
    display: flex; gap: 60px;
    width: max-content;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}
.marquee span {
    font-family: var(--font-head);
    font-size: 28px;
    color: var(--ink-mute);
    display: inline-flex; align-items: center; gap: 60px;
}
.marquee .red { color: var(--red); }
.marquee .star { color: var(--red); font-size: 18px; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ WHY CHOOSE GRID (NEW) ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.why-card {
    background: var(--bg-1);
    padding: 36px 28px;
    display: flex; flex-direction: column; gap: 14px;
}
.why-card svg { width: 32px; height: 32px; color: var(--red); }
.why-card h3 {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--ink);
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.why-card p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-mute);
    line-height: 1.6;
}

/* ============ INSTAGRAM GRID (NEW) ============ */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}
.instagram-tile {
    aspect-ratio: 1;
    background: var(--bg-1);
    overflow: hidden;
    position: relative;
}
.instagram-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.85) brightness(0.85);
    transition: filter 0.3s, transform 0.4s;
}
.instagram-tile:hover img {
    filter: saturate(1.1) brightness(1);
    transform: scale(1.08);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
    max-width: var(--max-w); margin: 0 auto;
    padding: 16px 32px 0;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex; gap: 8px;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .active { color: var(--ink); }

/* ============ PLP HERO ============ */
.plp-hero {
    max-width: var(--max-w); margin: 0 auto;
    padding: 56px 32px 32px;
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 32px;
    border-bottom: 1px solid var(--line-soft);
}
.plp-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(44px, 6vw, 72px);
    color: var(--ink);
    line-height: 0.9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.plp-hero h1 .red { color: var(--red); }
.plp-hero .meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: right;
}
.plp-hero .meta b { color: var(--ink); font-size: 14px; }

/* ============ PLP FILTERS (HORIZONTAL) ============ */
.wheel-filters-horizontal {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 18px 24px;
    max-width: var(--max-w); margin: 24px auto 0;
}
.wheel-filters-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.wheel-filter-item {
    position: relative;
    display: flex; align-items: center; gap: 12px;
}
.wheel-filter-number {
    width: 28px; height: 28px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--ink-mute);
    font-family: var(--font-mono); font-size: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.wheel-filter-item:has(select:not([value=""])) .wheel-filter-number {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.wheel-filter-select-horizontal {
    flex: 1; height: 44px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0 30px 0 12px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    appearance: none; -webkit-appearance: none;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
        linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
    background-position: calc(100% - 14px) center, calc(100% - 10px) center;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
    transition: border-color 0.15s;
}
.wheel-filter-select-horizontal:hover { border-color: var(--red-dark); }
.wheel-filter-select-horizontal:focus { outline: none; border-color: var(--red); }

/* ============ PLP TOOLBAR ============ */
.toolbar {
    max-width: var(--max-w); margin: 0 auto;
    padding: 24px 32px 16px;
}
.toolbar-wrapper {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.results-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.results-count .count {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 18px;
    margin-right: 6px;
}
.sort-select {
    height: 38px; padding: 0 32px 0 14px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-ui); font-weight: 700;
    font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase;
    appearance: none; -webkit-appearance: none;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
        linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
    background-position: calc(100% - 16px) center, calc(100% - 12px) center;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}
.products-grid {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 32px 80px;
}

/* ============ PDP ============ */
.pdp {
    max-width: var(--max-w); margin: 0 auto;
    padding: 24px 32px 64px;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}
.pdp-gallery {
    position: sticky; top: 140px;
    align-self: flex-start;
}
.pdp-main {
    aspect-ratio: 1;
    background: radial-gradient(ellipse at 50% 55%, var(--bg-2), var(--bg) 80%);
    border: 1px solid var(--line);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.pdp-main img {
    width: 80%; height: 80%; object-fit: contain;
    transition: transform 0.6s ease;
}
.pdp-main:hover img {  }
.angle-tag {
    position: absolute; top: 20px; left: 20px;
    font-family: var(--font-mono); font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase; letter-spacing: 0.25em;
    display: flex; align-items: center; gap: 10px;
}
.angle-tag .line { width: 40px; height: 1px; background: var(--red); }
.hud {
    position: absolute; bottom: 20px; right: 20px;
    font-family: var(--font-mono); font-size: 10px;
    color: var(--ink-mute);
    text-align: right;
    letter-spacing: 0.2em;
}
.hud .big {
    display: block;
    font-family: var(--font-head);
    color: var(--ink); font-size: 18px;
    letter-spacing: 0;
    margin-top: 4px;
}
.pdp-thumbs {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 10px; margin-top: 10px;
}
.pdp-thumb {
    aspect-ratio: 1;
    background: var(--bg-1);
    border: 1px solid var(--line);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: border-color 0.15s;
}
.pdp-thumb img { width: 70%; height: 70%; object-fit: contain; }
.pdp-thumb.on { border-color: var(--red); }

.pdp-info { display: flex; flex-direction: column; gap: 24px; }
.pdp-info .brand-label {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--red);
    text-transform: uppercase; letter-spacing: 0.3em;
}
.pdp-info h1 {
    font-family: var(--font-head);
    font-size: clamp(32px, 3.4vw, 48px);
    color: var(--ink);
    margin: 8px 0 0;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.pdp-sub {
    display: flex; gap: 18px; align-items: center;
    color: var(--ink-mute);
    font-size: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
    flex-wrap: wrap;
}
.pdp-sub .rating { color: var(--ink); }
.pdp-sub .star { color: var(--red); }
.pdp-sub .sku {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.pdp-stock {
    display: flex; gap: 8px; align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ok);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.pdp-stock::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--ok);
    border-radius: 50%;
}

.pdp-price {
    display: flex; align-items: flex-end; gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
    flex-wrap: wrap;
}
.pdp-price .big {
    font-family: var(--font-head);
    font-size: 56px;
    color: var(--ink);
    line-height: 1;
}
.pdp-price .per {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
}
.pdp-price .was {
    color: var(--ink-mute);
    text-decoration: line-through;
    font-size: 18px;
    margin-bottom: 8px;
}
.pdp-price .save {
    background: var(--red); color: #fff;
    padding: 4px 8px;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* spec-tiles */
.spec-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.spec-tile {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 12px 14px;
}
.spec-tile__label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-mute);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.spec-tile__value {
    font-family: var(--font-ui); font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}

/* aftermarket-notice */
.aftermarket-notice {
    display: flex; gap: 14px;
    padding: 14px 16px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-left: 3px solid var(--red);
}
.aftermarket-notice__icon { color: var(--red); flex-shrink: 0; }
.aftermarket-notice__body {
    color: var(--ink-mute);
    font-size: 13px;
    line-height: 1.55;
}
.aftermarket-notice__body b { color: var(--ink); }

.qty-row {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 12px;
    margin-top: 8px;
}
.qty {
    display: flex; align-items: center;
    background: var(--bg-1);
    border: 1px solid var(--line);
}
.qty button { width: 44px; height: 56px; color: var(--ink-mute); }
.qty button:hover { color: var(--red); }
.qty .num {
    width: 56px;
    text-align: center;
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--ink);
}
.icon-btn {
    width: 56px; height: 56px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-mute);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.icon-btn:hover { border-color: var(--red); color: var(--red); }

/* ============ CART HEAD ============ */
.cart-head {
    max-width: var(--max-w); margin: 0 auto;
    padding: 48px 32px 24px;
}
.cart-head h1 {
    font-family: var(--font-head);
    font-size: clamp(40px, 5vw, 64px);
    color: var(--ink);
    margin: 0;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.cart-head h1 .red { color: var(--red); }
.cart-head .meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 8px;
}

/* ============ CART LAYOUT ============ */
.cart-layout {
    max-width: var(--max-w); margin: 0 auto;
    padding: 24px 32px 80px;
    display: grid; grid-template-columns: 1fr 420px;
    gap: 48px;
}
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto auto;
    gap: 20px; align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--line-soft);
}
.cart-item:first-child { border-top: none; }
.cart-item .thumb {
    width: 120px; aspect-ratio: 1;
    background: radial-gradient(ellipse at 50% 55%, var(--bg-2), var(--bg) 80%);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.cart-item .thumb img { width: 80%; height: 80%; object-fit: contain; }
.cart-item .info { display: flex; flex-direction: column; gap: 4px; }
.cart-item .info .brand {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--red); text-transform: uppercase;
    letter-spacing: 0.25em;
}
.cart-item .info .name {
    font-family: var(--font-ui); font-weight: 700;
    font-size: 15px; color: var(--ink);
}
.cart-item .info .config {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--ink-mute);
}
.cart-item .price {
    font-family: var(--font-head); font-size: 22px;
    color: var(--ink);
}
.cart-item .price .per {
    display: block;
    font-family: var(--font-mono); font-size: 10px;
    color: var(--ink-mute);
    font-weight: 400; letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 2px;
}
.cart-item .qty-s {
    display: flex; align-items: center;
    border: 1px solid var(--line);
    background: var(--bg-1);
}
.cart-item .qty-s button { width: 34px; height: 40px; color: var(--ink-mute); }
.cart-item .qty-s .num { width: 36px; text-align: center; font-weight: 700; font-size: 13px; }
.cart-item .remove { color: var(--ink-mute); padding: 8px; }
.cart-item .remove:hover { color: var(--red); }

.cart-summary {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 28px;
    position: sticky; top: 140px;
    align-self: flex-start;
}
.cart-summary h3 {
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--ink);
    margin: 0 0 20px;
    text-transform: uppercase;
}
.cart-summary h3 .red { color: var(--red); }
.cart-summary .row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-mute);
}
.cart-summary .row b { color: var(--ink); font-weight: 600; }
.cart-summary .total {
    display: flex; justify-content: space-between; align-items: baseline;
    border-top: 1px solid var(--line-soft);
    padding-top: 18px; margin-top: 8px;
}
.cart-summary .total .lab {
    font-family: var(--font-ui); font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.cart-summary .total .val {
    font-family: var(--font-head); font-size: 32px;
    color: var(--ink);
}
.cart-summary .promo {
    display: flex;
    margin: 20px 0;
    border: 1px solid var(--line);
    background: var(--bg-2);
}
.cart-summary .promo input {
    flex: 1;
    background: none;
    border: none; outline: none;
    color: var(--ink);
    padding: 12px 14px;
    font-family: var(--font-mono); font-size: 12px;
    letter-spacing: 0.1em;
}
.cart-summary .promo button {
    padding: 0 16px;
    color: var(--red);
    font-family: var(--font-ui); font-weight: 800;
    font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
}
.btn-add {
    height: 56px;
    background: var(--red); color: #fff;
    border: none;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 13px; letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    margin-top: 20px;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    transition: background 0.15s;
}
.btn-add:hover { background: var(--red-dark); }

.cart-summary .guarantee {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-2);
    border-left: 2px solid var(--red);
    font-size: 12px;
    color: var(--ink-mute);
    line-height: 1.6;
}
.cart-summary .guarantee .lab {
    font-family: var(--font-ui); font-weight: 800;
    font-size: 11px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 6px;
}

/* ============ CART SIDEBAR (halo-sidebar slide-in) ============ */
.halo-sidebar {
    position: fixed; top: 0; right: -440px; bottom: 0;
    width: 420px; max-width: 90vw;
    background: var(--bg);
    border-left: 1px solid var(--line);
    z-index: 200;
    display: flex; flex-direction: column;
    transition: right 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -20px 0 40px rgba(0,0,0,0.5);
}
.halo-sidebar.open { right: 0; }
.halo-sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
}
.halo-sidebar-header .title {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.halo-sidebar-close {
    width: 32px; height: 32px;
    border: 1px solid var(--line);
    color: var(--ink-mute);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}
.halo-sidebar-close:hover { color: var(--red); border-color: var(--red); }
.wrapper-cartCount {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.wrapper-cartCount .cartCount {
    color: var(--red);
    font-family: var(--font-head);
    font-size: 14px;
    margin-right: 4px;
}
.halo-sidebar-wrapper {
    flex: 1;
    overflow-y: auto;
    display: flex; flex-direction: column;
}
.previewCartList {
    list-style: none;
    padding: 0; margin: 0;
    flex: 1;
}
.previewCartItem {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line-soft);
}
.previewCartItem-image {
    width: 80px; aspect-ratio: 1;
    background: var(--bg-1);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.previewCartItem-image img { width: 80%; height: 80%; object-fit: contain; }
.previewCartItem-content {
    display: flex; flex-direction: column;
    gap: 6px; min-width: 0;
}
.previewCartItem-name {
    font-family: var(--font-ui); font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    line-height: 1.3;
    text-transform: uppercase;
}
.previewCartItem-price .money {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--ink);
}
.previewCartItem-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--bg-1);
    width: fit-content;
    margin-top: 4px;
}
.previewCartItem-qty .btn-quantity {
    width: 28px; height: 32px;
    color: var(--ink-mute);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.previewCartItem-qty .btn-quantity:hover { color: var(--red); }
.previewCartItem-qty .quantity {
    width: 36px; height: 32px;
    background: transparent;
    border: none;
    color: var(--ink);
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    -moz-appearance: textfield;
}
.previewCartItem-qty .quantity::-webkit-inner-spin-button,
.previewCartItem-qty .quantity::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.previewCartItem-remove {
    color: var(--ink-mute);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    height: fit-content;
    transition: color 0.15s;
}
.previewCartItem-remove:hover { color: var(--red); }

.previewCartInfo {
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    background: var(--bg-1);
}
.previewCartTotals {
    display: flex; justify-content: space-between;
    margin-bottom: 16px;
}
.previewCartTotals-label {
    font-family: var(--font-ui); font-weight: 800;
    font-size: 13px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.previewCartTotals-value .money {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--ink);
}
.previewCartAction {
    display: grid; gap: 8px;
}
.button {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 12px; letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.15s, border-color 0.15s;
}
.button-1, .button-checkout {
    background: var(--red); color: #fff;
    border: 1px solid var(--red);
}
.button-1:hover, .button-checkout:hover { background: var(--red-dark); color: #fff; }
.button-2, .button-view-cart {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
}
.button-2:hover, .button-view-cart:hover { border-color: var(--red); color: var(--red); }

/* sidebar backdrop */
.sidebar-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.sidebar-backdrop.show { opacity: 1; pointer-events: auto; }

/* ============ CHECKOUT ============ */
.checkout-layout {
    max-width: 1200px; margin: 0 auto;
    padding: 32px 32px 80px;
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: 48px;
}
.checkout-layout .row { gap: 0; }
.checkout-layout .col-left, .checkout-layout .col-right {
    display: block;
}

.checkout-steps {
    display: flex; gap: 8px; margin-bottom: 32px;
}
.checkout-step {
    flex: 1;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    font-family: var(--font-ui); font-weight: 800;
    font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
    -webkit-clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
            clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.checkout-step:last-child { -webkit-clip-path: none; clip-path: none; }
.checkout-step .num {
    width: 22px; height: 22px;
    border: 1px solid var(--line-soft);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 11px;
}
.checkout-step.active { color: var(--ink); border-color: var(--red); background: var(--red-soft); }
.checkout-step.active .num { background: var(--red); color: #fff; border-color: var(--red); }
.checkout-step.done .num { background: var(--ok); color: var(--bg); border-color: var(--ok); }

.fieldset {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 12px;
}
.field {
    position: relative;
    grid-column: span 1;
}
.field.full { grid-column: 1 / -1; }
.field__input,
.field input, .field select {
    width: 100%; height: 56px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 22px 14px 8px;
    font-size: 14px;
    font-weight: 500;
    appearance: none; -webkit-appearance: none;
    transition: border-color 0.15s;
}
.field__input:focus,
.field input:focus, .field select:focus {
    outline: none; border-color: var(--red);
}
.field label {
    position: absolute; top: 8px; left: 14px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    pointer-events: none;
}

.section-label {
    font-family: var(--font-ui); font-weight: 900;
    font-size: 12px; letter-spacing: 0.15em;
    color: var(--ink);
    text-transform: uppercase;
    margin: 32px 0 16px;
    display: flex; align-items: center; gap: 10px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px; height: 2px;
    background: var(--red);
}

/* shipping options */
.ship-opt {
    padding: 18px 20px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.ship-opt + .ship-opt { margin-top: 10px; }
.ship-opt:hover { border-color: var(--red-dark); }
.ship-opt.on { border-color: var(--red); background: var(--red-soft); }
.ship-opt .radio {
    width: 18px; height: 18px;
    border: 1px solid var(--line);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.ship-opt.on .radio { border-color: var(--red); }
.ship-opt.on .radio::after {
    content: '';
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
}
.ship-opt .info { flex: 1; }
.ship-opt .title {
    font-family: var(--font-ui); font-weight: 800;
    font-size: 13px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.ship-opt .eta {
    color: var(--ink-mute);
    font-size: 12px;
    margin-top: 2px;
}
.ship-opt .price {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--ink);
}

/* payment methods */
.pay-method-card {
    padding: 16px 20px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    display: flex; align-items: center; gap: 14px;
    cursor: pointer;
    transition: border-color 0.15s;
    margin-bottom: 10px;
}
.pay-method-card:hover { border-color: var(--red-dark); }
.pay-method-active { border-color: var(--red); background: var(--red-soft); }
.pay-radio {
    width: 18px; height: 18px;
    border: 1px solid var(--line);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.pay-radio-on { border-color: var(--red); }
.pay-radio-on::after {
    content: '';
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
}
.pay-method-card .label {
    flex: 1;
    font-family: var(--font-ui); font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.pay-method-card .logos {
    display: flex; gap: 6px;
}
.pay-method-card .logos span {
    background: #fff;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #333;
    font-weight: 700;
}

.checkout-submit, .checkot-btn {
    width: 100%;
    height: 56px;
    background: var(--red);
    color: #fff;
    border: none;
    margin-top: 24px;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
            clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.checkout-submit:hover { background: var(--red-dark); }
.btn__content { padding-right: 6px; }

/* order summary */
.order-summary {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 28px;
    position: sticky; top: 140px;
    align-self: flex-start;
}
.order-summary__section { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.order-summary__section:last-child { border-bottom: none; }
.order-summary__section--product-list { padding-top: 0; }
.product {
    display: grid; grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 8px 0;
    align-items: center;
}
.product__image {
    width: 64px; aspect-ratio: 1;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.product__image img { width: 80%; height: 80%; object-fit: contain; }
.product__description__name {
    font-family: var(--font-ui); font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.product__description__variant {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    margin-top: 4px;
}
.product__price {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--ink);
}

.order-summary__section--total-lines .row {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-mute);
}
.order-summary__section--total-lines .row b { color: var(--ink); }
.order-summary__section--total .total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 14px;
}
.order-summary__section--total .total .label {
    font-family: var(--font-ui); font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.order-summary__section--total .total .value {
    font-family: var(--font-head);
    font-size: 28px;
    color: var(--ink);
}

/* ============ FOOTER ============ */
.footer {
    background: #0a0a0a;
    border-top: 1px solid var(--line);
    padding: 0;
    margin-top: 80px;
    color: var(--ink-mute);
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 64px 32px 32px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer .col-brand .logo-img { height: 28px; margin-bottom: 20px; }
.footer .col-brand p {
    color: var(--ink-mute);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
}
.footer .col-brand .contact {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    line-height: 1.8;
}
.footer .col-brand .contact a { color: var(--ink); }
.footer .col-brand .contact a:hover { color: var(--red); }
.footer h4 {
    font-family: var(--font-ui); font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
    font-size: 12px;
    margin: 0 0 16px;
    color: var(--ink);
}
.footer ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
    font-size: 13px;
    color: var(--ink-mute);
}
.footer ul a { color: var(--ink-mute); }
.footer ul a:hover { color: var(--red); }

.newsletter-form {
    display: flex;
    border: 1px solid var(--line);
    margin-top: 12px;
}
.newsletter-form input {
    flex: 1;
    background: var(--bg-1);
    border: none;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 12px;
    outline: none;
}
.newsletter-form input::placeholder { color: var(--ink-mute); }
.newsletter-form button {
    padding: 0 16px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 0.1em;
}
.payment-row {
    display: flex; gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.payment-row .payment-tile {
    flex: 1; min-width: 0; height: 28px;
    background: #fff;
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-size: 9px;
    color: #333;
    letter-spacing: 0.05em;
}
.footer-bottom {
    max-width: var(--max-w); margin: 0 auto;
    padding: 24px 32px;
    border-top: 1px solid var(--line-soft);
    display: flex; justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .products-grid, .product-collection { grid-template-columns: repeat(3, 1fr); }
    .brand-grid, .pdp, .cart-layout, .checkout-layout {
        grid-template-columns: 1fr;
    }
    .pdp-gallery, .cart-summary, .order-summary { position: static; }
    .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .instagram-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    /* topbar / header */
    .topbar { font-size: 10px; padding: 6px 12px; }
    .topbar-inner { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .header-inner {
        padding: 0 12px;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        height: 60px;
    }
    .logo-img { height: 18px; }
    .search { display: none; }
    .actions { gap: 14px; }
    .action-item .label { display: none; }
    .action-item svg { width: 22px; height: 22px; }

    /* nav: collapse on mobile (mobile menu via hamburger / x-mobile-menu) */
    .nav { display: none; }
    .mega { display: none !important; }

    /* hero */
    .hero { padding: 0 16px; }
    .hero-inner { padding: 40px 0 56px; min-height: auto; }
    .hero-tag, .hero-tag-right {
        position: static; display: inline-flex; margin-bottom: 12px;
    }
    .hero-title { font-size: clamp(48px, 13vw, 72px); margin: 16px 0; }
    .hero-sub { font-size: 12px; }

    /* finder */
    .finder-wrap { padding: 0 12px; }
    .finder {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 18px 14px;
    }
    .finder-label { grid-column: span 2; border-right: none; padding: 0 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
    .finder-field { grid-column: span 1; }
    .finder-field.model { grid-column: span 2; }
    .finder .btn-red { grid-column: span 2; height: 48px; justify-content: center; }

    /* sections */
    .section { padding: 48px 16px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-head h2 { font-size: 32px; }

    /* product grid: 2 columns */
    .products-grid, .product-collection {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 16px 64px;
    }
    .product-card .img { padding: 0; }
    .product-card .img img { padding: 12%; }
    .product-card .body { padding: 10px 12px 14px; gap: 6px; }
    .product-card .brand { font-size: 9px; }
    .product-card .name { font-size: 11px; }
    .product-card .sku { display: none; }
    .product-card .price { font-size: 16px; }
    .product-card .was { font-size: 11px; }
    .product-card .add { font-size: 10px; padding: 0 6px; letter-spacing: 0.08em; }

    /* brand grid */
    .brand-grid { grid-template-columns: 1fr; gap: 8px; }
    .brand-card { aspect-ratio: 5/3; }
    .brand-card__name { font-size: 15px; }

    /* PLP */
    .plp-hero { flex-direction: column; align-items: flex-start; padding: 32px 16px; }
    .wheel-filters-horizontal { padding: 14px 16px; margin: 16px 16px 0; }
    .wheel-filters-row { grid-template-columns: 1fr; gap: 8px; }
    .toolbar { padding: 16px; }

    /* PDP */
    .pdp { padding: 16px 16px 48px; gap: 24px; }
    .pdp-info h1 { font-size: 28px; }
    .pdp-price .big { font-size: 36px; }
    .spec-tiles { grid-template-columns: 1fr 1fr; }
    .qty-row { grid-template-columns: auto 1fr; }
    .qty-row .icon-btn { grid-column: 2; }

    /* cart */
    .cart-head { padding: 24px 16px; }
    .cart-head h1 { font-size: 36px; }
    .cart-layout { padding: 16px 16px 64px; gap: 24px; }
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
    .cart-item .thumb { width: 80px; }
    .cart-item .price, .cart-item .qty-s, .cart-item .remove { grid-column: 2; justify-self: start; }

    /* checkout */
    .checkout-layout { padding: 16px 16px 64px; gap: 24px; }
    .checkout-steps { gap: 0; }
    .checkout-step { font-size: 9px; padding: 10px 8px; letter-spacing: 0.05em; }
    .checkout-step .num { width: 18px; height: 18px; font-size: 10px; }
    .fieldset { grid-template-columns: 1fr; }

    /* footer */
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px 16px; }
    .footer-bottom {
        flex-direction: column; gap: 8px;
        text-align: center;
        padding: 18px 16px;
        font-size: 9px;
    }

    /* halo-sidebar full-width on mobile */
    .halo-sidebar { width: 100%; right: -100%; }

    /* marquee */
    .marquee span { font-size: 20px; gap: 36px; }
    .marquee-track { gap: 36px; }

    /* instagram */
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }

    /* why */
    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 24px 20px; }
}

@media (max-width: 428px) {
    .hero-title { font-size: 44px; }
    .section-head h2 { font-size: 26px; }
    .product-card .name { font-size: 10.5px; }
    .product-card .price { font-size: 15px; }
    .topbar-right { display: none; }
}

@media (max-width: 390px) {
    .header-inner { padding: 0 10px; gap: 6px; }
    .logo-img { height: 16px; }
    .actions { gap: 10px; }
    .action-item svg { width: 20px; height: 20px; }
    .hero-title { font-size: 38px; }
}

@media (max-width: 360px) {
    .topbar { font-size: 9px; letter-spacing: 0.05em; }
    .hero-title { font-size: 32px; }
    .products-grid, .product-collection { gap: 6px; }
}
