﻿:root {
  color-scheme: light;
  --page: #eef1ed;
  --surface: #fbfbf8;
  --surface-raised: #ffffff;
  --surface-muted: #f1f4ef;
  --ink: #17201b;
  --ink-soft: #4f5d55;
  --muted: #6d7a72;
  --line: rgba(23, 32, 27, 0.12);
  --line-strong: rgba(23, 32, 27, 0.2);
  --green: #246b4b;
  --green-deep: #174b36;
  --mint: #dfeee4;
  --amber: #e7a928;
  --terracotta: #b76144;
  --shadow: 0 24px 60px rgba(28, 38, 32, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(36, 107, 75, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #faf8f2 0%, var(--page) 45%, #e6ebe5 100%);
  background-size: 42px 42px, auto;
  overflow: hidden;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1540px, 100%);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  zoom: 0.93;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  min-width: 0;
}

.header-brand-zone {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 30px rgba(36, 107, 75, 0.2);
}

.brand-lockup strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1.15;
}

.product-type-picker-button {
  min-height: 38px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(36, 107, 75, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 241, 0.94)),
    var(--surface-raised);
  color: var(--green-deep);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(36, 107, 75, 0.08);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.product-type-picker-button:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 107, 75, 0.38);
  background: var(--mint);
  box-shadow: 0 12px 24px rgba(36, 107, 75, 0.12);
}

.product-type-picker-button:focus-visible {
  outline: 3px solid rgba(231, 169, 40, 0.45);
  outline-offset: 2px;
}

.header-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-switcher {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.language-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
}

.language-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.language-button:hover,
.language-button.is-active {
  border-color: rgba(36, 107, 75, 0.32);
  background: var(--mint);
}

.language-button:focus-visible {
  outline: 3px solid rgba(231, 169, 40, 0.45);
  outline-offset: 2px;
}

.summary-chip {
  max-width: min(62vw, 620px);
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 12px;
  align-items: stretch;
  min-height: 0;
  min-width: 0;
  height: calc(100% + 5vh);
}

.preview-card,
.controls-card {
  min-height: 0;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(251, 251, 248, 0.88);
  box-shadow: var(--shadow);
}

.preview-card {
  padding: 12px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.controls-card {
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.stage.is-zoomed {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 800;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.preview-heading {
  min-width: 0;
}

.preview-heading h1,
.group-title h2 {
  margin: 4px 0 0;
  line-height: 1.15;
}

.preview-heading h1 {
  width: 100%;
  max-width: 760px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 760;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
}

.group-title h2 {
  font-size: 0.98rem;
}

.preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-button,
.solid-button,
.texture-card,
.handle-card,
.lock-card,
.peephole-card,
.model-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.tool-button,
.solid-button {
  min-height: 40px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  min-width: 1.1em;
  line-height: 1;
  font-weight: 800;
}

.solid-button {
  background: var(--green-deep);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(23, 75, 54, 0.18);
}

.tool-button:hover,
.texture-card:hover,
.handle-card:hover,
.lock-card:hover,
.peephole-card:hover,
.model-card:hover,
.solid-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.tool-button:focus-visible,
.solid-button:focus-visible,
.texture-card:focus-visible,
.handle-card:focus-visible,
.lock-card:focus-visible,
.peephole-card:focus-visible,
.model-card:focus-visible,
.ht-credit:focus-visible {
  outline: 3px solid rgba(231, 169, 40, 0.45);
  outline-offset: 2px;
}

.direction-button.is-active {
  color: var(--green-deep);
  border-color: rgba(36, 107, 75, 0.36);
  background: var(--mint);
  box-shadow: inset 0 -2px 0 rgba(36, 107, 75, 0.18);
}

.stage-shell {
  position: relative;
  min-height: 0;
  height: 100%;
  width: 100%;
  display: grid;
}

.stage {
  position: relative;
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: 28px 12px 110px;
  overflow: hidden;
  display: grid;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(11, 20, 15, 0.02), rgba(11, 20, 15, 0.14)),
    url("./bg.png") center/cover no-repeat;
}

.stage.is-filter-off {
  background: url("./bg.png") center/cover no-repeat;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 34%);
  pointer-events: none;
}

.stage.is-filter-off::before {
  display: none;
}

.stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  width: min(52vw, 560px);
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(18, 25, 21, 0.28);
  filter: blur(16px);
  pointer-events: none;
}

