
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_rh/forma/fonts/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  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;
}
#rh {
  --green: #234c1f;
  --green-dark: #163214;
  --green-soft: #e7f0e2;
  --yellow: #f5e100;
  --ink: #1b1b1b;
  --muted: #5c6658;
  --line: #d5dece;
  --paper: #f6f8f3;
  --card: #ffffff;
  --danger: #9d2c2c;
  --shadow: 0 10px 30px rgba(22, 50, 20, 0.08);
  --r-btn: 12px;
  --r-field: 8px;
  --r-img: 12px;
  box-sizing: border-box;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 18px;
  color: var(--ink);
  background: transparent;
  font-family: Rubik, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.35;
}
#rh *, #rh *::before, #rh *::after { box-sizing: border-box; }
#rh img { max-width: 100%; display: block; }
#rh button, #rh input, #rh select, #rh textarea { font: inherit; color: inherit; }
#rh button { cursor: pointer; }
#rh h1, #rh h2, #rh p { margin: 0; }
#rh a { color: var(--green); }

#rh .top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0 8px;
}
@media (min-width: 720px) {
  #rh .top { padding: 0 0 8px; }
}
#rh .logo {
  width: 54px;
  height: 54px;
  flex: none;
  background: var(--yellow);
  object-fit: cover;
  border-radius: var(--r-img);
}
#rh .brand { min-width: 0; }
#rh .brand p { color: var(--muted); font-size: 0.92rem; }
#rh h1 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-dark);
}
#rh .phone {
  margin-left: auto;
  flex: none;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  white-space: nowrap;
  border-radius: var(--r-btn);
}
#rh .top .phone { display: none; }
#rh .phone small { display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

#rh .stage {
  position: relative;
  width: 100%;
  background: #c5d4c0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin: 8px 0 0;
  border-radius: var(--r-img);
}
#rh .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border: 0; }
#rh .caption {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: auto;
  display: block;
  padding: 14px 16px 36px;
  color: #fff;
  background: linear-gradient(rgba(12, 28, 10, 0.42), rgba(12, 28, 10, 0.12) 55%, transparent);
  text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.35);
  pointer-events: none;
}
#rh .caption strong {
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.25;
  display: block;
  max-width: 100%;
}
#rh .caption span { display: none; }
#rh .num { display: none !important; }
#rh .brand p { display: none !important; }
#rh .step h2 { gap: 0; }

#rh .layout { margin-top: 8px; }
#rh .step {
  background: transparent;
  border: 0;
  padding: 4px 0 8px;
  margin-bottom: 2px;
  box-shadow: none;
}
#rh .step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}
#rh .num {
  display: none !important;
  width: 28px; height: 28px;
  /* display: inline-grid; */ place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  flex: none;
  border-radius: 50%;
}
#rh .hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
#rh .choices { display: grid; gap: 6px; }
#rh .choice, #rh .chip {
  text-align: left;
  background: transparent;
  border: 1px solid #b7c6ad;
  padding: 10px;
  width: 100%;
  transition: border-color .15s, background .15s;
  border-radius: var(--r-btn);
}
#rh .choice:hover, #rh .chip:hover { border-color: #8aa583; }
#rh .choice[aria-pressed="true"], #rh .chip[aria-pressed="true"] {
  border-color: var(--green);
  border-width: 2px;
  background: rgba(35, 76, 31, 0.08);
  padding: 9px;
}
#rh .choice .kicker {
  display: block;
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#rh .choice b { display: block; font-size: 1.25rem; line-height: 1.2; }
#rh .choice small, #rh .chip small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.25; margin-top: 2px; }
#rh [hidden] { display: none !important; }
#rh .profile-well { position: relative; display: block; width: 100%; aspect-ratio: var(--arch-ar, 1 / 1); overflow: hidden; margin: 0; }
#rh .widths { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; justify-content: flex-start; }
#rh .widths .choice {
  width: auto;
  max-width: 100%;
  padding: 6px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
