:root {
  --gd-ink: #17202a;
  --gd-muted: #667085;
  --gd-line: #d9dee7;
  --gd-soft: #f4f6f8;
  --gd-panel: #ffffff;
  --gd-accent: #cf3f2e;
  --gd-accent-strong: #a92f22;
  --gd-blue: #1f5f85;
  --gd-green: #277457;
  --gd-danger: #b42318;
  --gd-focus: rgba(31, 95, 133, 0.24);
  --gd-shadow: 0 20px 55px rgba(25, 35, 45, 0.12);
  --gd-radius: 8px;
  --gd-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--gd-ink);
  background: #eef1f5;
  font-family: var(--gd-font);
  max-width: 100%;
  overflow-x: clip;
}

body.gd-modal-open {
  overflow: hidden;
}

.gd-demo-page {
  min-height: 100vh;
  padding: 28px;
}

.gd-configurator {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: var(--gd-panel);
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  box-shadow: var(--gd-shadow);
}

.gd-sticky-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: hidden;
  border-radius: var(--gd-radius) var(--gd-radius) 0 0;
  background: var(--gd-panel);
  box-shadow: 0 8px 18px rgba(23, 32, 42, 0.1);
}

.gd-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--gd-line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.gd-kicker {
  margin: 0 0 6px;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gd-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

.gd-total {
  min-width: 230px;
  padding: 14px 16px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #ffffff;
  text-align: right;
}

.gd-total-row {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px;
  align-items: baseline;
}

.gd-total-row + .gd-total-row {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--gd-line);
}

.gd-total-alert {
  border-color: rgba(180, 35, 24, 0.25);
  background: #fff7f5;
}

.gd-total-label {
  display: block;
  color: var(--gd-muted);
  font-size: 13px;
}

.gd-total-value {
  display: block;
  color: var(--gd-accent-strong);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.gd-total-net {
  color: var(--gd-ink);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.gd-total-alert .gd-total-value {
  color: var(--gd-danger);
  white-space: normal;
}

.gd-total-note {
  display: block;
  margin-top: 6px;
  color: var(--gd-muted);
  font-size: 12px;
}

.gd-mobile-price-dock {
  display: none;
}

.gd-body {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(360px, 1.04fr);
  gap: 0;
  min-width: 0;
}

.gd-body-type {
  grid-template-columns: 1fr;
}

.gd-body-wide {
  grid-template-columns: 1fr;
}

.gd-body-wide .gd-controls {
  padding: 34px 38px 30px;
}

.gd-stepper {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-bottom: 1px solid var(--gd-line);
  background: #eef0f2;
}

.gd-step {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-right: 1px solid #fff;
  background: transparent;
  color: #5d6670;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.gd-step:last-child {
  border-right: 0;
}

.gd-step-active {
  background: var(--gd-accent);
  color: #fff;
}

.gd-step:disabled,
.gd-step.gd-step-disabled {
  background: #e4e7ea;
  color: #9aa2aa;
  cursor: not-allowed;
  opacity: 1;
}

.gd-step-section-disabled {
  color: #8a929a;
  background: #f5f6f7;
}

.gd-step-number {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.gd-preview-panel {
  position: sticky;
  top: var(--gd-sticky-header-height, 150px);
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 610px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.55) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(255,255,255,0.55) 1px, transparent 1px) 0 0 / 44px 44px,
    #dfe7ed;
  border-right: 1px solid var(--gd-line);
}

.gd-garage-wrap {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.gd-measure-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
}

.gd-measure-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 6px;
  background: #fff;
}

.gd-dynamic-preview {
  display: grid;
  width: 100%;
  min-width: 0;
  place-items: center;
}

.gd-opening-preview-toolbar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--gd-blue);
}

.gd-opening-preview-toolbar strong {
  font-size: 15px;
}