.stage-product {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--zoom-plane-width, 100%);
  height: var(--zoom-plane-height, 100%);
  min-width: 100%;
  min-height: 100%;
}

.door-preview {
  position: relative;
  width: min(clamp(155px, 17.8vw, 266px), max(149px, calc((100dvh - 310px) * 0.525)));
  transform: translateY(-8%) scale(var(--preview-zoom, 1)) scale(var(--door-height-fit-scale, 1)) scale(var(--door-width-scale, 1), var(--door-height-scale, 1));
  transform-origin: center bottom;
  transition: transform 0.2s ease;
}

.stage::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(23, 32, 27, 0.22);
}

.zoom-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(23, 32, 27, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(28, 38, 32, 0.14);
  backdrop-filter: blur(14px);
}

.zoom-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.zoom-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.zoom-button:focus-visible {
  outline: 3px solid rgba(231, 169, 40, 0.45);
  outline-offset: 2px;
}

.zoom-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.zoom-level {
  min-width: 48px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.door-photo {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 34px 32px rgba(0, 0, 0, 0.24))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.16));
  pointer-events: none;
  transition: transform 0.28s ease;
}

.door-overlay {
  position: absolute;
  z-index: 1;
  left: var(--mask-left, 16%);
  top: var(--mask-top, 4%);
  width: var(--mask-width, 68%);
  height: var(--mask-height, 86%);
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.28s ease;
}

.door-overlay--texture {
  background-image: var(--texture-image);
  background-size: var(--texture-size, 100% 100%);
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  opacity: 1;
}

.door-model-layer {
  position: absolute;
  z-index: 2;
  left: var(--mask-left, 16%);
  top: var(--mask-top, 4%);
  width: var(--mask-width, 68%);
  height: var(--mask-height, 86%);
  object-fit: fill;
  object-position: center;
  pointer-events: none;
  transition: transform 0.28s ease;
}