#rh .widths .choice[aria-pressed="true"] { padding: 5px 3px 7px; }
/* Dators un mobilais: 3+4+5 un 7+9. Abas rindas aizpilda to pašu platumu; mērogs rindā vienāds, starp rindām pēc iespējas. */
#rh .widths .choice[data-width="3"] { flex: 0 0 calc(310 / 1048 * (100% - 12px - 30px) + 10px); }
#rh .widths .choice[data-width="4"] { flex: 0 0 calc(345 / 1048 * (100% - 12px - 30px) + 10px); }
#rh .widths .choice[data-width="5"] { flex: 0 0 calc(393 / 1048 * (100% - 12px - 30px) + 10px); }
#rh .widths .choice[data-width="7"] { flex: 0 0 calc(494 / 1081 * (100% - 6px - 20px) + 10px); }
#rh .widths .choice[data-width="9"] { flex: 0 0 calc(587 / 1081 * (100% - 6px - 20px) + 10px); }
#rh .arch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; margin: 0; border: 0; }
#rh .covers { grid-template-columns: 1fr; }
#rh .specs, #rh .mont { grid-template-columns: 1fr 1fr; }
#rh .chip { text-align: center; padding: 8px 6px; font-weight: 650; }
#rh .chip b { font-weight: 700; }

#rh label.field, #rh .end-field { display: block; margin-top: 6px; font-weight: 600; font-size: 0.92rem; }
#rh label.field span, #rh .end-field > span { display: block; margin-bottom: 4px; }
#rh .ends { display: flex; flex-wrap: wrap; gap: 6px; align-items: stretch; }
#rh .ends .choice,
#rh #front-choices .choice {
  width: calc((100% - 12px) / 3);
  flex: 0 0 calc((100% - 12px) / 3);
  max-width: calc((100% - 12px) / 3);
  min-width: 0;
  padding: 6px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  box-sizing: border-box;
}
#rh .ends .choice[aria-pressed="true"],
#rh #front-choices .choice[aria-pressed="true"] { padding: 5px 3px 7px; }
#rh .end-well { position: relative; display: block; width: 100%; aspect-ratio: 986 / 776; overflow: hidden; margin: 0; }
#rh .end-arch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; display: block; border: 0; margin: 0; }
#rh .ends .end-caption { display: flex; flex-direction: column; justify-content: flex-start; min-height: 4.6em; margin-top: 4px; }
#rh .ends .end-name { display: block; font-weight: 650; font-size: 0.82rem; line-height: 1.2; }
#rh .ends small { display: block; font-weight: 700; color: var(--green); font-size: 0.8rem; margin-top: 1px; min-height: 1.15em; }
#rh input[type="text"], #rh input[type="email"], #rh input[type="tel"], #rh input[type="number"], #rh select {
  width: 100%;
  border: 1px solid #b7c6ad;
  background: transparent;
  padding: 10px 12px;
  border-radius: var(--r-field);
}
#rh input:focus, #rh select:focus, #rh button:focus-visible {
  outline: 3px solid rgba(245, 225, 0, 0.85);
  outline-offset: 1px;
}
#rh .row2 { display: grid; gap: 8px; }
#rh .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
  font-weight: 600;
}
#rh .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
#rh .err { color: var(--danger); font-size: 0.88rem; min-height: 0; margin-top: 4px; }
#rh .err:empty { display: none; }
#rh .step.is-invalid { box-shadow: none; }
#rh .step.is-invalid h2 { color: var(--danger); }
#rh .stepper { display: flex; align-items: center; gap: 8px; }
#rh .stepper button {
  width: 44px; height: 44px;
  border: 1px solid #b7c6ad;
  background: transparent;
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--r-btn);
}
#rh .stepper output { min-width: 2ch; font-weight: 700; font-size: 1.2rem; text-align: center; }
#rh .price-note { margin-top: 4px; color: var(--green-dark); font-weight: 600; }
#rh .suggest { position: relative; }
#rh .menu {
  position: absolute;
  z-index: 5;
  left: 0; right: 0; top: calc(100% - 2px);
  background: #fff;
  border-radius: var(--r-field);
  overflow: hidden;
  border: 2px solid var(--green);
  max-height: 260px;
  overflow: auto;
  box-shadow: var(--shadow);
}
#rh .menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: #fff; }
#rh .menu button[aria-selected="true"], #rh .menu button:hover { background: #f4f8e4; }
#rh .menu[hidden] { display: none; }
#rh .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

#rh .preview-banner {
  border-radius: var(--r-field);
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: center;
  padding: 6px 10px;
  margin: 0 0 12px;
}

