:root {
    --red: #e10600;
    --red-dark: #b50500;
    --ink: #0c0d10;
    --ink-2: #16181d;
    --muted: #6b6f78;
    --line: #e6e4e0;
    --paper: #f4f2ee;
    --white: #fff;
    --ok: #1a7a45;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 18px 50px rgba(12, 13, 16, .12);
    --max: 1240px;
    --header-h: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Barlow, system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.icon { flex-shrink: 0; vertical-align: middle; }

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

.kicker {
    margin: 0 0 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
}

h1, h2, h3, .logo-text, .section-title h2, .page-header h1 {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: .02em;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck {
    box-shadow: 0 10px 30px rgba(12,13,16,.08);
    border-bottom-color: var(--line);
}

.topbar { background: var(--ink); color: #c9c9c9; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 22px; gap: 12px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-badge {
    background: var(--red); color: #fff; font-weight: 700;
    padding: 3px 8px; border-radius: 4px; letter-spacing: .04em; font-size: 11px;
}
.topbar-hours { display: inline-flex; align-items: center; gap: 6px; color: #9a9a9a; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #cfcfcf; }
.topbar a:hover { color: #fff; }
.topbar-social { display: inline-flex; gap: 12px; margin-left: 4px; }

.navbar { display: flex; align-items: center; padding: 14px 22px; gap: 22px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.logo img { height: 42px; }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; background: var(--ink); color: #fff;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px;
    border-radius: 10px; letter-spacing: .04em;
}
.logo-text { font-size: 20px; font-weight: 800; line-height: 1.1; max-width: 180px; }

.header-search {
    flex: 1; display: flex; align-items: center; gap: 8px;
    background: var(--paper); border: 1px solid transparent; border-radius: 999px;
    padding: 4px 4px 4px 16px; transition: border-color .15s ease, background .15s ease;
}
.header-search:focus-within { background: #fff; border-color: var(--ink); }
.header-search .search-icon { color: var(--muted); display: flex; }
.header-search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 14.5px; padding: 10px 0; }
.header-search button {
    border: 0; background: var(--ink); color: #fff; font-weight: 700;
    padding: 10px 18px; border-radius: 999px; cursor: pointer;
}
.header-search button:hover { background: var(--red); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.action-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line);
    font-size: 13px; font-weight: 700; white-space: nowrap;
}
.action-chip:hover { border-color: var(--ink); }

.cart-link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px 8px 10px; border-radius: 999px;
    background: var(--ink); color: #fff;
}
.cart-link.has-items { background: var(--red); }
.cart-meta { display: flex; flex-direction: column; line-height: 1.15; }
.cart-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.cart-count { font-weight: 800; font-size: 14px; }
.nav-toggle {
    display: none; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line); border-radius: 10px;
    cursor: pointer; padding: 8px; color: var(--ink);
}

.nav-strip { background: var(--ink); }
.main-nav { display: flex; gap: 2px; }
.main-nav a {
    display: inline-flex; align-items: center; gap: 7px;
    color: #c8c8c8; font-size: 13.5px; font-weight: 600;
    padding: 13px 16px; border-bottom: 2px solid transparent; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-color: var(--red); }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: 560px; }
