/* VD Armor Parts — v2 stylesheet (no framework) */
:root {
  --ink: #16191d;
  --ink-2: #2a2f36;
  --text: #3b424b;
  --muted: #6b737d;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --accent: #f2a900;       /* armor amber */
  --accent-ink: #1a1400;
  --accent-hover: #ffbb1f;
  --danger: #d9363e;
  --ok: #1f9d55;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Calibri, sans-serif;
  --bg-image: url("../img/hero-bg.jpg");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.6 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 500; line-height: 1.2; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 19px; }
h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.w100 { width: 100%; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); padding: 8px 12px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font: 600 14px/1 var(--body); letter-spacing: .02em; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-link { background: none; border: 0; color: var(--muted); padding: 0 8px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn.big { height: 52px; font-size: 16px; }
.btn.loading { opacity: .6; pointer-events: none; }
.btn.done { background: var(--ok); color: #fff; }
.danger { color: var(--danger) !important; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid transparent; background: none; cursor: pointer; display: inline-grid; place-items: center; font-size: 22px; color: var(--muted); }
.icon-btn:hover { background: var(--bg-alt); color: var(--ink); }
.link { font-weight: 600; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #aeb5bf; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; height: 34px; align-items: center; gap: 16px; }
.topbar a { color: #dfe3e8; }
.topbar-r { display: flex; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { width: 112px; height: auto; }
.search { flex: 1; max-width: 420px; display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-alt); }
.search input { flex: 1; border: 0; background: none; padding: 0 14px; height: 42px; font: inherit; min-width: 0; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--ink); background: #fff; }
.search button { border: 0; background: none; padding: 0 14px; cursor: pointer; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { font: 500 15px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-link.on { color: #000; background: var(--bg-alt); text-decoration: none; }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.12);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .15s; }
.dropdown.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 6px; font-weight: 500; }
.dd-menu a:hover, .dd-menu a.on { background: var(--bg-alt); text-decoration: none; }
.dd-menu img { width: 26px; height: 26px; object-fit: contain; }
.dd-menu .all { border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 6px 6px; color: var(--muted); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cart-btn:hover { border-color: var(--ink); }
.badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--accent-ink);
  font: 700 12px/22px var(--body); text-align: center; border: 2px solid #fff; }
.badge.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.menu-btn span { height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--ink); background-color: #ecebe8; /*background: var(--ink) var(--hero) center/cover no-repeat;*/ 

background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.15) 50%, rgba(255,255,255,0) 70%); }
.hero-inner { position: relative; padding: 110px 20px 120px; }
.hero .eyebrow { color: #a86f00; }
.hero .lead { opacity: 1; color: var(--ink-2); }
.hero h1 { color: var(--ink); max-width: 680px; font-size: clamp(32px, 5vw, 58px); }
.eyebrow { font: 600 13px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 17px; max-width: 620px; opacity: .9; }
.finder { margin-top: 32px; background: rgba(255,255,255,.72); border: 1px solid rgba(22,25,29,.12); box-shadow: 0 8px 24px rgba(0,0,0,.08); backdrop-filter: blur(6px); padding: 18px; border-radius: 12px; max-width: 820px; }
.finder label { display: block; font-weight: 600; margin-bottom: 10px; }
.finder-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; }
select, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; height: 44px; padding: 0 12px; width: 100%; }
textarea { height: auto; padding: 10px 12px; resize: vertical; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,169,0,.35); }

.page-hero { position: relative; color: #fff; background: var(--ink) var(--hero, none) center/cover no-repeat; padding: 56px 0 48px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.92), rgba(10,12,15,.6)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero.slim { padding: 36px 0 30px; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: 13px; margin-bottom: 12px; color: #aeb5bf; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #dfe3e8; }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #c5cbd3; }
.section.dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .15s; }
.cat-tile:hover { border-color: var(--ink); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.cat-tile img { width: 44px; height: 44px; object-fit: contain; }
.cat-name { font: 500 17px/1.25 var(--head); color: var(--ink); }
.cat-count { font-size: 12.5px; color: var(--muted); }
.cat-tile.soon { background: var(--bg-alt); border-style: dashed; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfd4da; }
.card-img { aspect-ratio: 4/3; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.card-img img { max-height: 100%; object-fit: contain; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 4px; flex: 1; }
.card h3 { font-size: 17px; margin: 4px 0 6px; }
.card .fits { margin: 0; color: var(--muted); }
.card-foot { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.add-row { display: flex; gap: 8px; }
.add-row .btn { flex: 1; }
.sku { font: 600 11.5px/1.3 ui-monospace, Consolas, monospace; color: var(--muted); letter-spacing: .02em; }
.price { font: 600 16px var(--body); color: var(--ink); }
.price.big { font-size: 24px; font-family: var(--head); font-weight: 500; }
.price small { font-size: 14px; color: var(--muted); }

.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 44px; background: #fff; }
.qty button { width: 38px; border: 0; background: var(--bg-alt); font-size: 18px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: #e8eaee; }
.qty input { width: 52px; border: 0; border-radius: 0; text-align: center; height: 100%; padding: 0; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.qty.sm { height: 36px; }
.qty.sm button { width: 30px; }
.qty.sm input { width: 40px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps li b { display: block; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: 17px; }
.steps li span { font-size: 13.5px; color: var(--muted); }
.steps.compact li { padding: 12px; font-size: 13px; }
.steps.compact li.done::before { background: var(--ok); content: "\2713"; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust p { margin: 0; font-size: 14px; }
.trust.light { grid-template-columns: repeat(3, 1fr); margin: 32px 0; }
.trust.light > div { border-left: 3px solid var(--accent); padding-left: 16px; }

/* ---------- Category / kit ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.kit-list { display: grid; gap: 22px; }
.kit { display: grid; grid-template-columns: 380px 1fr; gap: 28px; border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.kit-img { background: #fafafa; border-radius: 10px; display: grid; place-items: center; padding: 14px; align-self: start; aspect-ratio: 4/3; }
.kit-img img { max-height: 100%; object-fit: contain; }
.kit h2 { font-size: 24px; margin: 4px 0 10px; }
.kit-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 6px 0 16px; }
.kit-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.kit-buy .price { margin-right: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { padding-left: 24px; position: relative; margin: 4px 0; font-size: 14px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Shop / filters ---------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.filters h4 { margin: 18px 0 6px; }
.filter-search input { height: 40px; }
.f-link { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; font-size: 14px; }
.f-link small { color: var(--muted); }
.f-link:hover { background: var(--bg-alt); text-decoration: none; }
.f-link.on { background: var(--ink); color: #fff; }
.f-link.on small { color: #c5cbd3; }
.filters .btn { margin-top: 14px; }
.result-count { margin: 0 0 14px; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: 14px; background: var(--bg-alt); }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: 96px; background: #fafafa; border: 1px solid var(--line); border-radius: 14px; padding: 28px; aspect-ratio: 1; display: grid; place-items: center; }
.pd-gallery img { max-height: 100%; object-fit: contain; }
.pd-media { position: sticky; top: 96px; }
.pd-media .pd-gallery { position: static; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--accent); }
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); text-transform: none; margin: 6px 0; }
.pd-info h3 { margin-top: 24px; }
.buy-box { border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 18px 0; background: var(--bg-alt); }
.buy-row { display: flex; gap: 12px; margin: 12px 0 8px; }
.buy-row .btn { flex: 1; height: 48px; }
.buy-row .qty { height: 48px; }
.in-cart { color: var(--ok); font-weight: 600; margin: 4px 0; }
.buy-box p:last-child { margin: 0; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ct-head, .ct-row { display: grid; grid-template-columns: 1fr 130px 140px 130px 48px; gap: 12px; align-items: center; padding: 14px 18px; }
.ct-head { background: var(--bg-alt); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ct-row { border-top: 1px solid var(--line); transition: opacity .25s; }
.ct-row.gone { opacity: 0; }
.ct-prod { display: flex; gap: 14px; align-items: center; }
.ct-prod img { width: 72px; height: 72px; object-fit: contain; background: #fafafa; border-radius: 8px; border: 1px solid var(--line); }
.ct-name { font-weight: 600; display: block; line-height: 1.35; }
.ct-total { font-weight: 600; color: var(--ink); }
.ct-actions { display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--bg-alt); gap: 10px; }
.summary { border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: sticky; top: 96px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.summary .btn-primary { margin-top: 12px; }
.summary p { margin: 6px 0 0; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 10px; max-height: 360px; overflow: auto; }
.mini-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mini-lines img { width: 48px; height: 48px; object-fit: contain; background: #fafafa; border-radius: 6px; }
.mini-lines b { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mini-lines .q { font-weight: 700; }

/* ---------- Drawer ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(10,12,15,.45); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer-foot p { margin: 0 0 4px; }
.drawer-empty { text-align: center; padding: 48px 0; }
.d-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.d-line img { width: 64px; height: 64px; object-fit: contain; background: #fafafa; border-radius: 8px; }
.d-info a { font-weight: 600; font-size: 14px; line-height: 1.3; display: block; }
.d-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.d-price { font-weight: 600; font-size: 13.5px; color: var(--ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 200;
  display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .25s; max-width: calc(100% - 32px); font-size: 14px; }
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }
.toast a { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* ---------- Forms ---------- */
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-form h3 { margin: 10px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.field i { color: var(--danger); font-style: normal; }
.field em, .err { color: var(--danger); font-size: 13px; font-style: normal; font-weight: 500; }
.field.has-err input, .field.has-err textarea { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.check.has-err span { color: var(--danger); }
.alert { background: #fdecec; color: #8a1c21; border: 1px solid #f5c2c4; padding: 12px 14px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.narrow-form { max-width: 380px; margin: 40px auto; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }

/* ---------- Success / documents ---------- */
.success { text-align: center; margin-bottom: 28px; }
.success.left { text-align: left; }
.success .lead { margin: 0 auto; }
.tick-big { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 0 auto 16px; }
.success.left .tick-big { margin-left: 0; }
.doc { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; text-align: right; }
.doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.actions { margin: 24px 0; display: flex; gap: 12px; justify-content: center; }
.prose p { font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb5bf; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; }
.site-footer a { color: #dfe3e8; display: block; padding: 3px 0; }
.site-footer p a { display: inline; }
.flogo { width: 110px; margin-bottom: 14px; background: #fff; padding: 8px 10px; border-radius: 8px; }
.steps-mini { padding-left: 18px; margin: 0; }
.steps-mini li { margin: 4px 0; }
.copy { border-top: 1px solid #2c3138; margin-top: 40px; padding: 18px 20px; font-size: 13px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; }
.wa-float img { width: 28px; filter: brightness(0) invert(1); }

/* ---------- Admin ---------- */
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--bg-alt); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-alt); }
.s-new { background: #fff4d6; color: #7a5300; }
.s-proforma-sent { background: #e6f0ff; color: #1d4ed8; }
.s-paid, .s-shipped { background: #e3f6ea; color: #17643a; }
.s-cancelled { background: #fdecec; color: #8a1c21; }
.status-form { display: flex; gap: 8px; }
.status-form select { height: 36px; width: auto; }
.admin .header-row { gap: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kit { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .header-row { gap: 12px; height: 64px; }
  .search { order: 5; position: absolute; left: 0; right: 0; top: 64px; max-width: none; border-radius: 0; border-left: 0; border-right: 0; background: #fff; }
  .site-header { margin-bottom: 44px; }
  .site-header + main { margin-top: -44px; padding-top: 44px; }
  .menu-btn { display: flex; order: 4; }
  .cart-btn { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0 auto; width: min(320px, 85%); background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 2px;
    transform: translateX(100%); transition: transform .25s; box-shadow: -10px 0 30px rgba(0,0,0,.1); overflow: auto; z-index: 70; }
  body.nav-open .nav { transform: none; }
  body.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px; }
  .dd-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown.open .dd-menu { display: block; }
  .shop, .cart-layout, .pd { grid-template-columns: 1fr; }
  .filters, .summary, .pd-gallery, .pd-media { position: static; }
  .pd-gallery { aspect-ratio: 4/3; }
  .kit { grid-template-columns: 1fr; padding: 16px; }
  .finder-row { grid-template-columns: 1fr; }
  .ct-head { display: none; }
  .ct-row { grid-template-columns: 1fr auto; grid-template-areas: "prod rm" "qty total"; padding: 14px; }
  .ct-row > :nth-child(1) { grid-area: prod; }
  .ct-row > :nth-child(2) { display: none; }
  .ct-row > :nth-child(3) { grid-area: qty; }
  .ct-row > :nth-child(4) { grid-area: total; text-align: right; }
  .ct-row > :nth-child(5) { grid-area: rm; }
}
@media (max-width: 640px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .wrap { padding: 0 16px; }
  .section { padding: 40px 0; }
  .hero-inner { padding: 56px 16px 48px; }
  .steps, .trust, .trust.light, .footer-grid, .form-grid, .doc-cols { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 2px; }
  .card h3 { font-size: 15px; }
  .card .summary-text, .card .muted.small { display: none; }
  .card-foot { padding: 8px 12px 12px; }
  .add-row { flex-direction: column; }
  .add-row .qty { width: 100%; }
  .add-row .qty input { flex: 1; }
  .kit-buy .price { width: 100%; }
  .buy-row { flex-direction: column; }
  .buy-row .qty input { flex: 1; }
  .ct-actions { flex-wrap: wrap; }
  .doc-head { flex-direction: column; align-items: flex-start; text-align: left; }
  .admin-table { display: block; overflow-x: auto; }
}
@media (max-width: 380px) { .grid { grid-template-columns: 1fr; } }

@media print {
  .topbar, .site-header, .site-footer, .actions, .steps, .toast, .drawer, .drawer-bg, .success .tick-big, .wa-float { display: none !important; }
  .section { padding: 0; }
  .doc { border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