.gd-opening-preview-toolbar span {
  color: var(--gd-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.gd-opening-preview {
  display: grid;
  width: 100%;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
}

.gd-opening-preview-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 470px;
  overflow: visible;
}

.gd-opening-room-surface {
  fill: url(#gd-opening-depth);
  stroke: #aab6bf;
  stroke-width: 1.4;
}

.gd-opening-room-ceiling {
  fill: #f2f5f7;
  stroke: #aab6bf;
  stroke-width: 1.4;
}

.gd-opening-room-floor {
  fill: url(#gd-opening-floor);
  stroke: #aab6bf;
  stroke-width: 1.4;
}

.gd-opening-back-wall {
  fill: url(#gd-opening-back-wall);
  stroke: #8796a1;
  stroke-width: 1.8;
}

.gd-opening-aperture {
  fill: #fbfdfe;
  stroke: #26343e;
  stroke-width: 3;
  filter: drop-shadow(0 5px 7px rgba(23, 32, 42, 0.14));
}

.gd-opening-reveal {
  fill: #c8d1d7;
  stroke: #92a0aa;
  stroke-width: 1;
}

.gd-opening-reveal-top {
  fill: #e4e9ed;
}

.gd-opening-floor-grid {
  fill: none;
  stroke: rgba(83, 105, 120, 0.27);
  stroke-width: 1;
}

.gd-opening-dimension {
  color: #183f59;
  fill: currentColor;
  font-family: var(--gd-font);
  font-weight: 800;
  pointer-events: none;
}

.gd-opening-dimension line {
  stroke: currentColor;
  marker-start: url(#gd-opening-arrow);
  marker-end: url(#gd-opening-arrow);
}

.gd-opening-dimension text {
  paint-order: stroke;
  stroke: rgba(251, 253, 254, 0.96);
  stroke-width: 6px;
  stroke-linejoin: round;
}

.gd-opening-dimension-primary {
  font-size: 16px;
}

.gd-opening-dimension-primary line {
  stroke-width: 2.2;
}

.gd-opening-dimension-secondary {
  color: #1f5f85;
  font-size: 12px;
}

.gd-opening-dimension-secondary line {
  stroke-width: 1.55;
}

.gd-technical-preview {
  display: grid;
  width: 100%;
  min-height: 430px;
  place-items: center;
  padding: 38px 54px 58px 66px;
}

.gd-technical-preview-pass-door {
  padding-bottom: 86px;
}

.gd-pdf-capture-stage {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 620px;
  pointer-events: none;
}

.gd-pdf-capture-stage .gd-technical-preview {
  width: 620px;
  min-height: 430px;
  padding: 38px 54px 58px 66px;
  background: #dfe7ed;
}

.gd-pdf-capture-stage .gd-technical-preview-pass-door {
  padding-bottom: 86px;
}

.gd-pdf-capture-stage .gd-pass-door-swing {
  filter: none;
}

.gd-pdf-capture-stage .gd-pass-door-swing-path,
.gd-pdf-capture-stage .gd-pass-door-swing-arrow {
  stroke-width: 0.34;
}

.gd-door-diagram {
  position: relative;
  width: min(100%, var(--diagram-width));
  max-width: 100%;
  flex: 0 0 auto;
}

.gd-door-diagram > .gd-door {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #303940;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.52),
    0 0 0 6px rgba(48, 57, 64, 0.3);
}

.gd-panel-dimensions {
  position: absolute;
  top: 0;
  right: calc(100% + 11px);
  bottom: var(--bottom-seal-height);
  display: flex;
  width: 48px;
  flex-direction: column;
  color: #17202a;
  pointer-events: none;
}

.gd-panel-dimensions > span {
  position: relative;
  display: flex;
  flex: var(--panel-flex, 1) 1 0;
  min-height: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  border-bottom: 1px solid rgba(31, 95, 133, 0.28);
  font-size: 11px;
  line-height: 1;
}

.gd-panel-dimensions > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 4px);
  width: 7px;
  border-top: 1px solid #1f5f85;
}

.gd-panel-dimensions small,
.gd-seal-dimension small,
.gd-opening-height-dimension small,
.gd-opening-width-dimension small {
  font-size: 9px;
  font-weight: 700;
}

.gd-seal-dimension {
  position: absolute;
  top: calc(100% - var(--bottom-seal-height));
  right: calc(100% + 11px);
  bottom: 0;
  display: flex;
  width: 48px;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: #17202a;
  font-size: 11px;
  line-height: 1;
}

.gd-opening-height-dimension {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% + 21px);
  display: flex;
  width: 36px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #17202a;
  font-size: 13px;
  line-height: 1;
  writing-mode: vertical-rl;
}

.gd-opening-height-dimension::before,
.gd-opening-width-dimension::before {
  content: "";
  position: absolute;
  background: #17202a;
}

.gd-opening-height-dimension::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.gd-opening-width-dimension {
  position: absolute;
  top: calc(100% + 22px);
  right: 0;
  left: 0;
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #17202a;
  font-size: 13px;
  line-height: 1;
}

.gd-door-diagram-pass-door .gd-opening-width-dimension {
  top: calc(100% + 45px);
}

.gd-opening-width-dimension::before {
  right: 0;
  left: 0;
  height: 1px;
}

.gd-opening-height-dimension strong,
.gd-opening-height-dimension small,
.gd-opening-width-dimension strong,
.gd-opening-width-dimension small {
  position: relative;
  z-index: 1;
  padding: 2px;
  background: #dfe7ed;
}

.gd-garage-scene {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1.22 / 1;
}

.gd-wall {
  position: absolute;
  inset: 0 0 10%;
  border: 1px solid rgba(23, 32, 42, 0.14);
  background: linear-gradient(180deg, #e9edf1, #cfd8df);
}

.gd-door-opening {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10%;
  height: 72%;
  padding: 2.5%;
  background: #2c3239;
  box-shadow: inset 0 0 0 8px rgba(0, 0, 0, 0.16);
}

.gd-door {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: solid rgba(0, 0, 0, 0.28);
  border-width: 1px 2px;
  background: var(--door-color, #f2f3f1);
  transition: background-color 160ms ease;
}

.gd-door[data-view="inside"] {
  transform: scaleX(-1);
}

.gd-door[data-glazing="panels"] {
  border-width: 1px 4px;
}

.gd-door-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gd-panel-pattern {
  position: absolute;
  inset: 0 0 var(--bottom-seal-height, 0);
  z-index: 1;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.gd-generated-panel {
  position: relative;
  display: flex;
  flex: var(--panel-flex, 1) 1 0;
  min-height: 0;
  flex-direction: column;
  justify-content: space-evenly;
  border-bottom: 1px solid rgba(18, 24, 29, 0.48);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.46),
    inset 0 -1px rgba(0, 0, 0, 0.08);
}

.gd-generated-panel:last-child {
  border-bottom: 0;
}

.gd-panel-groove {
  display: block;
  width: 100%;
  height: 1px;
  flex: 0 0 1px;
  background: rgba(34, 39, 43, 0.25);
  box-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

.gd-panel-pattern[data-design="m-line"] .gd-panel-groove,
.gd-pass-door-panel-continuation[data-design="m-line"] .gd-panel-groove,
.gd-generated-design-thumb[data-design="m-line"] .gd-panel-groove {
  height: 2px;
  flex-basis: 2px;
  background: linear-gradient(180deg, rgba(24, 29, 33, 0.28), rgba(255, 255, 255, 0.34));
}

.gd-panel-pattern[data-design="d-line"] .gd-panel-groove,
.gd-pass-door-panel-continuation[data-design="d-line"] .gd-panel-groove,
.gd-generated-design-thumb[data-design="d-line"] .gd-panel-groove {
  background: rgba(34, 39, 43, 0.2);
}

.gd-panel-pattern[data-design="s-line"] .gd-panel-groove,
.gd-pass-door-panel-continuation[data-design="s-line"] .gd-panel-groove,
.gd-generated-design-thumb[data-design="s-line"] .gd-panel-groove {
  background: linear-gradient(180deg, rgba(28, 34, 39, 0.24), rgba(255, 255, 255, 0.34));
}

.gd-panel-pattern[data-design="microwave"] .gd-generated-panel,
.gd-pass-door-panel-continuation[data-design="microwave"] .gd-generated-panel,
.gd-generated-design-thumb[data-design="microwave"] .gd-generated-panel {
  justify-content: space-around;
}

.gd-panel-pattern[data-design="microwave"] .gd-panel-groove,
.gd-pass-door-panel-continuation[data-design="microwave"] .gd-panel-groove,
.gd-generated-design-thumb[data-design="microwave"] .gd-panel-groove {
  height: 2px;
  flex-basis: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(34, 40, 46, 0.34));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.34), 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.gd-pass-door-preview {
  --pass-side-profile-x: 2%;
  --pass-top-profile-y: 1%;
  --pass-bottom-profile-y: 1.6%;
  position: absolute;
  z-index: 5;
  bottom: calc(var(--bottom-seal-height, 0%) + var(--pass-threshold-height, 0%));
  overflow: hidden;
  width: var(--pass-door-width, 27%);
  height: var(--pass-door-height, 88%);
  background: var(--door-color, #f2f3f1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.gd-pass-door-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gd-pass-door-preview[data-position="left"] {
  left: 8%;
}

.gd-pass-door-preview[data-position="center"] {
  left: 50%;
  transform: translateX(-50%);
}

.gd-pass-door-preview[data-position="right"] {
  right: 8%;
}

.gd-pass-door-shared-profile {
  position: absolute;
  z-index: 3;
  bottom: calc(var(--bottom-seal-height, 0%) + var(--pass-threshold-height, 0%));
  width: var(--pass-door-width, 27%);
  height: var(--pass-door-height, 88%);
  pointer-events: none;
}

.gd-pass-door-shared-profile[data-position="left"] {
  left: 8%;
}

.gd-pass-door-shared-profile[data-position="center"] {
  left: 50%;
  transform: translateX(-50%);
}

.gd-pass-door-shared-profile[data-position="right"] {
  right: 8%;
}

.gd-pass-door-shared-profile > i {
  position: absolute;
  display: block;
  background: var(--pass-profile, #a8aaa7);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.34), 0 0 1px rgba(0, 0, 0, 0.28);
}

.gd-pass-door-shared-profile > i[data-side="glazed-left"],
.gd-pass-door-shared-profile > i[data-side="glazed-right"] {
  top: var(--pass-segment-top, 0%);
  width: var(--pass-shared-full-x);
  height: var(--pass-segment-height, 0%);
}

.gd-pass-door-shared-profile > i[data-side="glazed-left"] {
  left: calc(0% - var(--pass-shared-half-x));
}

.gd-pass-door-shared-profile > i[data-side="glazed-right"] {
  right: calc(0% - var(--pass-shared-half-x));
}

.gd-pass-door-shared-profile > i[data-side="upper-left"],
.gd-pass-door-shared-profile > i[data-side="upper-right"] {
  top: var(--pass-upper-top, 0%);
  bottom: auto;
  width: var(--pass-upper-profile-x);
  height: var(--pass-upper-height, 0%);
}

.gd-pass-door-shared-profile > i[data-side="upper-left"] {
  left: calc(0% - var(--pass-upper-profile-x));
}

.gd-pass-door-shared-profile > i[data-side="upper-right"] {
  right: calc(0% - var(--pass-upper-profile-x));
}

.gd-pass-door-shared-profile > i[data-side="top"],
.gd-pass-door-shared-profile > i[data-side="bottom"] {
  right: calc(0% - var(--pass-shared-half-x));
  left: calc(0% - var(--pass-shared-half-x));
  height: var(--pass-shared-full-y);
}

.gd-pass-door-shared-profile > i[data-side="top"] {
  top: calc(0% - var(--pass-shared-half-y));
}

.gd-pass-door-shared-profile > i[data-side="bottom"] {
  bottom: calc(0% - var(--pass-shared-half-y));
}

.gd-pass-door-leaf {
  position: absolute;
  z-index: 6;
  inset: 0;
  background:
    linear-gradient(var(--pass-profile, #a8aaa7), var(--pass-profile, #a8aaa7)) left top / var(--pass-side-profile-x) 100% no-repeat,
    linear-gradient(var(--pass-profile, #a8aaa7), var(--pass-profile, #a8aaa7)) right top / var(--pass-side-profile-x) 100% no-repeat,
    linear-gradient(var(--pass-profile, #a8aaa7), var(--pass-profile, #a8aaa7)) left top / 100% var(--pass-top-profile-y) no-repeat,
    linear-gradient(var(--pass-profile, #a8aaa7), var(--pass-profile, #a8aaa7)) left bottom / 100% var(--pass-bottom-profile-y) no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.gd-pass-door-wide-profile {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.gd-pass-door-wide-profile > i {
  position: absolute;
  display: block;
  background: var(--pass-profile, #a8aaa7);
}

.gd-pass-door-wide-profile > i[data-side="left"],
.gd-pass-door-wide-profile > i[data-side="right"] {
  top: var(--pass-segment-top, 0%);
  width: var(--pass-wide-side-profile-x, 8.556%);
  height: var(--pass-segment-height, 0%);
}

.gd-pass-door-wide-profile > i[data-side="left"] {
  left: 0;
}

.gd-pass-door-wide-profile > i[data-side="right"] {
  right: 0;
}

.gd-pass-door-wide-profile > i[data-side="top"],
.gd-pass-door-wide-profile > i[data-side="bottom"] {
  right: 0;
  left: 0;
  height: var(--pass-wide-horizontal-profile-y, 3.889%);
}

.gd-pass-door-wide-profile > i[data-side="top"] {
  top: 0;
}

.gd-pass-door-wide-profile > i[data-side="bottom"] {
  bottom: 0;
}

.gd-pass-door-panel-continuation,
.gd-pass-door-glazing {
  position: absolute;
  right: 0;
  bottom: calc(0% - var(--pass-threshold-local, 0%));
  left: 0;
  display: flex;
  height: var(--pass-grid-height, 113.64%);
  flex-direction: column;
  pointer-events: none;
}

.gd-pass-door-panel-continuation {
  z-index: 1;
}

.gd-pass-door-glazing {
  z-index: 2;
}

.gd-pass-door-crossbars {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.gd-pass-door-crossbar {
  box-sizing: border-box;
  position: absolute;
  top: var(--joint-top);
  right: 0;
  left: 0;
  display: block;
  height: var(--joint-height);
  border-bottom: 2px solid rgba(22, 28, 33, 0.48);
  background: var(--glazing-profile, #a8aaa7);
  box-shadow: none;
}

.gd-pass-door-hinges {
  position: absolute;
  z-index: 8;
  top: 14%;
  bottom: 14%;
  width: 1.4%;
  background: repeating-linear-gradient(180deg, #30363b 0 2.5%, transparent 2.5% 14%);
}

.gd-pass-door-preview[data-hinges="left"] .gd-pass-door-hinges {
  left: 0;
}

.gd-pass-door-preview[data-hinges="right"] .gd-pass-door-hinges {
  right: 0;
}

.gd-pass-door-swing {
  position: absolute;
  z-index: 9;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: #17202a;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.82));
  pointer-events: none;
}

.gd-pass-door-swing[data-view="inside"] {
  transform: scaleX(-1);
  transform-origin: center;
}

.gd-pass-door-swing-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.65;
  stroke-dasharray: 1.8 1.3;
  stroke-linecap: round;
}

.gd-pass-door-swing-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gd-pass-door-handle,
.gd-pass-door-cylinder {
  position: absolute;
  z-index: 8;
  display: block;
  background: #30363b;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.52);
}

.gd-pass-door-handle {
  top: var(--pass-handle-top, 55%);
  width: 18%;
  height: 3.333%;
  background: transparent;
  box-shadow: none;
}

.gd-pass-door-handle::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28%;
  height: 100%;
  border: 1px solid #858b8d;
  border-radius: 42%;
  background: linear-gradient(90deg, #d5d8d7, #f5f6f4 48%, #a4a9a9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.gd-pass-door-handle::after {
  content: "";
  position: absolute;
  top: 38%;
  width: 80%;
  height: 25%;
  border: 1px solid #7c8285;
  border-radius: 28% / 80%;
  background: linear-gradient(180deg, #f1f2f1 0%, #b9bdbd 45%, #858b8d 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.85);
}

.gd-pass-door-cylinder {
  top: var(--pass-cylinder-top, 62%);
  width: 4%;
  height: 2.667%;
  border: 1px solid #8a8f90;
  border-radius: 34%;
  background: linear-gradient(90deg, #c7cbca, #f5f5f1 52%, #a3a8a7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.gd-pass-door-cylinder::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  width: 22%;
  height: 48%;
  border-radius: 1px;
  background: #b79d35;
  box-shadow: 0 0 0 1px rgba(88, 73, 19, 0.2);
  transform: translateX(-50%);
}

.gd-pass-door-preview[data-hinges="left"] .gd-pass-door-handle {
  right: 1.75%;
}

.gd-pass-door-preview[data-hinges="left"] .gd-pass-door-handle::before {
  right: 0;
}

.gd-pass-door-preview[data-hinges="left"] .gd-pass-door-handle::after {
  right: 20%;
}

.gd-pass-door-preview[data-hinges="left"] .gd-pass-door-cylinder {
  right: 2.25%;
}

.gd-pass-door-preview[data-hinges="right"] .gd-pass-door-handle {
  left: 1.75%;
}

.gd-pass-door-preview[data-hinges="right"] .gd-pass-door-handle::before {
  left: 0;
}

.gd-pass-door-preview[data-hinges="right"] .gd-pass-door-handle::after {
  left: 20%;
}

.gd-pass-door-preview[data-hinges="right"] .gd-pass-door-cylinder {
  left: 2.25%;
}

.gd-glazing-preview {
  position: absolute;
  inset: 0 0 var(--bottom-seal-height, 0);
  z-index: 2;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.gd-glazing-drag-overlay {
  position: absolute;
  inset: 0 0 var(--bottom-seal-height, 0);
  z-index: 14;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.gd-glazing-drag-row {
  position: relative;
  flex: var(--panel-flex, 1) 1 0;
  min-height: 0;
}

.gd-glazing-drag-row-active {
  pointer-events: auto;
  cursor: ns-resize;
  touch-action: none;
}

.gd-glazing-drag-row-active::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.gd-glazing-drag-row-active:hover::after,
.gd-glazing-drag-row-active:focus-visible::after,
.gd-glazing-drag-row-dragging::after {
  border-color: rgba(24, 113, 166, 0.88);
  background: rgba(44, 139, 196, 0.14);
}

.gd-glazing-drag-target::after {
  border-color: rgba(24, 113, 166, 0.98);
  background: rgba(44, 139, 196, 0.2);
}

.gd-glazing-row-dragging {
  z-index: 3;
  box-shadow: 0 5px 16px rgba(17, 72, 105, 0.28);
  transition: transform 90ms ease-out;
  will-change: transform;
}

.gd-glazing-joints {
  position: absolute;
  inset: 0 0 var(--bottom-seal-height, 0);
  z-index: 4;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.gd-glazing-joint-row {
  position: relative;
  flex: var(--panel-flex, 1) 1 0;
  min-height: 0;
}

.gd-glazing-joint-row-active::before,
.gd-glazing-joint-row-active::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  height: 8px;
  border: 0;
  background: var(--glazing-profile, #a8aaa7);
  box-shadow: none;
}

.gd-glazing-joint-row-active::before {
  top: 0;
  height: 6.12px;
}

.gd-glazing-joint-row-active::after {
  bottom: 0;
  height: 10.88px;
  border-bottom: 2px solid rgba(22, 28, 33, 0.48);
}

.gd-glazing-row {
  position: relative;
  display: flex;
  flex: var(--panel-flex, 1) 1 0;
  min-height: 0;
  gap: 4px;
  padding: 4px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.32);
}

.gd-glazing-row:last-child {
  border-bottom: 0;
}

.gd-glazing-row-active {
  background: var(--glazing-profile, #a8aaa7);
}

.gd-glazing-pane {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--glazing-profile, #a8aaa7);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, #d9f1fb 0%, #afd7e9 100%);
  box-shadow: none;
}

.gd-glazing-row-segmented .gd-glazing-pane {
  position: absolute;
  top: 6.12px;
  bottom: 10.88px;
  left: calc(var(--pane-left, 0%) + var(--pane-inset-left, 2px));
  width: max(1px, calc(var(--pane-width, 100%) - var(--pane-inset-left, 2px) - var(--pane-inset-right, 2px)));
  min-width: 0;
}

.gd-window-preview {
  position: absolute;
  inset: 0 0 var(--bottom-seal-height, 0);
  z-index: 12;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.gd-window-preview-row {
  position: relative;
  display: block;
  flex: var(--panel-flex, 1) 1 0;
  min-height: 0;
}

.gd-window-pane {
  position: absolute;
  top: 50%;
  left: var(--window-left, 10%);
  width: var(--window-width, 20%);
  height: var(--window-height, 60%);
  background: var(--window-frame, #171a1c);
  box-shadow: 0 0 0 1px rgba(17, 25, 30, 0.28);
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  transition: filter 140ms ease, box-shadow 140ms ease, outline-color 140ms ease;
}

.gd-window-pane:hover,
.gd-window-pane:focus-visible,
.gd-window-pane-dragging {
  z-index: 2;
  outline: 2px solid rgba(31, 95, 133, 0.78);
  outline-offset: 3px;
  box-shadow: 0 4px 14px rgba(17, 38, 49, 0.25);
  filter: saturate(1.08);
}

.gd-window-pane-dragging {
  cursor: grabbing;
}

.gd-window-pane::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: rgba(44, 139, 196, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.gd-window-pane-selected {
  z-index: 2;
  outline: 3px solid rgba(24, 113, 166, 0.9);
  outline-offset: 3px;
  box-shadow: 0 5px 16px rgba(17, 72, 105, 0.3);
}

.gd-window-pane-selected::after {
  opacity: 1;
}

.gd-window-pane-remove {
  position: absolute;
  z-index: 6;
  top: -11px;
  right: -11px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #c52c20;
  color: #fff;
  box-shadow: 0 2px 7px rgba(56, 20, 16, 0.3);
  font: 800 17px/1 Arial, sans-serif;
  cursor: pointer;
}

.gd-window-pane-selected .gd-window-pane-remove {
  display: flex;
}

.gd-window-pane-remove:hover,
.gd-window-pane-remove:focus-visible {
  background: #a91f16;
  outline: 2px solid rgba(197, 44, 32, 0.35);
  outline-offset: 2px;
}

.gd-window-pane-tooltip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 110px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #123f59;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.gd-window-pane:hover .gd-window-pane-tooltip,
.gd-window-pane:focus-visible .gd-window-pane-tooltip,
.gd-window-pane-dragging .gd-window-pane-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gd-door[data-view="inside"] .gd-window-pane-tooltip {
  transform: translate(-50%, 4px) scaleX(-1);
}

.gd-door[data-view="inside"] .gd-window-pane:hover .gd-window-pane-tooltip,
.gd-door[data-view="inside"] .gd-window-pane:focus-visible .gd-window-pane-tooltip,
.gd-door[data-view="inside"] .gd-window-pane-dragging .gd-window-pane-tooltip {
  transform: translate(-50%, 0) scaleX(-1);
}

.gd-window-preview-row:first-child .gd-window-pane-tooltip {
  top: calc(100% + 9px);
  bottom: auto;
  transform: translate(-50%, -4px);
}

.gd-window-preview-row:first-child .gd-window-pane:hover .gd-window-pane-tooltip,
.gd-window-preview-row:first-child .gd-window-pane:focus-visible .gd-window-pane-tooltip,
.gd-window-preview-row:first-child .gd-window-pane-dragging .gd-window-pane-tooltip {
  transform: translate(-50%, 0);
}

.gd-door[data-view="inside"] .gd-window-preview-row:first-child .gd-window-pane-tooltip {
  transform: translate(-50%, -4px) scaleX(-1);
}

.gd-door[data-view="inside"] .gd-window-preview-row:first-child .gd-window-pane:hover .gd-window-pane-tooltip,
.gd-door[data-view="inside"] .gd-window-preview-row:first-child .gd-window-pane:focus-visible .gd-window-pane-tooltip,
.gd-door[data-view="inside"] .gd-window-preview-row:first-child .gd-window-pane-dragging .gd-window-pane-tooltip {
  transform: translate(-50%, 0) scaleX(-1);
}

.gd-window-pane::before {
  content: "";
  position: absolute;
  inset: 8% 5%;
  border: 1px solid rgba(25, 58, 72, 0.4);
  background: linear-gradient(135deg, rgba(239, 251, 255, 0.95), rgba(174, 217, 235, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.gd-window-pane-round,
.gd-window-pane-round::before {
  border-radius: 50%;
}

.gd-window-pane-rounded,
.gd-window-pane-rounded::before {
  border-radius: 8% / 14%;
}

.gd-bottom-seal {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--bottom-seal-height, 0);
  min-height: 3px;
  background: #15191c;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.gd-door::before,
.gd-door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gd-door::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.22), transparent 28%, rgba(0,0,0,0.16));
}

.gd-door::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 26%, rgba(0,0,0,0.1)),
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 55%, rgba(0,0,0,0.05));
}

.gd-surface-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.gd-door[data-surface="woodgrain"]::before,
.gd-door[data-surface="stucco"]::before,
.gd-pass-door-preview[data-surface="woodgrain"]::before,
.gd-pass-door-preview[data-surface="stucco"]::before {
  background: none;
  opacity: 1;
  filter: none;
}

.gd-surface-texture[data-surface="woodgrain"] {
  background-image: url("./images/texture-woodgrain.svg?v=20260811-03");
  background-size: 260px 78px;
  opacity: 0.58;
  filter: contrast(1.1);
  mix-blend-mode: normal;
}

.gd-door[data-surface="smooth"]::before,
.gd-pass-door-preview[data-surface="smooth"]::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent 44%, rgba(0,0,0,0.04));
  opacity: 1;
  mix-blend-mode: normal;
}

.gd-surface-texture[data-surface="stucco"] {
  background-image:
    linear-gradient(108deg, rgba(255,255,255,0.12), transparent 39%, rgba(0,0,0,0.09)),
    url("./images/texture-stucco.svg?v=20260812-01");
  background-position: center, 0 0;
  background-size: 100% 100%, 144px 144px;
  opacity: 0.64;
  filter: contrast(1.04) saturate(0.94);
  mix-blend-mode: normal;
}

.gd-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  background: linear-gradient(180deg, #b5bec7, #929ca5);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.gd-dimension-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gd-dimension-pill {
  flex: 1 1 150px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: var(--gd-radius);
  background: rgba(255, 255, 255, 0.82);
}

.gd-dimension-label {
  display: block;
  color: var(--gd-muted);
  font-size: 12px;
}

.gd-dimension-value {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.gd-controls {
  min-width: 0;
  padding: 24px 26px 26px;
}

.gd-body-type .gd-controls {
  padding: 34px 38px 30px;
}

.gd-section {
  min-width: 0;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--gd-line);
}

.gd-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.gd-step-section {
  min-height: 0;
}

.gd-section-title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.gd-model-switch-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(180, 35, 24, 0.25);
  border-radius: var(--gd-radius);
  background: #fff7f5;
  color: var(--gd-danger);
}

.gd-model-switch-suggestion[hidden] {
  display: none;
}

.gd-model-switch-copy {
  min-width: 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.gd-button.gd-model-switch-button {
  min-height: 38px;
  padding: 8px 12px;
  border-color: var(--gd-danger);
  background: var(--gd-danger);
  color: #fff;
  white-space: nowrap;
}

.gd-button.gd-model-switch-button:hover {
  background: #94271d;
}

.gd-pass-door-note + .gd-model-switch-suggestion {
  margin: -4px 0 14px;
}

.gd-section-title + .gd-model-switch-suggestion {
  margin: 0 0 14px;
}

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

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

.gd-drum-position-block {
  margin-top: 22px;
  padding-top: 2px;
  border-top: 1px solid var(--gd-line);
}

.gd-drum-position-block .gd-section-help {
  margin: -4px 0 10px;
}

.gd-drum-position-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-drum-position-option {
  grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 176px;
}

.gd-drum-position-visual {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 32, 42, 0.15);
  border-radius: 6px;
  background: #f2f4f5;
}

.gd-drum-position-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gd-drum-position-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.gd-field-group-label {
  margin: 18px 0 10px;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-field-group-label:first-of-type {
  margin-top: 0;
}

.gd-price-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: var(--gd-radius);
  background: #f4f9fb;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 700;
}

.gd-price-note-alert {
  border-color: rgba(180, 35, 24, 0.24);
  background: #fff7f5;
  color: var(--gd-danger);
}

.gd-availability-section {
  padding-bottom: 22px;
}

.gd-availability-note {
  margin: -4px 0 12px;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.gd-availability-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #123f74;
  border-radius: 6px;
  background: #fff;
}

.gd-availability-table {
  width: max-content;
  min-width: min(680px, 100%);
  border-collapse: collapse;
  color: #073a74;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
}

.gd-availability-table th,
.gd-availability-table td {
  position: relative;
  min-width: 52px;
  height: 34px;
  padding: 7px 8px;
  border: 1px solid #123f74;
  background: #f8fafc;
}

.gd-availability-table th {
  background: #e3e5e8;
  font-weight: 800;
}

.gd-table-title-row th {
  height: 32px;
  background: #123f74;
  color: #fff;
  font-size: 14px;
}

.gd-availability-table .gd-table-axis {
  background: #d0d2d4;
  font-size: 14px;
}

.gd-cell-available {
  background: #f7fbff;
  color: var(--gd-green);
  font-size: 18px;
  font-weight: 900;
}

.gd-cell-unavailable {
  background: #e7e8ea;
  color: transparent;
}

.gd-table-active-col,
.gd-table-active-row {
  background: #fff0eb !important;
  color: var(--gd-accent-strong);
}

.gd-cell-row-active::before,
.gd-cell-col-active::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--gd-accent);
}

.gd-cell-row-active::before {
  left: -1px;
  right: -1px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.gd-cell-col-active::after {
  top: -1px;
  bottom: -1px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.gd-cell-selected {
  background: #fff7f4 !important;
  box-shadow: inset 0 0 0 2px var(--gd-accent);
}

.gd-field {
  display: grid;
  gap: 8px;
}

.gd-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  color: var(--gd-muted);
  font-size: 13px;
  font-weight: 650;
}

.gd-current {
  color: var(--gd-ink);
  font-variant-numeric: tabular-nums;
}

.gd-number {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  color: var(--gd-ink);
  font: inherit;
}

.gd-number:focus,
.gd-text-input:focus,
.gd-textarea:focus {
  border-color: var(--gd-blue);
  outline: 3px solid var(--gd-focus);
}

.gd-range {
  width: 100%;
  accent-color: var(--gd-blue);
}

.gd-field-invalid .gd-number {
  border-color: var(--gd-danger);
  background: #fff7f5;
}

.gd-field-invalid .gd-range {
  accent-color: var(--gd-danger);
}

.gd-field-help {
  min-height: 16px;
  color: var(--gd-muted);
  font-size: 12px;
  line-height: 1.35;
}

.gd-field-alert {
  color: var(--gd-danger);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.gd-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gd-drive-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-drive-option {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 158px;
}

.gd-drive-visual {
  position: relative;
  display: block;
  width: 150px;
  height: 120px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.16);
  border-radius: 6px;
  background: #eef1f3;
}

.gd-drive-rail {
  position: absolute;
  top: 20px;
  right: 8px;
  left: 8px;
  height: 6px;
  border: 1px solid #7f8991;
  background: #cbd1d5;
}

.gd-drive-motor {
  position: absolute;
  top: 13px;
  left: 16px;
  width: 35px;
  height: 25px;
  border: 2px solid #4e5961;
  border-radius: 4px;
  background: #f8f9fa;
  box-shadow: 0 4px 0 #aeb6bc;
}

.gd-drive-motor::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gd-accent);
}

.gd-drive-visual-none::after {
  content: "—";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gd-muted);
  font-size: 28px;
  font-weight: 700;
}

.gd-drive-visual-none .gd-drive-rail,
.gd-drive-visual-none .gd-drive-motor {
  display: none;
}

.gd-drive-visual-photo {
  display: grid;
  place-items: center;
  background: #fff;
}

.gd-drive-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain !important;
  object-position: center;
}

.gd-drive-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gd-drive-included {
  color: var(--gd-ink);
  font-weight: 800;
}

.gd-drive-card-stack {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.gd-drive-group-divider {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gd-line);
}

.gd-drive-group-divider .gd-section-title {
  margin-bottom: 6px;
}

.gd-drive-group-divider + .gd-drive-options {
  margin-top: 14px;
}

.gd-drive-mounting-side {
  padding: 12px;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  background: #f6f8fa;
}

.gd-drive-mounting-title {
  margin: 0;
  color: var(--gd-muted);
  font-size: 13px;
  line-height: 1.35;
}

.gd-drive-side-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.gd-drive-side-option {
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 9px;
}

.gd-drive-side-diagram {
  position: relative;
  display: block;
  width: 54px;
  height: 42px;
  border: 2px solid #68747d;
  background: #edf1f4;
}

.gd-drive-side-door {
  position: absolute;
  inset: 5px 8px;
  border: 1px solid #9aa4ab;
  background: #fff;
}

.gd-drive-side-motor {
  position: absolute;
  top: 11px;
  width: 10px;
  height: 18px;
  border: 1px solid #37434b;
  border-radius: 3px;
  background: #747f87;
  box-shadow: 0 0 0 2px #fff;
}

.gd-drive-side-diagram[data-side="left"] .gd-drive-side-motor {
  left: -6px;
}

.gd-drive-side-diagram[data-side="right"] .gd-drive-side-motor {
  right: -6px;
}

.gd-drive-visual-shaft {
  background: #f5f6f7;
}

.gd-shaft-gearbox,
.gd-shaft-motor,
.gd-shaft-chain {
  position: absolute;
  display: block;
}

.gd-shaft-gearbox {
  top: 34px;
  left: 20px;
  width: 48px;
  height: 50px;
  border: 3px solid #30383e;
  border-radius: 5px;
  background: linear-gradient(135deg, #555f66, #20272c);
  box-shadow: 0 6px 0 #aeb5ba;
}

.gd-shaft-gearbox::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -11px;
  width: 18px;
  height: 18px;
  border: 4px solid #30383e;
  border-radius: 50%;
  background: #d7dcdf;
}

.gd-shaft-motor {
  top: 42px;
  left: 70px;
  width: 52px;
  height: 34px;
  border: 3px solid #30383e;
  border-radius: 4px 13px 13px 4px;
  background: repeating-linear-gradient(90deg, #424b51 0 5px, #252c31 5px 8px);
}

.gd-shaft-chain {
  top: 81px;
  left: 31px;
  width: 22px;
  height: 24px;
  border-right: 3px dashed #5f6970;
  border-left: 3px dashed #5f6970;
}

.gd-drive-status {
  color: var(--gd-green);
  font-size: 12px;
  font-weight: 750;
}

.gd-drive-status-unavailable {
  color: var(--gd-accent-strong);
}

.gd-drive-status-pending {
  color: #8b6f23;
}

.gd-drive-accessories {
  margin-top: 14px;
}

.gd-extra-accessories {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gd-line);
}

.gd-subsection-title {
  margin: 0 0 14px;
  color: var(--gd-ink);
  font-size: 18px;
  font-weight: 800;
}

.gd-accessory-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gd-option.gd-accessory-option {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding-right: 44px;
}

.gd-accessory-select {
  display: contents;
  cursor: pointer;
}

.gd-accessory-thumb {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 6px;
  background: #f6f8fa;
}

.gd-accessory-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.gd-accessory-zoom {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 66px;
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(23, 32, 42, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gd-blue);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  cursor: zoom-in;
  box-shadow: 0 2px 6px rgba(23, 32, 42, 0.16);
}

.gd-accessory-zoom:hover,
.gd-accessory-zoom:focus-visible {
  border-color: var(--gd-blue);
  outline: 3px solid var(--gd-focus);
}

.gd-accessory-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid #9da7ae;
  border-radius: 4px;
  background: #fff;
  color: transparent;
  font-size: 18px;
  font-weight: 900;
}

.gd-accessory-option:has(input:checked) .gd-accessory-check {
  border-color: var(--gd-blue);
  background: var(--gd-blue);
  color: #fff;
}

.gd-accessory-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.gd-image-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(17, 24, 32, 0.76);
}

.gd-image-modal[hidden] {
  display: none;
}

.gd-image-modal-dialog {
  position: relative;
  display: grid;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  gap: 14px;
  padding: 20px;
  overflow: auto;
  border-radius: var(--gd-radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.gd-image-modal-photo {
  display: block;
  width: 100%;
  height: min(68vh, 650px);
  object-fit: contain;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  background: #f6f8fa;
}

.gd-image-modal-title {
  padding-right: 44px;
  color: var(--gd-ink);
  font-size: 17px;
}

.gd-image-modal-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--gd-line);
  border-radius: 50%;
  background: #fff;
  color: var(--gd-ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(23, 32, 42, 0.14);
}

.gd-image-modal-close:hover,
.gd-image-modal-close:focus-visible {
  border-color: var(--gd-blue);
  outline: 3px solid var(--gd-focus);
}

.gd-remote-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
}

.gd-remote-thumb {
  display: grid;
  width: 92px;
  height: 70px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 6px;
  background: #f6f8fa;
}

.gd-remote-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gd-remote-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gd-quantity-control {
  display: inline-grid;
  grid-template-columns: 36px 64px 36px;
  gap: 6px;
  align-items: center;
}

.gd-icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  background: #fff;
  color: var(--gd-ink);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.gd-icon-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-number-input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  color: var(--gd-ink);
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.gd-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.gd-body-type .gd-type-options {
  gap: 18px;
}

.gd-type-card {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  padding: 12px;
  border: 2px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.gd-body-type .gd-type-card {
  gap: 12px;
  padding: 18px;
}

.gd-type-card:hover {
  transform: translateY(-1px);
  border-color: rgba(207, 63, 46, 0.48);
}

.gd-type-card:has(input:checked) {
  border-color: var(--gd-accent);
  box-shadow: inset 0 0 0 1px var(--gd-accent), 0 10px 26px rgba(207, 63, 46, 0.12);
}

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

.gd-type-image {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: 6px;
  background-color: #f4f6f8;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.gd-body-type .gd-type-image {
  min-height: 0;
  aspect-ratio: 2 / 1;
}

.gd-type-name {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: 18px;
  font-weight: 850;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gd-body-type .gd-type-name {
  font-size: 24px;
  line-height: 1.12;
}

.gd-type-desc {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--gd-muted);
  font-size: 14px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gd-body-type .gd-type-desc {
  font-size: 16px;
}

.gd-type-meta {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gd-body-type .gd-type-meta {
  font-size: 15px;
}

.gd-color-groups {
  display: grid;
  gap: 16px;
}

.gd-pass-door-note,
.gd-section-help {
  margin: -4px 0 14px;
  color: var(--gd-muted);
  font-size: 13px;
  line-height: 1.45;
}

.gd-pass-door-note {
  padding: 10px 12px;
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: var(--gd-radius);
  background: #f4f9fb;
  color: var(--gd-blue);
  font-weight: 700;
}

.gd-pass-door-note-alert {
  border-color: rgba(180, 35, 24, 0.24);
  background: #fff7f5;
  color: var(--gd-danger);
}

.gd-pass-door-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gd-pass-door-width-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gd-pass-door-height-options {
  display: grid;
  width: min(100%, 240px);
  grid-template-columns: minmax(0, 1fr);
}

.gd-pass-door-height-option {
  cursor: default;
}

.gd-pass-door-width-option {
  gap: 4px;
  min-height: 88px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.gd-pass-door-width-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--gd-blue);
  font-size: 20px;
  font-weight: 850;
}

.gd-pass-door-width-value small {
  font-size: 11px;
  font-weight: 750;
}

.gd-pass-door-card {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 142px;
}

.gd-pass-door-card-visual {
  position: relative;
  display: block;
  width: 104px;
  height: 82px;
  border: 4px solid #343b42;
  background: #e8ecef;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.gd-pass-door-card-opening {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38%;
  height: 84%;
  border: 4px solid #a8aaa7;
  border-bottom-width: 6px;
  background: #f2f3f1;
  transform: translateX(-50%);
}

.gd-pass-door-card-opening::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 48%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #17202a;
}

.gd-pass-door-card-empty {
  display: none;
}

.gd-pass-door-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.gd-option-description {
  display: block;
  margin-top: 5px;
  color: var(--gd-muted);
  font-size: 12px;
  line-height: 1.4;
}

.gd-option-price {
  color: var(--gd-accent-strong);
  font-size: 15px;
  font-weight: 850;
}

.gd-profile-option,
.gd-hinge-option {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 92px;
}

.gd-profile-swatch {
  width: 48px;
  height: 48px;
  border: 7px solid var(--profile-swatch);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.gd-position-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gd-position-option {
  gap: 10px;
  justify-items: center;
  min-height: 116px;
  text-align: center;
}

.gd-position-diagram {
  position: relative;
  display: block;
  width: 100%;
  max-width: 132px;
  height: 64px;
  border: 3px solid #3d464e;
  background: #e8ecef;
}

.gd-position-diagram span {
  position: absolute;
  bottom: 0;
  width: 28%;
  height: 84%;
  border: 3px solid #78838c;
  background: #f7f8f9;
}

.gd-position-diagram[data-position="left"] span {
  left: 8%;
}

.gd-position-diagram[data-position="center"] span {
  left: 50%;
  transform: translateX(-50%);
}

.gd-position-diagram[data-position="right"] span {
  right: 8%;
}

.gd-hinge-diagram {
  position: relative;
  display: block;
  width: 54px;
  height: 66px;
  border: 3px solid #78838c;
  background: #f4f6f8;
}

.gd-hinge-door {
  position: absolute;
  inset: 0;
}

.gd-hinge-diagram[data-hinges="left"] .gd-hinge-door {
  border-left: 5px dotted #1f5f85;
}

.gd-hinge-diagram[data-hinges="right"] .gd-hinge-door {
  border-right: 5px dotted #1f5f85;
}

.gd-hinge-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--gd-accent-strong);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.gd-panel-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 95, 133, 0.22);
  border-radius: var(--gd-radius);
  background: #f4f9fb;
  color: var(--gd-blue);
  font-size: 13px;
}

.gd-panel-info strong {
  font-size: 15px;
}

.gd-panel-info span:last-child {
  grid-column: 1 / -1;
  color: var(--gd-muted);
  font-size: 12px;
}

.gd-glazing-mode-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gd-glazing-count-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gd-glazing-count-option {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gd-glazing-count-option > span {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.gd-glazing-count-alert {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(207, 63, 46, 0.28);
  border-radius: var(--gd-radius);
  background: #fff7f5;
}

.gd-glazing-option {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 104px;
}

.gd-glazing-mode-options .gd-glazing-option {
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 176px;
}

.gd-glazing-mode-options .gd-glazing-mini {
  width: 100%;
  max-width: none;
}

.gd-glazing-mini {
  display: flex;
  width: 112px;
  height: 58px;
  gap: 4px;
  padding: 5px;
  border: 5px solid #a8aaa7;
  background: #a8aaa7;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.gd-glazing-mini span {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid rgba(21, 53, 68, 0.42);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), transparent 35%),
    #b9dff0;
}

.gd-glazing-mini-empty {
  border: 3px solid #444d55;
  background:
    repeating-linear-gradient(0deg, #f0f2f3 0 14px, #c5cbd0 14px 15px);
}

.gd-window-mode-mini {
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid #444d55;
  background: #eef0ef;
}

.gd-window-mode-mini span {
  flex: 0 0 34%;
  height: 56%;
  border: 5px solid #171a1c;
  background: linear-gradient(135deg, #edfaff, #afd9eb);
}

.gd-window-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-window-type-option {
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 126px;
}

.gd-window-mini {
  position: relative;
  display: block;
  width: min(106px, 100%);
  aspect-ratio: var(--window-aspect, 1.6);
  background: var(--window-frame, #171a1c);
  box-shadow: 0 0 0 1px rgba(17, 25, 30, 0.24);
}

.gd-window-mini::before {
  content: "";
  position: absolute;
  inset: 8% 5%;
  border: 1px solid rgba(25, 58, 72, 0.38);
  background: linear-gradient(135deg, #edfaff, #afd9eb);
}

.gd-window-mini-round,
.gd-window-mini-round::before {
  border-radius: 50%;
}

.gd-window-mini-rounded,
.gd-window-mini-rounded::before {
  border-radius: 8% / 14%;
}

.gd-window-mini-round {
  width: 76px;
  aspect-ratio: 1;
}

.gd-window-type-copy {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.gd-window-group-name {
  color: var(--gd-blue);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.gd-window-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-window-placement-note {
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid rgba(31, 95, 133, 0.22);
  background: #f4f8fa;
  color: var(--gd-muted);
  font-size: 12px;
  line-height: 1.45;
}

.gd-window-offset-field {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
}

.gd-window-offset-field > span:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.gd-window-offset-field > span:first-child small {
  color: var(--gd-blue);
  font-size: 11px;
  font-weight: 750;
}

.gd-window-position-list {
  display: grid;
  gap: 12px;
}

.gd-window-position-list .gd-window-offset-field {
  padding: 12px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
}

.gd-window-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gd-window-editor-heading .gd-section-title {
  margin: 0;
}

.gd-add-window {
  min-height: 40px;
  white-space: nowrap;
}

.gd-window-editor-list {
  display: grid;
  gap: 14px;
}

.gd-window-editor-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.gd-window-editor-card-selected {
  border-color: rgba(24, 113, 166, 0.72);
  background: rgba(80, 168, 219, 0.13);
  box-shadow: inset 0 0 0 1px rgba(24, 113, 166, 0.18), 0 5px 16px rgba(24, 83, 118, 0.1);
}

.gd-window-editor-card-head {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
}

.gd-window-editor-card-head .gd-window-mini {
  width: 80px;
}

.gd-window-editor-card-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.gd-window-editor-card-head strong {
  font-size: 15px;
}

.gd-window-editor-card-head small {
  color: var(--gd-muted);
  font-size: 11px;
}

.gd-window-remove {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gd-line);
  border-radius: 4px;
  background: #fff;
  color: var(--gd-danger);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gd-window-remove:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gd-window-editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-window-editor-price {
  color: var(--gd-accent-strong);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.gd-window-offset-field input[type="range"] {
  width: 100%;
  accent-color: var(--gd-blue);
}

.gd-window-offset-values {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--gd-muted);
  font-size: 12px;
  font-weight: 650;
}

.gd-window-offset-values strong {
  color: var(--gd-text);
}

.gd-select-field {
  display: grid;
  gap: 7px;
  color: var(--gd-muted);
  font-size: 13px;
  font-weight: 700;
}

.gd-select {
  width: 100%;
  min-height: 44px;
  padding: 9px 34px 9px 11px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  color: var(--gd-ink);
  font: inherit;
}

.gd-select:focus {
  border-color: var(--gd-blue);
  outline: 3px solid var(--gd-focus);
}

.gd-glazing-position-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.gd-cells-select {
  max-width: 260px;
  margin-top: 14px;
}

.gd-glazing-price-note {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-left: 4px solid var(--gd-blue);
  background: var(--gd-soft);
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 800;
}

.gd-glazing-price-note small {
  display: block;
  margin-top: 3px;
  color: var(--gd-muted);
  font-size: 11px;
  font-weight: 650;
}

.gd-glazing-total {
  margin: -6px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(207, 63, 46, 0.28);
  border-radius: var(--gd-radius);
  background: #fff7f5;
  color: var(--gd-accent-strong);
  font-size: 14px;
  font-weight: 800;
}

.gd-glazing-total-main {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.gd-glazing-total-main > span {
  display: grid;
  gap: 3px;
}

.gd-glazing-total-main small {
  color: var(--gd-muted);
  font-size: 12px;
  font-weight: 650;
}

.gd-glazing-total-main > strong {
  font-size: 21px;
  white-space: nowrap;
}

.gd-glazing-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(207, 63, 46, 0.2);
  color: var(--gd-ink);
  font-size: 12px;
  font-weight: 700;
}

.gd-glazing-equation strong {
  color: var(--gd-accent-strong);
}

.gd-color-group-title {
  margin: 0 0 9px;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gd-color-options {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gd-option {
  position: relative;
  display: grid;
  min-height: 70px;
  padding: 12px 12px 11px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.gd-color-option {
  min-height: 86px;
}

.gd-top-seller {
  position: absolute;
  top: 6px;
  right: 7px;
  color: var(--gd-danger);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.gd-option:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 95, 133, 0.45);
}

.gd-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gd-option:has(input:checked) {
  border-color: var(--gd-blue);
  box-shadow: inset 0 0 0 1px var(--gd-blue), 0 8px 22px rgba(31, 95, 133, 0.11);
}

.gd-option:has(input:disabled) {
  opacity: 0.42;
  cursor: not-allowed;
}

.gd-option:has(input:disabled):hover {
  transform: none;
  border-color: var(--gd-line);
}

.gd-option-unavailable {
  opacity: 0.46;
  cursor: help;
}

.gd-option-unavailable:hover {
  opacity: 0.62;
  transform: none;
  border-color: rgba(180, 35, 24, 0.48);
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.08);
}

.gd-finish-option-wrap {
  position: relative;
  min-width: 0;
}

.gd-finish-option-wrap-open {
  z-index: 40;
}

.gd-finish-option-wrap > .gd-option {
  width: 100%;
}

.gd-finish-option-popover {
  position: absolute;
  z-index: 100;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  gap: 6px;
  width: min(390px, calc(100vw - 24px));
  padding: 16px 44px 16px 17px;
  border: 1px solid rgba(180, 35, 24, 0.32);
  border-left: 4px solid var(--gd-danger);
  border-radius: 6px;
  color: var(--gd-danger);
  background: #fff7f5;
  box-shadow: 0 14px 36px rgba(45, 30, 28, 0.22);
  transform: translateX(var(--gd-finish-popover-shift, 0));
}

.gd-finish-option-popover::before {
  position: absolute;
  top: -7px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(180, 35, 24, 0.32);
  border-left: 1px solid rgba(180, 35, 24, 0.32);
  background: #fff7f5;
  content: "";
  transform: rotate(45deg);
}

.gd-finish-option-popover-above {
  top: auto;
  bottom: calc(100% + 10px);
}

.gd-finish-option-popover-above::before {
  top: auto;
  bottom: -7px;
  transform: rotate(225deg);
}

.gd-finish-option-popover span {
  color: #6f2b25;
  font-size: 13px;
  line-height: 1.4;
}

.gd-finish-notification-close {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 9px;
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #6f2b25;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  place-items: center;
}

.gd-finish-notification-close:hover,
.gd-finish-notification-close:focus-visible {
  color: #fff;
  background: var(--gd-danger);
  outline: none;
}

.gd-finish-recommendation-button {
  justify-self: start;
  margin-top: 5px;
  padding: 9px 12px;
  border: 1px solid var(--gd-blue);
  border-radius: 4px;
  color: #fff;
  background: var(--gd-blue);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.gd-finish-recommendation-button:hover,
.gd-finish-recommendation-button:focus-visible {
  background: #174f72;
  outline: none;
}

.gd-option-name {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  font-size: 14px;
  font-weight: 750;
}

.gd-swatch {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background-color: var(--swatch);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.gd-visual-option {
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 86px;
}

.gd-option-thumb {
  width: 82px;
  height: 58px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px;
  background-color: #f5f6f7;
  background-position: center;
  background-size: cover;
}

.gd-generated-design-thumb {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.24), transparent 45%, rgba(0,0,0,0.04)),
    #ecece8;
}

.gd-generated-design-thumb .gd-generated-panel {
  flex: 1 1 100%;
  width: 100%;
}

.gd-preview-toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.gd-view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 330px);
  padding: 3px;
  border: 1px solid rgba(31, 95, 133, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.gd-view-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--gd-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.gd-view-button:hover,
.gd-view-button:focus-visible {
  color: var(--gd-blue);
}

.gd-view-button:focus-visible {
  outline: 3px solid var(--gd-focus);
  outline-offset: 1px;
}

.gd-view-button-active {
  background: var(--gd-blue);
  color: #fff;
  box-shadow: 0 1px 4px rgba(23, 32, 42, 0.18);
}

.gd-view-button-active:hover,
.gd-view-button-active:focus-visible {
  color: #fff;
}

.gd-inside-spec {
  color: var(--gd-blue);
  font-size: 12px;
  font-weight: 750;
}

.gd-generated-surface-thumb {
  background-color: #e8e8e4;
}

.gd-generated-surface-thumb[data-surface="woodgrain"] {
  background:
    repeating-linear-gradient(2deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(-1deg, rgba(0,0,0,0.08) 0 1px, transparent 1px 13px),
    #e1e1dc;
}

.gd-generated-surface-thumb[data-surface="smooth"] {
  background: linear-gradient(90deg, #f3f3f0, #d9dad7 52%, #eeeeea);
}

.gd-generated-surface-thumb[data-surface="stucco"] {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.20), transparent 56%, rgba(0,0,0,0.08)),
    url("./images/texture-stucco.svg?v=20260812-01") center / 54px 54px,
    #e1e1dc;
}

.gd-design-thumb {
  background-size: contain;
  background-repeat: no-repeat;
}

.gd-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gd-summary-item {
  padding: 11px 12px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: var(--gd-soft);
}

.gd-summary-label {
  display: block;
  color: var(--gd-muted);
  font-size: 12px;
}

.gd-summary-value {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 750;
}

.gd-lead-time-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-left: 4px solid var(--gd-blue);
  border-radius: 4px;
  background: #f1f7fa;
}

.gd-lead-time-summary div {
  display: grid;
  gap: 3px;
}

.gd-lead-time-summary span {
  color: var(--gd-muted);
  font-size: 12px;
  font-weight: 750;
}

.gd-lead-time-summary strong {
  color: var(--gd-blue);
  font-size: 16px;
}

.gd-lead-time-summary p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--gd-muted);
  font-size: 12px;
}

.gd-price-summary {
  overflow: hidden;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
}

.gd-price-summary-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-ink);
}

.gd-price-summary-row span {
  min-width: 0;
  font-size: 13px;
}

.gd-price-summary-row strong {
  flex: 0 0 auto;
  color: var(--gd-blue);
  font-size: 17px;
}

.gd-price-summary-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--gd-soft);
}

.gd-price-summary-totals > div {
  display: grid;
  gap: 4px;
  padding: 15px 14px;
}

.gd-price-summary-totals span {
  color: var(--gd-muted);
  font-size: 12px;
  font-weight: 750;
}

.gd-price-summary-totals strong {
  color: var(--gd-blue);
  font-size: 20px;
}

.gd-price-summary-primary {
  border-left: 1px solid var(--gd-line);
}

.gd-price-summary-primary strong {
  color: var(--gd-danger);
}

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

.gd-lead-field {
  display: grid;
  gap: 7px;
  color: var(--gd-ink);
  font-size: 13px;
  font-weight: 750;
}

.gd-lead-field-wide {
  grid-column: 1 / -1;
}

.gd-delivery-address {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gd-line);
}

.gd-subsection-title {
  margin: 0 0 14px;
  color: var(--gd-ink);
  font-size: 16px;
}

.gd-field-hint {
  margin: 10px 0 0;
  color: var(--gd-muted);
  font-size: 12px;
  line-height: 1.45;
}

.gd-form-error {
  margin: 10px 0 0;
  color: var(--gd-danger);
  font-size: 13px;
  font-weight: 750;
}

.gd-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gd-text-input,
.gd-textarea {
  width: 100%;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  color: var(--gd-ink);
  font: inherit;
}

.gd-text-input {
  min-height: 42px;
  padding: 9px 10px;
}

.gd-textarea {
  min-height: 82px;
  margin-top: 10px;
  padding: 10px;
  resize: vertical;
}

.gd-terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: var(--gd-soft);
  color: var(--gd-ink);
  font-size: 13px;
  line-height: 1.45;
}

.gd-terms-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--gd-blue);
}

.gd-terms-consent a {
  color: var(--gd-blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gd-terms-consent:has(input:focus-visible) {
  outline: 3px solid var(--gd-focus);
  outline-offset: 2px;
}

.gd-terms-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 25, 34, 0.62);
}

.gd-terms-modal[hidden] {
  display: none;
}

.gd-terms-modal-dialog {
  position: relative;
  width: min(100%, 470px);
  padding: 24px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  box-shadow: 0 20px 55px rgba(9, 24, 33, 0.28);
}

.gd-terms-modal-title {
  margin: 0 36px 8px 0;
  color: var(--gd-ink);
  font-size: 21px;
  line-height: 1.25;
}

.gd-terms-modal-copy {
  margin: 0;
  color: var(--gd-muted);
  font-size: 14px;
  line-height: 1.5;
}

.gd-terms-modal-consent {
  margin-top: 18px;
}

.gd-terms-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gd-muted);
  font: 700 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.gd-terms-modal-close:hover,
.gd-terms-modal-close:focus-visible {
  color: var(--gd-ink);
  outline: 2px solid var(--gd-focus);
  outline-offset: 1px;
}

.gd-terms-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.gd-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--gd-line);
}

.gd-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: var(--gd-radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gd-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gd-button-primary {
  background: var(--gd-accent);
  color: #fff;
}

.gd-button-primary:hover {
  background: var(--gd-accent-strong);
}

.gd-button-loading {
  min-width: 52px;
  padding-inline: 14px;
}

.gd-button-loading::after {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: gd-button-spin 0.75s linear infinite;
}

@keyframes gd-button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gd-button-loading::after {
    animation-duration: 1.5s;
  }
}

.gd-button-secondary {
  border-color: var(--gd-line);
  background: #fff;
  color: var(--gd-ink);
}

.gd-button-secondary:hover {
  border-color: rgba(31, 95, 133, 0.45);
}

.gd-status {
  min-height: 20px;
  color: var(--gd-green);
  font-size: 13px;
  font-weight: 700;
}

.gd-turnstile:empty {
  display: none;
}

.gd-status-error {
  color: var(--gd-danger);
}

@media (max-width: 860px) {
  .gd-demo-page {
    padding: 12px;
  }

  .gd-header,
  .gd-body,
  .gd-body-type,
  .gd-body-wide,
  .gd-stepper,
  .gd-measure-grid,
  .gd-type-options,
  .gd-lead-grid {
    grid-template-columns: 1fr;
  }

  .gd-sticky-header {
    position: static;
    overflow: visible;
    border-radius: inherit;
    box-shadow: none;
  }

  .gd-step {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid #fff;
  }

  .gd-total {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .gd-preview-panel {
    position: static;
    min-height: 430px;
    border-right: 0;
    border-bottom: 1px solid var(--gd-line);
  }

  .gd-garage-wrap,
  .gd-measure-wrap {
    min-height: 260px;
  }

  .gd-body-type .gd-type-image {
    min-height: 0;
  }

  .gd-accessory-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .gd-demo-page {
    padding: 0;
  }

  .gd-configurator {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .gd-mobile-price-dock-visible {
    position: fixed;
    top: max(6px, env(safe-area-inset-top));
    right: 8px;
    left: 8px;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 22px rgba(23, 32, 42, 0.18);
    pointer-events: none;
  }

  .gd-mobile-price-dock-visible.gd-total-alert {
    border-color: rgba(180, 35, 24, 0.28);
    background: rgba(255, 247, 245, 0.98);
  }

  .gd-mobile-price-label {
    min-width: 0;
    color: var(--gd-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
  }

  .gd-mobile-price-value {
    color: var(--gd-accent-strong);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .gd-mobile-price-dock-visible.gd-total-alert .gd-mobile-price-value {
    color: var(--gd-danger);
    font-size: 18px;
  }

  .gd-header,
  .gd-controls,
  .gd-preview-panel {
    padding: 18px;
  }

  .gd-opening-preview {
    min-height: 0;
    padding-top: 8px;
  }

  .gd-opening-preview-toolbar {
    align-items: flex-start;
  }

  .gd-options,
  .gd-summary-grid,
  .gd-pass-door-options,
  .gd-pass-door-width-options,
  .gd-glazing-position-grid,
  .gd-window-type-options,
  .gd-window-control-grid,
  .gd-drive-options,
  .gd-drum-position-options,
  .gd-accessory-options {
    grid-template-columns: 1fr;
  }

  .gd-drum-position-option {
    grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
  }

  .gd-price-summary-totals {
    grid-template-columns: 1fr;
  }

  .gd-lead-time-summary {
    grid-template-columns: 1fr;
  }

  .gd-lead-time-summary p {
    grid-column: auto;
  }

  .gd-price-summary-primary {
    border-top: 1px solid var(--gd-line);
    border-left: 0;
  }

  .gd-price-summary-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .gd-terms-modal-dialog {
    padding: 20px;
  }

  .gd-terms-modal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .gd-terms-modal-actions .gd-button {
    width: 100%;
  }

  .gd-drive-option {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .gd-drive-visual {
    width: 92px;
    height: 74px;
  }

  .gd-drive-image {
    padding: 5px;
  }

  .gd-drive-side-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-remote-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .gd-remote-thumb {
    width: 78px;
    height: 60px;
  }

  .gd-quantity-control {
    grid-column: 1 / -1;
    justify-self: stretch;
    grid-template-columns: 44px minmax(72px, 1fr) 44px;
  }

  .gd-body-wide .gd-controls {
    padding: 18px;
  }

  .gd-pass-door-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .gd-pass-door-card-visual {
    width: 88px;
    height: 72px;
  }

  .gd-glazing-option {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .gd-glazing-mini {
    width: 88px;
    height: 52px;
  }

  .gd-window-editor-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .gd-window-editor-fields {
    grid-template-columns: 1fr;
  }

  .gd-add-window {
    width: 100%;
  }

  .gd-panel-info {
    grid-template-columns: 1fr;
  }

  .gd-panel-info span:last-child {
    grid-column: auto;
  }

  .gd-title {
    font-size: 27px;
  }

  .gd-preview-panel {
    min-height: 0;
  }

  .gd-technical-preview {
    min-height: 360px;
    padding: 30px 38px 54px 50px;
  }

  .gd-technical-preview-pass-door {
    padding-bottom: 80px;
  }

  .gd-panel-dimensions,
  .gd-seal-dimension {
    right: calc(100% + 7px);
    width: 40px;
  }

  .gd-opening-height-dimension {
    left: calc(100% + 13px);
    width: 28px;
  }

  .gd-measure-image {
    max-height: 360px;
  }

  .gd-dimension-pill {
    flex-basis: calc(50% - 5px);
    padding: 10px 12px;
  }

  .gd-dimension-value {
    font-size: 17px;
  }

  .gd-availability-table {
    font-size: 12px;
  }

  .gd-availability-table th,
  .gd-availability-table td {
    min-width: 46px;
    height: 32px;
    padding: 6px;
  }

  .gd-table-title-row th {
    font-size: 13px;
  }

  .gd-body-type .gd-controls {
    padding: 18px;
  }

  .gd-model-switch-suggestion {
    grid-template-columns: 1fr;
  }

  .gd-button.gd-model-switch-button {
    width: 100%;
  }

  .gd-body-type .gd-type-image {
    min-height: 0;
  }

  .gd-body-type .gd-type-name {
    font-size: 20px;
  }
}
