/* Scott Fencing: timber-yard look. Zilla Slab headings, Public Sans body, oxide red on sawdust. */
:root {
  --oxide: #8f2d1a;
  --oxide-dk: #6e2213;
  --ink: #1d1a17;
  --ink-2: #2b2723;
  --steel: #39464e;
  --muted: #5d5650;
  --sand: #f4efe6;
  --sand-2: #e9e1d3;
  --line: #d9cfbf;
  --amber: #e8b04a;
  --ok: #3d6b35;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(29, 26, 23, .06), 0 6px 18px rgba(29, 26, 23, .07);
  --head: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--oxide); text-underline-offset: 2px; }
a:hover { color: var(--oxide-dk); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }
.wrap--text { max-width: 820px; }
.wrap--mid { max-width: 980px; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .9rem; margin: .4em 0 0; }
.hint--center { text-align: center; }
.opt { color: var(--muted); font-weight: 400; }
.ic { display: inline-block; vertical-align: -.2em; flex: none; }
.eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--oxide); margin: 0 0 .9em; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--light { color: var(--amber); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 10px 20px; border: 2px solid transparent; border-radius: var(--radius); font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--oxide); color: #fff; }
.btn--primary:hover { background: var(--oxide-dk); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--steel); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--amber); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--add { background: var(--ink); color: #fff; min-height: 42px; padding: 8px 16px; }
.btn--add:hover { background: var(--oxide); color: #fff; }
.btn--big { min-height: 54px; padding: 14px 24px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }

/* ---------- top line + header */
.topline { background: var(--ink); color: #e9e1d3; font-size: .84rem; }
.topline__in { display: flex; gap: 22px; justify-content: center; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topline .ic { color: var(--amber); }
.topline__on { display: none; }
@media (min-width: 760px) { .topline__in { justify-content: space-between; } .topline__on { display: inline; } }
@media (max-width: 520px) { .topline__min { display: none; } }
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 12px; min-height: 58px; }
@media (min-width: 760px) { .hdr__in { min-height: 70px; gap: 14px; } }
.hdr__logo { display: block; margin-right: auto; }
.hdr__logo img { display: block; width: 136px; height: auto; }
@media (min-width: 760px) { .hdr__logo img { width: 175px; } }
.hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hdr__nav a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--radius); font-size: .97rem; }
.hdr__nav a:hover { background: var(--sand); }
.hdr__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--oxide); border-radius: 0; }
.hdr__toggle { display: none; background: none; border: 0; padding: 10px; color: var(--ink); cursor: pointer; order: 3; }
.hdr__basket { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdr__basket:hover { background: var(--ink); color: #fff; }
.hdr__count { position: absolute; top: -9px; left: 22px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--oxide); color: #fff; font-size: .74rem; line-height: 20px; text-align: center; }
@media (max-width: 959px) {
  .hdr__toggle { display: inline-flex; }
  .hdr__nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .hdr__nav.is-open { display: block; }
  .hdr__nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .hdr__nav a { padding: 13px 4px; border-bottom: 1px solid var(--sand-2); border-radius: 0; }
  .hdr__nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--oxide); padding-left: 12px; }
}
@media (max-width: 420px) { .hdr__total { display: none; } .hdr__basket { padding: 9px 11px; } }

