/* ==========================================================================
   DabasBox — polished version of the original dabasbox.lv look
   White pages, brand green, Rubik headings + Karla text (the site's own fonts).
   ========================================================================== */

:root {
  --green: #39b24b;
  --green-hover: #2f9d40;
  --green-text: #237a33;
  --green-soft: #eef7ef;
  --text: #1f2321;
  --text-2: #5a615d;
  --line: #e3e7e2;
  --bg: #ffffff;
  --bg-soft: #f4f6f3;
  --anthracite: #383e42;
  --brown: #46372f;

  --f-head: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 64px;
  --r: 10px;
  --r-sm: 6px;
  --shadow: 0 1px 2px rgba(20, 30, 20, .06), 0 4px 16px rgba(20, 30, 20, .06);
}
@media (min-width: 960px) { :root { --header-h: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(57, 178, 75, .55); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; }
.h2 { font-size: clamp(28px, 6vw, 40px); }
.h3 { font-size: clamp(20px, 4.4vw, 24px); }
.eyebrow { font-family: var(--f-head); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
.muted { color: var(--text-2); }
.small { font-size: 15px; }
.center { text-align: center; }

.section { padding-block: clamp(48px, 8vw, 88px); }
.section--soft { background: var(--bg-soft); }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); display: grid; gap: 10px; }
.section-head.center { justify-items: center; }
.section-head p { max-width: 36em; color: var(--text-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-sm);
  background: var(--green); color: #fff; border: 2px solid var(--green);
  font-family: var(--f-head); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { background: var(--bg-soft); border-color: var(--text-2); }
.btn--white { background: #fff; color: var(--text); border-color: #fff; }
.btn--white:hover { background: var(--green-soft); border-color: var(--green-soft); }
.btn--ghost-light { background: rgba(0,0,0,.18); color: #fff; border-color: rgba(255,255,255,.85); }
.btn--ghost-light:hover { background: #fff; color: var(--text); border-color: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); height: var(--header-h); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 960px) { .brand img { height: 52px; } }
.nav { display: none; gap: 30px; margin-left: auto; }
.nav a { font-family: var(--f-head); font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--green-text); border-bottom-color: var(--green); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-phone { display: none; font-weight: 700; text-decoration: none; margin-right: 6px; }
.head-phone:hover { color: var(--green-text); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--text); text-decoration: none; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn { background: var(--green); color: #fff; }
.menu-btn:hover { background: var(--green-hover); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .head-actions { margin-left: 28px; }
  .head-phone { display: inline; }
  .menu-btn { display: none; }
}

.menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: 0 var(--gutter) calc(20px + env(safe-area-inset-bottom)); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.menu.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu-top img { height: 40px; width: auto; }
.menu nav { flex: 1; padding: 8px 0; overflow-y: auto; }
.menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-head); font-weight: 500; font-size: 20px; }
.menu nav a span { font-family: var(--f-body); font-size: 15px; color: var(--text-2); font-weight: 400; }
.menu-foot { display: grid; gap: 10px; padding-top: 16px; }
.menu-foot a.mail { text-align: center; color: var(--text-2); }

/* ---------- hero: static photo with a wave edge + slideshow (as on the original site) ---------- */
.hero { position: relative; color: #fff; background: #2b3134; overflow: hidden; }
.hero__slider { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; visibility: hidden; }
.hero__slide.is-prev { visibility: visible; z-index: 1; }
.hero__slide.is-active { visibility: visible; z-index: 2; }
.hero__slide.is-fade { animation: hero-fade 1.3s ease-in-out both; }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
/* before -> after: the "after" photo spreads across with a soft feathered edge */
.hero__slide.is-reveal { -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%); mask-image: linear-gradient(90deg, #000 42%, transparent 58%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: hero-reveal 2s cubic-bezier(.5, 0, .25, 1) both; }
@keyframes hero-reveal { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.hero__left { display: none; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(10,14,12,.25) 0%, rgba(10,14,12,.38) 45%, rgba(10,14,12,.66) 100%); }
.hero .wrap { position: relative; z-index: 3; min-height: calc(100svh - var(--header-h)); min-height: max(520px, calc(100svh - var(--header-h))); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 40px 52px; }
.hero h1 { font-size: clamp(32px, 8.4vw, 52px); font-weight: 700; line-height: 1.1; max-width: 11em; text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: #7fdc8b; }
.hero__sub { margin-top: 12px; font-size: clamp(17px, 2.2vw, 19px); max-width: 28em; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__ctas .btn { flex: 1 1 150px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 15px; }
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 16px; height: 16px; color: #7fdc8b; }
.hero__tag { position: absolute; z-index: 3; top: 16px; right: var(--gutter); padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--text); font-family: var(--f-head); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s; }
.hero__tag.is-on { opacity: 1; transform: none; }
.hero__tag.is-after { background: var(--green); color: #fff; }
.hero__dots { position: absolute; z-index: 4; right: var(--gutter); bottom: 18px; display: flex; gap: 6px; }
.hero__dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.hero__dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transition: width .3s, background-color .3s; }
.hero__dots button[aria-current='true']::before { width: 22px; border-radius: 4px; background: #fff; }
@media (min-width: 960px) {
  .hero__slider { left: 45%; }
  .hero__slide.only-mobile { display: none; }
  .hero__left { display: block; position: absolute; z-index: 1; top: 0; left: 0; bottom: 0; width: 65%; clip-path: url(#wave-clip); -webkit-clip-path: url(#wave-clip); }
  .hero__left img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
  .hero::after { background: linear-gradient(90deg, rgba(10,14,12,.62) 0%, rgba(10,14,12,.45) 40%, rgba(10,14,12,.12) 70%, rgba(10,14,12,.05) 100%); }
  .hero .wrap { min-height: max(560px, calc(100vh - var(--header-h))); justify-content: center; padding-block: 64px; }
  .hero h1 { max-width: 10em; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__tag { top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .hero__slide { animation: none !important; } }

/* ---------- real yards strip ---------- */
.work { padding-top: 0; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.work__head p { margin-top: 6px; }
.work__nav { display: none; gap: 8px; }
@media (min-width: 760px) { .work__nav { display: flex; } }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.round-btn:hover { border-color: var(--text-2); }
.round-btn svg { width: 20px; height: 20px; }
.work__track { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
.work__track::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .work__track { grid-auto-columns: calc(33.333% - 8px); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
@media (min-width: 1100px) { .work__track { grid-auto-columns: calc(25% - 9px); } }
.work__track a { scroll-snap-align: start; display: grid; gap: 8px; text-decoration: none; }
.work__track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); transition: opacity .2s; }
.work__track a:hover img { opacity: .9; }
.work__track span { font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.work__track a:hover span { color: var(--green-text); }

/* ---------- product grid ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 22px; padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .chips { justify-content: center; flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.chip { flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.chip:hover { border-color: var(--text-2); }
.chip[aria-pressed='true'] { background: var(--text); border-color: var(--text); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: grid; gap: 4px; text-decoration: none; align-content: start; }
.card[hidden] { display: none; }
.card__img { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-soft); margin-bottom: 8px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__cat { font-size: 14px; color: var(--text-2); }
.card__name { font-family: var(--f-head); font-weight: 600; font-size: 17px; line-height: 1.25; }
.card:hover .card__name { color: var(--green-text); }
.card__price { font-weight: 700; font-size: 16px; }
.card__price small { font-weight: 400; color: var(--text-2); font-size: 14px; }
.card__btn { margin-top: 8px; min-height: 42px; font-size: 15px; padding: 0 12px; }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.benefit { display: grid; gap: 6px; align-content: start; }
.benefit__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; margin-bottom: 4px; }
.benefit__icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 17px; }
.benefit p { font-size: 15px; color: var(--text-2); line-height: 1.5; }

/* ---------- fit helper ---------- */
.helper { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 4vw, 36px); display: grid; gap: 22px; background: #fff; box-shadow: var(--shadow); }
@media (min-width: 900px) { .helper { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }
.helper h2 { font-size: clamp(24px, 5vw, 32px); }
.helper p.lead { color: var(--text-2); margin-top: 8px; }
.q { display: grid; gap: 8px; }
.q + .q { margin-top: 16px; }
.q__label { font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { min-height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; font-family: var(--f-head); font-weight: 500; font-size: 15px; line-height: 1.2; padding: 6px; }
.seg button small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 12.5px; color: var(--text-2); }
.seg button:hover { border-color: var(--text-2); }
.seg button[aria-pressed='true'] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.answer { border-radius: var(--r); background: var(--bg-soft); padding: 18px; display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; }
.answer img { border-radius: var(--r-sm); aspect-ratio: 1; object-fit: cover; width: 88px; }
.answer__label { font-size: 14px; color: var(--text-2); }
.answer__name { font-family: var(--f-head); font-weight: 600; font-size: 20px; line-height: 1.2; }
.answer__price { font-weight: 700; }
.answer__price small { font-weight: 400; color: var(--text-2); }
.answer .btn { grid-column: 1 / -1; }
.answer p { grid-column: 1 / -1; font-size: 14.5px; color: var(--text-2); }

/* ---------- about ---------- */
.about { display: grid; gap: 28px; }
@media (min-width: 900px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; } }
.about__media { position: relative; border-radius: var(--r); overflow: hidden; background: #000; max-width: 420px; aspect-ratio: 540 / 760; justify-self: center; width: 100%; }
.about__media video { width: 100%; height: 100%; object-fit: cover; }
.sound-btn { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 700; }
.sound-btn svg { width: 16px; height: 16px; }
.about__text { display: grid; gap: 16px; }
.about__text p { color: var(--text-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.stat { border-radius: var(--r); background: var(--bg-soft); padding: 14px 12px; }
.stat strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 6vw, 34px); color: var(--green-text); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--text-2); line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-family: var(--f-head); font-weight: 500; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 18px 18px; color: var(--text-2); }
.faq details > div p + p { margin-top: 10px; }
.faq a { color: var(--green-text); }

/* ---------- B2B ---------- */
.b2b { display: grid; gap: 28px; }
@media (min-width: 900px) { .b2b { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.b2b__text { display: grid; gap: 14px; }
.b2b__text p { color: var(--text-2); }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 4vw, 28px); }
.form__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #cfd5cf; border-radius: var(--r-sm); background: #fff; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(57,178,75,.2); }
.field [aria-invalid='true'] { border-color: #d0563b; }
.form-note { font-size: 14px; color: var(--text-2); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.select-wrap::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.unit { position: relative; }
.unit input { padding-right: 44px; }
.unit::after { content: 'mm'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--text-2); pointer-events: none; }

/* ---------- contact band + footer ---------- */
.contact-band { background: var(--green-soft); }
.contact-band .wrap { display: grid; gap: 18px; padding-block: clamp(36px, 6vw, 56px); }
@media (min-width: 900px) { .contact-band .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.contact-band h2 { font-size: clamp(24px, 5vw, 32px); }
.contact-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-band__actions .btn { flex: 1 1 200px; }
.contact-band__actions .btn--outline { background: #fff; }

.site-footer { background: var(--anthracite); color: #e9ece9; padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer .has-bar { padding-bottom: 72px; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer__grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer__grid > :first-child { grid-column: auto; } }
.site-footer img { height: 56px; width: auto; }
.site-footer h3 { font-size: 15px; color: #fff; margin-bottom: 10px; }
.site-footer ul { display: grid; gap: 6px; }
.site-footer li, .site-footer p { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 899px) { .footer__grid > :last-child { grid-column: 1 / -1; } }
.site-footer a { text-decoration: none; color: #c9cfca; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #c9cfca; font-size: 15px; }
.footer__base { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #aab2ac; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.socials a:hover { background: var(--green); }
.socials svg { width: 18px; height: 18px; color: #fff; }

/* ---------- sticky mobile bar ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .25s ease; }
.buybar.is-visible { transform: none; }
.buybar__meta { flex: 1; min-width: 0; line-height: 1.25; }
.buybar__meta strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__meta span { font-size: 14px; color: var(--text-2); }
.buybar .btn { min-height: 46px; padding: 0 18px; }
@media (min-width: 960px) { .buybar { display: none; } }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; font-size: 14px; color: var(--text-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green-text); }
.pdp { display: grid; gap: 22px; padding-bottom: 36px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; padding-bottom: 56px; } }

.gallery { display: grid; gap: 10px; min-width: 0; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery__main { position: relative; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 960px) { .gallery__main { margin: 0; } }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
@media (min-width: 960px) { .gallery__track { border-radius: var(--r); } }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; background: var(--bg-soft); }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; }
.gallery__track img.contain { object-fit: contain; }
.gallery__count { position: absolute; right: calc(var(--gutter) + 4px); bottom: 12px; background: rgba(255,255,255,.92); padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
@media (min-width: 960px) { .gallery__count { right: 12px; } }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: none; place-items: center; box-shadow: var(--shadow); }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
@media (min-width: 960px) { .gallery__nav { display: grid; } }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-soft); }
.gallery__thumbs button[aria-current='true'] { border-color: var(--green); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .gallery__thumbs button { flex-basis: 76px; height: 76px; } }

.buy { display: grid; gap: 18px; }
.buy h1 { font-size: clamp(28px, 6.4vw, 40px); }
.buy__price { font-family: var(--f-head); font-weight: 600; font-size: 28px; color: var(--text); }
.buy__price small { font-family: var(--f-body); font-weight: 400; font-size: 16px; color: var(--text-2); }
.buy__blurb { color: var(--text-2); }
.opt { display: grid; gap: 8px; }
.opt__label { font-weight: 700; font-size: 15px; }
.opt__label span { font-weight: 400; color: var(--text-2); }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.swatch { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; font-size: 14px; line-height: 1.25; text-align: center; }
.swatch i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.swatch small { color: var(--text-2); font-size: 12.5px; }
.swatch[aria-pressed='true'] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sizes button { min-height: 54px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 4px; line-height: 1.15; font-family: var(--f-head); font-weight: 600; font-size: 17px; }
.sizes button small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--text-2); }
.sizes button[aria-pressed='true'] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.mini-measure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-measure .field label { font-weight: 400; font-size: 13.5px; color: var(--text-2); }
.mini-measure .field input { min-height: 46px; padding: 8px 40px 8px 10px; }
.note { font-size: 14.5px; color: var(--text-2); }
.note b { color: var(--text); }
.note a { color: var(--green-text); }
.link-btn { background: none; border: 0; padding: 0; color: var(--green-text); text-decoration: underline; font-size: 15px; justify-self: start; }
.qty-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.qty { display: grid; grid-template-columns: 44px 44px 44px; border: 1px solid #cfd5cf; border-radius: var(--r-sm); height: 52px; }
.qty button { border: 0; background: none; font-size: 20px; }
.qty input { border: 0; text-align: center; width: 100%; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .btn { min-height: 52px; }
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); }
.facts li { display: flex; gap: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.facts li + li { border-top: 1px solid var(--line); }
.facts svg { width: 20px; height: 20px; color: var(--green-text); flex: none; margin-top: 1px; }
.facts a { color: var(--green-text); }

.tabs-sec { display: grid; gap: 10px; max-width: 900px; }
.info-block { border: 1px solid var(--line); border-radius: var(--r); }
.info-block > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.info-block > summary::-webkit-details-marker { display: none; }
.info-block > summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.info-block[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.info-block__body { padding: 0 18px 20px; color: var(--text-2); display: grid; gap: 12px; }
.info-block__body h3 { color: var(--text); font-size: 16px; margin-top: 4px; }

.dims { display: grid; gap: 16px; }
@media (min-width: 760px) { .dims { grid-template-columns: 1fr 1fr; align-items: center; } }
.dims__draw { color: var(--text); background: var(--bg-soft); border-radius: var(--r); padding: 12px; }
.dims__draw svg { width: 100%; height: auto; max-height: 280px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; color: var(--text); }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 400; color: var(--text-2); padding-right: 12px; }
.spec td { font-weight: 700; text-align: right; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14.5px; color: var(--text); }
.size-table th, .size-table td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.size-table th { font-weight: 400; color: var(--text-2); font-size: 13px; }
.size-table td:first-child { font-weight: 700; }
.size-table td:last-child, .size-table th:last-child { text-align: right; }
.size-table tr.is-on td { background: var(--green-soft); }
.size-table-wrap { overflow-x: auto; }

.fitcheck { border-radius: var(--r); background: var(--green-soft); padding: 16px; display: grid; gap: 10px; color: var(--text); }
.fitcheck h3 { font-size: 17px; }
.fitcheck .mini-measure .field input { background: #fff; }
.ok { color: var(--green-text); font-weight: 700; }
.bad { color: #b0452b; font-weight: 700; }

.ba { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; max-width: 460px; background: var(--bg-soft); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: var(--pos, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); pointer-events: none; }
.ba__handle svg { width: 22px; height: 22px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba__tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; color: var(--text); }
.ba__tag--l { left: 10px; } .ba__tag--r { right: 10px; }
.hp-extra { display: grid; gap: 20px; }
@media (min-width: 760px) { .hp-extra { grid-template-columns: auto 1fr; align-items: start; } }

/* ==========================================================================
   DELIVERY PAGE
   ========================================================================== */
.page-head { background: var(--bg-soft); }
.page-head .wrap { padding-block: clamp(28px, 6vw, 56px); display: grid; gap: 10px; }
.page-head h1 { font-size: clamp(30px, 7vw, 46px); }
.page-head p { color: var(--text-2); max-width: 38em; }
.steps { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; align-content: start; }
.step__n { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 600; font-size: 15px; }
.step__when { font-size: 14px; font-weight: 700; color: var(--green-text); }
.step h3 { font-size: 17px; }
.step p { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.del-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .del-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.quote { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.quote__price { font-family: var(--f-head); font-weight: 700; font-size: 34px; color: var(--green-text); line-height: 1.1; }
.zones { width: 100%; border-collapse: collapse; font-size: 15px; }
.zones td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.zones td:last-child { text-align: right; font-weight: 700; }
.del-video { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: #000; }
.del-video video { width: 100%; height: 100%; object-fit: cover; }

/* generated line drawing */
.drawing .bx-face { fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.drawing .bx-front { fill-opacity: .04; } .drawing .bx-side { fill-opacity: .12; } .drawing .bx-top { fill-opacity: .02; }
.drawing line { stroke: currentColor; vector-effect: non-scaling-stroke; }
.drawing .bx-d { stroke-width: 1; } .drawing .bx-faint { opacity: .45; }
.drawing .bx-dim { stroke-width: 1; stroke: var(--green-text); } .drawing .bx-ext { stroke-width: .75; opacity: .4; }
.drawing .bx-t { font-family: var(--f-body); font-weight: 700; font-size: 12px; fill: var(--green-text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ---------- language ---------- */
.i18n-wait body { visibility: hidden; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 26px 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-family: var(--f-head); font-weight: 500; font-size: 14px; letter-spacing: .04em; cursor: pointer; }
.lang select:hover { border-color: var(--text-2); }
.lang::after { content: ''; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
@media (max-width: 959px) { .head-actions .lang { display: none; } }
.menu-langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 6px; }
.menu-langs button { min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-family: var(--f-head); font-weight: 500; }
.menu-langs button[aria-pressed='true'] { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }

/* <picture> wrappers (AVIF with WebP fallback) must not affect layout */
picture { display: contents; }

/* delivery page: truck banner like the original site */
.page-head--photo { position: relative; overflow: hidden; background: #26302b; color: #fff; }
.page-head__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.page-head--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,10,.15) 0%, rgba(8,12,10,.35) 45%, rgba(8,12,10,.72) 100%); }
.page-head--photo .wrap { position: relative; z-index: 1; min-height: clamp(300px, 52vh, 480px); align-content: end; padding-block: 48px 40px; }
.page-head--photo h1 { font-size: clamp(36px, 8vw, 60px); text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.page-head--photo p { color: rgba(255,255,255,.92); font-size: clamp(16px, 2vw, 19px); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
@media (max-width: 759px) { .page-head__bg { object-position: 28% 70%; } }