#rh .summary {
  background: #ffffff; /* balts fons — nav kastes/ēnas, bet teksts paliek salasāms virs foto */
  border: 0;
  box-shadow: none;
  padding: 4px 0 8px;
  border-radius: var(--r-img);
}
#rh .totals {
  border-top: 1px solid #b7c6ad;
  padding-top: 6px;
  margin-top: 4px;
}
#rh .summary h2 { color: var(--green-dark); font-size: 1.15rem; margin-bottom: 4px; }
#rh .lines { list-style: none; padding: 0; margin: 0 0 6px; }
#rh .lines li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
#rh .lines li span:first-child { flex: 1 1 12rem; min-width: 0; }
#rh .lines li span:last-child { margin-left: auto; text-align: right; font-weight: 650; white-space: nowrap; }
#rh .lines li.info { color: var(--muted); font-size: 0.86rem; border-bottom: 0; padding-top: 0; }
#rh .was { display: block; color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 0.82rem; }
#rh .totals { margin: 4px 0 8px; }
#rh .totals div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
#rh .totals .grand { font-size: 1.25rem; font-weight: 700; color: var(--green-dark); margin-top: 2px; }
#rh .fine { color: var(--muted); font-size: 0.82rem; }
#rh .model-desc {
  margin: 10px 0 4px;
  padding: 12px 0 8px;
  border: 0;
  border-radius: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
}
#rh .model-desc[hidden] { display: none !important; }
#rh .model-desc h2 {
  display: block;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--green-dark);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
#rh .model-desc h3 {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--green-dark);
  margin: 14px 0 6px;
  font-weight: 650;
}
#rh .model-desc p { margin: 0 0 8px; }
#rh .model-desc ul, #rh .model-desc ol { margin: 0 0 10px; padding-left: 1.2em; }
#rh .model-desc li { margin: 0 0 5px; }
#rh .submit {
  width: 100%;
  margin-top: 8px;
  background: var(--yellow);
  color: var(--ink);
  border: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 15px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  border-radius: var(--r-btn);
}
#rh .submit:disabled { opacity: 0.65; cursor: progress; }
#rh .submit:hover { filter: brightness(0.97); }
#rh a.submit { text-decoration: none; text-align: center; display: block; box-sizing: border-box; color: var(--ink); }
#rh a.submit.phone-cta { display: none; background: var(--green); color: #fff; }
#rh a.submit.phone-cta:hover { color: #fff; filter: brightness(1.08); }

#rh .dock {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  margin: 0;
  height: 59px;
  box-sizing: border-box;
  padding: 6px 8px;
  background: var(--green-dark);
  color: #fff;
  z-index: 4;
  border-radius: 12px 12px 0 0;
}
#rh .dock-prices {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 8px;
  width: 100%;
  min-width: 0;
}
#rh .dock-prices > div { min-width: 0; text-align: center; }
#rh .dock b {
  display: block;
  font-size: 0.88rem;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#rh .dock span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
  line-height: 1.2;
  margin-bottom: 1px;
}

#rh .thanks { display: none; background: #fff; border: 1px solid var(--line); padding: 22px 16px; box-shadow: var(--shadow); border-radius: var(--r-img); }
#rh.done #form, #rh.done .summary, #rh.done .dock { display: none; }
#rh.done .side { position: static; max-height: none; overflow: visible; }
#rh.done .stage { max-width: 520px; margin: 0 auto 16px; }
#rh.done .thanks { display: block; }
#rh .thanks h2 { color: var(--green-dark); font-size: 1.6rem; margin: 8px 0; }
#rh .mark {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--yellow); color: var(--green-dark); font-weight: 700; font-size: 1.4rem;
  border-radius: 50%;
}
#rh .recap { white-space: pre-wrap; background: var(--paper); padding: 12px; margin: 14px 0; font-size: 0.95rem; border-radius: var(--r-field); }
#rh .warn { background: #fff6d8; border: 1px solid #e6d48a; padding: 10px 12px; margin-top: 8px; border-radius: var(--r-field); }