.hero-slide {
    display: none; align-items: flex-end; min-height: 560px;
    background-size: cover; background-position: center;
    position: relative; padding: 80px 0 72px;
}
.hero-slide.is-active { display: flex; }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,8,10,.86) 0%, rgba(8,8,10,.45) 48%, rgba(8,8,10,.12) 100%);
}
.hero-fallback {
    background:
        radial-gradient(1200px 400px at 80% 20%, rgba(225,6,0,.35), transparent 50%),
        linear-gradient(135deg, #14161c, #07080a);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-content h1 {
    font-size: clamp(36px, 5.4vw, 64px); line-height: .95;
    margin: 0 0 16px; font-weight: 800; text-transform: uppercase;
}
.hero-content .lede { font-size: 18px; color: #d8d8d8; max-width: 480px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 2;
}
.hero-dots button {
    width: 28px; height: 4px; border: 0; border-radius: 99px;
    background: rgba(255,255,255,.35); cursor: pointer; padding: 0;
}
.hero-dots button.is-active { background: #fff; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 999px;
    background: var(--red); color: #fff; font-weight: 700;
    border: none; cursor: pointer; font-size: 14px;
    transition: background .15s ease, transform .1s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #c8c8c8; cursor: not-allowed; }
.btn-outline { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: #e8e6e1; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.text-link:hover { color: var(--red); }

/* Trust */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 8px 4px; }
.trust-item svg { color: var(--red); }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { display: block; font-size: 12.5px; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2, .section-title h2 {
    font-size: 34px; font-weight: 800; margin: 0; text-transform: uppercase;
}
.section-head p, .section-title p { color: var(--muted); margin: 6px 0 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .accent { color: var(--red); }

.promo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 8px 0 0; }
.promo-item { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14px; }
.icon-badge {
    width: 52px; height: 52px; border-radius: 14px;
    background: #fff; color: var(--ink); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
}

.quick-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile, .quick-cats a {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 14px; text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cat-tile strong, .quick-cats a { font-weight: 700; }
.cat-tile span, .cat-tile { display: block; }
.cat-tile span:last-child { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.quick-cats a:hover, .cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-tile-accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-tile-accent span:last-child { color: #bdbdbd; }
.cat-tile-accent .icon-badge { background: var(--red); color: #fff; border: 0; }
.quick-cats .icon-badge { margin: 0 auto 12px; }

.split-banners { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.split-card {
    position: relative; overflow: hidden; border-radius: 22px; min-height: 280px;
    padding: 36px; color: #fff; display: flex; flex-direction: column; justify-content: end;
}
.split-card h3 { font-size: 36px; margin: 0 0 8px; text-transform: uppercase; }
.split-card p { margin: 0 0 22px; color: #ddd; max-width: 340px; }
.split-moto { background: linear-gradient(135deg, #1a1c22 0%, #2b1212 100%); }
.split-parts { background: linear-gradient(135deg, #141820 0%, #1e2a22 100%); }
.split-card .btn { align-self: flex-start; }

/* Product cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card .img-wrap {
    position: relative; background: var(--paper); aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-hover {
    position: absolute; inset: auto 16px 16px auto;
    background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
    padding: 8px 12px; border-radius: 999px; opacity: 0; transform: translateY(8px);
    transition: .18s ease;
}
.product-card:hover .card-hover { opacity: 1; transform: none; }
.product-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { margin: 0; font-size: 20px; font-family: 'Barlow Condensed', sans-serif; }
.product-card .cat { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card .desc { color: var(--muted); font-size: 13px; min-height: 0; }
.product-card .price-row { display: flex; align-items: baseline; margin-top: auto; padding-top: 8px; }
.product-card .price { font-size: 22px; font-weight: 800; }
.product-card .old-price { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-right: 8px; }
.discount-badge {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    background: var(--red); color: #fff; font-size: 12px; font-weight: 800;
    padding: 5px 9px; border-radius: 999px;
}
.soldout-badge {
    position: absolute; top: 12px; right: 12px; z-index: 1;
    background: var(--ink); color: #fff; font-size: 11px; font-weight: 700;
    padding: 5px 9px; border-radius: 999px;
}
.installment { font-size: 12.5px; color: var(--ok); font-weight: 700; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: #e8f6ee; color: var(--ok); }
.stock-badge.out { background: #fdecec; color: var(--red-dark); }

.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.cat-filter a {
    padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 13px; font-weight: 700;
}
.cat-filter a.active, .cat-filter a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 12px 0 40px; align-items: start; }
.gallery-main {
    background: var(--paper); border-radius: 22px; overflow: hidden; aspect-ratio: 4/3;
    border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img {
    width: 76px; height: 76px; object-fit: cover; border-radius: 12px;
    border: 2px solid transparent; cursor: pointer; background: var(--paper);
}
.gallery-thumbs img:hover, .gallery-thumbs img.is-active { border-color: var(--ink); }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; position: sticky; top: 110px; }
.buy-box h1 { font-size: 34px; margin: 0 0 8px; text-transform: uppercase; }
.buy-box .short { color: var(--muted); margin: 0 0 16px; }
.product-detail .price-block { margin: 12px 0 16px; }
.product-detail .price-block .price { font-size: 34px; font-weight: 800; }
.qty-form { display: flex; gap: 10px; align-items: center; margin: 20px 0 0; flex-wrap: wrap; }
.qty-form input[type=number] {
    width: 76px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px;
}

.tabs-card { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 8px 24px 24px; }
.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tabs-nav label {
    padding: 14px 8px; font-weight: 700; font-size: 14px; cursor: pointer;
    border-bottom: 3px solid transparent; color: var(--muted);
}
.tab-radio { display: none; }
.tab-panel { display: none; }
#tab-desc:checked ~ .tabs-nav label[for="tab-desc"],
#tab-info:checked ~ .tabs-nav label[for="tab-info"],
#tab-notice:checked ~ .tabs-nav label[for="tab-notice"] { color: var(--ink); border-color: var(--red); }
#tab-desc:checked ~ .tab-panels #panel-desc,
#tab-info:checked ~ .tab-panels #panel-info,
#tab-notice:checked ~ .tab-panels #panel-notice { display: block; }

.spec-group { margin-bottom: 20px; }
.spec-group h4 {
    background: var(--ink); color: #fff; margin: 0; padding: 10px 16px;
    font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
    border-radius: 10px 10px 0 0;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { width: 40%; color: var(--muted); font-weight: 600; background: #faf9f7; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.price-table, .cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td, .cart-table th, .cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th, .cart-table th {
    background: var(--ink); color: #fff; text-transform: uppercase;
    font-size: 12px; letter-spacing: .08em;
}
.price-table tr:hover td, .cart-table tbody tr:hover td { background: #faf9f7; }
.price-table .price { font-weight: 800; }
.cart-table img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--paper); }

.page-content { padding: 50px 0; }
.page-header {
    background:
        radial-gradient(800px 240px at 90% 0%, rgba(225,6,0,.28), transparent 55%),
        var(--ink);
    color: #fff; padding: 56px 0 48px;
}
.page-header h1 { margin: 0; font-size: 42px; text-transform: uppercase; }
.page-header p { margin: 8px 0 0; color: #cfcfcf; max-width: 560px; }
.content-block { max-width: 860px; margin: 0 auto; }
.content-block img { border-radius: var(--radius); margin: 16px 0; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-summary {
    background: var(--paper); padding: 24px; border-radius: 18px;
    position: sticky; top: 110px;
}
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.cart-summary .total { font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; }

.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 13.5px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: 12px; font-size: 14.5px; background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: 2px solid var(--ink); outline-offset: 1px;
}
.payment-option { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; cursor: pointer; display: block; }
.payment-option input { width: auto; margin-right: 10px; }
.payment-option .instructions { color: var(--muted); font-size: 13px; margin-top: 6px; margin-left: 24px; display: none; }
.payment-option.selected { border-color: var(--ink); background: #faf9f7; }
.payment-option.selected .instructions { display: block; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e8f6ee; color: var(--ok); }
.alert-error { background: #fdecec; color: var(--red-dark); }
.alert-info { background: #eef4fb; color: #275b8c; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); background: var(--paper); border-radius: 22px; }
.empty-state .btn { margin-top: 16px; }

.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.catalog-sidebar { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.catalog-sidebar h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.catalog-sidebar .group-title { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; letter-spacing: .1em; }
.catalog-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-size: 14px; border-radius: 10px; color: #444; }
.catalog-sidebar a.active, .catalog-sidebar a:hover { background: var(--paper); color: var(--ink); font-weight: 700; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.catalog-toolbar label { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.catalog-toolbar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--red); }

.model-group { margin-bottom: 44px; }
.model-group h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 22px; }
.model-group h2 .icon { color: var(--red); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.model-tile { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 18px; transition: transform .15s ease, box-shadow .15s ease; }
.model-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.model-tile .img-wrap { background: var(--paper); border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.model-tile img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.model-tile .name { display: block; margin-top: 12px; font-weight: 800; font-size: 16px; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.model-tile .price { display: block; font-size: 14px; font-weight: 700; margin-top: 4px; }

.link-card {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 18px 20px; font-weight: 700;
}
.link-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }

.variant-select { margin: 16px 0; width: 100%; }
.variant-select .label { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.variant-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-swatches label {
    display: flex; align-items: center; gap: 8px; padding: 8px 14px;
    border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600;
}
.variant-swatches input { display: none; }
.variant-swatches .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #ccc; display: inline-block; }
.variant-swatches label.selected { border-color: var(--ink); background: var(--paper); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.contact-card { background: var(--paper); border-radius: 22px; padding: 28px; }
.contact-card p { margin: 0 0 14px; }
.map-embed { margin-top: 16px; border-radius: 16px; overflow: hidden; }
.map-embed iframe { width: 100%; min-height: 240px; border: 0; }

.order-success { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; }

/* Footer */
.site-footer { background: var(--ink); color: #c8c8c8; margin-top: 0; }
.footer-cta { background: #111318; border-bottom: 1px solid #26282e; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 36px 22px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; margin: 0; font-size: 30px; text-transform: uppercase; }
.footer-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding: 52px 22px; }
.footer-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.footer-col a, .footer-col p { display: flex; align-items: flex-start; gap: 8px; color: #b3b3b3; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.logo-footer { margin-bottom: 12px; color: #fff; }
.logo-footer .logo-mark { background: var(--red); }
.social-links { display: flex; gap: 10px; margin-top: 12px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%; background: #23252b;
    display: flex; align-items: center; justify-content: center; margin-bottom: 0; color: #fff;
}
.social-links a:hover { background: var(--red); }
.footer-bottom { border-top: 1px solid #26282e; padding: 16px 0; font-size: 12.5px; color: #8a8a8a; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-note { display: inline-flex; align-items: center; gap: 6px; }

.wa-float {
    position: fixed; z-index: 40;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
}
.wa-float:hover { transform: scale(1.05); }

.nav-toggle-close { display: none; }
.site-header.nav-open .nav-toggle-open { display: none; }
.site-header.nav-open .nav-toggle-close { display: flex; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-variant { font-size: 12px; color: var(--muted); }
.qty-update { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.qty-update input[type=number] {
    width: 72px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px;
}
.table-wrap { -webkit-overflow-scrolling: touch; }

button, a.btn, .nav-toggle, .cart-link { touch-action: manipulation; }
.map-embed iframe, iframe { max-width: 100%; }
body.nav-locked { overflow: hidden; height: 100%; }

@media (hover: none) {
    .product-card .card-hover { display: none; }
}

@media (max-width: 1100px) {
    .quick-cats { grid-template-columns: repeat(3, 1fr); }
    .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .split-banners { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .container { padding: 0 16px; }
    .form-grid, .product-detail, .cart-layout, .checkout-layout, .contact-grid, .catalog-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-sidebar, .buy-box, .cart-summary { position: static; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .action-chip { display: none; }
    .section { padding: 48px 0; }
    .section-head h2, .section-title h2 { font-size: 28px; }
    .qty-form .btn { width: 100%; }
    .qty-form input[type=number] { min-height: 48px; }
    input, select, textarea, button { font-size: 16px; }
    .btn { min-height: 44px; }
}

@media (max-width: 860px) {
    .topbar { display: none; }
    .navbar {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 8px 10px;
        padding: 10px 0;
    }
    .logo { min-width: 0; }
    .logo-text { display: none; }
    .logo img { height: 34px; }
    .logo-mark { width: 36px; height: 36px; font-size: 15px; border-radius: 8px; }
    .header-search {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        padding: 3px 3px 3px 12px;
    }
    .header-search input { font-size: 16px; padding: 9px 0; }
    .header-search button { padding: 10px 14px; min-height: 40px; }
    .nav-toggle {
        display: flex;
        width: 44px; height: 44px;
        border-radius: 12px;
    }
    .cart-link { padding: 8px 10px; min-height: 44px; }
    .cart-label { display: none; }
    .cart-meta { flex-direction: row; align-items: center; }
    .nav-strip {
        display: none;
        position: absolute;
        left: 0; right: 0;
        background: var(--ink);
        max-height: min(78vh, 640px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }
    .site-header.nav-open .nav-strip { display: block; }
    .main-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 8px 8px 18px;
    }
    .main-nav a {
        padding: 14px 12px;
        border-bottom: 1px solid #26282e;
        font-size: 16px;
        min-height: 48px;
    }
    .main-nav a.active { background: rgba(255,255,255,.06); border-radius: 10px; }

    .hero, .hero-slide { min-height: 0; }
    .hero-slide { padding: 48px 0 64px; min-height: 380px; }
    .hero-content { max-width: none; padding-right: 8px; }
    .hero-content h1 { font-size: 32px; }
    .hero-content .lede { font-size: 15px; margin-bottom: 20px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; min-height: 48px; }
    .hero-dots { bottom: 14px; }

    .trust-grid, .promo-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
    .quick-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-grid, .product-grid-4, .model-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-card .body { padding: 12px; }
    .product-card h3 { font-size: 16px; }
    .product-card .price { font-size: 16px; }
    .product-card .desc { display: none; }
    .product-card .btn { min-height: 40px; font-size: 12px; padding: 8px 10px; }

    .page-header { padding: 32px 0 28px; }
    .page-header h1 { font-size: 28px; }

    .catalog-sidebar {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        scrollbar-width: none;
    }
    .catalog-sidebar::-webkit-scrollbar { display: none; }
    .catalog-sidebar h3, .catalog-sidebar .group-title { display: none; }
    .catalog-sidebar a {
        flex: 0 0 auto;
        white-space: nowrap;
        border: 1px solid var(--line);
        padding: 10px 14px;
        margin: 0;
        background: #fff;
        font-size: 13px;
    }
    .catalog-sidebar a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
    .catalog-toolbar { flex-direction: column; align-items: stretch; }
    .catalog-toolbar select { width: 100%; min-height: 44px; }

    .split-card { min-height: 220px; padding: 24px; }
    .split-card h3 { font-size: 26px; }

    .buy-box { padding: 20px; }
    .buy-box h1 { font-size: 26px; }
    .product-detail .price-block .price { font-size: 26px; }
    .gallery-thumbs img { width: 64px; height: 64px; }
    .tabs-card { padding: 8px 14px 18px; }
    .tabs-nav { overflow-x: auto; flex-wrap: nowrap; }
    .tabs-nav label { white-space: nowrap; padding: 12px 10px; }

    .footer-grid { grid-template-columns: 1fr; padding: 36px 16px; }
    .footer-cta-inner { padding: 28px 16px; }
    .footer-cta h2 { font-size: 22px; }
    .footer-cta-actions .btn { width: 100%; min-height: 48px; }
    .footer-cta-actions { width: 100%; flex-direction: column; }

    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr {
        padding: 14px;
        border-bottom: 1px solid var(--line);
    }
    .cart-table td {
        border: 0;
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .cart-table td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .06em;
    }
    .cart-table td[data-label=""] { display: block; }
    .cart-table td[data-label=""]::before { display: none; }
    .cart-table td.cart-product { display: flex; justify-content: flex-start; }
    .cart-table td.cart-product::before { display: none; }
    .qty-update { width: 100%; justify-content: flex-end; }

    .price-table th, .price-table td { padding: 10px 8px; font-size: 13px; }
    .empty-state { padding: 40px 16px; }
}

@media (max-width: 420px) {
    .quick-cats, .product-grid, .product-grid-4, .model-grid { grid-template-columns: 1fr; }
    .hero-slide { min-height: 340px; padding: 36px 0 56px; }
    .hero-content h1 { font-size: 28px; }
}
