/* Windoorplis — warm ivory paper, deep pine ink and brushed brass.
   Brass marks what matters: the call button, dimension lines and the current page. */
:root {
  --paper: #EEF0EE;
  --surface: #FBFCFB;
  --ink: #1C2925;
  --slate: #2C4E44;
  --slate-2: #3A6155;
  --muted: #4A5550;
  --line: #C9D1CC;
  --line-soft: #E1E6E2;
  --input: #7D8983;
  --green: #3D6B5C;
  --green-soft: #DDE7E2;
  --tape: #C49A5C;
  --tape-deep: #A9824A;
  --brass-text: #7F5F2F;
  --on-slate: #EEF3F0;
  --on-slate-muted: #BBCBC3;
  --brass-on-slate: #DDBE84;
  --focus: #2D6CB5;
  --warn-bg: #F6EBCF;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.25rem, 1rem + 4.3vw, 4.625rem);
  --step-5: clamp(2rem, 0.6rem + 6vw, 5.75rem);

  --r-sm: 4px;
  --r-md: 8px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--ink) 40%, transparent); }
a:hover { text-decoration-color: var(--tape-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 88%;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.012em;
}
h1 { font-size: var(--step-4); font-weight: 680; }
h2 { font-size: var(--step-3); font-weight: 640; }
h3 { font-size: var(--step-2); font-weight: 620; }
p { margin: 0; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; clip-path: inset(50%); overflow: hidden;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; white-space: nowrap;
}

/* ---------- bands & wrapper */
.wrap {
  max-width: calc(var(--wrap) + 32px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(56px, 8.5vw, 128px); }
.band-white { background: var(--surface); }
.band-slate { background: var(--slate); color: var(--on-slate); }
.band-slate a { color: var(--on-slate); }

/* ---------- draft strip */
.draft {
  background: var(--green-soft);
  color: var(--ink);
  font-size: var(--step--1);
}
.draft .wrap { padding-block: 6px; }

/* ---------- header */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--surface);
}
.head-row {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 9px; text-decoration: none; white-space: nowrap;
  color: var(--ink); font-weight: 500; font-size: 1rem; border-radius: var(--r-sm);
}
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--tape-deep); text-decoration-thickness: 2px; text-underline-offset: 9px; font-weight: 600; }
.nav .nav-partner a { color: var(--muted); margin-left: 6px; }
.call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tape); color: var(--ink);
  font-weight: 600; text-decoration: none; white-space: nowrap; letter-spacing: 0.01em;
  padding: 10px 14px; border-radius: var(--r-sm); min-height: 44px;
}
.call:hover { background: #D2AC72; color: var(--ink); }
.call svg { width: 18px; height: 18px; flex: none; }
.menu-btn {
  display: none; min-height: 44px; padding: 8px 12px;
  background: var(--line-soft); color: var(--ink);
  border: 0; border-radius: var(--r-sm);
  font: inherit; font-weight: 600;
}
/* two-row header: brand, language and phone on top; navigation on its own row */
.head-row { flex-wrap: wrap; row-gap: 0; }
.nav { order: 4; flex-basis: 100%; }
.nav ul { flex-wrap: wrap; margin-inline: -9px; padding-block: 2px; }
.nav .nav-partner { margin-left: auto; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav[data-open="false"] { display: none; }
  .nav ul { flex-direction: column; align-items: stretch; padding-block: 8px 14px; margin-inline: 0; }
  .nav .nav-partner { margin-left: 0; }
  .nav .nav-partner a { margin-left: 0; margin-top: 6px; }
}
@media (max-width: 520px) {
  .call .call-text { display: none; }
  .brand img { height: 28px; }
}

/* ---------- hero */
.hero { padding-block: clamp(32px, 5vw, 64px); }
.hero-grid {
  display: grid; gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: start;
}
.hero-copy { display: grid; gap: 18px; padding-top: 8px; }
.hero-copy .lead { font-size: var(--step-1); color: var(--muted); max-width: 34em; }
.hero-facts { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- calculator */
.calc {
  background: var(--surface);
  border-radius: var(--r-md);
  display: grid;
  align-content: start;
}
.calc-head { padding: 18px 20px 0; display: grid; gap: 4px; }
.calc-head h2, .calc-head h3 { font-size: var(--step-2); }
.calc-head p { color: var(--muted); font-size: var(--step--1); }
.calc-body {
  display: grid; gap: 18px; padding: 16px 20px 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 210px);
  align-items: start;
}
.calc-wide .calc-body { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; }
@media (min-width: 761px) { .calc-wide .result { position: sticky; top: 130px; } }
@media (max-width: 560px) { .calc-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .calc-wide .calc-body { grid-template-columns: minmax(0, 1fr); } }
.calc form { display: grid; gap: 16px; min-width: 0; align-content: start; }
.calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.calc legend, .calc label.lbl { font-weight: 600; font-size: 1rem; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 9px 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; background: var(--surface); font-size: 1rem;
}
.seg input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip { width: 18px; height: 18px; border-radius: 3px; border: 1px solid rgba(0,0,0,.25); flex: none; }
.chip-wood { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='18'%3E%3Cpath d='M1.5 0v18M4.5 0v18' stroke='%23fff' stroke-opacity='.18' stroke-width='1.2'/%3E%3C/svg%3E"); }
.group-note { font-size: var(--step--1); color: var(--muted); }
.dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field input, .field select {
  font: inherit; font-size: 1rem; min-height: 48px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--input); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2B2A' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position: right 14px center; background-size: 12px 8px; background-repeat: no-repeat; padding-right: 36px; }
.field input:user-invalid { border-color: #B3261E; }
.hint { font-size: var(--step--1); color: var(--muted); }
.measure-link { font-size: 1rem; font-weight: 600; }

.result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; min-width: 0; }
.diagram { width: 100%; max-width: 260px; height: auto; color: var(--ink); }
.diagram .frame-out { fill: #F4F2EE; stroke: var(--ink); stroke-width: 1; }
.diagram .frame { fill: none; stroke-width: 5; }
.diagram .pleat { stroke: #A8A39A; stroke-width: 1; }
.diagram .split { stroke-width: 5; }
.diagram .dim { stroke: var(--tape-deep); stroke-width: 1.5; }
.diagram .dim-text { fill: var(--ink); font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 15px; }
.diagram .dim-bg { fill: var(--tape); }
.total { display: grid; gap: 2px; }
.total-label { font-size: var(--step--1); color: var(--muted); }
.total-value { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 2.4rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.total-value.is-empty { font-size: 1.15rem; font-weight: 650; line-height: 1.3; }
.breakdown { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 0; font-size: var(--step--1); color: var(--muted); justify-content: start; }
.breakdown dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.fine { font-size: var(--step--1); color: var(--muted); }
.call-block { display: flex; width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.3; }

/* ---------- category cards */
.section-head { display: grid; gap: 10px; max-width: 46em; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.cats { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cats { grid-template-columns: minmax(0, 1fr); } }
.cat {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit;
  background: var(--surface); border-radius: var(--r-md); overflow: hidden;
}
.cat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cat-body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.cat-body h3 { font-size: var(--step-2); }
.cat-body p { color: var(--muted); }
.cat-meta { font-weight: 600; color: var(--ink); font-size: 1rem; }
.cat:hover h3 { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.prod {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface);
  border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit;
}
.prod img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.prod-body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.prod-body h3 { font-size: 1.25rem; }
.prod-body p { color: var(--muted); font-size: 1rem; }
.price-from { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.prod:hover h3 { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: grid; gap: 10px; align-content: start; }
.steps h3 { font-size: var(--step-2); color: var(--brass-on-slate); }
.steps p { color: var(--on-slate-muted); }

/* ---------- product page */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.prod-top { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: start; padding-block: 20px 48px; }
@media (max-width: 980px) { .prod-top { grid-template-columns: minmax(0, 1fr); } }
.prod-intro { display: grid; gap: 16px; }
.prod-intro .lead { font-size: var(--step-1); color: var(--muted); max-width: 36em; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { margin: 0; display: grid; gap: 6px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--line-soft); }
.gallery figcaption { font-size: var(--step--1); color: var(--muted); }
.gallery-hero { grid-template-columns: minmax(0, 1fr); }
.gallery-hero img { aspect-ratio: 5 / 3; }

.specs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.specs th { font-weight: 600; width: 42%; padding-right: 16px; }
.todo { color: #8A5A00; background: var(--warn-bg); padding: 1px 6px; border-radius: 3px; font-size: var(--step--1); }
.two-col { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 14px; align-content: start; }
.stack > p { max-width: 40em; }

.swatches { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.swatch-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch-opt label { display: grid; gap: 4px; cursor: pointer; font-size: var(--step--1); line-height: 1.25; }
.swatch-opt img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: var(--r-sm); border: 2px solid transparent; outline: 1px solid var(--line); }
.swatch-opt input:checked + label img { border-color: var(--ink); outline-color: var(--ink); }
.swatch-opt input:checked + label { font-weight: 600; }
.swatch-opt input:focus-visible + label img { outline: 3px solid var(--focus); outline-offset: 2px; }

.series-info { display: grid; gap: 14px; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); align-items: center; background: var(--paper); border-radius: var(--r-md); padding: 10px; }
.series-info img { border-radius: var(--r-sm); aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.series-info p { font-size: var(--step--1); color: var(--muted); }
.series-info strong { color: var(--ink); }

.series-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.serie { background: var(--surface); border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.serie img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.serie-body { padding: 12px 14px 14px; display: grid; gap: 6px; align-content: start; }
.serie-body h3 { font-size: 1.2rem; }
.serie-row { display: flex; justify-content: space-between; gap: 10px; font-size: var(--step--1); color: var(--muted); }
.serie-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.dots { display: flex; flex-wrap: wrap; gap: 4px; }
.dots img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }

.note { background: var(--surface); border-left: 4px solid var(--tape); padding: 14px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* ---------- prose pages */
.prose { max-width: 44em; display: grid; gap: 16px; }
.prose h2 { margin-top: 18px; }
.prose h3 { margin-top: 6px; font-size: var(--step-1); }
.prose ul, .prose ol { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 500; }

.contact-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { margin: 0; display: grid; gap: 16px; }
.contact-list dt { font-size: var(--step--1); color: var(--muted); }
.contact-list dd { margin: 0; font-size: var(--step-1); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- partner */
.partner-strip { background: var(--slate); color: var(--on-slate); }
.partner-strip .wrap { padding-block: 10px; font-size: 1rem; }
.table-scroll { overflow-x: auto; }
.ptable { border-collapse: collapse; min-width: 560px; width: 100%; background: var(--surface); font-size: 1rem; }
.ptable th, .ptable td { border-bottom: 1px solid var(--line-soft); padding: 9px 12px; text-align: left; }
.ptable td.n, .ptable th.n { text-align: right; font-variant-numeric: tabular-nums; }
.ptable thead th { background: var(--paper); font-weight: 600; }

/* ---------- footer */
.site-foot { background: var(--slate); color: var(--on-slate); font-size: 1rem; }
.site-foot a { color: var(--on-slate); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; padding-block: 44px 28px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-title { font-family: var(--f-display); font-stretch: 88%; font-weight: 650; font-size: var(--step-1); margin-bottom: 12px; color: var(--brass-on-slate); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand img { width: 240px; height: auto; }
.foot-ids { font-size: var(--step--1); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid p { color: var(--on-slate-muted); }
.foot-legal { padding-block: 20px 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--on-slate-muted); font-size: var(--step--1); }

@media (prefers-reduced-motion: no-preference) {
  .diagram .frame, .diagram line, .diagram text, .diagram rect { transition: all .18s ease-out; } /* taste-skill-ignore: SVG geometry follows the typed size */
}

.prod-top-jal { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: 20px 28px; }
@media (max-width: 860px) { .prod-top-jal { grid-template-columns: minmax(0, 1fr); } }
.calc-row { padding-bottom: 48px; }
.calc-stack { display: grid; gap: 24px; }

/* ---------- language switch */
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 40px;
  padding: 0 6px; border-radius: var(--r-sm); text-decoration: none;
  font-size: var(--step--1); font-weight: 600; color: var(--muted); letter-spacing: 0.02em;
}
.lang-switch a:hover { background: var(--paper); color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 480px) {
  .head-row { column-gap: 10px; }
  .brand img { height: 24px; }
  .lang-switch a { min-width: 32px; padding: 0 4px; }
}

/* ---------- pleated blinds: series cards + series pages */
.cat-head { margin-top: 18px; }
.page-end { padding-bottom: clamp(40px, 6vw, 72px); }
a.serie { text-decoration: none; color: inherit; transition: border-color .15s ease-out; }
a.serie:hover { border-color: var(--slate); }
a.serie:hover h3 { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.ser-top {
  display: grid; gap: 18px 40px; padding-block: 18px 40px; align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-areas: "media head" "media side"; grid-template-rows: auto 1fr;
}
@media (max-width: 900px) {
  .ser-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "side"; grid-template-rows: none; }
}
.ser-head { grid-area: head; display: grid; gap: 10px; }
.ser-media { grid-area: media; display: grid; gap: 18px; min-width: 0; }
.ser-side { grid-area: side; display: grid; gap: 18px; align-content: start; min-width: 0; }
.ser-head .lead { font-size: var(--step-1); color: var(--muted); }
.ser-stage { margin: 0; display: grid; gap: 6px; }
.ser-stage img { width: 100%; aspect-ratio: 1240 / 740; object-fit: cover; border-radius: var(--r-md); background: var(--line-soft); }
.ser-stage figcaption { font-size: var(--step--1); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .ser-stage img { transition: opacity .18s ease-out; }
  .ser-stage img.is-loading { opacity: .6; }
}
.ser-colors { border: 0; margin: 0; padding: 0; min-width: 0; }
.ser-colors legend { font-weight: 600; padding: 0; margin-bottom: 12px; }
.ser-colors legend b { font-weight: 700; }
.ser-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px 8px; }
.ser-swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ser-swatches label { display: grid; gap: 4px; justify-items: center; cursor: pointer; font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.ser-swatches img { width: 100%; max-width: 60px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--paper); outline: 1px solid var(--line); outline-offset: 0; }
.ser-swatches label:hover img { outline-color: var(--slate); }
.ser-swatches input:checked + label { color: var(--ink); font-weight: 700; }
.ser-swatches input:checked + label img { outline: 2px solid var(--ink); }
.ser-swatches input:focus-visible + label img { outline: 3px solid var(--focus); outline-offset: 2px; }
.ser-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ser-facts div { background: var(--surface); border-radius: var(--r-sm); padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.ser-facts dt { font-size: var(--step--1); color: var(--muted); }
.ser-facts dd { margin: 0; font-family: var(--f-display); font-stretch: 85%; font-weight: 750; font-size: 1.3rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ser-cta { display: grid; gap: 10px; }
.btn-ghost { display: flex; justify-content: center; align-items: center; min-height: 48px; border: 0; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--line-soft); }
.btn-ghost:hover { background: var(--line); color: var(--ink); }
.material-line { display: grid; gap: 2px; font-size: 1rem; padding: 10px 12px; background: var(--paper); border-radius: var(--r-sm); }
.material-line span { font-size: var(--step--1); color: var(--muted); }
.steps-plain { margin: 0; padding-left: 1.25em; display: grid; gap: 8px; max-width: 40em; }
.ser-others { display: grid; gap: 32px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 28px; }
.ser-mini { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.ser-mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--line-soft); }
.ser-mini span { display: grid; gap: 4px; min-width: 0; }
.ser-mini b { font-family: var(--f-display); font-stretch: 88%; font-weight: 650; font-size: var(--step-1); line-height: 1.2; }
.ser-mini small { color: var(--muted); font-size: var(--step--1); }
.ser-mini:hover b { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 2px; text-underline-offset: 3px; }


/* ---------- v5: eyebrows, colour swatches, quote helper, tidy-ups */
.hero-copy { display: grid; gap: 18px; align-content: center; }
.sw { display: block; width: 100%; max-width: 60px; aspect-ratio: 1; border-radius: 50%; background: var(--c); border: 3px solid var(--paper); outline: 1px solid var(--line); outline-offset: 0; }
.sw-wood { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='30'%3E%3Cpath d='M1 0v30' stroke='%23fff' stroke-opacity='.14' stroke-width='2'/%3E%3Cpath d='M5.5 0v30' stroke='%23000' stroke-opacity='.12'/%3E%3C/svg%3E"); }
.ser-swatches label:hover .sw { outline-color: var(--slate); }
.ser-swatches input:checked + label .sw { outline: 2px solid var(--ink); }
.ser-swatches input:focus-visible + label .sw { outline: 3px solid var(--focus); outline-offset: 2px; }
.dots-sw { gap: 5px; }
.dots-sw .sw { width: 20px; height: 20px; border-width: 1px; border-color: var(--surface); }
.series-grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.serie-body p { color: var(--muted); font-size: 1rem; }
.serie img { aspect-ratio: 4 / 3; }
.serie img[height="740"] { aspect-ratio: 5 / 3; }
.cat-fine { margin-top: 18px; }
.ser-stage img { aspect-ratio: var(--ar, 1240 / 740); }
.ser-facts dd.dd-small { font-size: 1.05rem; line-height: 1.3; }
.quote .result .btn-ghost { min-height: 46px; }
.quote-sum { font-family: var(--f-display); font-stretch: 85%; font-weight: 650; font-size: 1.25rem; line-height: 1.3; }
.quote-sum.is-empty { font-family: var(--f-body); font-weight: 500; font-size: 1rem; color: var(--muted); }
.btn-ghost[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.field-short { max-width: 160px; }
.cat:hover h3, .prod:hover h3, a.serie:hover h3 { text-decoration-color: var(--tape-deep); }
.site-foot { background: var(--slate); }
@media (forced-colors: active) {
  .ser-swatches input:checked + label .sw, .ser-swatches input:checked + label img { outline: 3px solid Highlight; outline-offset: 2px; }
  .seg input:checked + label { outline: 2px solid Highlight; }
}
.diagram .split-out { stroke: var(--ink); stroke-width: 7; }
.stack-loose { gap: 40px; }
.hero-grid { align-items: center; }
@media (max-width: 480px) { .head-row { column-gap: 6px; } .lang-switch a { min-width: 30px; } }
.ser-swatches label span { text-align: center; line-height: 1.2; }

/* Partner area: password screen and sign-out */
.lock { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.lock-card { width: min(100%, 420px); background: var(--surface); border-radius: var(--r-md); padding: 28px 24px; display: grid; gap: 14px; }
.lock-card .brand { margin: 0 0 6px; }
.lock-card .brand img { height: 30px; }
.lock-card h1 { font-family: var(--f-display); font-stretch: 85%; font-weight: 750; font-size: var(--step-3); line-height: 1.1; margin: 0; }
.lock-card p { margin: 0; }
.lock-card form { display: grid; gap: 14px; }
.lock-show { display: flex; gap: 8px; align-items: center; font-size: var(--step--1); color: var(--muted); }
.lock-show input { width: 18px; height: 18px; accent-color: var(--ink); }
.lock-btn { justify-content: center; width: 100%; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.lock-btn:disabled { opacity: 0.7; cursor: progress; }
.lock-err { color: #B3261E; font-weight: 600; }
.lock-err:empty { display: none; }
.partner-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.strip-btn { background: var(--slate-2); color: var(--on-slate); border: 0; border-radius: var(--r-sm); padding: 6px 14px; min-height: 36px; font: inherit; font-weight: 600; cursor: pointer; }
.strip-btn:hover { background: var(--green); }

/* real-photo gallery (insect screens) */
.gal { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  margin-top: 18px; padding-bottom: 10px; scrollbar-width: thin; }
.gal:focus-visible { outline: 3px solid var(--tape); outline-offset: 4px; border-radius: var(--r-md); }
.gal figure { margin: 0; flex: 0 0 auto; inline-size: min-content; display: grid; gap: 8px; scroll-snap-align: start; }
.gal img { display: block; block-size: clamp(240px, 32vw, 380px); inline-size: auto; max-inline-size: none;
  border-radius: var(--r-md); background: var(--line-soft); }
.gal figcaption { font-size: var(--step--1); color: var(--muted); line-height: 1.4; }
.chip-pal { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Crect width='1' height='1' fill='%23C0392B'/%3E%3Crect x='1' width='1' height='1' fill='%23E6B33D'/%3E%3Crect y='1' width='1' height='1' fill='%233B7DC4'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%235AA469'/%3E%3C/svg%3E") center / cover; }

/* product image gallery: swipe, arrows, dots; images open in the zoomable viewer */
.ser-stage { gap: 10px; }
.gal-view { position: relative; container-type: inline-size; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; border-radius: var(--r-md); position: relative; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.gal-slide { flex: 0 0 100%; min-width: 0; margin: 0; display: grid; gap: 6px; align-content: start;
  scroll-snap-align: start; scroll-snap-stop: always; }
.gal-slide img, .ser-stage .gal-slide img { width: 100%; height: auto; aspect-ratio: 1 / var(--arh, 0.597); object-fit: contain;
  background: var(--line-soft); border-radius: var(--r-md); cursor: zoom-in; }
.gal-slide figcaption { font-size: var(--step--1); color: var(--muted); line-height: 1.4; }
.gal-nav, .gal-open { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .94); color: #1F2E2C; }
.gal-nav { inline-size: 44px; block-size: 44px; top: calc(100cqw * var(--arh, 0.597) / 2); translate: 0 -50%; }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-nav:disabled { opacity: 0; pointer-events: none; }
.gal-open { inline-size: 40px; block-size: 40px; top: 10px; right: 10px; }
.gal-nav:focus-visible, .gal-open:focus-visible, .gal-dot:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
.gal-count { position: absolute; left: 10px; top: calc(100cqw * var(--arh, 0.597) - 36px); padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 0.8125rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.gal-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; }
.gal-dot { inline-size: 26px; block-size: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.gal-dot::before { content: ""; inline-size: 9px; block-size: 9px; border-radius: 50%; border: 1.5px solid var(--slate); }
.gal-dot.pending::before { background: color-mix(in srgb, var(--slate) 45%, transparent); }
.gal-dot[aria-current="true"]::before { background: var(--ink); border-color: var(--ink); }
@media (hover: hover) {
  .gal-nav:hover, .gal-open:hover { background: #fff; }
}
@media (max-width: 600px) {
  .gal-nav { inline-size: 38px; block-size: 38px; }
}
.gal img { cursor: zoom-in; }
.gal img:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }

/* zoomable viewer */
dialog.lb { position: fixed; inset: 0; inline-size: 100vw; block-size: 100dvh; max-inline-size: none; max-block-size: none;
  margin: 0; padding: 0; border: 0; background: #111614; color: #f4f2ec; overflow: hidden; }
dialog.lb::backdrop { background: rgba(10, 12, 11, .92); }
html:has(dialog.lb[open]) { overflow: hidden; }
.lb-view { position: absolute; inset: 0 0 64px 0; overflow: hidden; touch-action: none; display: grid; place-items: center;
  cursor: zoom-in; user-select: none; }
.lb-view.is-zoomed { cursor: grab; }
.lb-view.is-drag { cursor: grabbing; }
.lb-img { max-inline-size: 100%; max-block-size: 100%; transform-origin: center center; will-change: transform;
  -webkit-user-drag: none; user-select: none; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; block-size: 64px; display: flex; align-items: center; gap: 10px;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); background: rgba(0, 0, 0, .4); }
.lb-count { font-size: 0.875rem; font-variant-numeric: tabular-nums; opacity: .8; }
.lb-cap { flex: 1; min-width: 0; font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-btn { flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: transparent; color: #fff; font-size: 24px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.lb-nav { position: absolute; top: calc(50% - 32px); translate: 0 -50%; inline-size: 52px; block-size: 52px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-btn:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
@media (hover: hover) {
  .lb-btn:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
}
@media (max-width: 600px) {
  .lb-nav { inline-size: 44px; block-size: 44px; }
  .lb-cap { white-space: normal; font-size: 0.8125rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
.serie img[height="955"] { aspect-ratio: 5 / 3; }

/* cookie consent: a plain fixed region (not modal), both choices equally visible */
.consent { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; padding: 0 var(--gutter-r) max(12px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); pointer-events: none; }
.consent[hidden] { display: none; }
.consent-in { pointer-events: auto; max-inline-size: 44rem; margin-inline: auto; background: var(--surface); color: var(--ink); border-radius: var(--r-md); box-shadow: 0 10px 30px rgb(29 43 42 / .18); padding: 16px 18px; display: grid; gap: 10px; font-size: var(--step--1); line-height: 1.5; }
.consent-in p { margin: 0; }
.consent-t { font-family: var(--f-display); font-stretch: 88%; font-weight: 700; font-size: var(--step-0); }
.consent-in a { color: var(--ink); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn { min-block-size: 44px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: var(--surface); font: inherit; font-weight: 600; cursor: pointer; }
.consent-btn:hover { background: var(--slate-2); }
.consent-btn:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn[hidden] { display: none; }
.pdf-btn { display: inline-flex; inline-size: auto; padding-inline: 22px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.pdf-btn:disabled { opacity: .6; cursor: progress; }

/* yellow pleated blind background (Bilal's workshop photo 7642, pleats only) — trial, 28 Oct */
@media (max-width: 760px) {
}
.draft .link-btn { margin-inline-start: 8px; font-weight: 600; }

/* home: pleated screen demo */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.demo-copy { display: grid; gap: 14px; max-width: 34em; }
.demo-copy p { color: var(--muted); font-size: var(--step-1); }
.demo-copy .demo-state { color: var(--ink); font-weight: 600; font-size: var(--step-0); min-height: 3em; }
.demo-cta { font-weight: 600; color: var(--ink); }
.demo-media { display: grid; gap: 10px; }
.demo-svg { inline-size: 100%; block-size: auto; border-radius: var(--r-md); background: var(--surface); }
.demo-svg .pl.a { fill: #2B3036; opacity: .16; }
.demo-svg .pl.b { fill: #FFFFFF; opacity: .10; }
.demo-handle { cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.demo-handle.dragging { cursor: grabbing; }
.fly .fb { fill: #262A27; }
.fly .wing ellipse { fill: #DCE7EC; opacity: .8; stroke: #9AA9AE; stroke-width: .4; }
.fly .wing { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .fly.flying .wing { animation: wing-flap .07s ease-in-out infinite alternate; }
}
@keyframes wing-flap { to { transform: scaleY(.35); } }
.demo-lbl { font-size: var(--step--1); color: var(--muted); }
.demo-range {
  --slider-track-size: 8px; --slider-thumb-size: 24px; --control-value: 100; --slider-progress: calc(var(--control-value) * 1%);
  appearance: none; inline-size: 100%; block-size: 40px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.demo-range::-webkit-slider-runnable-track { block-size: var(--slider-track-size); border-radius: 999px;
  background: linear-gradient(to right, var(--tape) var(--slider-progress), var(--line) var(--slider-progress)); } /* taste-skill-ignore: slider progress, a form control */
.demo-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; inline-size: var(--slider-thumb-size); block-size: var(--slider-thumb-size);
  margin-block-start: calc((var(--slider-track-size) - var(--slider-thumb-size)) / 2); border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); }
.demo-range::-moz-range-track { block-size: var(--slider-track-size); border-radius: 999px; background: var(--line); }
.demo-range::-moz-range-progress { block-size: var(--slider-track-size); border-radius: 999px; background: var(--tape); }
.demo-range::-moz-range-thumb { inline-size: var(--slider-thumb-size); block-size: var(--slider-thumb-size); border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); }
.demo-range:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-svg [hidden] { display: none; }

/* ---------- taste pass (1 Nov 2026): the title leads every first screen, cards lose their outlines, parts rise in */
h1 { letter-spacing: -0.022em; line-height: 1.02; }
h2 { letter-spacing: -0.016em; }

/* home: the headline runs across the top; lead, facts and a real photo on the left, the calculator on the right */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-rows: auto auto auto auto 1fr; row-gap: 0; align-items: start; }
.hero-copy { display: contents; }
.hero-copy h1 { grid-column: 1 / -1; grid-row: 1; font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: clamp(24px, 3vw, 44px); }
.hero-copy .lead { grid-column: 1; grid-row: 2; }
.hero-facts { grid-column: 1; grid-row: 3; margin-top: 14px; }
.hero-pic { grid-column: 1; grid-row: 4; margin-top: 32px; inline-size: 100%; aspect-ratio: 1600 / 955; object-fit: cover; border-radius: var(--r-md); }
.hero-grid > .calc { grid-column: 2; grid-row: 2 / 6; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .hero-copy h1, .hero-copy .lead, .hero-facts, .hero-pic, .hero-grid > .calc { grid-column: 1; grid-row: auto; }
  .hero-grid > .calc { margin-top: 28px; }
  .hero-pic { order: 5; }
}

/* product and series pages: the name large across the top, the intro beside it; pictures and facts below */
.ser-top { grid-template-areas: "head head" "media side"; grid-template-rows: auto auto; row-gap: clamp(24px, 3vw, 44px); padding-block: 22px 56px; }
.ser-head { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 40px; row-gap: 16px; align-items: end; }
.ser-head h1 { font-size: var(--step-4); line-height: 1; }
.ser-head .lead { max-width: 32em; }
@media (max-width: 900px) {
  .ser-top { grid-template-areas: "head" "media" "side"; }
  .ser-head { grid-template-columns: minmax(0, 1fr); }
}

/* the calculated figure first, its label under it */
.total { display: flex; flex-direction: column-reverse; align-items: start; gap: 4px; }
.stack-loose { gap: 104px; }
.two-col { gap: 56px 48px; }
@media (max-width: 860px) { .two-col { row-gap: 104px; } }

/* fewer sizes: facts at the heading step, long values and quote sums at the lead step */
.ser-facts dd { font-size: var(--step-2); }
.ser-facts dd.dd-small, .quote-sum, .total-value.is-empty { font-size: var(--step-1); }

/* real photos wrap onto rows inside the grid instead of running off the edge */
.gal { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; padding-bottom: 0; row-gap: 22px; }
.gal img { block-size: clamp(200px, 21vw, 300px); }

/* entrances: each part of a section rises in once as it comes into view (added by site.js) */
@media (prefers-reduced-motion: no-preference) {
  html.rv-on .rv { opacity: 0; translate: 0 28px; transition: opacity .7s cubic-bezier(.2, .65, .2, 1), translate .8s cubic-bezier(.2, .65, .2, 1); transition-delay: var(--rv-d, 0ms); }
  html.rv-on .rv.rv-in { opacity: 1; translate: none; }
  .cat img, a.serie img { transition: scale .6s cubic-bezier(.2, .65, .2, 1); }
  
  .ser-mini img { transition: opacity .2s ease-out; }
  .ser-mini:hover img { opacity: .88; }
  .call, .btn-ghost, .consent-btn, .seg label { transition: background-color .15s ease-out, translate .15s ease-out; }
  .call:active, .btn-ghost:active, .consent-btn:active { translate: 0 1px; }
}
/* measuring and contact: four real pictures of what is measured, each a link to its products */
.guide { display: grid; grid-template-columns: minmax(0, 44em) minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-pics { position: sticky; top: 140px; }
.pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.pic { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.35; }
.pic img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--line-soft); }
.pic:hover span { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-list { align-content: start; }
.contact-grid > .pics { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
@media (max-width: 760px) { .contact-grid > .pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose > p, .prose li, .section-head p, .stack > p, .demo-copy p, .ser-head .lead { max-width: 66ch; }
@media (max-width: 900px) { .guide { grid-template-columns: minmax(0, 1fr); } .guide-pics { position: static; } }
.ser-mini:hover b { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.seg label:hover { background: var(--paper); }
@media print { html.rv-on .rv { opacity: 1; translate: none; } }

/* the first screen arrives in CSS, settled within a second, so the title is painted from the first frame */
@keyframes wps-arrive { from { opacity: 0; translate: 0 22px; } }
@media (prefers-reduced-motion: no-preference) {
  main .crumbs, .ser-head > *, .ser-top > .ser-media, .ser-top > .ser-side, .hero-copy > *, .hero-grid > .calc, .cat-head > *,
  .prose > h1, .prose > h1 + p, .band > .section-head > * { animation: wps-arrive .65s cubic-bezier(.2, .65, .2, 1) both; }
  .ser-head > p, .hero-copy > .lead, .cat-head > p, .band > .section-head > p, .prose > h1 + p { animation-delay: .08s; }
  .ser-top > .ser-media, .hero-copy > .hero-facts, .hero-grid > .calc { animation-delay: .16s; }
  .ser-top > .ser-side, .hero-copy > .hero-pic { animation-delay: .24s; }
}

/* ---------- revizyon 10 Kasım 2026: video renkleri, sineklik alt menüsü, tüm renkler sayfası */
.band-white { background: var(--surface); }
.band-slate { background: var(--slate); }
.calc-head h2, .hero-copy h1, .ser-head h1 { color: var(--ink); }
.seg input:checked + label { background: var(--green-soft); }

/* menü: Plase anti-insecte üzerine gelince Încadrată / Standard */
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; left: 0; top: 100%; z-index: 30; min-width: 260px;
  flex-direction: column; align-items: stretch; gap: 0; padding: 6px; margin: 0;
  background: var(--surface); border-radius: var(--r-md); box-shadow: 0 12px 28px rgb(28 41 37 / .16); }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { display: flex; }
.nav .sub a { padding: 10px 12px; }
.nav .sub a:hover { background: var(--green-soft); }
@media (max-width: 900px) {
  .nav .sub { display: flex; position: static; box-shadow: none; background: transparent; padding: 0 0 4px 16px; min-width: 0; }
  .nav .sub a { color: var(--muted); padding-block: 8px; }
}

/* ana sayfa kartı: Sineklik üzerine gelince iki model */
.cat-split { position: relative; display: grid; grid-template-rows: auto; }
.cat-main { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.cat-main:hover h3 { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.cat-sub { position: absolute; inset: auto 12px auto 12px; top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  opacity: 0; translate: 0 -6px; transition: opacity .2s ease-out, translate .2s ease-out; pointer-events: none; }
.cat-split:hover .cat-sub, .cat-split:focus-within .cat-sub { opacity: 1; translate: none; pointer-events: auto; }
.cat-sub a { display: block; padding: 12px 14px; border-radius: var(--r-sm); background: var(--slate); color: var(--on-slate);
  font-weight: 600; text-decoration: none; }
.cat-sub a:hover { background: var(--green); }
@media (hover: none) {
  .cat-sub { position: static; opacity: 1; translate: none; pointer-events: auto; padding: 0 18px 18px; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cat-sub { transition: none; } }

/* sineklik sayfası: tüm modeller, tüm renkler */
.all-colors { display: grid; gap: 56px; margin-top: clamp(64px, 8vw, 120px); }
.all-group { display: grid; gap: 18px; }
.all-group h3 { font-size: var(--step-2); }
.pics-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pics-8 .pic img { aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface); }
.pics-8 .pic img.screen-product-photo { aspect-ratio: 4 / 3; object-fit: contain; }
.pics-8 .pic img.pleated-sample-photo { aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) { .pics-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Center the complete product frame within each pleated catalogue cover. */
.pleated-series-grid > .serie > img {
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.pleated-series-grid > .serie > .wooden-blind-cover {
  object-fit: contain;
  background: #ded2c1;
}


.sineklik-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sineklik-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
.sineklik-examples img {
  display: block;
  aspect-ratio: 4 / 3;
}
.sineklik-examples span {
  display: block;
  padding: 6px 12px;
  color: var(--muted);
  font-size: var(--step--1);
}
@media (max-width: 720px) {
  .sineklik-grid { grid-template-columns: 1fr; }
}

.ser-profile-preview { margin-top: 0.75rem; }
.ser-profile-preview summary { cursor: pointer; }
.ser-profile-preview img { display: block; width: 100%; height: auto; margin-top: 0.5rem; border-radius: var(--r-md); }

.screen-photo-zoom { overflow: hidden; border-radius: var(--r-md); }
.screen-photo-zoom img { display: block; cursor: zoom-in; }
.ser-profile-preview .screen-photo-zoom { margin-top: 0.5rem; }
.ser-profile-preview .screen-photo-zoom img { margin-top: 0; }
.ser-profile-preview .screen-photo-zoom:focus-within { outline: 3px solid var(--tape); outline-offset: 2px; }
@media (any-hover: hover) and (any-pointer: fine) {
  
}

/* One backdrop for all framed-screen front finishes, including the enlarged view. */
.ser-stage .gal-slide img[src*="/kasali/on-standart-"],
.pics-8 .pic img[src*="/kasali/on-standart-"],
.lb-img[src*="/kasali/on-standart-"],
.screen-photo-zoom:has(img[src*="/plase/stor/"]),
.ser-stage .gal-slide img[src*="/plase/stor/"],
.pics-8 .pic img[src*="/plase/stor/"],
.lb-img[src*="/plase/stor/"] { background-color: #d9d9d9; }

[data-shutter-mode][aria-pressed="true"] { background: var(--slate); color: var(--on-slate); }

.calc-body.model-price-fields { grid-template-columns: minmax(0, 1fr); }

[data-shutter-gallery] [hidden] { display: none; }

.product-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #151515;
}

/* ---------- home (12 Nov 2026 redesign) */
.h-hero { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.h-hero-grid { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.h-hero-copy { display: grid; gap: 20px; }
.h-hero-copy h1 { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.25rem); line-height: 1.02; }
.h-hero-copy .lead { font-size: var(--step-1); color: var(--muted); max-width: 32em; }
.h-eyebrow { font-weight: 600; color: var(--brass-text); font-size: 1rem; letter-spacing: .02em; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.h-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: var(--r-sm);
  background: var(--slate); color: var(--on-slate); font-weight: 600; text-decoration: none; }
.h-btn:hover { background: var(--green); color: #fff; }
.h-cta .call { min-height: 48px; padding-inline: 18px; }
.h-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 1rem; }
.h-facts li { display: flex; align-items: center; gap: 8px; }
.h-facts li::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--tape); flex: none; }
.h-hero-pic { margin: 0; position: relative; }
.h-hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.h-hero-pic figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--surface); color: var(--ink);
  padding: 8px 12px; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 600; }
@media (max-width: 900px) { .h-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.h-prods { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .h-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .h-prods { grid-template-columns: minmax(0, 1fr); } }
.h-prod { display: grid; grid-template-rows: 1fr auto; background: var(--paper); border-radius: var(--r-md); overflow: hidden; }
.h-prod-main { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.h-prod-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: scale .5s cubic-bezier(.2,.65,.2,1); }

.h-prod-body { padding: 16px 18px 12px; display: grid; gap: 8px; align-content: start; }
.h-prod-body h3 { font-size: var(--step-2); }
.h-prod-body p { color: var(--muted); font-size: 1rem; }
.h-prod-main:hover h3 { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.h-prod-sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 18px; }
.h-prod-sub a { font-size: .9375rem; padding: 6px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.h-prod-sub a:hover { border-color: var(--slate); background: var(--green-soft); }
.h-prod { overflow: clip; }
.h-prod-main { overflow: hidden; }

.h-models { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .h-models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-model { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.h-model img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; }
.h-model-t { font-family: var(--f-display); font-weight: 640; font-size: 1.25rem; }
.h-model-f { color: var(--muted); font-size: 1rem; }
.h-model:hover .h-model-t { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 4px; }

.h-calc-grid { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.h-calc-grid .calc { background: var(--paper); }
.h-calc-side { display: grid; gap: 8px; }
@media (min-width: 981px) { .h-calc-side { position: sticky; top: 140px; } }
.h-swatch { margin: 0; }
.h-swatch img { width: 100%; border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; }
.h-swatch figcaption { color: var(--muted); font-size: .9375rem; margin-top: 8px; }
@media (max-width: 980px) { .h-calc-grid { grid-template-columns: minmax(0, 1fr); } .h-swatch { display: none; } }
.h-steps-call { margin-top: 32px; }
#hesap { scroll-margin-top: 120px; }
@media (prefers-reduced-motion: no-preference) {
  .h-hero-copy > *, .h-hero-pic { animation: wps-arrive .65s cubic-bezier(.2, .65, .2, 1) both; }
  .h-hero-copy > h1 { animation-delay: .05s; } .h-hero-copy > .lead { animation-delay: .1s; }
  .h-hero-copy > .h-cta, .h-hero-copy > .h-facts { animation-delay: .16s; } .h-hero-pic { animation-delay: .22s; }
}
@media (max-width: 560px) { .h-prod-main img { aspect-ratio: 4 / 3; } }

/* home hero product slider (12 Nov 2026) */
.h-slider { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--line-soft); }
.h-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.h-track::-webkit-scrollbar { display: none; }
.h-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; display: block; color: var(--ink); text-decoration: none; }
.h-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.h-slide-cap { position: absolute; left: 14px; bottom: 44px; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 600; }
.h-nav { position: absolute; top: 50%; translate: 0 -50%; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0;
  background: rgba(251,252,251,.92); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.h-prev { left: 12px; } .h-next { right: 12px; }
.h-nav:hover { background: #fff; }
.h-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.h-dot { inline-size: 9px; block-size: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(28,41,37,.28); cursor: pointer; }
.h-dot[aria-current="true"] { background: var(--slate); inline-size: 22px; border-radius: 5px; }
@media (max-width: 560px) { .h-nav { inline-size: 38px; block-size: 38px; font-size: 24px; } .h-slide-cap { font-size: .875rem; bottom: 40px; } }
/* home calculator side: no sticky, photo sits at the bottom, level with the end of the calculator (13 Nov) */
@media (min-width: 981px) {
  .h-calc-grid { align-items: stretch; }
  .h-calc-side { position: static; display: flex; flex-direction: column; }
  .h-calc-side .h-swatch { margin-top: auto; }
}
/* blinds: no state captions (tam açık / kapalı …) under the gallery photos; kept for screen readers (13 Nov) */
main[data-page^="ser-"] .gal-slide figcaption, main[data-page="lemn"] .gal-slide figcaption, [data-pleat="h"] .gal-slide figcaption {
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
/* palette swatch (13 Nov) */
.sw-pal { background: conic-gradient(#C0392B, #E6B33D, #5AA469, #3B7DC4, #8E5AA8, #C0392B); }
.pal-note { margin-top: 10px; color: var(--muted); font-size: var(--step--1); }
/* no captions under product photos anywhere; kept for screen readers (13 Nov) */
main figure figcaption, main .gal figure figcaption {
  position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
/* home calculator side: photo right under the heading text, not moving (13 Nov) */
@media (min-width: 981px) { .h-calc-side .h-swatch { margin-top: 0; } .h-calc-grid { align-items: start; } }

/* ===== Home hero banner (17 Nov): full-width slider, photo right, copy left on slate ===== */
.hb { position: relative; background: var(--slate); color: var(--on-slate); overflow: hidden; }
.hb .h-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hb .h-track::-webkit-scrollbar { display: none; }
.hb-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; display: grid; align-items: center;
  min-height: clamp(420px, 40vw, 600px); color: var(--on-slate); }
.hb .hb-slide img.hb-img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.hb-slide::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 62%; z-index: 1;
  background: linear-gradient(90deg, var(--slate) 0%, rgba(44,78,68,.72) 14%, rgba(44,78,68,.18) 34%, rgba(44,78,68,0) 50%); }
.hb-copy { position: relative; z-index: 2; width: 100%; padding-block: 56px 72px; }
.hb-copy > * { max-width: 30rem; }
.hb-eye { margin: 0 0 12px; font-weight: 600; font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-on-slate); }
.hb-title { margin: 0; font-size: clamp(2.25rem, 1rem + 3.4vw, 4rem); line-height: 1.02; color: #fff; text-wrap: balance; }
.hb-text { margin: 18px 0 28px; font-size: var(--step-1); line-height: 1.45; color: var(--on-slate); text-wrap: pretty; }
.hb-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: var(--r-sm);
  background: var(--tape); color: var(--ink); font-weight: 600; text-decoration: none; }
.hb-btn:hover { background: var(--brass-on-slate); color: var(--ink); }
.hb-btn:focus-visible, .hb .h-nav:focus-visible, .hb .h-dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hb .h-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; inline-size: 48px; block-size: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.88); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hb .h-nav:hover { background: #fff; }
.hb .h-prev { left: 16px; } .hb .h-next { right: 16px; }
.hb .h-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hb .h-dot { inline-size: 10px; block-size: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.hb .h-dot[aria-current="true"] { background: var(--tape); inline-size: 26px; border-radius: 5px; }
@media (min-width: 761px) { .hb .h-prev { left: max(16px, calc((100vw - var(--wrap)) / 2 - 64px)); } }
@media (max-width: 1100px) and (min-width: 761px) { .hb .h-prev { left: 12px; } .hb-copy { padding-inline-start: 72px; } .hb-copy > * { max-width: 24rem; } }
@media (max-width: 760px) {
  .hb-slide { display: block; min-height: 0; }
  .hb .hb-slide img.hb-img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .hb-slide::before { display: none; }
  .hb-copy { padding-block: 22px 60px; }
  .hb-title { font-size: clamp(1.9rem, 1rem + 4vw, 2.6rem); }
  .hb-text { margin: 12px 0 20px; font-size: 1.0625rem; }
  .hb .h-nav { top: 37.5vw; inline-size: 40px; block-size: 40px; font-size: 24px; }
  .hb .h-prev { left: 10px; } .hb .h-next { right: 10px; }
}
.hb-facts { background: var(--surface); }
.hb-facts-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 18px; }
.hb-facts .h-facts { margin: 0; color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .hb-slide .hb-copy > * { animation: wps-arrive .65s cubic-bezier(.2,.65,.2,1) both; }
}

/* ===== Home product tiles (17 Nov): title over the photo, pvcmag-style ===== */
.h-prod-main { position: relative; grid-template-rows: auto auto 1fr; }
.h-prod-body { display: contents; }
.h-prod-main img { grid-area: 1 / 1; aspect-ratio: 4 / 3; }
.h-prod-main::before { content: ""; grid-area: 1 / 1; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,32,28,0) 45%, rgba(20,32,28,.78) 100%); }
.h-prod-body h3 { grid-area: 1 / 1; align-self: end; z-index: 2; margin: 0; padding: 0 18px 16px; color: #fff;
  font-size: var(--step-1); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.h-prod-body p { grid-row: 2; padding: 14px 18px 4px; margin: 0; }
.h-prod-body .cat-meta { grid-row: 3; padding: 4px 18px 12px; align-self: start; }
.h-prod-main:hover h3 { text-decoration-color: var(--tape); }
@media (max-width: 560px) { .h-prod-main img { aspect-ratio: 4 / 3; } }

/* ===== Hero controls (17 Nov): prev · dots · next grouped at the bottom ===== */
.hb .hb-ctrl { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.hb .hb-ctrl > * { pointer-events: auto; }
.hb .hb-ctrl .h-dots { position: static; display: flex; gap: 8px; }
.hb .hb-ctrl .h-nav { position: static; translate: none; inline-size: 38px; block-size: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(20,32,28,.28); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .2s, border-color .2s; }
.hb .hb-ctrl .h-nav svg { inline-size: 18px; block-size: 18px; }
.hb .hb-ctrl .h-nav:hover { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.hb .hb-ctrl .h-prev, .hb .hb-ctrl .h-next { left: auto; right: auto; }
@media (max-width: 760px) { .hb .hb-ctrl { bottom: 14px; } .hb .hb-ctrl .h-nav { inline-size: 36px; block-size: 36px; } }
@media (min-width: 761px) { .hb .hb-ctrl { justify-content: flex-start; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-inline: 16px; bottom: 28px; } }

/* ===== Product tiles (17 Nov, pvcmag-style): title over photo, caption below ===== */
.h-tiles { display: grid; gap: 28px 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .h-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .h-tiles { grid-template-columns: minmax(0, 1fr); } }
.h-tile { display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.h-tile-pic { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--line-soft); }
.h-tile-pic img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: scale .5s cubic-bezier(.2,.65,.2,1); }
.h-tile-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,28,0) 45%, rgba(20,32,28,.85) 100%); }
.h-tile-t { position: absolute; left: 12px; right: 12px; bottom: 18px; z-index: 1; text-align: center; color: #fff; font-weight: 700;
  font-size: 1.0625rem; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.h-tile-c { text-align: center; color: var(--muted); font-size: .9375rem; font-weight: 500; padding-inline: 8px; }

.h-tile:hover .h-tile-t { color: var(--brass-on-slate); }
.h-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 16px; }

/* ===== Cart (17 Nov): header link, add-to-cart button, cart page ===== */
.cart-link { position: relative; display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.cart-link:hover { border-color: var(--slate); background: var(--green-soft); }
.cart-link svg { inline-size: 22px; block-size: 22px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-inline-size: 20px; block-size: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--tape); color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; }
.cart-count[hidden] { display: none; }
.cart-add { display: grid; gap: 8px; margin-block: 14px 6px; }
.cart-add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; width: 100%;
  border: 0; border-radius: var(--r-sm); background: var(--slate); color: var(--on-slate); font: inherit; font-weight: 600; cursor: pointer; }
.cart-add-btn:hover { background: var(--green); color: #fff; }
.cart-add-btn svg { inline-size: 20px; block-size: 20px; }
.cart-add-msg { margin: 0; font-size: .9375rem; color: var(--ink); }
.cart-add-msg a { font-weight: 600; }
.cart-wrap { padding-block: 8px 24px; }
.cart-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 960px) { .cart-grid { grid-template-columns: minmax(0, 1fr); } }
.cart-sub { font-size: var(--step-2); margin-bottom: 14px; }
.cart-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ci { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
@media (max-width: 560px) { .ci { grid-template-columns: minmax(0, 1fr); } }
.ci-name { font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.ci-det { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 3px; font-size: .9375rem; }
.ci-det span { color: var(--muted); }
.ci-note { display: grid; gap: 4px; font-size: .875rem; color: var(--muted); }
.ci-note input { font: inherit; font-size: .9375rem; color: var(--ink); padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.ci-side { display: grid; gap: 10px; justify-items: end; align-content: start; }
@media (max-width: 560px) { .ci-side { grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; } .ci-price { justify-self: end; } }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.ci-qty button { inline-size: 40px; block-size: 40px; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: var(--ink); }
.ci-qty button:hover { background: var(--green-soft); }
.ci-qty output { min-inline-size: 34px; text-align: center; font-weight: 600; }
.ci-price { margin: 0; font-weight: 700; font-size: 1.125rem; text-align: right; display: grid; }
.ci-price small { font-weight: 400; font-size: .8125rem; color: var(--muted); }
.ci-rm { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .875rem; padding: 4px 0; }
.ci-rm:hover { color: #9B2C2C; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 6px; padding: 14px 18px; border-radius: var(--r-md); background: var(--slate); color: var(--on-slate); }
.cart-total strong { font-size: 1.5rem; color: #fff; }
.order-form { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.order-form .field { display: grid; gap: 6px; }
.order-form input[type="text"], .order-form input[type="tel"], .order-form input[type="email"], .order-form textarea {
  font: inherit; color: var(--ink); padding: 11px 12px; border: 1px solid var(--input); border-radius: var(--r-sm); background: #fff; width: 100%; box-sizing: border-box; }
.order-form textarea { min-height: 84px; resize: vertical; }
.order-form input:user-invalid, .order-form textarea:user-invalid { border-color: #B42318; }
.order-form .row2 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 520px) { .order-form .row2 { grid-template-columns: minmax(0, 1fr); } }
.order-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.order-form legend { font-weight: 600; margin-bottom: 6px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--slate); background: var(--green-soft); }
.opt input { margin-top: 3px; accent-color: var(--slate); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { margin-top: 3px; accent-color: var(--slate); inline-size: 18px; block-size: 18px; flex: none; }
.req { color: #B42318; }
.hp { position: absolute !important; left: -9999px !important; inline-size: 1px; block-size: 1px; overflow: hidden; }
.order-send { min-height: 52px; border: 0; border-radius: var(--r-sm); background: var(--tape); color: var(--ink); font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer; }
.order-send:hover { background: #D2AC72; }
.order-send:disabled { opacity: .6; cursor: wait; }
.order-status { margin: 0; font-weight: 600; }
.order-status.is-err { color: #B42318; }
.cart-empty, .order-done { padding: 28px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-soft); display: grid; gap: 16px; justify-items: start; }
.order-done { border-color: var(--slate); }
/* phones: keep brand, languages, cart, phone and menu on one row */
@media (max-width: 440px) {
  .brand img { width: 36px; height: 34px; object-fit: cover; object-position: left center; }
  .cart-link { inline-size: 42px; block-size: 42px; }
}
.call-block { box-sizing: border-box; max-width: 100%; }
.h-steps-call .call { white-space: normal; max-width: 100%; box-sizing: border-box; }

/* ===== Header menu band (17 Nov rev.): the menu row sits on a dark strip ===== */
@media (min-width: 901px) {
  .nav { position: relative; margin-top: 6px; }
  .nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
    box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
  .nav > ul { padding-block: 4px; }
  .nav > ul > li > a { color: var(--on-slate); }
  .nav > ul > li > a:hover, .nav > ul > .has-sub:focus-within > a { background: rgba(255,255,255,.12); color: #fff; }
  .nav > ul > li > a[aria-current="page"] { color: #fff; text-decoration-color: var(--tape); }
  .nav > ul > .nav-partner > a { color: var(--brass-on-slate); }
}

/* ===== Compact calculator (17 Nov rev.) ===== */
.calc-head { padding: 14px 16px 0; gap: 2px; }
.calc-head h2, .calc-head h3 { font-size: var(--step-1); }
.calc-head p { font-size: .875rem; }
.calc-body { gap: 14px; padding: 12px 16px 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 190px); }
.calc form { gap: 12px; }
.calc fieldset { gap: 6px; }
.calc legend, .calc label.lbl { font-size: .875rem; color: var(--muted); }
.calc .seg { gap: 5px; }
.calc .seg label { padding: 6px 10px; min-height: 38px; font-size: .9375rem; gap: 6px; }
.calc .chip { width: 15px; height: 15px; }
.calc .dims { gap: 10px; }
.calc .field { gap: 4px; }
.calc .field input, .calc .field select { min-height: 42px; padding: 8px 10px; }
.calc .hint, .calc .group-note, .calc .fine { font-size: .8125rem; line-height: 1.4; }
.calc .measure-link { font-size: .875rem; }
.calc .result { gap: 8px; }
.calc .diagram { max-width: 150px; }
.calc .total-value { font-size: 1.9rem; }
.calc .total-value.is-empty { font-size: 1rem; }
.calc .breakdown { font-size: .875rem; }
.calc .material-line { padding: 8px 10px; font-size: .9375rem; }
.calc .cart-add { margin-block: 6px 0; gap: 6px; }
.calc .cart-add-btn { min-height: 44px; padding: 10px 16px; }
.calc .result .call-block { min-height: 40px; padding: 8px 12px; background: transparent; border: 1px solid var(--line); font-size: .9375rem; }
.calc .result .call-block:hover { background: var(--green-soft); border-color: var(--slate); }
@media (pointer: coarse) { .calc .seg label { min-height: 44px; } .calc .field input, .calc .field select { min-height: 46px; } }
@media (max-width: 560px) { .calc-body { grid-template-columns: minmax(0, 1fr); } }
/* home: narrower calculator beside the heading */
.h-calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
@media (max-width: 980px) { .h-calc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Product pages (17 Nov rev.): calculator beside the gallery, description below ===== */
.ser-top.has-calc { grid-template-areas: "head head" "media calc" "info info"; grid-template-rows: auto auto auto; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ser-top.has-calc > .calc-row { grid-area: calc; padding: 0; min-width: 0; scroll-margin-top: 130px; }
.ser-top.has-calc > .ser-side { grid-area: info; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ser-top.has-calc > .ser-side > p { max-width: 70ch; font-size: var(--step-1); color: var(--muted); }
.ser-top.has-calc .ser-facts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ser-top.has-calc .ser-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ser-top.has-calc .ser-cta .btn-ghost { display: none; }
.ser-top.has-calc .ser-cta .call-block { width: auto; }
.ser-top.has-calc .calc-body, .ser-top.has-calc .calc-wide .calc-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ser-top.has-calc .calc .result, .ser-top.has-calc .calc-wide .result { position: static; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: 12px; }
.ser-top.has-calc .calc .result > * { grid-column: 1 / -1; }
.ser-top.has-calc .calc .result > .diagram { grid-column: 1; grid-row: 1 / span 2; max-width: 96px; align-self: center; }
.ser-top.has-calc .calc .result > .total { grid-column: 2; grid-row: 1; }
.ser-top.has-calc .calc .result > .breakdown { grid-column: 2; grid-row: 2; }
@media (max-width: 900px) {
  .ser-top.has-calc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "calc" "info"; }
}
.calc .result .call-block { gap: 6px; }
.h-calc-grid .calc-body { grid-template-columns: minmax(0, 1fr) minmax(0, 205px); }
.h-calc-grid .calc .result .call-block { font-size: .8125rem; padding-inline: 6px; white-space: nowrap; }
@media (max-width: 560px) { .h-calc-grid .calc-body { grid-template-columns: minmax(0, 1fr); } .h-calc-grid .calc .result .call-block { font-size: .9375rem; } }

/* ===== rev2 (17 Nov): no hover zoom, text below, socials, WhatsApp ===== */
.ser-head { grid-template-columns: minmax(0, 1fr); }
.ser-top.ser-model { grid-template-areas: "head head" "media side" "info info"; grid-template-rows: auto auto auto; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.ser-info { grid-area: info; }
.ser-info .lead, .ser-top.has-calc > .ser-side > .lead { max-width: 70ch; font-size: var(--step-1); color: var(--muted); }
.ser-top.ser-model .ser-media fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ser-top.ser-model .ser-media legend { font-weight: 600; padding: 0; margin-bottom: 12px; }
@media (max-width: 900px) { .ser-top.ser-model { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "side" "info"; } }
.foot-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.foot-social span { margin-right: 4px; }
.foot-social a { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: var(--on-slate); }
.foot-social a:hover { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.foot-social svg { inline-size: 22px; block-size: 22px; }
.wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 15; display: grid; place-items: center;
  inline-size: 56px; block-size: 56px; border-radius: 50%; background: #1FA855; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.wa-fab:hover { background: #178C46; color: #fff; }
.wa-fab svg { inline-size: 30px; block-size: 30px; }
@media print { .wa-fab { display: none; } }

/* ===== 18 Nov: quote send buttons in the site palette (rulouri) ===== */
.calc.quote .result .call-block { background: var(--tape); border: 0; color: var(--ink); min-height: 46px; }
.calc.quote .result .call-block:hover { background: #D2AC72; color: var(--ink); }
.calc.quote .result [data-wa] { background: var(--slate); color: var(--on-slate); }
.calc.quote .result [data-wa]:hover { background: var(--green); color: #fff; }
.calc.quote .result [data-sms] { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--slate); }
.calc.quote .result [data-sms]:hover { background: var(--green-soft); color: var(--ink); }

/* ===== 18 Nov: home calculator — profile colour samples, one tile per colour ===== */
.h-prof { display: grid; gap: 16px; }
.h-prof .prof-t { margin: 0 0 8px; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.h-prof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.h-prof li { display: grid; gap: 6px; margin: 0; min-width: 0; }
.h-prof img { width: 100%; height: auto; aspect-ratio: 420 / 490; object-fit: cover; border-radius: var(--r-sm); box-shadow: 0 0 0 1px var(--line); background: var(--line-soft); }
.h-prof li span { font-weight: 600; font-size: .9375rem; line-height: 1.25; }

/* ===== 18 Nov: mobile menu — headings, sub-items on a tinted panel, Angro as its own block ===== */
@media (max-width: 900px) {
  .nav[data-open="true"] { max-height: calc(100svh - 76px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line-soft); }
  .nav > ul { gap: 0; padding-block: 4px 16px; }
  .nav > ul > li + li { border-top: 1px solid var(--line-soft); }
  .nav > ul > li > a { padding: 11px 2px; font-size: 1.0625rem; font-weight: 650; color: var(--ink); letter-spacing: .005em; }
  .nav > ul > li > a:hover { background: transparent; color: var(--slate); }
  .nav .sub { background: var(--paper); border-radius: var(--r-md); padding: 2px 0; margin: 0 0 10px; }
  .nav .sub li + li { border-top: 1px solid var(--surface); }
  .nav .sub a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 0; color: var(--slate); font-weight: 500; font-size: .9375rem; }
  .nav .sub a::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--tape); flex: none; }
  .nav .sub a:hover { background: var(--green-soft); }
  .nav a[aria-current="page"] { text-underline-offset: 5px; }
  .nav > ul > li.nav-partner { border-top: 0; margin-top: 6px; }
  .nav > ul > .nav-partner > a { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 13px 16px;
    background: var(--slate); color: var(--brass-on-slate); border-radius: var(--r-sm); font-weight: 650; }
  .nav > ul > .nav-partner > a::after { content: "→"; font-weight: 500; }
  .nav > ul > .nav-partner > a:hover { background: var(--slate-2); color: var(--brass-on-slate); }
}

/* ===== Phone header logo (19 Nov): W + D + P mark instead of the cropped W ===== */
@media (max-width: 440px) {
  .site-head .brand { position: relative; flex: 0 0 auto; inline-size: 70px; block-size: 34px;
    background: url("../img/logo-wdp.svg") left center / contain no-repeat; }
  .site-head .brand img { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
