/* "Shore" — a light, calm website template for businesses that sell and build to order (no booking
   calendar). Every colour comes from the two theme colours (--primary: deep, --accent: lively),
   which the page sets from the business's theme; the warm neutrals stay the same. Headings in
   Literata and text in Manrope: both draw every Latvian letter (āčēģīķļņšūž ĀČĒĢĪĶĻŅŠŪŽ) — check
   any other font against these before changing. */
:root {
  --primary: #0b2e38;
  --accent: #0d7680;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --sand: #ece6db;
  --ink: color-mix(in srgb, var(--primary) 62%, #101418);
  --muted: color-mix(in srgb, var(--primary) 40%, #8a8f92);
  --line: #e2ddd3;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
  --accent-light: color-mix(in srgb, var(--accent) 40%, #fff);
  --deep: var(--primary);
  --sale: #b4462b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 35, 42, .04), 0 8px 24px rgba(20, 35, 42, .06);
  --wrap: 1200px;
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Literata', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[id] { scroll-margin-top: 96px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 13px 24px; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.badge[hidden] { display: none; }
.burger { display: none; }

/* Hero */
.hero { position: relative; margin: 0 16px; border-radius: 28px; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: end; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 5%, transparent) 30%, color-mix(in srgb, var(--deep) 78%, transparent)); }
.hero-content { position: relative; z-index: 1; padding: 64px 24px; width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero .eyebrow { color: color-mix(in srgb, var(--accent) 30%, #fff); }
.hero h1 { max-width: 14ch; }
.hero p { font-size: 1.1rem; max-width: 46ch; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-facts { display: grid; gap: 10px; justify-self: end; }
.fact { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(12px); border-radius: 14px; padding: 14px 18px; min-width: 240px; }
.fact strong { display: block; font-size: 1.05rem; }
.fact span { font-size: .85rem; color: rgba(255, 255, 255, .78); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 35, 42, .05), 0 18px 40px rgba(20, 35, 42, .1); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.card-meta { font-size: .88rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 14px; }
.price { font-weight: 700; font-size: 1.05rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .8rem; margin-right: 4px; }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: .9rem; margin-left: 8px; }
.tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: .75rem; font-weight: 700; z-index: 1; }
.tag-sale { background: var(--sale); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-size: .78rem; background: var(--bg); border-radius: 999px; padding: 4px 10px; color: var(--muted); }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 28px 0 0; position: relative; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--display); font-size: 3.2rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 16px; }
.step h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; }
.step p { color: var(--muted); font-size: .95rem; }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.list-links { display: grid; gap: 10px; margin-top: 24px; }
.list-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 600; transition: border-color .2s; }
.list-link:hover { border-color: var(--accent); }
.list-link span:last-child { color: var(--accent); }
.band { background: var(--deep); color: #fff; }
.band .muted, .band p { color: rgba(255, 255, 255, .75); }
.band .eyebrow { color: var(--accent-light); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature { padding: 24px; background: var(--surface); border-radius: var(--radius); }
.feature h4 { margin: 0 0 6px; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.feature-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; font-weight: 700; }

/* Partners */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.partners img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: .3s; mix-blend-mode: multiply; }
.partners img:hover { filter: none; opacity: 1; }

/* CTA */
.cta { border-radius: 28px; background: var(--accent); color: #fff; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta p { color: rgba(255, 255, 255, .85); }
.cta-contacts { display: grid; gap: 12px; }
.cta-contacts a { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px 20px; font-weight: 600; transition: background .2s; }
.cta-contacts a:hover { background: rgba(255, 255, 255, .2); }
.cta-contacts small { display: block; font-weight: 500; opacity: .75; font-size: .78rem; }

/* Page header / breadcrumbs */
.page-head { padding-top: 56px; padding-bottom: 32px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 500; }
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product page */
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; padding-bottom: 72px; }
.gallery { min-width: 0; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 84px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--sand); opacity: .7; }
.thumbs button.is-on { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 96px; }
.product-info h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.product-price { font-size: 1.6rem; font-weight: 700; margin: 8px 0 20px; }
.product-price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 24px 0; }
.quick-facts div { background: var(--surface); padding: 14px 12px; text-align: center; }
.quick-facts strong { display: block; font-size: 1.05rem; }
.quick-facts span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.assure { display: grid; gap: 8px; margin-top: 24px; font-size: .9rem; color: var(--muted); }
.assure div::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.1rem; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.stock { font-size: .88rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.stock::before { content: '●'; margin-right: 6px; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.spec-group { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.spec-group h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.spec-row span:first-child { color: var(--muted); flex: 0 0 42%; }
.spec-row span:last-child { text-align: right; font-weight: 500; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: .92rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.compare td:first-child { color: var(--muted); width: 22%; }
.compare-scroll { overflow-x: auto; border-radius: var(--radius); }

/* Configurator plugin */
.dcfg { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.dcfg-main { display: grid; gap: 16px; }
.dcfg-step { border: 0; margin: 0; padding: 24px; background: var(--surface); border-radius: var(--radius); }
.dcfg-step legend { float: left; width: 100%; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; padding: 0; }
.dcfg-step legend em { font-style: normal; font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: auto; }
.dcfg-num { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--accent); }
.dcfg-opts { clear: both; display: grid; gap: 8px; }
.dcfg-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.dcfg-opt:hover { border-color: color-mix(in srgb, var(--line) 70%, var(--ink)); }
.dcfg-opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.dcfg-opt.is-locked { cursor: default; }
.dcfg-opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.dcfg-opt-main { flex: 1; display: grid; }
.dcfg-opt-label { font-weight: 600; font-size: .95rem; }
.dcfg-opt-desc { font-size: .83rem; color: var(--muted); }
.dcfg-opt-price { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.dcfg-opt-price.is-zero { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.dcfg-dims { clear: both; display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: start; }
.dcfg-dim { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); }
.dcfg-dim:focus-within { border-color: var(--accent); background: #fff; }
.dcfg-dim.is-bad { border-color: var(--sale); }
.field .dcfg-dim input { border: 0; background: transparent; font-size: 1.15rem; font-weight: 600; }
.dcfg-dim em { font-style: normal; color: var(--muted); padding-right: 14px; }
.field small { font-weight: 400; }
.dcfg-area { background: var(--accent-soft); border-radius: 10px; padding: 10px 16px; display: grid; align-self: center; margin-top: 4px; }
.dcfg-area span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dcfg-area strong { font-size: 1.15rem; }
.dcfg-opt-price small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); text-align: right; }
.dcfg-sum-head .muted { display: block; margin-top: 4px; font-size: .9rem; }
.dcfg-sum { position: sticky; top: 96px; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.dcfg-sum-head strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.dcfg-sum-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; font-size: .9rem; }
.dcfg-sum-list li { display: flex; justify-content: space-between; gap: 16px; }
.dcfg-sum-list li span:first-child { color: var(--muted); }
.dcfg-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.dcfg-total strong { font-size: 1.7rem; }
.dcfg-note { font-size: .8rem; color: var(--muted); margin: 10px 0 18px; }
.dcfg-flag { font-size: .75rem; background: #fff4e0; color: #8a5a00; border-radius: 8px; padding: 6px 10px; margin: -8px 0 18px; }
.dcfg-lead { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.dcfg-lead-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.dcfg-done { background: var(--surface); border-radius: var(--radius); padding: 56px 32px; text-align: center; max-width: 640px; margin: 0 auto; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.8rem; display: grid; place-items: center; margin: 0 auto 20px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: .95rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.radio-cards { display: grid; gap: 8px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 28px; }

/* Cart drawer */
.drawer-bg { position: fixed; inset: 0; background: color-mix(in srgb, var(--deep) 40%, transparent); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.line-title { font-weight: 600; font-size: .92rem; }
.line .qty button { width: 30px; height: 32px; }
.line-remove { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; margin-top: 4px; }
.totals { display: grid; gap: 8px; font-size: .93rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; padding-bottom: 80px; }
.checkout h3 { font-family: var(--font); font-weight: 700; font-size: 1.05rem; margin: 0 0 16px; }
.checkout .panel + .panel { margin-top: 16px; }
.opt-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.opt-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt-card input { accent-color: var(--accent); }
.opt-card span:nth-child(2) { flex: 1; }
.opt-card small { display: block; color: var(--muted); }

/* Blog */
.post-card .card-img { aspect-ratio: 16 / 10; }
.post-date { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.article { max-width: 720px; margin: 0 auto; padding-bottom: 80px; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin: 32px 0 40px; aspect-ratio: 16 / 9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: 12px; margin: 24px 0; height: auto; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 24px 0; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-bottom: 80px; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item .feature-icon { margin: 0; flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; }

/* Footer */
.footer { background: var(--deep); color: rgba(255, 255, 255, .75); padding: 72px 0 32px; margin-top: 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.powered-by { display: inline-flex; align-items: center; gap: 8px; opacity: .75; transition: opacity .2s; }
.powered-by:hover { opacity: 1; }
.powered-by img { height: 14px; width: auto; }
.footer-logo { height: 30px; filter: invert(1) brightness(2); margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; z-index: 200; transition: transform .3s; }
.toast.is-on { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dcfg, .checkout { grid-template-columns: 1fr; }
  .dcfg-sum { position: static; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .burger { display: grid; }
  .header-inner { gap: 12px; justify-content: space-between; }
  .header-actions .btn { display: none; }
  .hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 50%, transparent), color-mix(in srgb, var(--deep) 82%, transparent)); }
  .hero-content { grid-template-columns: 1fr; gap: 24px; padding: 40px 20px; }
  .hero-facts { justify-self: stretch; grid-template-columns: 1fr 1fr; }
  .fact { min-width: 0; }
  .split, .grid-3, .grid-2, .cta, .contact-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { margin: 0 16px; border-radius: 20px; min-height: 600px; }
  .hero-facts { grid-template-columns: 1fr; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .dcfg-dims { grid-template-columns: 1fr 1fr; }
  .dcfg-area { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .dcfg-step, .dcfg-sum, .dcfg-lead, .panel { padding: 20px; }
  .dcfg-opt { flex-wrap: wrap; }
  .dcfg-opt-price { margin-left: 32px; }
  .hero-actions .btn { flex: 1; }
}

/* ---------- added for the real pages ---------- */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 300; background: #fff; padding: 8px 14px; border-radius: 8px; }
html, body { overflow-x: hidden; }
main { min-height: 50vh; }
.btn:focus-visible, .icon-btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cta-contacts .ci { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; }
.card[hidden] { display: none; }
.card-text { font-size: .93rem; margin: 0; }
.stock.is-out { color: var(--sale); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.panel h3 { font-family: var(--font); font-weight: 700; font-size: 1.05rem; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-error { color: var(--sale); font-weight: 600; margin: 14px 0 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.check-line input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.company[hidden] { display: none; }
.opt-card strong { white-space: nowrap; }
.opt-card[hidden] { display: none; }
.footer-legal { display: grid; gap: 4px; margin-top: 14px; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.powered-by span { white-space: nowrap; }
.prose ul { padding-left: 1.2em; }
.legal-page { max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
.done { text-align: center; }
.not-found { padding: 120px 0; text-align: center; }
.shop-count { font-size: .88rem; color: var(--muted); margin: -12px 0 20px; }
@media (max-width: 560px) {
  .header-inner { height: 64px; }
  .nav { top: 64px; }
  .logo img { height: 26px; }
  .section-head { margin-bottom: 28px; }
  .cta { border-radius: 20px; }
  .compare th { font-size: 1.15rem; }
  .product-info h1 { font-size: 2.3rem; }
  .line { grid-template-columns: 56px 1fr auto; }
  .line img { width: 56px; height: 56px; }
}
.drawer-open .toast { bottom: auto; top: 24px; transform: translate(-50%, -120px); }
.drawer-open .toast.is-on { transform: translate(-50%, 0); }