/* ---------- heroes */
.hhero { background: var(--ink); color: #f1ebe0; position: relative; border-bottom: 4px solid var(--oxide); }
.hhero__in { position: relative; display: grid; gap: 22px; padding-top: 26px; padding-bottom: 28px; }
.hhero h1 { color: #fff; max-width: 16ch; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.08; }
.hhero__intro { font-size: 1rem; max-width: 52ch; color: #d9d0c1; }
.hhero__intro p { margin-bottom: 0; }
.hhero .btnrow { margin-top: 18px; gap: 10px; }
.hhero__facts { list-style: none; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hhero__facts b { display: block; font: 700 1.3rem/1 var(--head); color: var(--amber); }
.hhero__facts span { font-size: .8rem; color: #bdb3a2; letter-spacing: .02em; }
@media (min-width: 900px) {
  .hhero__in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-top: 60px; padding-bottom: 64px; }
  .hhero__intro { font-size: 1.12rem; }
  .hhero__facts { margin-top: 30px; padding-top: 20px; }
  .hhero__facts b { font-size: 1.6rem; }
}
/* price list panel in the hero */
.board { background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.board__head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 10px; border-bottom: 2px solid var(--ink); }
.board__title { margin: 0; font: 700 1.15rem/1 var(--head); }
.board__head span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.board__list { list-style: none; margin: 0; padding: 0 18px; }
.board__list li + li { border-top: 1px solid var(--sand-2); }
.board__list a { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 0; color: var(--ink); text-decoration: none; }
.board__list a:hover .board__name { color: var(--oxide); text-decoration: underline; }
.board__name { font-weight: 700; font-size: .95rem; }
.board__spec { grid-column: 1; font-size: .8rem; color: var(--muted); }
.board__list b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 700 1.2rem/1 var(--head); font-variant-numeric: tabular-nums; }
.board__all { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 18px; background: var(--sand); color: var(--oxide); font-weight: 700; font-size: .92rem; text-decoration: none; border-top: 1px solid var(--line); }
.board__all:hover { background: var(--sand-2); }
@media (max-width: 899px) { .board__list li:nth-child(n+5) { display: none; } .board__list a { padding: 8px 0; } .board__head { padding: 12px 16px 8px; } .board__list { padding: 0 16px; } .board__all { padding: 10px 16px; } }

.phero { background: var(--sand); border-bottom: 1px solid var(--line); }
.phero__in { padding-top: 14px; padding-bottom: 22px; }
.phero h1 { max-width: 24ch; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.1; }
.phero__intro { font-size: 1rem; max-width: 64ch; color: var(--ink-2); }
.phero__intro p:last-child { margin-bottom: 0; }
.phero--plain { background: #fff; }
@media (min-width: 760px) { .phero__in { padding-top: 24px; padding-bottom: 40px; } .phero__intro { font-size: 1.08rem; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; padding: 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 760px) { .crumbs ol { margin-bottom: 16px; } }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* ---------- sections */
.sec { padding: 30px 0; }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: #e9e1d3; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--tight { padding: 16px 0; }
@media (min-width: 760px) { .sec { padding: 60px 0; } .sec--tight { padding: 28px 0; } }
.sec:not([class*="sec--"]) + .sec:not([class*="sec--"]) { padding-top: 0; }
.sec__head { max-width: 760px; margin-bottom: 16px; }
.sec__head h2 { margin-bottom: .25em; }
.sec__intro { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
@media (min-width: 760px) { .sec__head { margin-bottom: 26px; } .sec__intro { font-size: 1.05rem; } }
@media (max-width: 759px) { body { font-size: 15px; } h2 { font-size: 1.4rem; } h3 { font-size: 1.08rem; } }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.tpl-legal .sec { padding: 30px 0; }
.tpl-legal .sec + .sec { padding-top: 0; }

/* cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 680px) { .cards--2, .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 16px 14px; }
@media (min-width: 760px) { .card { padding: 22px 22px 20px; } }
.card h3 { margin-bottom: .35em; }
.sec--ink .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: #d9d0c1; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:has(a):hover { box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card__kicker { font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7em; }
.sec--ink .card__more { color: var(--amber); }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--oxide); font-weight: 700; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step h3 { margin-bottom: .15em; font-size: 1.02rem; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--amber); font: 700 .95rem/30px var(--head); text-align: center; }
@media (min-width: 860px) {
  .steps:not(.steps--plain) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
  .steps:not(.steps--plain) .step { flex-direction: column; gap: 12px; padding: 20px 22px 4px 0; border-top: 0; }
  .steps:not(.steps--plain) .step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
  .step__n { width: 34px; height: 34px; line-height: 34px; }
}
.steps--plain .step { border: 0; padding: 10px 0; background: none; }

/* ticks, tables, callout */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--ok); margin-top: 3px; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--sand-2); vertical-align: top; }
.tbl thead th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.tbl tbody th { font-weight: 600; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.callout { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; background: var(--oxide); color: #fbeee6; border-radius: 8px; padding: 18px; }
.callout__title { font: 700 1.25rem/1.2 var(--head); color: #fff; margin-bottom: .25em; }
@media (min-width: 760px) { .callout__title { font-size: 1.45rem; } }
.callout p:last-child { margin-bottom: 0; }
.callout .btnrow { margin: 0; }
@media (min-width: 760px) { .callout { padding: 30px 36px; } }

/* faq */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 13px 36px 13px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 700 1.5rem/1 var(--head); color: var(--oxide); }
.faq[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 0 14px; color: var(--ink-2); }

/* ---------- shop: categories + product grid */
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .cats { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.cat a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.cat a:hover { box-shadow: var(--shadow); border-color: var(--ink); }
.cat img { display: block; width: 100%; aspect-ratio: 14 / 9; object-fit: cover; background: var(--sand); border-bottom: 1px solid var(--sand-2); }
.cat__name { font: 700 1.02rem/1.2 var(--head); padding: 9px 12px 1px; }
.cat__meta { font-size: .8rem; color: var(--muted); padding: 0 12px 10px; }
@media (min-width: 760px) { .cat__name { font-size: 1.12rem; padding: 12px 14px 2px; } .cat__meta { font-size: .86rem; padding: 0 14px 14px; } }
.pgrid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1140px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: #bfb19c; }
.pcard__img img { display: block; width: 100%; aspect-ratio: 14 / 9; background: var(--sand); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.pcard__name { font: 700 1.05rem/1.25 var(--head); margin: 0 0 2px; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__name a:hover { color: var(--oxide); text-decoration: underline; }
.pcard__spec { font-size: .84rem; color: var(--muted); margin: 0 0 8px; }
.pcard__price { margin: auto 0 10px; }
.pcard__price b { font: 700 1.3rem/1 var(--head); font-variant-numeric: tabular-nums; }
.pcard__price span { font-size: .84rem; color: var(--muted); }
.pcard__add { display: flex; gap: 8px; }
.pcard__add .qty { flex: 1; }
/* phones: compact rows, drawing on the left */
@media (max-width: 639px) {
  .pcard { display: grid; grid-template-columns: 104px 1fr; }
  .pcard__img { display: block; background: var(--sand); border-right: 1px solid var(--sand-2); }
  .pcard__img img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 30% 50%; }
  .pcard__body { padding: 10px 12px; }
  .pcard__name { font-size: 1rem; }
  .pcard__spec { margin-bottom: 4px; font-size: .8rem; }
  .pcard__price { margin: 0 0 8px; }
  .pcard__price b { font-size: 1.15rem; }
  .pcard__add .qty { min-height: 38px; }
  .pcard__add .qty__btn { width: 34px; }
  .pcard__add .btn--add { min-height: 38px; padding: 6px 14px; }
}
.qty { display: inline-flex; align-items: stretch; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; min-height: 42px; }
.qty__btn { flex: none; width: 38px; border: 0; background: var(--sand); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.qty__btn:hover { background: var(--sand-2); }
.qty__in { width: 100%; min-width: 44px; border: 0; text-align: center; font: 700 1rem var(--body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty__in::-webkit-outer-spin-button, .qty__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus-within { border-color: var(--ink); }
.pcard.is-added { border-color: var(--ok); }

/* product page */
.pdp { padding: 20px 0 40px; }
.pdp__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .pdp__grid { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; } .pdp__img { position: sticky; top: 92px; } }
.pdp__img { margin: 0; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pdp__img img { display: block; width: 100%; }
.pdp h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.pdp__price { margin: 0 0 14px; }
.pdp__price b { font: 700 2.1rem/1 var(--head); color: var(--oxide); }
.pdp__price span { color: var(--muted); }
.pdp__intro { color: var(--ink-2); }
.pdp__add { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 18px 0 12px; }
.pdp__qlabel { display: block; font-weight: 700; margin-bottom: 8px; }
.pdp__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__row .qty { width: 150px; min-height: 54px; }
.pdp__row .btn { flex: 1; min-width: 190px; }
.pdp__line { margin: 10px 0 0; font-size: .95rem; color: var(--steel); min-height: 1.5em; }
.pdp__note { font-size: .92rem; color: var(--steel); }
.pdp__note .ic { color: var(--oxide); }
.spec { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--sand-2); vertical-align: top; }
.spec th { width: 38%; color: var(--muted); font-weight: 600; padding-right: 12px; }

/* ---------- fence calculator */
.calc { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 8px 8px 0 var(--sand-2); }
@media (min-width: 760px) { .calc { padding: 30px; } }
.calc__title { margin-bottom: .3em; }
.calc__intro { color: var(--muted); }
.calc__form { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 720px) { .calc__form { grid-template-columns: 1fr 1fr; align-items: end; } .calc__form .tick, .calc__form .btn { grid-column: span 1; } }
.unit { display: flex; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.unit:focus-within { border-color: var(--ink); }
.unit input { flex: 1; min-width: 0; border: 0 !important; }
.unit span { display: grid; place-items: center; padding: 0 12px; background: var(--sand); color: var(--muted); font-size: .9rem; }
.calc__out { margin-top: 22px; border-top: 2px dashed var(--line); padding-top: 18px; }
.calc__out h3 { margin-bottom: .2em; }
.calc__list { list-style: none; margin: 12px 0; padding: 0; }
.calc__list li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--sand-2); }
.calc__list b { font: 700 1.15rem/1 var(--head); color: var(--oxide); }
.calc__list .p { white-space: nowrap; font-weight: 600; }
.calc__sum { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin: 6px 0 14px; }
.calc__warn { background: #fff7e6; border-left: 4px solid var(--amber); padding: 10px 12px; font-size: .92rem; }

/* ---------- forms */
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
input[type="text"], input:not([type]), input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--radius); font: 400 1rem var(--body); color: var(--ink); background: #fff; }
.qty .qty__in { border: 0; min-height: 0; padding: 0 4px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
.field.is-bad input, .field.is-bad select { border-color: var(--oxide); }
textarea { min-height: 90px; resize: vertical; }
.tick { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 600; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--oxide); flex: none; }
.tick--terms { font-weight: 400; margin-top: 8px; }
.grid2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* ---------- basket + checkout */
.sec--basket { background: var(--sand); padding-top: 28px; }
.basket { display: grid; gap: 18px; }
@media (min-width: 960px) { .basket { grid-template-columns: 1fr 360px; align-items: start; } .basket__side { position: sticky; top: 90px; } }
.basket__main { display: grid; gap: 18px; min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
@media (min-width: 760px) { .panel { padding: 24px; } }
.panel__title { font-size: 1.35rem; margin-bottom: .7em; }
.bline { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--sand-2); }
.bline img { width: 64px; height: auto; border-radius: 4px; background: var(--sand); grid-row: span 2; }
.bline__name { font-weight: 700; line-height: 1.3; }
.bline__name a { color: var(--ink); text-decoration: none; }
.bline__unit { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); }
.bline__ctl { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.bline__ctl .qty { width: 130px; }
.bline__total { font-weight: 700; }
.bline__rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .86rem; padding: 4px 0; }
.bline__rm:hover { color: var(--oxide); }
.basket__empty { padding: 8px 0; }
.basket__more { margin: 14px 0 0; font-size: .95rem; }
.basket__more a { display: inline-flex; align-items: center; gap: 4px; }
.basket__more .ic { transform: rotate(180deg); }
.minbar { margin-top: 16px; padding: 14px; background: var(--sand); border-radius: var(--radius); }
.minbar__track { height: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.minbar__fill { display: block; height: 100%; width: 0; background: var(--oxide); transition: width .3s; }
.minbar.is-met .minbar__fill { background: var(--ok); }
.minbar__text { margin: 8px 0 0; font-weight: 600; font-size: .95rem; }
.pc { display: flex; gap: 8px; flex-wrap: wrap; }
.pc input { flex: 1 1 160px; text-transform: uppercase; }
.pc .btn { flex: 0 0 auto; }
.pc-ok { color: var(--ok); font-weight: 600; }
.pc-bad { color: var(--oxide); font-weight: 600; }
.dates { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 6px; }
.day { position: relative; display: block; text-align: center; border: 2px solid var(--line); border-radius: var(--radius); padding: 7px 2px; background: #fff; cursor: pointer; font-size: .78rem; color: var(--muted); line-height: 1.25; }
.day b { display: block; font: 700 1.2rem/1.1 var(--head); color: var(--ink); }
.day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.day:has(input:checked) { border-color: var(--oxide); background: var(--oxide); color: #fbe9e1; }
.day:has(input:checked) b { color: #fff; }
.day:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 1px; }
.day--off { background: var(--sand); opacity: .55; cursor: default; }
.day--off b { color: var(--muted); }
.checkout__sub { font-size: 1.12rem; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid var(--sand-2); }
.errors { background: #fbeae6; border-left: 4px solid var(--oxide); padding: 12px 14px; margin-bottom: 14px; }
.errors ul { margin: 0; padding-left: 1.1em; }
.sum { margin: 0 0 12px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sand-2); }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-weight: 600; text-align: right; }
.sum__total { border-bottom: 0 !important; padding-top: 12px !important; }
.sum__total dt { color: var(--ink); font-weight: 700; }
.sum__total dd { font: 700 1.6rem/1 var(--head); }
.summary .btn { margin-top: 12px; }

/* ---------- thanks */
.thanks { display: grid; gap: 18px; }
.thanks__ref { display: inline-block; margin-top: 14px; padding: 8px 14px; background: var(--sand); border: 1px dashed var(--oxide); border-radius: var(--radius); font-weight: 700; }

/* ---------- footer */
.ftr { background: var(--ink); color: #cfc6b6; font-size: .94rem; margin-top: 0; }
.ftr a { color: #e9e1d3; text-decoration: none; }
.ftr a:hover { color: var(--amber); text-decoration: underline; }
.ftr__top { display: grid; gap: 22px 18px; padding: 28px 0 20px; grid-template-columns: 1fr 1fr; }
.ftr__about { grid-column: 1 / -1; }
.ftr__about p { margin-bottom: .6em; }
@media (min-width: 760px) { .ftr__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 48px 0 30px; } .ftr__about { grid-column: auto; } }
.ftr__logo img { width: 160px; display: block; margin-bottom: 12px; }
@media (min-width: 760px) { .ftr__logo img { width: 190px; margin-bottom: 14px; } }
.ftr__mail { display: inline-flex; align-items: center; gap: 8px; }
.ftr__head { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 760px) { .ftr__col ul { gap: 8px; } }
.ftr__cookies { background: none; border: 0; padding: 0; color: #e9e1d3; font: inherit; cursor: pointer; text-align: left; }
.ftr__cookies:hover { color: var(--amber); text-decoration: underline; }
.ftr__bottom { border-top: 1px solid #3a352f; padding: 18px 0 24px; font-size: .85rem; }
.ftr__bottom p { margin: 0; }

/* ---------- mobile basket bar, toast, consent */
.mbasket { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); font-size: .92rem; }
.mbasket[hidden] { display: none; }
.mbasket:hover { color: #fff; }
.mbasket__label { display: inline-flex; align-items: center; gap: 6px; }
.mbasket__total { font-weight: 700; margin-left: auto; }
.mbasket__go { display: inline-flex; align-items: center; gap: 6px; background: var(--oxide); padding: 8px 12px; border-radius: 6px; font-weight: 700; }
@media (min-width: 760px) { .mbasket { display: none !important; } }
@media (max-width: 759px) { body.has-mbasket { padding-bottom: 76px; } }
.toast { position: fixed; z-index: 60; left: 50%; top: 84px; transform: translateX(-50%); background: var(--ok); color: #fff; padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; max-width: calc(100% - 32px); text-align: center; }
.toast[hidden] { display: none; }
.toast a { color: #fff; font-weight: 700; }
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; max-width: 460px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: 0 12px 34px rgba(0, 0, 0, .25); font-size: .94rem; }
.consent__title { font: 700 1.15rem/1.2 var(--head); margin-bottom: .4em; }
.consent__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- phone compaction (added Oct 2026) */
.hhero { overflow: hidden; }
@media (max-width: 559px) {
  .hhero .btnrow { flex-wrap: nowrap; }
  .hhero .btnrow .btn { flex: 1 1 0; min-height: 46px; padding: 10px 12px; font-size: .95rem; white-space: nowrap; }
  .hhero .btnrow .btn .ic { display: none; }
  .cats { grid-template-columns: 1fr; gap: 8px; }
  .cat a { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; column-gap: 12px; }
  .cat img { grid-row: 1 / span 2; width: 92px; height: 64px; aspect-ratio: auto; object-fit: cover; object-position: 30% 50%; border-bottom: 0; border-right: 1px solid var(--sand-2); }
  .cat__name { padding: 0; align-self: end; }
  .cat__meta { padding: 0; align-self: start; grid-column: 2; }
  .cat a::after { content: "\203A"; grid-row: 1 / span 2; grid-column: 3; padding-right: 14px; font: 700 1.6rem/1 var(--head); color: var(--oxide); }
  .callout .btnrow, .callout > a { width: 100%; }
}
.pcard__img img { object-position: 33% 50%; }