.door-watermark {
  position: absolute;
  z-index: 4;
  left: var(--mask-left, 16%);
  top: var(--mask-top, 4%);
  width: var(--mask-width, 68%);
  height: var(--mask-height, 86%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(246px, 139%, 493px);
  color: rgba(255, 255, 255, 0.28);
  font-size: clamp(1.2rem, 2.1vw, 2.05rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 -1px 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  user-select: none;
}

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

.door-accessory {
  position: absolute;
  z-index: 5;
  left: var(--mask-left, 16%);
  top: var(--mask-top, 4%);
  width: var(--mask-width, 68%);
  height: var(--mask-height, 86%);
  object-fit: fill;
  object-position: center;
  pointer-events: none;
  transition: transform 0.28s ease;
}

.door-handle {
  transform: rotate(var(--handle-rotation, 0deg));
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.door-lock {
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.door-handle.is-draggable,
.door-lock.is-draggable {
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.door-handle.is-dragging,
.door-lock.is-dragging {
  cursor: grabbing;
  transition: none;
}

.door-lock {
  z-index: 2;
}

.door-peephole {
  z-index: 7;
}

.door-model-layer.is-mirrored,
.door-lock.is-mirrored,
.door-peephole.is-mirrored {
  transform: scaleX(-1);
}

.door-handle.is-mirrored {
  transform: scaleX(-1) rotate(var(--handle-rotation, 0deg));
}

.door-photo.is-mirrored,
.door-overlay.is-mirrored {
  transform: scaleX(-1);
}

.summary-bar {
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-bar__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dimension-controls {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dimension-field,
.dimension-area {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(36, 107, 75, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.dimension-field input,
.dimension-field select {
  width: 62px;
  min-height: 28px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-muted);
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.dimension-field select {
  width: 76px;
  cursor: pointer;
}

.dimension-field--preset select {
  width: 190px;
  text-align: left;
}

.dimension-field small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
}

.dimension-area {
  background: rgba(237, 247, 241, 0.78);
}

.dimension-area strong {
  color: var(--green-deep);
}

.dimension-field input:focus,
.dimension-field select:focus {
  outline: 2px solid rgba(22, 94, 66, 0.2);
  border-color: var(--green);
}

.summary-quantity {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(36, 107, 75, 0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.summary-quantity input {
  width: 62px;
  min-height: 28px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-muted);
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.summary-quantity input:focus {
  outline: 2px solid rgba(22, 94, 66, 0.2);
  border-color: var(--green);
}

.summary-total-group {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
}

.summary-total-group .summary-quantity {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.summary-total-group .summary-price {
  display: inline-flex;
  align-items: center;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

.summary-price {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(36, 107, 75, 0.2);
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-deep);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.summary-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
}

.output-button {
  min-height: 30px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.output-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 20px rgba(28, 38, 32, 0.08);
}

.output-button--primary {
  background: var(--green-deep);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 75, 54, 0.16);
}

.output-button--primary:hover {
  background: var(--green);
  border-color: transparent;
}

.output-button--whatsapp {
  background: #25d366;
  border-color: transparent;
  color: #0f2418;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.18);
}

.output-button--whatsapp:hover {
  background: #1ebe5d;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.24);
}

.output-button:focus-visible {
  outline: 3px solid rgba(231, 169, 40, 0.45);
  outline-offset: 2px;
}

.brand-switch {
  min-height: 30px;
  padding: 5px 8px 5px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(36, 107, 75, 0.26);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.brand-switch:hover {
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: 0 10px 20px rgba(28, 38, 32, 0.08);
}

.brand-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.brand-switch__track {
  position: relative;
  width: 38px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(23, 32, 27, 0.18);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 27, 0.08);
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.brand-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(23, 32, 27, 0.22);
  transition: transform 0.18s ease;
}

.brand-switch__input:checked + .brand-switch__track {
  background: var(--green-deep);
  box-shadow: inset 0 0 0 1px rgba(23, 75, 54, 0.22);
}

.brand-switch__input:checked + .brand-switch__track .brand-switch__thumb {
  transform: translateX(18px);
}

.brand-switch__input:focus-visible + .brand-switch__track {
  outline: 3px solid rgba(231, 169, 40, 0.45);
  outline-offset: 2px;
}

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

.product-type-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(11, 20, 15, 0.52);
  backdrop-filter: blur(14px);
}

.product-type-modal[hidden] {
  display: none !important;
}

.product-type-dialog {
  width: min(880px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 251, 248, 0.98)),
    var(--surface-raised);
  box-shadow: 0 34px 90px rgba(8, 16, 12, 0.34);
}

.product-type-dialog h2 {
  margin: 5px 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
}

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

.product-type-card {
  min-height: 206px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(36, 107, 75, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 248, 244, 0.98)),
    #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  position: relative;
  box-shadow:
    inset 0 -2px 0 rgba(36, 107, 75, 0.08),
    0 16px 34px rgba(21, 36, 28, 0.08);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.product-type-card::before {
  content: "";
  position: absolute;
  inset: auto -32px -56px auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(36, 107, 75, 0.07);
  pointer-events: none;
}

.product-type-card:hover,
.product-type-card:focus-visible {
  border-color: rgba(36, 107, 75, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 246, 238, 0.98)),
    var(--mint);
  outline: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 -2px 0 rgba(36, 107, 75, 0.12),
    0 20px 46px rgba(21, 36, 28, 0.13);
}

.product-type-card__visual {
  width: 128px;
  min-height: 172px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 107, 75, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(233, 237, 231, 0.76)),
    repeating-linear-gradient(90deg, rgba(23, 32, 27, 0.05) 0 1px, transparent 1px 18px);
}

.product-type-card__content {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.product-type-card__content strong {
  font-size: 1.18rem;
  line-height: 1.1;
}

.product-type-card__content span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.door-sample {
  width: 76px;
  height: 144px;
  position: relative;
  display: block;
}

.door-sample__shadow {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -8px;
  height: 12px;
  border-radius: 50%;
  background: rgba(18, 25, 21, 0.16);
  filter: blur(5px);
}

.door-sample__frame {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #202723 0 12px, #566057 12px 16px, transparent 16px calc(100% - 16px), #566057 calc(100% - 16px) calc(100% - 12px), #202723 calc(100% - 12px)),
    linear-gradient(180deg, #222a25 0 12px, transparent 12px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 12px 28px rgba(13, 20, 16, 0.22);
}

.door-sample__slab {
  position: absolute;
  inset: 14px 17px 5px;
  overflow: hidden;
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 24%, rgba(40, 24, 14, 0.16) 76%, rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(90deg, rgba(58, 33, 18, 0.16) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #c9874a, #9d6031);
  box-shadow:
    inset 0 0 0 1px rgba(45, 28, 17, 0.26),
    inset 8px 0 18px rgba(255, 255, 255, 0.1),
    inset -10px 0 18px rgba(0, 0, 0, 0.1);
}

.door-sample__panel,
.door-sample__accent,
.door-sample__pull,
.door-sample__lock,
.door-sample__peephole {
  position: absolute;
  display: block;
}

.door-sample__panel {
  left: 8px;
  right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(38, 25, 16, 0.12);
}

.door-sample__panel--top {
  top: 15px;
  height: 38px;
}

.door-sample__panel--bottom {
  bottom: 15px;
  height: 50px;
}

.door-sample__accent {
  inset: 0 auto 0 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.door-sample__pull {
  right: 8px;
  top: 59px;
  width: 4px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4f1e8, #7a827c);
  box-shadow: 0 0 0 1px rgba(10, 15, 12, 0.12);
}

.door-sample__lock {
  right: 7px;
  top: 91px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8e4d8;
  box-shadow: 0 0 0 1px rgba(14, 20, 17, 0.2);
}

.door-sample__peephole {
  left: 50%;
  top: 35px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f3ecdc;
  box-shadow: 0 0 0 1px rgba(25, 28, 24, 0.2);
  transform: translateX(-50%);
}

.door-sample--interior .door-sample__frame {
  background:
    linear-gradient(90deg, #f3f0e8 0 11px, #d8d2c2 11px 15px, transparent 15px calc(100% - 15px), #d8d2c2 calc(100% - 15px) calc(100% - 11px), #f3f0e8 calc(100% - 11px)),
    linear-gradient(180deg, #f3f0e8 0 11px, transparent 11px);
}

.door-sample--interior .door-sample__slab {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 34%, rgba(117, 74, 45, 0.12)),
    linear-gradient(180deg, #efe6d5, #caa982);
}

.door-sample--interior .door-sample__panel {
  left: 9px;
  right: 9px;
  border-color: rgba(95, 71, 46, 0.24);
  border-radius: 12px 12px 4px 4px;
}

.door-sample--interior .door-sample__accent,
.door-sample--interior .door-sample__peephole {
  display: none;
}

.door-sample--interior .door-sample__pull {
  right: 7px;
  top: 67px;
  width: 18px;
  height: 3px;
  transform: rotate(-24deg);
  background: #9a9f98;
}

.door-sample--pivot {
  width: 86px;
}

.door-sample--pivot .door-sample__frame {
  inset: 2px 6px 0;
  background:
    linear-gradient(90deg, #252b28 0 7px, transparent 7px calc(100% - 7px), #252b28 calc(100% - 7px)),
    linear-gradient(180deg, #252b28 0 8px, transparent 8px);
}

.door-sample--pivot .door-sample__slab {
  inset: 12px 15px 4px 21px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.18), transparent 36%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, #8f8171, #4d514b);
}

.door-sample--pivot .door-sample__panel,
.door-sample--pivot .door-sample__lock,
.door-sample--pivot .door-sample__peephole {
  display: none;
}

.door-sample--pivot .door-sample__accent {
  left: 9px;
  width: 2px;
  background: rgba(233, 169, 40, 0.78);
}

.door-sample--pivot .door-sample__pull {
  right: 9px;
  top: 31px;
  width: 4px;
  height: 78px;
  background: linear-gradient(180deg, #f5f1e8, #232a26);
}

.door-sample--fire .door-sample__frame {
  background:
    linear-gradient(90deg, #1f2522 0 11px, #59605a 11px 15px, transparent 15px calc(100% - 15px), #59605a calc(100% - 15px) calc(100% - 11px), #1f2522 calc(100% - 11px)),
    linear-gradient(180deg, #1f2522 0 11px, transparent 11px);
}

.door-sample--fire .door-sample__slab {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 52%, rgba(25, 11, 8, 0.14)),
    linear-gradient(180deg, #b75845, #733326);
}

.door-sample--fire .door-sample__panel,
.door-sample--fire .door-sample__peephole {
  display: none;
}

.door-sample--fire .door-sample__accent {
  left: 8px;
  right: 8px;
  top: 76px;
  width: auto;
  height: 7px;
  border-radius: 999px;
  background: #2b302d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.door-sample--fire .door-sample__pull {
  left: 8px;
  right: 8px;
  top: 73px;
  width: auto;
  height: 3px;
  border-radius: 999px;
  background: #e9dccb;
}

.door-sample--fire .door-sample__lock {
  right: 8px;
  top: 60px;
  width: 5px;
  height: 5px;
}

.product-type-card--steel .product-type-card__visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 235, 229, 0.78)),
    repeating-linear-gradient(90deg, rgba(23, 32, 27, 0.05) 0 1px, transparent 1px 18px);
}

.product-type-card--fire .product-type-card__visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 231, 225, 0.82)),
    repeating-linear-gradient(90deg, rgba(115, 51, 38, 0.05) 0 1px, transparent 1px 18px);
}

.company-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(11, 20, 15, 0.46);
  backdrop-filter: blur(12px);
}

.company-dialog {
  width: min(520px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 251, 248, 0.98)),
    var(--surface-raised);
  box-shadow: 0 32px 80px rgba(8, 16, 12, 0.32);
}

.company-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.company-dialog__header h2 {
  margin: 4px 0 0;
  font-size: 1.32rem;
  line-height: 1.15;
}

.company-dialog__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.company-dialog__close:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.company-dialog__summary {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(36, 107, 75, 0.16);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.company-dialog__details {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.company-dialog__details div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(36, 107, 75, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.company-dialog__details dt {
  margin: 0 0 3px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.company-dialog__details dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

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

.company-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.company-form input {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.company-form input:focus {
  outline: 3px solid rgba(231, 169, 40, 0.34);
  border-color: rgba(36, 107, 75, 0.45);
}

.company-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(183, 97, 68, 0.62);
}

.company-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 750;
}

.company-status:empty {
  display: none;
}

.company-status.is-success {
  color: var(--green-deep);
}

.company-status.is-error {
  color: var(--terracotta);
}

.company-form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.ht-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: var(--radius);
  background: var(--amber);
  color: #191813 !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.ht-credit:hover {
  background: #f1be3c;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(40, 33, 15, 0.18);
}

.control-group {
  display: grid;
  gap: 9px;
}

.handle-rotation-control {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.range-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
}

.range-control output {
  min-width: 46px;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--ink-soft);
  text-align: center;
}

.range-input {
  width: 100%;
  accent-color: var(--green-deep);
}

.group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.group-title p {
  color: var(--terracotta);
}

.texture-choice-grid,
.handle-choice-grid,
.lock-choice-grid,
.peephole-choice-grid,
.model-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: min(35vh, 330px);
  overflow-y: auto;
  padding-right: 4px;
}

.texture-choice-grid::-webkit-scrollbar,
.handle-choice-grid::-webkit-scrollbar,
.lock-choice-grid::-webkit-scrollbar,
.peephole-choice-grid::-webkit-scrollbar,
.model-grid::-webkit-scrollbar,
.controls-card::-webkit-scrollbar {
  width: 8px;
}

.texture-choice-grid::-webkit-scrollbar-thumb,
.handle-choice-grid::-webkit-scrollbar-thumb,
.lock-choice-grid::-webkit-scrollbar-thumb,
.peephole-choice-grid::-webkit-scrollbar-thumb,
.model-grid::-webkit-scrollbar-thumb,
.controls-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(23, 32, 27, 0.22);
}

.texture-card,
.handle-card,
.lock-card,
.peephole-card,
.model-card {
  min-height: 144px;
  padding: 7px;
  display: grid;
  gap: 7px;
  align-content: start;
  text-align: center;
  background: var(--surface-raised);
  color: var(--ink);
}

.texture-card strong,
.handle-card strong,
.lock-card strong,
.peephole-card strong,
.model-card strong {
  font-size: 0.8rem;
  line-height: 1.12;
  font-weight: 760;
  display: grid;
  place-items: center;
  text-align: center;
}

.choice-meta {
  min-height: 3.45em;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 4px;
}

.choice-price {
  min-height: 1.45em;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(36, 107, 75, 0.08);
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.model-card .choice-meta {
  padding-bottom: 0;
}

.model-card {
  min-height: 160px;
  grid-template-rows: auto auto minmax(34px, 1fr);
}

.texture-card.is-active,
.handle-card.is-active,
.lock-card.is-active,
.peephole-card.is-active,
.model-card.is-active {
  border-color: rgba(36, 107, 75, 0.42);
  background: linear-gradient(180deg, #ffffff, var(--mint));
  box-shadow: inset 0 -3px 0 rgba(36, 107, 75, 0.18);
}

.texture-card__preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(23, 32, 27, 0.08);
}

.accessory-card__preview,
.handle-card__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(241, 244, 239, 0.92));
  border: 1px solid rgba(23, 32, 27, 0.08);
  overflow: hidden;
}

.accessory-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.handle-card__preview::before,
.handle-card__preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--preview-accent), var(--preview-color));
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.34);
}

.handle-card__preview::before {
  right: 22%;
  top: 28%;
  width: 12%;
  height: 44%;
}

.handle-card__preview::after {
  right: 30%;
  top: 44%;
  width: 48%;
  height: 11%;
}

.handle-card__preview--empty::before {
  left: 24%;
  right: auto;
  top: 49%;
  width: 52%;
  height: 3px;
  background: rgba(23, 32, 27, 0.42);
  box-shadow: none;
  transform: rotate(-35deg);
}

.handle-card__preview--empty::after {
  display: none;
}

.accessory-card__preview--empty::before {
  content: "Boş";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(23, 32, 27, 0.62);
  font-size: 0.92rem;
  font-weight: 850;
}

.accessory-card__preview--empty img {
  opacity: 1;
}

.model-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(241, 244, 239, 0.92));
  border: 1px solid rgba(23, 32, 27, 0.08);
}

