/* Save & Pave — concept preview. Brand colours taken from the live theme. */
:root {
  --navy: #1c2229;
  --navy-2: #262f38;
  --blue: #0167c4;
  --blue-dark: #00539f;
  --green: #1f7a3a;
  --green-soft: #e9f4ec;
  --orange: #f98122;
  --ink: #1c2229;
  --muted: #5b6470;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
  --font-head: "Jost", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Demo ribbon */
.demo-ribbon { background: #fff7ec; color: #7a3d00; font-size: 13px; text-align: center; padding: 6px 16px; border-bottom: 1px solid #f6d9b8; }
.demo-ribbon strong { font-weight: 700; }

.demo-ribbon__link { color: #7a3d00; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.demo-ribbon__link:hover { color: #4d2600; }

/* Website audit CTA (header) */
.audit-cta { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 600; color: #fff;
  padding: 7px 13px 7px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06);
  transition: background-color .2s, border-color .2s, transform .2s cubic-bezier(.2,.8,.2,1); }
.audit-cta svg { width: 17px; height: 17px; color: #9fe0b2; }
.audit-cta:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-1px); }
.audit-cta:active { transform: none; }
.audit-cta[aria-current="page"] { background: var(--green); border-color: var(--green); }
.audit-cta[aria-current="page"] svg { color: #fff; }
.audit-cta .sm { display: none; }
/* The header row never wraps: items drop out in stages as the width shrinks, then the menu collapses below 1320px. */
@media (max-width: 1679px) { .header__phone { display: none; } }
@media (max-width: 1439px) {
  .audit-cta .lg { display: none; } .audit-cta .sm { display: inline; }
  .vat-long { display: none; }
}
@media (max-width: 1439px) and (min-width: 1320px) {
  .nav { gap: 16px; font-size: 14.5px; }
  .header__logo img { height: 38px; }
}
@media (max-width: 1319px) { .audit-cta { padding: 7px 11px 7px 9px; } }
@media (prefers-reduced-motion: reduce) { .audit-cta { transition: none; } }

/* Announcement */
.announce { background: var(--blue); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; font-weight: 500; }
.announce span + span::before { content: "·"; margin: 0 10px; opacity: .7; }

/* Header */
.header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 40; }
.header__row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.header .wrap { width: min(1480px, 100% - 48px); }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 20px; flex-wrap: nowrap; white-space: nowrap; font-size: 15px; flex: 1 1 auto; min-width: 0; }
.nav a { text-decoration: none; opacity: .9; padding: 6px 0; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__phone { font-size: 14px; text-decoration: none; opacity: .9; white-space: nowrap; }
.vat { display: inline-flex; background: var(--navy-2); border-radius: 999px; padding: 3px; font-size: 13px; }
.vat button { border: 0; background: transparent; color: #cdd3da; padding: 5px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.vat button[aria-pressed="true"] { background: #fff; color: var(--navy); font-weight: 600; }
.cart-btn { position: relative; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 6px; display: inline-flex; }
.cart-btn svg { width: 26px; height: 26px; }
.cart-count { position: absolute; top: -2px; right: -4px; background: var(--orange); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; display: grid; place-items: center; font-weight: 700; padding: 0 4px; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
@media (max-width: 1319px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--navy-2); }
  .menu-btn { display: inline-flex; }
  .header__phone { display: none; }
  .header__logo img { height: 36px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; padding: 12px 20px; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-decoration: none; font-size: 15px; transition: background-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: #18652f; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: #c5cbd2; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 72px 0; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.hero p.lede { font-size: 18px; max-width: 34em; opacity: .92; margin: 0 0 24px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__ctas .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; padding: 48px 0; } }

/* Quick calc card */
.qcalc { background: #fff; color: var(--ink); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.qcalc h2 { font-size: 22px; margin-bottom: 4px; }
.qcalc .hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select { border: 1px solid #cfd5dc; border-radius: 8px; padding: 11px 12px; background: #fff; width: 100%; min-width: 0; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(1,103,196,.18); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qcalc .result { margin: 16px 0; padding: 14px; background: var(--bg-soft); border-radius: 10px; font-size: 15px; min-height: 64px; }
.qcalc .result strong { font-size: 20px; font-family: var(--font-head); }

/* Trust strip */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.trust b { display: block; font-size: 15px; }
.trust svg { flex: none; width: 28px; height: 28px; color: var(--green); }
@media (max-width: 800px) { .trust ul { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { gap: 12px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 1; background: var(--bg-soft); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__tag { font-size: 12px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.card__title { font-family: var(--font-head); font-size: 17px; line-height: 1.25; text-decoration: none; }
.card__title:hover { text-decoration: underline; }
.card__price { font-size: 15px; }
.card__price strong { font-size: 19px; font-family: var(--font-head); }
.card__meta { font-size: 13px; color: var(--muted); }
.card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 8px; }
.card__actions .btn { padding: 10px 12px; font-size: 14px; }
@media (max-width: 480px) { .card__actions { grid-template-columns: 1fr; } }

/* Chooser */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choose > div { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: #fff; }
.choose > div:first-child { background: var(--green); color: #fff; border-color: var(--green); }
.choose ul { padding-left: 1.1em; margin: 12px 0 0; }
.choose li { margin: 6px 0; }
@media (max-width: 760px) { .choose { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-head); color: var(--blue); font-size: 28px; display: block; margin-bottom: 8px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Contact + footer */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.contact h3 { font-size: 17px; color: var(--blue); margin-bottom: 6px; }
.contact p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr 1fr; } }
.footer { background: var(--navy); color: #cfd5dc; padding: 48px 0 28px; font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__legal { border-top: 1px solid var(--navy-2); margin-top: 32px; padding-top: 20px; font-size: 13px; line-height: 1.7; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr; } }

/* Price display (VAT toggle) */
.p-ex { display: none; }
html.vat-ex .p-inc { display: none; }
html.vat-ex .p-ex { display: inline; }
.vat-label { font-size: .78em; color: var(--muted); font-weight: 400; margin-left: 3px; }
.p-alt { font-size: 13px; color: var(--muted); display: block; }

/* PDP */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding-bottom: 64px; align-items: start; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery__main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: none; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--green); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info h1 { font-size: clamp(28px, 3.2vw, 38px); }
.pdp__price { font-size: 16px; margin-bottom: 16px; }
.pdp__price strong { font-family: var(--font-head); font-size: 26px; }

.packs { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; }
.packs th { text-align: left; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; }
.packs td { padding: 12px 10px; border-top: 1px solid var(--line); }
.packs td:last-child, .packs th:last-child { text-align: right; }
.packs .was { text-decoration: line-through; color: var(--muted); font-size: 13px; display: block; }

/* Project planner */
.planner { border: 2px solid var(--green); border-radius: 14px; padding: 22px; background: #fff; margin-bottom: 20px; }
.planner__head { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.planner h2 { font-size: 22px; margin: 0; }
.planner .new { background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.tabs { display: inline-flex; background: var(--bg-soft); border-radius: 8px; padding: 3px; margin: 14px 0; }
.tabs button { border: 0; background: transparent; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); font-weight: 600; }
.rects { display: grid; gap: 10px; }
.rect { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: end; }
.rect .x { padding-bottom: 12px; color: var(--muted); }
.rect .rm { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 10px 4px; font-size: 20px; line-height: 1; }
.link-btn { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 6px 0; font-weight: 600; font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1px solid #cfd5dc; background: #fff; border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: 14px; }
.chips button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: var(--green); font-weight: 600; }
.chips-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.out { margin-top: 18px; border-radius: 12px; background: var(--bg-soft); padding: 16px; }
.out__empty { color: var(--muted); font-size: 15px; margin: 0; }
.out__figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.out__figures div { background: #fff; border-radius: 8px; padding: 10px; }
.out__figures b { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 500; }
.out__figures span { font-size: 12px; color: var(--muted); }
.out__lines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.out__lines li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border-radius: 8px; padding: 10px 12px; font-size: 15px; align-items: center; }
.out__lines label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.out__lines input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.out__lines small { display: block; color: var(--muted); font-size: 12px; }
.out__lines select { border: 1px solid #cfd5dc; border-radius: 6px; padding: 3px 6px; font-size: 13px; margin-top: 4px; }
.save { background: var(--green); color: #fff; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.save b { font-size: 16px; }
.out__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin: 4px 0 12px; }
.out__total strong { font-family: var(--font-head); font-size: 28px; font-weight: 500; }
.note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.warn { background: #fff4e5; color: #7a3d00; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
@media (max-width: 480px) { .out__figures { grid-template-columns: 1fr 1fr 1fr; } .out__figures b { font-size: 18px; } .planner { padding: 16px; } }

.sample { display: flex; gap: 14px; align-items: center; border: 1px dashed #b9c1ca; border-radius: 12px; padding: 14px; margin-bottom: 20px; }
.sample p { margin: 0; font-size: 14px; color: var(--muted); }
.sample b { color: var(--ink); font-size: 15px; display: block; }
.sample .btn { margin-left: auto; white-space: nowrap; }

.deliv { background: var(--green-soft); border-radius: 12px; padding: 16px; font-size: 14px; }
.deliv h3 { font-size: 16px; color: var(--green); margin-bottom: 6px; }
.deliv ul { margin: 6px 0 0; padding-left: 1.1em; }
.desc { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* Mobile sticky bar */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: none; align-items: center; gap: 12px; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.sticky-bar .t { font-size: 13px; color: var(--muted); }
.sticky-bar strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); font-weight: 500; }
.sticky-bar .btn { margin-left: auto; }
@media (max-width: 960px) { .sticky-bar.is-on { display: flex; } body.has-sticky { padding-bottom: 76px; } }

/* Cart drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(16,24,40,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 51; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-bg { transition: none; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; margin: 0; }
.drawer__close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.line__title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.line__var { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; margin-top: 6px; }
.qty button { border: 0; background: none; width: 28px; height: 28px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; line-height: 28px; font-size: 14px; }
.line__price { font-size: 14px; font-weight: 600; text-align: right; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.access { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 13px; margin-top: 16px; }
.access h3 { font-size: 15px; margin-bottom: 6px; }
.access ul { margin: 0 0 8px; padding-left: 1.1em; color: var(--muted); }
.access label { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.access input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); flex: none; }
.jobref { margin-top: 12px; }
.subtotal { display: flex; justify-content: space-between; font-size: 16px; }
.subtotal strong { font-family: var(--font-head); font-size: 22px; font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* Phones: the header keeps the logo, VAT switch and basket; the audit CTA moves up into the ribbon. */
.header__logo { flex: none; }
@media (max-width: 600px) {
  .header__row { gap: 10px; }
  .header__tools { gap: 8px; }
  .header__logo img { height: 30px; }
  .vat-long { display: none; }
  .audit-cta { display: none; }
  .demo-ribbon { font-size: 12px; line-height: 1.5; }
  .demo-ribbon__link { display: inline-block; margin-top: 4px; background: #7a3d00; color: #fff; padding: 4px 12px; border-radius: 999px; text-decoration: none; }
  .demo-ribbon__link:hover { color: #fff; background: #4d2600; }
}