@media (min-width: 720px) {
  #rh { padding: 12px 0 24px; }
  #rh h1 { font-size: 1.7rem; }
  #rh .covers { grid-template-columns: 1fr 1fr; }
  #rh .row2 { grid-template-columns: 1fr 1fr; }
  #rh .layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.85fr);
    grid-template-rows: auto 1fr auto;
    gap: 12px 12px;
    align-items: start;
    margin-top: 0;
  }
  #rh .top { grid-column: 1; grid-row: 1; }
  #rh .layout > form { grid-column: 1; grid-row: 2; min-width: 0; }
  #rh .model-desc { grid-column: 1; grid-row: 3; }
  #rh .side {
    grid-column: 2;
    grid-row: 1 / span 3;
    position: sticky;
    top: 12px;
    align-self: start;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100vh - 24px);
    overflow: auto;
    z-index: 2;
    background: #ffffff;
  }
  #rh .summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
  #rh .stage { flex: 0 0 auto; }
  #rh .dock { display: none; }
  #rh .top .phone { display: none; }
  #rh a.submit.phone-cta { display: block; }
}

@media (max-width: 719px) {
  #rh .layout { display: flex; flex-direction: column; }
  #rh .top { order: -2; }
  #rh .top .phone { display: none; }
  #rh .side { display: contents; }
  #rh .stage { order: -1; margin: 0 0 8px; }
  #rh .model-desc { order: 10; }
  #rh a.submit.phone-cta { display: none; }
  #rh { padding-bottom: 72px; }
  #rh .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 30;
  }
  #rh.embed-mobile { padding-bottom: 20px; }
  #rh.embed-mobile .dock { display: none !important; }
  #rh .choice, #rh .chip, #rh .submit, #rh input, #rh select { scroll-margin: 80px; }
}