@media (max-width: 1160px) {
  body {
    overflow: auto;
  }

  .page-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .controls-card {
    overflow: visible;
  }

  .texture-choice-grid,
  .handle-choice-grid,
  .lock-choice-grid,
  .peephole-choice-grid,
  .model-grid {
    max-height: none;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    padding: 10px;
    zoom: 1;
    max-width: 100vw;
    overflow-x: hidden;
    gap: 10px;
  }

  .preview-card,
  .controls-card {
    border-color: rgba(36, 107, 75, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(28, 38, 32, 0.1);
  }

  .preview-card {
    padding: 10px;
    gap: 12px;
  }

  .controls-card {
    padding: 10px;
    gap: 18px;
  }

  .app-header,
  .preview-topbar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-summary {
    justify-content: stretch;
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .header-brand-zone {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .brand-lockup > span:last-child {
    min-width: 0;
  }

  .product-type-picker-button {
    min-width: 0;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--radius);
  }

  .summary-chip {
    width: 100%;
    max-width: calc(100vw - 44px);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .preview-heading h1 {
    width: 100%;
    max-width: calc(100vw - 96px);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .preview-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .tool-button,
  .solid-button {
    min-width: 0;
    width: 100%;
    white-space: normal;
  }

  .solid-button {
    grid-column: 1 / -1;
  }

  .stage {
    width: 100%;
    min-height: clamp(390px, 62vh, 520px);
    padding: 20px 8px 86px;
  }

  .door-preview {
    width: min(clamp(176px, 54vw, 245px), max(160px, calc((100dvh - 292px) * 0.54)));
  }

  .texture-choice-grid,
  .handle-choice-grid,
  .lock-choice-grid,
  .peephole-choice-grid,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }

  .summary-bar__text {
    white-space: normal;
  }

  .summary-price {
    width: 100%;
    text-align: center;
  }

  .dimension-controls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dimension-field,
  .dimension-area {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
  }

  .dimension-field input,
  .dimension-field select,
  .summary-quantity input {
    min-height: 32px;
  }

  .dimension-area {
    grid-column: 1 / -1;
  }

  .dimension-field--preset {
    grid-column: 1 / -1;
  }

  .dimension-field--preset select {
    width: min(100%, 220px);
  }

  .summary-total-group {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .summary-quantity {
    width: 100%;
    justify-content: space-between;
  }

  .summary-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .output-button,
  .brand-switch {
    width: 100%;
    min-width: 0;
  }

  .output-button {
    white-space: normal;
    min-height: 38px;
  }

  .group-title {
    align-items: center;
  }

  .group-title h2 {
    font-size: 1.04rem;
  }

  .zoom-controls {
    right: 10px;
    bottom: 10px;
  }

  .zoom-button {
    width: 30px;
    height: 30px;
  }

  .zoom-level {
    min-width: 42px;
  }

  .ht-credit {
    align-self: flex-end;
  }

  .company-dialog {
    padding: 14px;
  }

  .product-type-dialog {
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 16px;
  }

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

  .product-type-card {
    min-height: 178px;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
  }

  .product-type-card__visual {
    width: 112px;
    min-height: 154px;
  }

  .door-sample {
    transform: scale(0.9);
  }

  .company-dialog__details {
    grid-template-columns: 1fr;
  }

  .company-form {
    grid-template-columns: 1fr;
  }

  .company-form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .page-shell {
    padding: 8px;
  }

  .brand-lockup {
    gap: 9px;
  }

  .header-brand-zone {
    grid-template-columns: 1fr;
  }

  .product-type-picker-button {
    width: 100%;
    min-height: 40px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .texture-card,
  .handle-card,
  .lock-card,
  .peephole-card,
  .model-card {
    min-height: 138px;
    padding: 6px;
  }

  .texture-choice-grid,
  .handle-choice-grid,
  .lock-choice-grid,
  .peephole-choice-grid,
  .model-grid {
    gap: 7px;
  }

  .preview-actions,
  .summary-actions,
  .summary-total-group,
  .dimension-controls {
    grid-template-columns: 1fr;
  }

  .summary-total-group .summary-quantity,
  .summary-total-group .summary-price {
    border-radius: var(--radius);
    margin-left: 0;
  }

  .product-type-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 154px;
    gap: 11px;
  }

  .product-type-card__visual {
    width: 92px;
    min-height: 132px;
  }

  .door-sample {
    transform: scale(0.78);
  }

  .product-type-card__content strong {
    font-size: 1rem;
  }

  .product-type-card__content span {
    font-size: 0.76rem;
  }
}

