@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --paper: #f5f5f5;
  --ink: #1f1f1f;
  --muted: #6e6a66;
  --line: #dfdfdf;
  --blue: #0058a3;
  --blue-dark: #004681;
  --beige: #d8c7ae;
  --yellow: #ffda1a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope Variable", Manrope, "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

button,
label {
  -webkit-tap-highlight-color: transparent;
}

.is-hidden {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
  padding: 0 24px 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.logo {
  color: #000;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-header > span {
  color: var(--muted);
  font-size: 13px;
}

.calculator {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro {
  padding: 66px 0 46px;
}

.eyebrow,
.section-heading p,
.total-section p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.intro h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.intro > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.builder-section {
  margin-bottom: 22px;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.section-heading > span {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.section-heading p {
  margin: 2px 0 7px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.frame-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(390px, 1.12fr);
  align-items: center;
  gap: 48px;
}

.dimensions-grid {
  display: grid;
  gap: 18px;
}

.dimension-control > label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.dimension-control > small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.stepper {
  display: grid;
  grid-template-columns: 48px minmax(72px, 1fr) auto 48px;
  align-items: center;
  min-height: 56px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #c9c9c9;
  border-radius: 6px;
}

.stepper:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 88, 163, 0.12);
}

.stepper button {
  align-self: stretch;
  color: var(--blue);
  background: #f2f6fa;
  border: 0;
  cursor: pointer;
  font-size: 23px;
  font-weight: 500;
  transition: color 150ms ease, background 150ms ease;
}

.stepper button:hover,
.stepper button:focus-visible {
  color: var(--white);
  background: var(--blue);
  outline: 0;
}

.stepper input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 6px 0 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 24px;
  font-weight: 800;
  text-align: right;
  appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.stepper span {
  padding-right: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.frame-visual {
  position: relative;
  display: grid;
  min-height: 300px;
  padding: 30px 52px 34px 32px;
  place-items: center;
  background: var(--paper);
  border-radius: 10px;
  transition: background-color 180ms ease;
}

.frame-visual.white-frame {
  background: #d9d7d2;
}

.frame-visual svg {
  width: 100%;
  max-height: 300px;
  overflow: visible;
}

.frame-outline {
  shape-rendering: geometricPrecision;
}

.frame-divider {
  stroke-width: 16;
  stroke-linecap: butt;
  vector-effect: non-scaling-stroke;
}

.visual-measure {
  position: absolute;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.visual-measure-horizontal {
  right: 54px;
  bottom: 20px;
  left: 34px;
  text-align: center;
}

.visual-measure-vertical {
  top: 50%;
  right: 15px;
  transform: rotate(90deg) translateY(-50%);
}

.options-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.check-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.check-card:hover {
  border-color: #a9bdd0;
}

.check-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-check {
  position: relative;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  border: 1px solid #a9a9a9;
  border-radius: 4px;
}

.check-card input:checked + .custom-check {
  background: var(--blue);
  border-color: var(--blue);
}

.check-card input:checked + .custom-check::after {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  content: "";
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-card input:focus-visible + .custom-check {
  box-shadow: 0 0 0 3px rgba(0, 88, 163, 0.18);
}

.check-card > span:last-child {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.check-card strong {
  font-size: 14px;
}

.check-card small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.color-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.color-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.color-heading > div {
  display: grid;
  gap: 4px;
}

.color-heading span {
  font-size: 15px;
  font-weight: 800;
}

.color-heading small {
  color: var(--muted);
  font-size: 11px;
}

.color-heading > strong {
  color: var(--blue);
  font-size: 13px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.color-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 68px;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.color-card:hover {
  border-color: #a9bdd0;
  transform: translateY(-1px);
}

.color-card:focus-visible {
  outline: 3px solid rgba(0, 88, 163, 0.18);
  outline-offset: 2px;
}

.color-card.selected {
  background: #f2f6fa;
  border-color: var(--blue);
  box-shadow: 0 7px 18px rgba(0, 88, 163, 0.08);
}

.color-swatch {
  display: block;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.color-swatch.white {
  border: 1px solid #cfcfcf;
}

.color-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.color-card strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.color-card small {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.color-card > i {
  position: absolute;
  top: 6px;
  right: 7px;
  color: transparent;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.color-card.selected > i {
  color: var(--blue);
}

.filling-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.filling-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: #f4f1ec;
  border: 2px solid transparent;
  border-radius: 19px;
  cursor: pointer;
  text-align: left;
  transition: border 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.filling-card:hover {
  border-color: #aac0d3;
  transform: translateY(-2px);
}

.filling-card:focus-visible {
  outline: 3px solid rgba(0, 88, 163, 0.2);
  outline-offset: 2px;
}

.filling-card.selected {
  border: 2px solid var(--blue);
  box-shadow: 0 14px 34px rgba(31, 31, 31, 0.16);
}

.image-wrap {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #e8e3db;
}

.image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filling-card:nth-child(1) img {
  object-position: center 68%;
}

.filling-card:nth-child(2) img {
  object-position: center 62%;
}

.filling-copy {
  display: grid;
  min-height: 104px;
  align-content: start;
  gap: 8px;
  padding: 17px;
}

.filling-copy strong {
  font-size: 15px;
  line-height: 1.25;
}

.filling-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.selection-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: transparent;
  background: rgba(31, 31, 31, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.filling-card.selected .selection-check {
  color: var(--white);
  background: var(--blue);
}

.parameters-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 1.1fr);
  align-items: stretch;
  gap: 32px;
}

.linked-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.actual-gap {
  grid-column: 1 / -1;
  padding: 19px 20px;
  background: #f2f6fa;
  border-left: 4px solid var(--blue);
}

.actual-gap span,
.actual-gap strong {
  display: block;
}

.actual-gap span {
  color: var(--muted);
  font-size: 12px;
}

.actual-gap strong {
  margin-top: 4px;
  font-size: 25px;
}

.slat-result {
  display: flex;
  min-height: 205px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--paper);
  border-radius: 9px;
}

.slat-visual {
  display: flex;
  width: 100%;
  height: 88px;
  align-items: stretch;
  justify-content: space-evenly;
  gap: 3px;
  padding: 8px;
  background: var(--white);
  border: 5px solid var(--ink);
}

.slat-visual span {
  width: clamp(2px, 2.5%, 8px);
  background: var(--ink);
}

.slat-result p {
  margin: 15px 0 4px;
  font-size: 14px;
}

.slat-result small {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.mdf-result {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 1fr;
  align-items: center;
  gap: 36px;
  padding: 28px;
  background: var(--paper);
  border-radius: 9px;
}

.mdf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  height: 200px;
  gap: 4px;
  padding: 6px;
  background: var(--ink);
}

.mdf-grid span {
  background: var(--beige);
}

.mdf-result strong {
  font-size: 24px;
}

.mdf-result p,
.empty-note {
  color: var(--muted);
  line-height: 1.55;
}

.empty-note {
  margin: 0;
  padding: 30px;
  background: var(--paper);
  border-radius: 8px;
}

.total-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(410px, 1.1fr);
  align-items: stretch;
  gap: 42px;
  margin-top: 34px;
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(31, 31, 31, 0.08);
}

.total-section p {
  color: var(--blue);
}

.total-section h2 {
  margin: 0;
  font-size: clamp(50px, 8vw, 82px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.95;
  white-space: nowrap;
}

.total-price-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.order-summary {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.summary-line {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
}

.summary-line + .summary-line {
  border-top: 1px solid var(--line);
}

.summary-line > span:first-child,
.summary-filling span {
  color: #a9a9a9;
  font-size: 11px;
}

.summary-line > strong {
  font-size: 14px;
  text-align: right;
}

.summary-filling {
  justify-content: flex-start;
}

.summary-filling img {
  width: 58px;
  height: 48px;
  flex: 0 0 58px;
  object-fit: cover;
  border-radius: 5px;
}

.summary-filling > div {
  display: grid;
  gap: 3px;
}

.summary-filling strong {
  font-size: 14px;
}

.summary-filling small,
.summary-value-with-note small {
  color: var(--blue);
  font-size: 10px;
}

.summary-color-label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.summary-color-label > i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.summary-color-label > i.white {
  border: 1px solid #bdbdbd;
}

.summary-value-with-note {
  display: grid;
  gap: 3px;
  text-align: right;
}

.summary-value-with-note strong {
  color: var(--ink);
  font-size: 14px;
}

.summary-options {
  align-items: flex-start;
}

.summary-options > div {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex-direction: column;
}

.summary-options strong {
  display: inline-block;
  padding: 5px 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.price-note {
  margin: 13px 2px 0;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .frame-grid,
  .parameters-grid {
    grid-template-columns: 1fr;
  }

  .frame-grid {
    gap: 30px;
  }

  .dimensions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filling-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .total-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 0 14px 40px;
  }

  .site-header {
    min-height: 68px;
  }

  .logo {
    font-size: 27px;
  }

  .site-header > span {
    max-width: 160px;
    font-size: 11px;
    text-align: right;
  }

  .intro {
    padding: 44px 2px 30px;
  }

  .intro h1 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .intro > p:last-child {
    margin-top: 17px;
    font-size: 15px;
  }

  .builder-section {
    margin-bottom: 14px;
    padding: 24px 18px;
    border-radius: 9px;
  }

  .section-heading {
    gap: 13px;
    margin-bottom: 24px;
  }

  .section-heading > span {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .section-heading p {
    font-size: 10px;
  }

  .dimensions-grid,
  .linked-controls,
  .options-row {
    grid-template-columns: 1fr;
  }

  .color-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frame-visual {
    min-height: 225px;
    padding: 22px 42px 31px 23px;
  }

  .frame-visual svg {
    max-height: 180px;
  }

  .visual-measure-horizontal {
    right: 44px;
    bottom: 15px;
    left: 25px;
  }

  .options-row {
    gap: 8px;
  }

  .filling-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .image-wrap {
    height: 225px;
  }

  .filling-copy {
    min-height: auto;
  }

  .parameters-grid {
    gap: 22px;
  }

  .linked-controls {
    gap: 16px;
  }

  .actual-gap {
    grid-column: auto;
  }

  .mdf-result {
    grid-template-columns: 1fr;
  }

  .mdf-grid {
    height: 165px;
  }

  .total-section {
    gap: 30px;
    margin-top: 22px;
    padding: 30px 22px;
    border-radius: 9px;
  }

  .total-section h2 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .summary-line {
    gap: 14px;
    padding: 13px;
  }
}

@media (max-width: 390px) {
  .site-header > span {
    display: none;
  }

  .color-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Mobile release: native controls, local fonts, restrained STILEO palette. */
:root{--paper:#f7f7f4;--line:#e0e1dd;--muted:#666c6b}
button,a,input{touch-action:manipulation}
button:disabled{opacity:.36;cursor:default}
button:focus-visible,a:focus-visible{outline:3px solid #e5b900;outline-offset:3px}
html{scroll-padding-top:20px}
.site-header{min-height:86px}.site-header b{font-weight:700;color:var(--ink)}
.logo{letter-spacing:-1.5px;font-size:32px;position:relative}.logo:after{content:'';display:block;width:28px;height:4px;background:var(--yellow);margin-top:3px}
.intro{display:grid;grid-template-columns:1fr 1.05fr;gap:38px;align-items:center;padding:44px 0}
.intro h1{font-size:clamp(35px,4.5vw,57px);line-height:1.08;letter-spacing:-.055em}
.intro-copy>p:not(.eyebrow){font-size:15px;line-height:1.65;color:var(--muted);margin:18px 0}
.eyebrow{font-size:10px;letter-spacing:.14em}
.intro-link{display:inline-flex;align-items:center;gap:30px;color:var(--blue);font-size:13px;font-weight:800;text-decoration:none;min-height:44px}.intro-link span{font-size:24px}
.hero-image{position:relative;margin:0;overflow:hidden;border-radius:10px}.hero-image img{width:100%;height:300px;object-fit:cover}.hero-image figcaption{position:absolute;bottom:10px;left:12px;right:12px;color:#fff;font-size:9px;text-shadow:0 1px 8px #000;background:#28262085;padding:5px 7px;border-radius:3px;width:fit-content}
.builder-section{padding:30px;margin-bottom:20px;box-shadow:none;border-radius:10px}.section-heading{gap:14px;margin-bottom:24px}.section-heading>span{background:#edf3f7;color:var(--blue);border-radius:7px}.section-heading p{font-size:10px}.section-heading h2{font-size:28px;line-height:1.15}
.frame-grid{grid-template-columns:minmax(250px,.8fr) minmax(280px,1.2fr);gap:40px}.frame-visual{min-height:300px}.frame-visual svg{height:300px;max-width:100%;display:block}.frame-divider{vector-effect:none}.frame-visual.white-frame{background:#a9b1b4}
.filling-card{border-radius:8px;background:#f6f5f1}.filling-card.selected{box-shadow:none;background:#edf3f7}.image-wrap{height:145px}.filling-copy{padding:14px;min-height:100px}.filling-copy strong{font-size:13px}.filling-copy small{font-size:11px}.selection-check{width:25px;height:25px;font-size:12px;top:9px;right:9px}
.color-card.selected{box-shadow:none}.color-card{background:white}.color-card strong{overflow:visible;text-overflow:clip}.parameters-heading{border-top:1px solid var(--line);padding-top:28px;margin-top:30px}.parameters-heading .section-heading>span{display:none}.parameters-heading h2{font-size:23px}
.parameters-grid{grid-template-columns:1fr 1fr;gap:30px}.linked-controls{grid-template-columns:1fr;gap:14px}.slat-result{padding:24px}.slat-visual{display:block;height:125px;gap:0;padding:0;border:5px solid #303537;background:#f5f5f3}.slat-visual svg{width:100%;height:100%;display:block}.slat-visual.white-slats{background:#8c9497}.actual-gap{padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.actual-gap strong{margin:0;font-size:21px}
.total-section{grid-template-columns:.8fr 1.2fr;padding:32px;gap:26px 40px;box-shadow:none;background:#edf3f7;border:1px solid #d3e1eb;scroll-margin-top:20px}.total-section h2{font-size:72px;letter-spacing:-.045em}.total-section h2 small{font-size:23px;font-weight:700;letter-spacing:0}.total-caption{font-size:11px;color:var(--muted);margin-top:18px}.total-price-block{justify-content:flex-start;padding-top:12px}.order-summary{background:#fff;border-color:#dce5ec}.summary-line>span:first-child,.summary-filling span{color:#626968}.summary-filling small{font-size:12px}.summary-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary-button,.secondary-button{min-height:54px;padding:14px 20px;border:1px solid var(--blue);border-radius:7px;font-size:14px;font-weight:800;cursor:pointer;display:flex;gap:10px;align-items:center;justify-content:center}.primary-button{background:var(--blue);color:#fff}.primary-button:hover{background:var(--blue-dark)}.secondary-button{background:transparent;color:var(--blue)}.primary-button span,.secondary-button span{font-size:21px;margin-left:auto}.action-note{grid-column:1/-1;color:var(--muted)!important;font-size:11px!important;font-weight:400!important;letter-spacing:0!important;text-align:center;line-height:1.5;margin:2px 0 0!important}.price-note{font-size:11px;color:var(--muted);line-height:1.6}.saved-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eaf2ed;border:1px solid #d2e3d9;padding:12px 16px;margin:0 0 20px;border-radius:7px;font-size:12px}.saved-banner button{background:transparent;border:0;color:#215d40;font:inherit;font-weight:800;min-height:44px;cursor:pointer}
.mobile-total{display:none}#print-sheet{display:none}dialog{width:min(610px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#fff;box-shadow:0 25px 100px #172c4050}dialog::backdrop{background:#17232b88}.dialog-heading{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.dialog-heading h2{font-size:25px;letter-spacing:-.035em;line-height:1.15;margin:0}.dialog-heading .eyebrow{margin:0 0 8px}.dialog-heading>button{flex-shrink:0;width:44px;height:44px;font-size:28px;line-height:1;background:#f2f3f0;border:0;border-radius:6px;cursor:pointer}.dialog-note{font-size:12px;line-height:1.65;color:var(--muted)}.export-actions,.channel-tabs{display:flex;gap:8px;margin:18px 0}.export-actions button,.channel-tabs button{flex:1;border:1px solid #d1dadd;background:#fff;padding:10px 6px;min-height:46px;border-radius:6px;font-size:12px;font-weight:700;color:var(--blue);cursor:pointer}.channel-tabs button[aria-pressed=true]{background:var(--blue);color:#fff;border-color:var(--blue)}.preview-label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}textarea{display:block;resize:vertical;width:100%;min-height:265px;padding:14px;background:#f6f7f5;color:#303532;border:1px solid #dde1dc;border-radius:7px;font:500 12px/1.65 'Manrope Variable',sans-serif}.channel-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.channel-actions button{font-size:12px}#dialog-status{font-size:12px;color:#285d43;line-height:1.6;margin:14px 0 0}.toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,15px);background:#253733;color:white;padding:12px 20px;font-size:12px;line-height:1.5;border-radius:8px;max-width:calc(100% - 30px);width:max-content;opacity:0;pointer-events:none;transition:.2s;z-index:5}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript-note{padding:20px;background:#fff2c0}
@media(min-width:901px){.dimensions-grid{gap:12px}.frame-visual{padding:20px 52px 30px 32px}}
@media(max-width:900px){.frame-grid,.parameters-grid,.total-section{grid-template-columns:1fr}.intro{gap:20px}.hero-image img{height:260px}.intro h1{font-size:40px}.filling-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-wrap{height:175px}.total-price-block{padding:0}.total-section h2{font-size:66px}.frame-visual svg{height:260px}.dimensions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stepper{grid-template-columns:40px minmax(30px,1fr) auto 40px}.stepper input{padding-left:5px;font-size:21px}.stepper span{padding-right:5px}.options-row{margin-top:24px}.linked-controls{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.page-shell{padding:0 16px 108px}.site-header{min-height:71px}.site-header>span{font-size:10px;max-width:145px;text-align:right}.logo{font-size:27px}.intro{grid-template-columns:1fr;gap:20px;padding:27px 0}.intro h1{font-size:39px;line-height:1.07}.intro-copy>p:not(.eyebrow){font-size:13px;line-height:1.55;margin:14px 0 6px}.intro-link{font-size:12px}.hero-image img{height:190px}.hero-image figcaption{font-size:8px}.builder-section{padding:20px 16px;margin-bottom:16px}.section-heading{gap:12px;margin-bottom:22px}.section-heading>span{width:34px;height:34px;flex-basis:34px;font-size:12px}.section-heading h2{font-size:25px}.section-heading p{font-size:9px}.frame-grid{gap:20px}.dimensions-grid{grid-template-columns:1fr;gap:12px}.dimension-control>label{font-size:12px;margin-bottom:7px}.stepper{grid-template-columns:50px minmax(45px,1fr) auto 50px;min-height:52px}.stepper button{min-height:50px;font-size:23px}.stepper input{height:50px;font-size:23px;padding:0 8px}.stepper span{padding-right:18px}.frame-visual{min-height:260px;padding:16px 40px 26px 22px}.frame-visual svg{height:235px}.visual-measure-horizontal{bottom:12px}.options-row{grid-template-columns:1fr;margin-top:20px;padding-top:20px;gap:10px}.check-card{min-height:58px;padding:12px}.check-card strong{font-size:12px}.check-card small{font-size:11px}.color-panel{margin-top:20px;padding-top:20px}.color-heading{gap:12px}.color-heading span{font-size:13px}.color-heading small{font-size:9px}.color-heading>strong{font-size:11px}.color-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.color-card{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:10px 2px;min-height:77px}.color-swatch{width:26px;height:26px}.color-card strong{font-size:9px}.color-card>i{top:2px;right:3px;font-size:9px}.filling-grid{gap:10px}.image-wrap{height:115px}.filling-copy{padding:10px;min-height:84px;gap:5px}.filling-copy strong{font-size:11px}.filling-copy small{font-size:9px;line-height:1.4}.parameters-heading{margin-top:24px;padding-top:24px}.parameters-heading h2{font-size:22px}.parameters-grid{gap:16px}.linked-controls{grid-template-columns:1fr}.slat-result{min-height:185px;padding:20px 16px}.slat-result small{font-size:10px}.actual-gap span{font-size:11px}.actual-gap strong{font-size:21px}.mdf-result{padding:20px;grid-template-columns:1fr;gap:20px}.mdf-result strong{font-size:20px}.mdf-result p{font-size:12px}.empty-note{font-size:13px;padding:20px}.total-section{padding:24px 16px;gap:24px;margin-top:20px}.total-section h2{font-size:61px;line-height:1}.total-section h2 small{font-size:21px}.total-section p{font-size:10px}.total-caption{margin-top:12px;font-size:10px}.summary-line{padding:12px;gap:12px}.summary-line>strong,.summary-filling strong{font-size:12px}.summary-line>span:first-child{font-size:10px}.summary-value-with-note strong{font-size:12px}.summary-actions{grid-template-columns:1fr;gap:10px}.primary-button,.secondary-button{font-size:12px;min-height:52px}.action-note{font-size:10px!important}.mobile-total{display:flex;position:fixed;z-index:3;bottom:0;left:0;right:0;min-height:76px;padding:12px 20px max(12px,env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #d5dfdf;box-shadow:0 -4px 24px #1f3f5410;align-items:center;justify-content:space-between;gap:16px;backdrop-filter:blur(12px)}.mobile-total>div{display:grid;gap:3px}.mobile-total>div>span{font-size:10px;color:var(--muted)}.mobile-total strong{font-size:22px}.mobile-total a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding:12px 16px;border-radius:6px;background:var(--blue);color:white;text-decoration:none;font-size:12px;font-weight:800}dialog{padding:20px 16px;width:calc(100% - 20px);max-height:88dvh}.dialog-heading h2{font-size:22px}.channel-actions{grid-template-columns:1fr}.export-actions button{font-size:10px}.saved-banner{padding:10px 12px;font-size:11px}.saved-banner span{max-width:185px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{@page{size:A4;margin:16mm}html,body{background:#fff!important}.page-shell,.mobile-total,dialog,.toast,noscript{display:none!important}#print-sheet{display:block;color:#161e22;font-family:'Manrope Variable',Arial,sans-serif}#print-sheet h1{font-size:30px;margin:0 0 8px;letter-spacing:-1px}#print-sheet h2{font-size:18px;margin:0 0 18px}#print-sheet svg{float:right;width:170px;height:210px;background:#d0d6d7;padding:8px;margin-left:16px}#print-sheet pre{font-family:inherit;font-size:11px;line-height:1.8;white-space:pre-wrap;margin:0}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* Configured product views and order review, revision 4. */
.configured-view{display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f0f0eb;border-radius:8px;min-width:0;min-height:260px}.configured-view svg{display:block;width:100%;height:100%;max-height:340px;padding:16px}.configured-view.white-preview{background:#b4bfbe}.plan-view svg{padding:16px 30px}.perspective-view svg{padding:28px 14px}.filling-live-preview{max-width:620px;margin:20px auto 0}.filling-live-preview>p{font-size:11px;color:var(--muted);text-align:center;margin:10px 0 18px}.filling-live-preview .configured-view{min-height:240px;max-height:300px}#mdf-card-visual{display:flex;justify-content:center;background:#e8e7de}#mdf-card-visual svg{height:100%;width:100%;padding:8px}.mdf-result{grid-template-columns:1fr 1fr}.mdf-result .configured-view{min-height:310px}.mdf-result .configured-view svg{height:320px}
.total-section{display:block;background:#fff;border:1px solid var(--line);padding:34px}.total-price-block{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:end;justify-content:stretch;padding:0;margin-bottom:26px;gap:8px 24px}.total-price-block>p:first-child{grid-column:1;grid-row:1;margin:0;font-size:11px}.total-price-block .summary-subtitle{grid-column:1;grid-row:2;font-size:23px;line-height:1.2;letter-spacing:-.035em;color:var(--ink);font-weight:800;margin:0}.total-price-block>h2{grid-column:2;grid-row:1/3;font-size:66px;text-align:right}.total-caption{grid-column:2;font-size:10px;margin:0;text-align:right}.summary-gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.summary-gallery figure{min-width:0;margin:0}.summary-gallery .configured-view{height:330px}.summary-gallery figcaption{display:grid;gap:6px;padding:13px 2px}.summary-gallery figcaption strong{font-size:14px}.summary-gallery figcaption span{font-size:11px;color:var(--muted);line-height:1.45}.summary-info-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0 20px;margin-bottom:20px;font-size:11px;color:var(--muted);line-height:1.5}.summary-info-bar a{color:var(--blue);font-weight:800;text-decoration:none;min-height:44px;display:flex;align-items:center;white-space:nowrap}.order-summary{display:grid;grid-template-columns:1fr 1fr;background:#f8f9f7}.summary-line+.summary-line{border-top:0}.summary-line{border-bottom:1px solid var(--line);min-height:65px;gap:12px}.summary-line:nth-child(2n+1){border-right:1px solid var(--line)}.summary-filling{justify-content:space-between}.summary-options{align-items:center}.summary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:26px}.order-cta{grid-column:1/-1;font-size:15px}.order-explanation{grid-column:1/-1;text-align:center;color:var(--muted)!important;font-size:11px!important;line-height:1.5;letter-spacing:0!important;font-weight:400!important;margin:1px 0 10px!important}.quick-share{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;grid-column:1/-1;margin-top:8px}.quick-share>span{font-size:11px;color:var(--muted);margin-right:5px}.quick-share button{border:0;background:#f0f4f6;color:var(--blue);font-weight:700;font-size:12px;border-radius:6px;padding:10px 16px;min-height:44px;cursor:pointer}#summary-none-note{margin-top:16px;background:#fff4dd;font-size:13px;border-left:3px solid #d8a132}
.order-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.order-fields label,.order-comment-label{display:block;font-size:12px;font-weight:700;line-height:1.5}.order-fields label>span,.order-comment-label>span{font-size:10px;color:var(--muted);font-weight:400}.order-fields input{display:block;width:100%;height:48px;border:1px solid #c9d3d2;background:#fff;border-radius:6px;padding:10px;margin:7px 0 16px;font-size:16px;min-width:0}.order-comment-label{margin-bottom:7px}#customer-comment{min-height:80px;height:80px;font-size:14px}.order-quote{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px;background:#edf3f7;border-radius:6px;margin-top:16px}.order-quote>span{font-size:12px}.order-quote strong{font-size:21px;white-space:nowrap}.order-recipient{font-size:12px;color:var(--muted);line-height:1.6}#prepare-order{width:100%}#order-ready{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.order-ready-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-ready-actions a{text-decoration:none;text-align:center}#order-status{font-size:12px;line-height:1.65;color:#285d43}.print-views{display:none}
@media(max-width:900px){.total-price-block .summary-subtitle{font-size:20px}.total-price-block>h2{font-size:56px}.summary-gallery .configured-view{height:300px}.summary-line>strong{font-size:12px}}
@media(max-width:600px){.configured-view{min-height:230px}.configured-view svg{max-height:300px}.perspective-view svg{padding:20px 6px}.plan-view svg{padding:12px 14px}.filling-live-preview .configured-view{min-height:210px;height:230px}.mdf-result{grid-template-columns:1fr;padding:14px;gap:12px}.mdf-result .configured-view{min-height:280px}.mdf-result .configured-view svg{height:290px}.total-section{padding:24px 16px}.total-price-block{display:flex;align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:20px}.total-price-block>p:first-child{font-size:10px}.total-price-block .summary-subtitle{font-size:20px;margin-bottom:4px}.total-price-block>h2{font-size:61px;text-align:left}.total-caption{text-align:left;margin-top:2px}.summary-gallery{grid-template-columns:1fr;gap:10px}.summary-gallery .configured-view{height:290px}.summary-gallery figcaption{padding:12px 0 16px}.summary-gallery figcaption strong{font-size:13px}.summary-gallery figcaption span{font-size:10px}.summary-info-bar{flex-direction:column;align-items:flex-start;padding-top:0;gap:2px;font-size:10px}.order-summary{grid-template-columns:1fr}.summary-line:nth-child(2n+1){border-right:0}.summary-line{min-height:58px;padding:12px}.summary-actions{grid-template-columns:1fr}.order-cta{font-size:13px}.order-explanation{font-size:10px!important}.quick-share{gap:7px;margin-top:4px}.quick-share>span{width:100%;margin:6px 0 0;text-align:center;font-size:10px}.quick-share button{flex:1;font-size:11px;padding:8px 10px}.order-fields{grid-template-columns:1fr;gap:0}.order-quote>span{font-size:10px}.order-quote strong{font-size:19px}.order-ready-actions{grid-template-columns:1fr}.order-ready-actions a{min-height:50px}#summary-none-note{font-size:12px}#order-text{min-height:280px}.order-fields label>span{display:inline}}
@media print{#order-dialog{display:none!important}.print-views{display:flex;align-items:center;gap:15px;margin:10px 0 20px}.print-views svg,#print-sheet .print-views svg{float:none;width:48%;height:235px;max-height:235px;margin:0;padding:10px;background:#e8ecea}#print-sheet pre{font-size:10px;line-height:1.7}}

/* Larger configuration plan and filling photography. */
.summary-gallery{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start}.summary-gallery .plan-view{height:500px}.summary-gallery .plan-view svg{max-height:none;padding:12px}.photo-view{height:330px}.photo-view img{display:block;width:100%;height:100%;object-fit:contain}.summary-info-bar{justify-content:flex-end}
@media(max-width:600px){.summary-gallery{grid-template-columns:1fr}.summary-gallery .plan-view{height:440px}.summary-gallery .plan-view svg{padding:4px}.photo-view{height:250px}}
@media print{.print-views img{width:45%;height:210px;object-fit:contain}.print-views svg{width:50%!important}}

/* Email forms stay on the page. */
.quote-details{white-space:pre-wrap;overflow-wrap:anywhere;font:500 14px/1.7 'Manrope Variable',Manrope,sans-serif;background:#f1f4f3;border:1px solid #dde3e0;border-radius:8px;padding:16px;margin:12px 0 20px}.email-label{display:block;margin:14px 0 8px;font-size:14px}#recipient-email{width:100%;min-height:50px;padding:12px;border:1px solid #c7d0cf;border-radius:6px;font:inherit}#order-form .primary-button,#email-form .primary-button{width:100%;margin-top:16px}#order-status,#dialog-status{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.order-fields label,.order-comment-label,.preview-label{font-size:14px}.order-fields input,#customer-comment{font-size:16px}.summary-actions #prepare-calculation{grid-column:1/-1}