/* ---- Iebūvētā (native) versija mājas lapā ---- */
#rh-forma-wrap{background:#fff}
#rh .dock{transition:bottom .15s}
.rh-seo{box-sizing:border-box;font-family:Rubik,"Segoe UI",sans-serif;color:#1b1b1b;background:#fff;padding:8px 0 28px}
.rh-seo>h2{font-size:1.15rem;color:#163214;margin:8px 0 10px}
.rh-seo details{border-top:1px solid #d5dece;padding:0}
.rh-seo details:last-of-type{border-bottom:1px solid #d5dece}
.rh-seo summary{cursor:pointer;padding:12px 2px;font-weight:600;color:#163214;list-style:none}
.rh-seo summary::-webkit-details-marker{display:none}
.rh-seo summary:after{content:"+";float:right;font-weight:400}
.rh-seo details[open] summary:after{content:"–"}
.rh-seo .d{padding:0 2px 14px;line-height:1.45;font-size:.95rem}
.rh-seo .d h2{font-size:1.05rem;margin:6px 0} .rh-seo .d h3{font-size:.98rem;margin:10px 0 4px} .rh-seo .d ul{padding-left:20px}

/* ML-20: no step numbers, no H1 tagline, caption on top of hero */
#rh .num{display:none!important}
#rh .brand p{display:none!important}

/* ML-20: montāžas izvēlnes summas un vēdlogu cenas skaidrojums nav redzami */
#vent-price, #rh .price-note { display: none !important; }
#montage-choices .choice small { display: none !important; }


/* ML-21: variant photo carousel (scroll-snap, no library). Desktop: carousel + 3 thumbnails; mobile: carousel + dots. */
#rh .stage.has-car { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
#rh .stage.has-car > #photo { display: none; }
#rh .stage.has-car .caption { border-radius: var(--r-img) var(--r-img) 0 0; z-index: 3; }
#rh .rh-car-view { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #c5d4c0; border-radius: var(--r-img); outline-offset: 2px; }
#rh .rh-car-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
#rh .rh-car-track::-webkit-scrollbar { display: none; }
#rh .rh-car-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; }
#rh .stage .rh-car-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#rh .rh-car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.42); color: rgba(32,51,28,.72); box-shadow: none; cursor: pointer; display: grid; place-items: center; }
#rh .rh-car-arrow svg { width: 16px; height: 16px; display: block; }
#rh .rh-car-arrow:hover, #rh .rh-car-arrow:focus-visible { background: rgba(255,255,255,.72); color: #20331c; outline: none; }
#rh .rh-car-prev { left: 8px; }
#rh .rh-car-next { right: 8px; }
#rh .rh-car-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: none; justify-content: center; gap: 6px; padding: 0 12px; pointer-events: none; }
#rh .rh-car-dots button { pointer-events: auto; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 3px rgba(0,0,0,.5); cursor: pointer; }
#rh .rh-car-dots button[aria-current="true"] { background: #fff; transform: scale(1.35); }
#rh .rh-car-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
#rh .rh-car-thumb { position: relative; padding: 0; border: 0; background: #c5d4c0; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; opacity: .78; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .15s; }
#rh .rh-car-thumb[hidden] { display: block; visibility: hidden; }
#rh .rh-car-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#rh .rh-car-thumb:hover { opacity: 1; }
#rh .rh-car-thumb[aria-current="true"] { opacity: 1; outline-color: var(--green); box-shadow: inset 0 0 0 2px #fff; }
#rh .rh-car-single .rh-car-arrow, #rh .rh-car-single .rh-car-dots, #rh .rh-car-single .rh-car-thumbs { display: none; }
@media (min-width: 720px) {
  /* desktop: 1:1 frame fills the whole side column (no height cap, no side gaps).
     Caption/gradient sit on the image only. Sticky is off so the tall square can scroll. */
  #rh:has(.stage.has-car) .side {
    position: static;
    max-height: none;
    overflow: visible;
  }
  #rh .rh-car { width: 100%; margin-inline: 0; }
  #rh .rh-car-view { aspect-ratio: 1 / 1; width: 100%; }
  #rh .stage .rh-car-slide img { object-fit: contain; background: #c5d4c0; }
  #rh .rh-car-thumbs { width: 100%; }
  #rh .rh-car-thumb { aspect-ratio: 16 / 10; }
}
@media (max-width: 719px) {
  #rh .rh-car-thumbs { display: none; }
  #rh .rh-car-dots { display: flex; }
  #rh .rh-car-single .rh-car-dots { display: none; }
  #rh .rh-car-arrow { width: 26px; height: 26px; }
  #rh .stage.has-car { margin: 0 0 8px; }
}
@media (prefers-reduced-motion: reduce) { #rh .rh-car-track { scroll-behavior: auto; } }


/* ML-22c: covering cards full width, stacked; title + options on one row (mobile and desktop). */
#rh #cover-choices { grid-template-columns: 1fr; align-items: stretch; }
#rh .cover-cell {
  border: 1px solid #b7c6ad;
  border-radius: var(--r-btn);
  padding: 6px 8px 5px;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  box-sizing: border-box;
  background: transparent;
}
#rh .cover-cell.is-on {
  border-color: var(--green);
  border-width: 2px;
  padding: 5px 7px 4px;
  background: rgba(35, 76, 31, 0.08);
}
#rh .cover-cell .choice,
#rh .cover-cell .choice[aria-pressed="true"] {
  border: 0;
  background: transparent;
  padding: 0;
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 46%;
  text-align: left;
}
#rh .cover-cell:not(.has-spec) .choice,
#rh .cover-cell:not(.has-spec) .choice[aria-pressed="true"] {
  max-width: none;
  flex: 1 1 auto;
}
#rh .cover-cell .choice b {
  font-size: 0.92rem;
  white-space: nowrap;
}
#rh .cover-cell .choice small {
  font-size: 0.68rem;
  margin-top: 1px;
  white-space: nowrap;
}
#rh .cover-spec {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
#rh .cover-spec .chip {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  text-align: center;
  padding: 4px 3px;
  background: #fff;
  font-size: 0.78rem;
}
#rh .cover-spec .chip b { font-size: 0.78rem; font-weight: 700; }
#rh .cover-spec .chip[aria-pressed="true"] { padding: 3px 2px; background: #fff; }
#rh #step-spec { display: none !important; }

#rh .lengths {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  grid-template-columns: none;
}
#rh .lengths .chip {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  text-align: center;
  padding: 6px 2px;
}
#rh .lengths .chip b { font-size: 0.95rem; font-weight: 700; }
#rh .lengths .chip[aria-pressed="true"] { padding: 5px 1px; }
@media (min-width: 720px) {
  #rh .cover-cell { padding: 8px 10px 7px; gap: 8px 12px; }
  #rh .cover-cell.is-on { padding: 7px 9px 6px; }
  #rh .cover-cell .choice b { font-size: 1.15rem; }
  #rh .cover-cell .choice small { font-size: 0.78rem; }
  #rh .cover-spec { gap: 5px; }
  #rh .cover-spec .chip { padding: 5px 8px; font-size: 0.88rem; }
  #rh .cover-spec .chip b { font-size: 0.88rem; }
  #rh .cover-spec .chip[aria-pressed="true"] { padding: 4px 7px; }
  #rh .lengths .chip { padding: 7px 4px; }
  #rh .lengths .chip b { font-size: 1rem; }
}
