/* Online Fencing: "picket" theme. Phone-first, app-like shop: white bar, chip rail, 2-up cards, bottom tabs. */
:root {
  --ink: #14161a;
  --ink-2: #4a4f57;
  --ink-3: #7a7f87;
  --line: #e3e1da;
  --line-2: #d2cfc6;
  --paper: #f4f3ef;
  --soft: #ecebe5;
  --card: #ffffff;
  --go: #f2541b;
  --go-d: #d2420c;
  --go-soft: #fff0e9;
  --ok: #16794c;
  --ok-soft: #e6f4ec;
  --bad: #b42318;
  --r: 14px;
  --r-s: 10px;
  --sh: 0 1px 2px rgba(20, 22, 26, .06), 0 4px 14px rgba(20, 22, 26, .05);
  --f: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --tabs: 62px;
  --gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font: 400 16px/1.55 var(--f); color: var(--ink); background: var(--paper); padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom)); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 .8em; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 6.4vw, 2.9rem); }
h2 { font-size: clamp(1.3rem, 4.6vw, 1.9rem); }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; }
.num { font-family: var(--mono); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--go); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--read { max-width: 760px; }
.wrap--mid { max-width: 920px; }
.muted, .hint { color: var(--ink-3); }
.hint { font-size: .86rem; margin: .4em 0 0; }
.kick { font: 600 .74rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--go-d); margin: 0 0 .6em; }
.kick a { text-decoration: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0 0; }
.link { color: var(--go-d); font-weight: 700; text-decoration: none; font-size: .92rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent; font: 700 .98rem/1 var(--f); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--go { background: var(--go); color: #fff; }
.btn--go:hover { background: var(--go-d); }
.btn--go:disabled { background: var(--line-2); color: #fff; cursor: not-allowed; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn--lg { min-height: 52px; padding: 0 22px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* top bar + chips */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 12px; height: 58px; }
.top__logo img { height: 30px; width: auto; }
.top__nav { display: none; margin-left: auto; }
.top__nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.top__nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.top__nav a:hover, .top__nav a[aria-current] { background: var(--soft); color: var(--ink); }
.top__bag { margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; }
.top__bagtxt { font-family: var(--mono); font-weight: 600; font-size: .85rem; }
.dot { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--go); color: #fff; font: 700 .72rem/20px var(--f); text-align: center; border: 2px solid #fff; }
.chips { border-top: 1px solid var(--line); }
.chips__in { display: flex; gap: 8px; overflow-x: auto; padding-top: 8px; padding-bottom: 9px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips__in::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--soft); text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.chip:hover { color: var(--ink); background: var(--line); }
.chip.is-on { background: var(--ink); color: #fff; }
.chip--alt { background: var(--go-soft); color: var(--go-d); }

/* sections */
.sec { padding: 26px 0; }
.sec--tight { padding: 14px 0; }
.sec--flush { padding: 14px 0 28px; }
.sec--soft { background: var(--soft); }
.sec--white { background: var(--card); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .muted, .sec--ink .shead__intro { color: #b8bcc3; }
.shead { margin-bottom: 16px; max-width: 720px; }
.shead h2 { margin-bottom: .25em; }
.shead__intro { color: var(--ink-2); margin: 0; }

/* home hero */
.hero { padding: 18px 0 8px; }
.hero__in { display: grid; gap: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: 600 .8rem/1 var(--mono); color: var(--ink-2); margin: 0 0 12px; }
.hero h1 { margin-bottom: .35em; }
.hero__intro { color: var(--ink-2); font-size: 1.04rem; }
.hero__intro p:last-child { margin: 0; }
.hero__media { position: relative; }
.hero__pic { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.ticket { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px 10px; margin: -34px 12px 0; position: relative; }
.ticket__h { font: 600 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 0 0 6px; }
.ticket ul { list-style: none; margin: 0; padding: 0; }
.ticket li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.ticket li:last-child a { border-bottom: 0; }
.ticket li b { color: var(--go-d); }
.ticket__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: .88rem; color: var(--ink-2); text-decoration: none; }

/* page hero */
.ph { padding: 16px 0 6px; }
.ph__in { display: grid; gap: 16px; }
.ph h1 { margin-bottom: .3em; }
.ph__intro { color: var(--ink-2); font-size: 1.02rem; max-width: 680px; }
.ph__intro p:last-child { margin-bottom: 0; }
.ph__pic { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.ph__pic img { width: 100%; height: 100%; object-fit: cover; }
.ph--plain { padding-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 10px; padding: 0; font-size: .82rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); }

/* tiles */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 10px; overflow-x: auto; list-style: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tiles li { scroll-snap-align: start; }
.tile { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color .15s; }
.tile:hover { border-color: var(--ink); }
.tile img { aspect-ratio: 14 / 9; object-fit: cover; }
.tile__name { font-weight: 800; padding: 10px 12px 0; letter-spacing: -.01em; }
.tile__meta { font-size: .8rem; color: var(--ink-3); padding: 2px 12px 12px; }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pgrid--scroll { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pgrid--scroll::-webkit-scrollbar { display: none; }
.pgrid--scroll > * { scroll-snap-align: start; }
.pc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.pc.is-added { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.pc__img img { aspect-ratio: 14 / 9; object-fit: cover; }
.pc__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; flex: 1; }
.pc__name { font-size: .95rem; margin: 0; }
.pc__name a { text-decoration: none; }
.pc__for { font-size: .78rem; color: var(--ink-3); margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__price { margin: auto 0 4px; padding-top: 4px; }
.pc__price .num { font-size: 1.08rem; }
.pc__price small { color: var(--ink-3); font-size: .78rem; }
.pc__add { display: flex; gap: 6px; }
.pc__add .step { flex: 1; min-width: 0; }
.pc__add .step__b { width: 30px; }
.pc__add .btn { padding: 0 12px; }
.pc__add .btn span { display: none; }

/* quantity stepper */
.step { display: flex; align-items: center; height: 40px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--card); overflow: hidden; }
.step__b { flex: none; width: 34px; height: 100%; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.step__b:hover { background: var(--soft); }
.step__in { width: 100%; min-width: 0; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; text-align: center; font: 600 .95rem var(--mono); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.step__in::-webkit-outer-spin-button, .step__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* cards / steps / facts */
.cards { display: grid; gap: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; position: relative; }
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card--link h3 a { text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; }
.card--link:hover { border-color: var(--ink); }
.badge { display: inline-block; font: 600 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; background: var(--go-soft); color: var(--go-d); border-radius: 6px; padding: 5px 7px; margin-bottom: 8px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.flow__n { flex: none; color: var(--go-d); font-size: .95rem; padding-top: 2px; }
.flow h3 { margin-bottom: .2em; }
.flow p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.sec--ink .flow li { background: #1f2227; border-color: #2c3036; }
.sec--ink .flow p { color: #b8bcc3; }
.flow--mini li { padding: 10px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.facts__k { display: flex; align-items: center; gap: 5px; font: 600 .7rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.facts__v { font-weight: 800; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }
.facts__n { font-size: .8rem; color: var(--ink-2); line-height: 1.35; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { flex: none; color: var(--ok); margin-top: 4px; }

/* prose, tables, split, towns, faqs */
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose a:not(.btn), .faq__a a, .card p a, .hint a, .split__txt p:not(.row) a, .ph__intro a { color: var(--go-d); font-weight: 600; }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font: 600 .72rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); background: var(--paper); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.split { display: grid; gap: 14px; margin-bottom: 18px; }
.split:last-child { margin-bottom: 0; }
.split__pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.split__pic img { width: 100%; height: 100%; object-fit: cover; }
.split__txt p { color: var(--ink-2); }
.towns__h { margin: 14px 0 8px; font-size: .95rem; color: var(--ink-3); font-weight: 700; }
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.towns a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .93rem; }
.towns a:hover { border-color: var(--ink); }
.towns .i { color: var(--go); flex: none; }
.towns small { display: none; }
.towns--plain { display: flex; flex-wrap: wrap; gap: 6px; }
.towns--plain li { display: inline-flex; }
.towns__name { display: inline-block; padding: 6px 11px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2, var(--ink)); }
.faqs { display: grid; gap: 8px; }
.faqg { margin: 18px 0 8px; font-size: 1rem; color: var(--ink-3); }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 600 1.3rem var(--mono); color: var(--go-d); }
.faq[open] summary::after { content: "–"; }
.faq__a { padding: 0 16px 6px; color: var(--ink-2); }

/* band (callout) */
.band { display: grid; gap: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 20px; }
.band p { margin: 0; color: #c9ccd2; }
.band__h { font-weight: 800; font-size: 1.15rem; color: #fff !important; margin-bottom: 4px !important; letter-spacing: -.01em; }
.band .row { margin: 0; }
@media (max-width: 559px) { .hero .row { flex-wrap: nowrap; } .hero .row .btn { flex: 1 1 auto; padding: 0 14px; font-size: .96rem; } .hero .row .btn--line .i { display: none; } }

/* forms */
.f { margin: 0 0 12px; border: 0; padding: 0; min-width: 0; }
.f label, .f legend { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 5px; }
.opt { font-weight: 400; color: var(--ink-3); }
input, select, textarea { width: 100%; font: 400 16px var(--f); color: var(--ink); background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--r-s); padding: 11px 12px; min-height: 46px; }
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 22, 26, .08); }
.f.is-bad input, .f.is-bad select { border-color: var(--bad); }
.unit { display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: var(--card); }
.unit input { border: 0; min-height: 44px; }
.unit input:focus { box-shadow: none; }
.unit span { padding: 0 12px; color: var(--ink-3); font: 600 .85rem var(--mono); }
.g2 { display: grid; gap: 0 12px; }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 6px 0 4px; }
.tick input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--go); }
.hp { position: absolute; left: -9999px; }
.alert { background: #fdecea; color: var(--bad); border-radius: var(--r-s); padding: 10px 12px; margin-bottom: 12px; font-size: .92rem; }
.alert ul { margin: 0; padding-left: 18px; }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.panel + .panel { margin-top: 12px; }
.panel__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel__h { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 12px; }
.stepno { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .8rem var(--mono); flex: none; }

/* calculator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.calc__h { font-size: 1.25rem; }
.calc__intro { color: var(--ink-2); }
.calc__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.calc__form .btn, .calc__note, .calc__form .f:has(select[name=post]) { grid-column: 1 / -1; }
.calc__form .btn { margin-top: 4px; }
.calc__note { font-size: .84rem; color: var(--ink-3); }
.calc__out { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.calc__out h3 { margin-bottom: 4px; }
.calc__list { list-style: none; margin: 10px 0; padding: 0; }
.calc__list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.calc__list b { font: 600 1rem var(--mono); color: var(--go-d); }
.calc__list small { color: var(--ink-3); }
.calc__sum { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; }

/* product page */
.pdp { padding: 14px 0 10px; }
.pdp__grid { display: grid; gap: 16px; }
.pdp__art { margin: 0; border-radius: 18px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.pdp__art img { width: 100%; }
.pdp__buy h1 { font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: .3em; }
.pdp__price { margin: 0 0 10px; }
.pdp__price .num { font-size: 1.7rem; color: var(--ink); }
.pdp__price small { color: var(--ink-3); }
.pdp__intro { color: var(--ink-2); }
.pdp__add { background: var(--paper); border-radius: var(--r); padding: 12px; margin: 12px 0; }
.pdp__ql { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.pdp__row { display: flex; gap: 8px; }
.pdp__row .step { width: 132px; flex: none; height: 52px; }
.pdp__btn { flex: 1; }
.pdp__line { margin: 8px 0 0; font-size: .86rem; color: var(--ink-2); min-height: 1.2em; }
.pdp__notes { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.pdp__notes li { display: flex; gap: 8px; align-items: center; }
.pdp__notes .i { color: var(--go); flex: none; }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 8px; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec th { color: var(--ink-3); font-weight: 600; width: 34%; }

/* basket + checkout */
.co { display: grid; gap: 12px; }
.bl { display: grid; grid-template-columns: 64px 1fr; gap: 10px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bl:last-child { border-bottom: 0; }
.bl img { border-radius: 8px; border: 1px solid var(--line); }
.bl__name { margin: 0; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.bl__name a { text-decoration: none; }
.bl__unit { display: block; font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.bl__ctl { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.bl__ctl .step { width: 122px; flex: none; }
.bl__total { margin-left: auto; font-family: var(--mono); font-weight: 600; }
.bl__rm { border: 0; background: none; color: var(--ink-3); font: 600 .82rem var(--f); text-decoration: underline; cursor: pointer; padding: 6px; }
.bl__empty { margin: 4px 0; color: var(--ink-2); }
.bl__empty a { color: var(--go-d); font-weight: 700; }
.minbar { margin-top: 10px; }
.minbar__track { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.minbar__fill { display: block; height: 100%; width: 0; background: var(--go); transition: width .3s; }
.minbar.is-met .minbar__fill { background: var(--ok); }
.minbar__text { font-size: .85rem; color: var(--ink-2); margin: 6px 0 0; }
.pcrow { display: flex; gap: 8px; }
.pcrow input { text-transform: uppercase; }
.pcrow .btn { flex: none; border-radius: var(--r-s); min-height: 46px; }
.pc-ok { color: var(--ok) !important; font-weight: 600; }
.pc-bad { color: var(--bad) !important; font-weight: 600; }
.days { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 6px; }
.day { position: relative; display: block; text-align: center; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 6px 2px; font-size: .72rem; color: var(--ink-3); cursor: pointer; }
.day b { display: block; font: 600 1.05rem var(--mono); color: var(--ink); }
.day input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.day:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #c9ccd2; }
.day:has(input:checked) b { color: #fff; }
.day--off { opacity: .35; cursor: default; }
.sum__dl { margin: 0 0 14px; }
.sum__dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.sum__dl dt { color: var(--ink-2); }
.sum__dl dd { margin: 0; text-align: right; }
.sum__total { font-weight: 800; font-size: 1.08rem; border-bottom: 0 !important; }
.sum__total dt { color: var(--ink) !important; }
.sum__small { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .84rem; color: var(--ink-2); margin: 10px 0 0; text-align: center; }
.trading-notice { text-align: center; }

/* thank-you */
.thx__card { text-align: center; padding: 24px 18px; }
.thx__card .flow { text-align: left; }
.thx__ok { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 10px; }
.thx__card h1 { font-size: clamp(1.5rem, 5.6vw, 2.2rem); }
.thx__h { font-size: 1.5rem; }
.thx__card > p { color: var(--ink-2); max-width: 540px; margin-left: auto; margin-right: auto; }
.thx__ref { display: inline-block; background: var(--paper); border-radius: 8px; padding: 6px 12px; font-size: .9rem; }
.thx [data-thx-summary] { text-align: left; margin: 12px 0 6px; }
.thx__help { text-align: center; }
.thx .row { justify-content: center; }

/* footer */
.foot { background: var(--ink); color: #c9ccd2; padding: 30px 0 18px; margin-top: 20px; font-size: .92rem; }
.foot__grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.foot__brand { grid-column: 1 / -1; }
.foot__brand img { height: 30px; width: auto; margin-bottom: 10px; }
.foot__h { font: 600 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: #8a8f97; margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { text-decoration: none; color: #e6e8eb; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__mail { display: inline-flex; align-items: center; gap: 6px; }
.foot__btn { background: none; border: 0; padding: 0; font: inherit; color: #e6e8eb; cursor: pointer; text-align: left; }
.foot__base { border-top: 1px solid #2c3036; margin-top: 22px; padding-top: 14px; font-size: .8rem; color: #8a8f97; }
.foot__base p { margin: 0 0 4px; }

/* bottom tabs + sheet (phones) */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabs) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.tabs a, .tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--ink-3); text-decoration: none; font: 600 .7rem var(--f); cursor: pointer; }
.tabs [aria-current] { color: var(--ink); }
.tabs [aria-current] .i { color: var(--go); }
.tabs .dot { top: 6px; right: calc(50% - 22px); }
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(20, 22, 26, .45); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto; background: var(--card); border-radius: 20px 20px 0 0; padding: 10px var(--gut) calc(18px + env(safe-area-inset-bottom)); animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__h { font-weight: 800; margin: 0; }
.sheet__x { width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.sheet__list { list-style: none; margin: 8px 0 0; padding: 0; }
.sheet__list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
body.sheet-open { overflow: hidden; }

/* toast + consent */
.toast { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabs) + 12px + env(safe-area-inset-bottom)); z-index: 55; background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 12px; font-size: .92rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.toast a { color: #ffb48f; font-weight: 700; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabs) + 12px + env(safe-area-inset-bottom)); z-index: 56; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); font-size: .9rem; }
.consent__h { font-weight: 800; margin-bottom: 4px; }
.consent .row { margin-top: 8px; }

@media (min-width: 560px) {
  .g2 { grid-template-columns: 1fr 1fr; }
  .calc__form { grid-template-columns: 1fr 1fr; }
  .calc__form .btn, .calc__note { grid-column: 1 / -1; justify-self: start; }
  .cards { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .towns small { display: block; margin-left: auto; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
  .tiles { grid-auto-columns: 30%; }
  .pgrid--scroll { grid-auto-columns: 31%; }
  .pc__add .btn span { display: inline; }
  .toast, .consent { left: auto; right: 16px; max-width: 380px; }
}
@media (min-width: 900px) {
  :root { --gut: 24px; }
  body { padding-bottom: 0; }
  .tabs, .sheet { display: none !important; }
  .toast, .consent { bottom: 18px; }
  .top__in { height: 66px; }
  .top__logo img { height: 34px; }
  .top__nav { display: block; }
  .top__bag { margin-left: 8px; }
  .sec { padding: 40px 0; }
  .sec--tight { padding: 18px 0; }
  .hero { padding: 34px 0 14px; }
  .hero__in { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; }
  .ticket { position: absolute; left: -28px; bottom: -22px; width: 290px; margin: 0; }
  .ph { padding: 28px 0 10px; }
  .ph--pic .ph__in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 36px; }
  .tiles { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .pgrid--scroll { grid-auto-columns: 23%; margin: 0; padding: 2px 0 6px; }
  .pc__body { padding: 12px 14px 14px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cards--2 { grid-template-columns: 1fr 1fr; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow--mini { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .towns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 28px; }
  .split--flip .split__pic { order: 2; }
  .split__pic { aspect-ratio: 3 / 2; }
  .band { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; }
  .pdp__grid { grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
  .pdp__art { position: sticky; top: 130px; }
  .co { grid-template-columns: 1fr 360px; align-items: start; gap: 18px; }
  .co__side { position: sticky; top: 90px; }
  .panel { padding: 20px 22px; }
  .bl { grid-template-columns: 72px 1fr auto; align-items: center; }
  .bl__ctl { grid-column: auto; }
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .foot__brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.thx__card .panel__h { margin-top: 18px; }
