:root {
  color-scheme: dark;
  --pc-bg: #191816;
  --pc-surface: #24211d;
  --pc-surface-soft: #302c27;
  --pc-text: #f4efe7;
  --pc-muted: #c0b8ad;
  --pc-line: rgba(244, 239, 231, 0.15);
  --pc-accent: #a34f33;
  --pc-accent-dark: #e0a086;
  --pc-forest: #9fc2b2;
  --pc-radius: 18px;
  --pc-shadow: 0 24px 60px rgba(8, 7, 6, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#pcThreeStage,
#pcCatalogViewport,
#pc-options-title { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--pc-bg);
  color: var(--pc-text);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }

button { color: inherit; }

button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(184, 95, 62, 0.38);
  outline-offset: 3px;
}

.pc-promo {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px;
  background: var(--pc-accent);
  color: #fffdf9;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.pc-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--pc-line);
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pc-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pc-text);
  font-weight: 750;
  text-decoration: none;
}

.pc-back:first-letter { font-size: 28px; line-height: 1; }

.pc-logo img {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 7px 20px rgba(61, 48, 36, 0.12);
}

.pc-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 110px;
}

.pc-intro {
  max-width: none;
  margin-bottom: 42px;
}

.pc-intro > p, .pc-options-heading > p {
  margin: 0 0 10px;
  color: var(--pc-accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pc-intro h1 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.pc-intro > span {
  display: block;
  max-width: 610px;
  color: var(--pc-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.pc-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: start;
  gap: 34px;
}

.pc-preview {
  position: static;
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  background: var(--pc-surface);
  box-shadow: var(--pc-shadow);
}

.pc-size-selector {
  display: grid;
  gap: 12px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--pc-line);
  background: var(--pc-surface);
}

.pc-size-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.pc-size-heading > div { display: contents; }

.pc-size-heading .pc-step-label,
.pc-options-heading .pc-step-label {
  width: fit-content;
  min-width: 92px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 206, 188, 0.5);
  border-radius: 999px;
  background: var(--pc-accent);
  color: #fffdf9;
  box-shadow: 0 6px 14px rgba(126, 52, 29, 0.2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.pc-size-heading .pc-step-label {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0 0 1px;
}

.pc-options-heading .pc-step-label {
  margin: 0 auto 12px;
}

.pc-size-heading span {
  color: var(--pc-accent-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pc-size-heading h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.pc-size-heading > strong {
  grid-column: 2;
  grid-row: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: #dcebe4;
  color: #264c3c;
  font-size: 10px;
  white-space: nowrap;
}

.pc-size-heading > strong.is-provisional {
  background: #fff0e7;
  color: #8a432b;
}

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

.pc-size-card {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 8px;
  border: 1px solid var(--pc-line);
  border-radius: 13px;
  background: var(--pc-surface);
  color: var(--pc-text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pc-size-card:hover { transform: translateY(-1px); }

.pc-size-card.is-selected {
  border-color: #d98d74;
  background: var(--pc-accent);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 208, 190, 0.2), 0 7px 16px rgba(128, 56, 32, 0.2);
}

.pc-size-card strong {
  font-size: 16px;
  line-height: 1;
}

.pc-size-card:has(> strong:only-child) {
  justify-items: center;
  text-align: center;
}

.pc-size-card span,
.pc-size-card small {
  overflow: hidden;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.pc-size-card span { color: var(--pc-muted); }
.pc-size-card small { color: #47705f; font-weight: 800; }
.pc-size-card.is-provisional small { color: var(--pc-accent-dark); }

.pc-capacity-alert {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 10px;
  margin: 12px 20px 0;
  padding: 11px 11px 11px 13px;
  border: 1px solid rgba(177, 67, 48, 0.44);
  border-radius: 14px;
  background: #fff0ed;
  color: #722d22;
  box-shadow: 0 10px 24px rgba(113, 45, 34, 0.1);
}

.pc-capacity-alert.is-warning {
  border-color: rgba(197, 123, 32, 0.5);
  background: #fff5df;
  color: #704716;
}

.pc-capacity-confirm {
  min-height: 36px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: #b56832;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.pc-capacity-confirm[hidden] { display: none; }

.pc-capacity-alert[hidden] { display: none; }
.pc-capacity-alert > div { min-width: 0; }
.pc-capacity-alert strong { display: block; margin-bottom: 3px; font-size: 12px; }
.pc-capacity-alert p { margin: 0; font-size: 10px; font-weight: 700; line-height: 1.4; }

#pcCapacitySuggestion {
  min-width: 154px;
  min-height: 50px;
  padding: 11px 18px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background: #d86842;
  color: #fff;
  box-shadow: 0 9px 20px rgba(93, 30, 19, 0.3);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#pcCapacitySuggestion:hover,
#pcCapacitySuggestion:focus-visible {
  background: #ec744c;
  box-shadow: 0 11px 24px rgba(93, 30, 19, 0.38);
  transform: translateY(-2px);
}

.pc-capacity-dismiss {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid rgba(114, 45, 34, 0.2);
  border-radius: 50%;
  background: rgba(114, 45, 34, 0.08);
  color: #722d22;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.pc-preview-settings {
  border-top: 1px solid rgba(49, 74, 64, 0.14);
}

.pc-preview-settings > summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  color: var(--pc-text);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 900;
  user-select: none;
}

.pc-preview-settings > summary::-webkit-details-marker { display: none; }

.pc-preview-settings > summary::after {
  content: "Mostrar  ↓";
  min-width: 106px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #a8cdbd;
  color: #20382e;
  box-shadow: 0 7px 16px rgba(34, 57, 48, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.pc-preview-settings[open] > summary::after { content: "Ocultar  ↑"; }

.pc-preview-settings > summary:hover::after,
.pc-preview-settings > summary:focus-visible::after {
  background: #b9dacb;
}

.pc-preview-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 0 22px 20px;
}

.pc-selected > p {
  margin: 0 0 4px;
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc-measure-toggle {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(49, 74, 64, 0.5);
  border-radius: 999px;
  background: var(--pc-forest);
  color: #fff;
  box-shadow: 0 8px 18px rgba(34, 57, 48, 0.2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pc-measure-toggle[aria-pressed="true"] {
  border-color: rgba(49, 74, 64, 0.5);
  background: var(--pc-forest);
  color: #fff;
}

.pc-measure-toggle:hover,
.pc-measure-toggle:active {
  background: #263d34;
  transform: translateY(-1px);
}

.pc-product-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  overflow: hidden;
  background: #bfc0c7;
  touch-action: none;
}

.pc-add-feedback { display: none; }

.pc-add-feedback[hidden] { display: none; }

.pc-product-stage .pc-fallback-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.22s ease, transform 0.32s ease;
}

.pc-product-stage .pc-fallback-image.is-changing {
  opacity: 0.42;
  transform: scale(0.985);
}

.pc-product-stage canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  cursor: grab;
  transition: opacity 0.32s ease;
}

.pc-product-stage.is-three-ready .pc-fallback-image {
  opacity: 0;
  pointer-events: none;
}

.pc-product-stage.is-three-ready canvas { opacity: 1; }
.pc-product-stage.is-item-hover canvas { cursor: pointer; }
.pc-product-stage.is-dragging canvas { cursor: grabbing; }
.pc-product-stage.has-valid-drop-target canvas { cursor: grabbing; }
.pc-product-stage.has-warning-drop-target canvas { cursor: grabbing; }
.pc-product-stage.has-invalid-drop-target canvas { cursor: not-allowed; }
.pc-product-stage.has-valid-slide-anchor canvas { cursor: copy; }
.pc-product-stage.has-invalid-slide-anchor canvas { cursor: not-allowed; }

.pc-product-stage.is-external-drag-pending {
  box-shadow: inset 0 0 0 3px rgba(34, 158, 232, 0.42);
}

.pc-slide-snap-hint {
  position: absolute;
  z-index: 6;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 190px);
  padding: 9px 13px;
  border: 1px solid rgba(47, 120, 173, 0.58);
  border-radius: 999px;
  background: rgba(225, 243, 255, 0.96);
  color: #174a70;
  box-shadow: 0 8px 22px rgba(25, 72, 104, 0.2);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  pointer-events: none;
}

.pc-slide-snap-hint.is-invalid {
  border-color: rgba(181, 59, 42, 0.62);
  background: rgba(255, 232, 227, 0.96);
  color: #842d21;
}

.pc-slide-snap-hint[hidden] { display: none; }

.pc-stage-selection {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  max-width: calc(100% - 28px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border: 1px solid rgba(47, 120, 173, 0.5);
  border-radius: 999px;
  background: rgba(225, 243, 255, 0.94);
  color: #174a70;
  box-shadow: 0 8px 22px rgba(25, 72, 104, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.pc-stage-selection[hidden] { display: none; }

.pc-stage-selection span {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-stage-remove {
  min-width: 68px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #2f78ad;
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 74, 112, 0.25);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  touch-action: manipulation;
}

.pc-stage-remove:hover,
.pc-stage-remove:active {
  background: #1f5f8e;
  transform: scale(1.04);
}

.pc-slide-connect-prompt {
  position: absolute;
  z-index: 7;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(47, 120, 173, 0.62);
  border-radius: 16px;
  background: rgba(225, 243, 255, 0.96);
  color: #174a70;
  box-shadow: 0 14px 34px rgba(25, 72, 104, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.pc-slide-connect-prompt[hidden] { display: none; }

.pc-slide-connect-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pc-slide-connect-copy strong { font-size: 13px; }
.pc-slide-connect-copy span { font-size: 11px; line-height: 1.3; }

.pc-slide-connect-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.pc-slide-connect-actions button,
.pc-slide-connect-cancel {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  touch-action: manipulation;
}

.pc-slide-connect-actions button {
  padding: 7px 12px;
  background: #2f78ad;
  color: #fff;
}

.pc-slide-connect-actions button[aria-pressed="true"] {
  outline: 3px solid rgba(23, 74, 112, 0.28);
  outline-offset: 2px;
  background: #174a70;
}

.pc-slide-connect-cancel {
  width: 36px;
  padding: 0;
  background: rgba(23, 74, 112, 0.1);
  color: #174a70;
  font-size: 20px;
}

.pc-three-loading {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  max-width: calc(100% - 48px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: rgba(42, 40, 37, 0.76);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pc-three-loading.is-error { border-radius: 14px; }
.pc-three-loading[hidden] { display: none; }

.pc-three-tools {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(61, 64, 66, 0.18);
  background: #bfc0c7;
}

.pc-three-tools > summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  color: #282725;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 900;
  user-select: none;
}

.pc-three-tools > summary::-webkit-details-marker { display: none; }

.pc-three-tools > summary::after {
  content: "Mostrar  ↓";
  min-width: 106px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #4e4c49;
  color: #fff;
  box-shadow: 0 6px 14px rgba(43, 39, 33, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.pc-three-tools[open] > summary::after { content: "Ocultar  ↑"; }

.pc-three-tools > summary:hover::after,
.pc-three-tools > summary:focus-visible::after { background: #343331; }

.pc-three-tools-content {
  display: grid;
  grid-template-columns: minmax(0, 590px) 32px;
  justify-content: center;
  align-items: start;
  gap: 8px;
  padding: 9px 14px 11px;
}

.pc-three-tools[hidden] { display: none; }

.pc-three-hints {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pc-three-tools-dismiss {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: #4e4c49;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  touch-action: manipulation;
}

.pc-three-tools-dismiss:hover,
.pc-three-tools-dismiss:active { background: #343331; }

.pc-three-hints span {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(39, 37, 34, 0.78);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 18, 16, 0.18);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.pc-position-list {
  display: grid;
  gap: 10px;
  margin: 14px 22px 2px;
}

.pc-position-list[hidden] { display: none; }

.pc-layout-notice {
  margin: 10px 22px 0;
  padding: 10px 13px;
  border: 1px solid rgba(174, 94, 58, 0.32);
  border-radius: 12px;
  background: #fff0e7;
  color: #753a25;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.pc-layout-notice[hidden] { display: none; }

.pc-layout-notice.is-invalid {
  border-color: rgba(194, 55, 43, 0.68);
  background: #ffebe8;
  color: #7f211b;
  box-shadow: 0 0 0 3px rgba(194, 55, 43, 0.1);
}

.pc-layout-notice.is-warning {
  border-color: rgba(197, 123, 32, 0.58);
  background: #fff5df;
  color: #704716;
  box-shadow: 0 0 0 3px rgba(197, 123, 32, 0.1);
}

.pc-position-control {
  --pc-position-bg: #dbe9e1;
  --pc-position-border: rgba(49, 74, 64, 0.3);
  --pc-position-rail: #496b5b;
  --pc-position-selected-border: rgba(49, 74, 64, 0.68);
  display: grid;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--pc-position-border);
  border-radius: 14px;
  background: var(--pc-position-bg);
  box-shadow: inset 3px 0 0 var(--pc-position-rail);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.pc-position-control[data-tone="forest"] {
  --pc-position-bg: #dbe9e1;
  --pc-position-border: rgba(49, 74, 64, 0.3);
  --pc-position-rail: #496b5b;
  --pc-position-selected-border: rgba(49, 74, 64, 0.68);
}

.pc-position-control[data-tone="sage"] {
  --pc-position-bg: #c5d9cf;
  --pc-position-border: rgba(72, 102, 88, 0.38);
  --pc-position-rail: #6e8f7f;
  --pc-position-selected-border: rgba(72, 102, 88, 0.78);
}

.pc-position-control[hidden] { display: none; }

.pc-position-control.is-selected {
  border-color: var(--pc-position-selected-border);
  background: var(--pc-position-bg);
  box-shadow: inset 4px 0 0 var(--pc-position-rail), 0 8px 20px rgba(37, 57, 47, 0.14);
}

.pc-position-control.is-invalid {
  border-color: rgba(194, 55, 43, 0.68);
  background: #ffebe8;
  color: #7f211b;
  box-shadow: 0 0 0 3px rgba(194, 55, 43, 0.1);
}

.pc-position-control.is-warning {
  border-color: rgba(197, 123, 32, 0.58);
  background: #fff5df;
  color: #704716;
  box-shadow: 0 0 0 3px rgba(197, 123, 32, 0.1);
}

.pc-position-control.is-collapsed {
  gap: 0;
  padding-block: 11px;
}

.pc-position-control-main {
  display: grid;
  gap: 10px;
}

.pc-position-control-main[hidden] { display: none; }

.pc-position-control-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pc-position-toggle {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  touch-action: manipulation;
}

.pc-position-chevron {
  flex: 0 0 auto;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1 !important;
}

.pc-position-toggle strong { min-width: 0; }

.pc-position-control strong {
  color: var(--pc-text);
  font-size: 13px;
}

.pc-position-control span {
  color: var(--pc-muted);
  font-size: 11px;
  line-height: 1.35;
}

.pc-position-toggle .pc-position-toggle-action {
  min-height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(31, 73, 56, 0.24);
  border-radius: 999px;
  background: #9fc2b2;
  color: #173127;
  box-shadow: 0 4px 11px rgba(25, 54, 42, 0.18);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.pc-position-toggle:hover .pc-position-toggle-action,
.pc-position-toggle:active .pc-position-toggle-action {
  background: #b6d5c7;
}

.pc-position-toggle:focus-visible {
  outline: 3px solid rgba(74, 155, 209, 0.5);
  outline-offset: 2px;
  border-radius: 999px;
}

.pc-position-toggle .pc-position-toggle-text,
.pc-position-toggle .pc-position-chevron {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.pc-position-remove {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid rgba(49, 74, 64, 0.22);
  border-radius: 50%;
  background: var(--pc-surface);
  color: var(--pc-muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  touch-action: manipulation;
}

.pc-position-remove:hover,
.pc-position-remove:active {
  border-color: rgba(163, 79, 51, 0.45);
  color: var(--pc-accent-dark);
}

.pc-mount-choices {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(163, 79, 51, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.52);
}

.pc-mount-choices button {
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #655f56;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  touch-action: manipulation;
}

.pc-mount-choices button[aria-pressed="true"] {
  background: var(--pc-accent);
  color: #fff;
  box-shadow: 0 4px 11px rgba(95, 49, 33, 0.18);
}

.pc-mount-choices button:disabled,
.pc-mount-choices button.is-occupied {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}

.pc-position-control[data-kind="net"] .pc-mount-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-position-control[data-kind="net"] .pc-mount-choices button {
  white-space: normal;
  line-height: 1.15;
}

.pc-wall-face-toggle {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(49, 74, 64, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: #314a40;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  touch-action: manipulation;
}

.pc-wall-face-toggle[aria-pressed="true"] {
  border-color: rgba(163, 79, 51, 0.68);
  background: var(--pc-accent);
  color: #fff;
}

.pc-height-control {
  display: grid;
  gap: 6px;
  padding: 9px;
  border: 1px solid rgba(49, 74, 64, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.48);
}

.pc-height-label {
  color: #314a40;
  font-size: 10px;
  font-weight: 850;
}

.pc-height-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.pc-height-choices button {
  min-height: 34px;
  padding: 6px 4px;
  border: 1px solid rgba(49, 74, 64, 0.18);
  border-radius: 8px;
  background: var(--pc-surface);
  color: #53645b;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
  touch-action: manipulation;
}

.pc-height-choices button[aria-pressed="true"] {
  border-color: var(--pc-accent);
  background: var(--pc-accent);
  color: #fff;
}

.pc-slide-rotation {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(49, 74, 64, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.48);
}

.pc-slide-rotation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pc-slide-rotation-heading span,
.pc-slide-rotation-heading output {
  color: #314a40;
  font-size: 10px;
  font-weight: 850;
}

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

.pc-slide-compass button {
  min-height: 32px;
  padding: 5px 4px;
  border: 1px solid rgba(49, 74, 64, 0.18);
  border-radius: 8px;
  background: var(--pc-surface);
  color: #53645b;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
  touch-action: manipulation;
}

.pc-slide-compass button[aria-pressed="true"] {
  border-color: var(--pc-accent);
  background: var(--pc-accent);
  color: #fff;
}

.pc-mount-fixed {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid rgba(49, 74, 64, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.56);
  color: #314a40;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.pc-position-control input {
  width: 100%;
  margin: 0;
  accent-color: var(--pc-accent);
  cursor: ew-resize;
}

.pc-position-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.pc-position-scale span {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pc-selected { padding: 18px 22px 8px; }

.pc-selected-items {
  min-height: 54px;
  display: grid;
  gap: 8px;
  padding: 5px 2px 10px;
}

.pc-empty {
  align-self: center;
  color: var(--pc-muted);
  font-size: 14px;
}

.pc-selected-chip {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 6px 5px 5px;
  border: 1px solid var(--pc-line);
  border-radius: 14px;
  background: var(--pc-bg);
  font-size: 12px;
  font-weight: 750;
}

.pc-selected-copy {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 5px;
}

.pc-selected-label {
  min-width: 0;
  line-height: 1.2;
}

.pc-selected-quantity {
  display: inline-grid;
  grid-template-columns: 26px minmax(34px, auto) 26px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: var(--pc-surface-soft);
}

.pc-selected-quantity-button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pc-accent-dark);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
}

.pc-selected-quantity-button:hover:not(:disabled),
.pc-selected-quantity-button:active:not(:disabled) {
  background: rgba(163, 79, 51, 0.12);
}

.pc-selected-quantity-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.pc-selected-quantity-output {
  padding: 0 4px;
  color: var(--pc-text);
  font-size: 11px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.pc-selected-price {
  color: var(--pc-accent-dark);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.pc-selected-chip img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}

.pc-selected-remove {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid var(--pc-line);
  border-radius: 50%;
  background: var(--pc-surface);
  color: var(--pc-muted);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.pc-selected-remove:hover {
  border-color: rgba(163, 79, 51, 0.45);
  color: var(--pc-accent-dark);
}

.pc-price-box {
  margin: 8px 22px 18px;
  padding: 16px;
  border-radius: 14px;
  background: var(--pc-surface-soft);
}

.pc-price-box > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  color: var(--pc-muted);
  font-size: 14px;
}

.pc-price-box strong { color: var(--pc-text); }

.pc-payment-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pc-payment-icon {
  flex: 0 0 auto;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.pc-price-box .pc-total {
  margin-top: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--pc-line);
  color: var(--pc-text);
  font-weight: 800;
}

.pc-price-box .pc-total strong {
  color: var(--pc-forest);
  font-size: 23px;
  line-height: 1;
}

.pc-card-payment {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--pc-line);
}

.pc-card-total,
.pc-more-installment-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pc-card-total {
  color: var(--pc-text);
  font-size: 14px;
  font-weight: 800;
}

.pc-card-total strong {
  color: var(--pc-accent-dark);
  font-size: 20px;
}

.pc-featured-installments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.pc-featured-installments > div {
  min-width: 0;
  min-height: 54px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 8px 6px;
  border: 1px solid var(--pc-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--pc-surface) 72%, transparent);
  color: var(--pc-muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.pc-more-installment-list > div {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--pc-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--pc-surface) 72%, transparent);
  color: var(--pc-muted);
  font-size: 12px;
  font-weight: 750;
}

.pc-featured-installments strong {
  color: var(--pc-text);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.pc-more-installment-list strong {
  color: var(--pc-text);
  font-size: 13px;
  text-align: right;
}

.pc-featured-installments strong small,
.pc-more-installment-list strong small {
  font-size: inherit;
  font-weight: inherit;
}

.pc-more-installments {
  margin-top: 8px;
}

.pc-more-installments > summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  color: var(--pc-accent-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  list-style: none;
}

.pc-more-installments > summary::-webkit-details-marker { display: none; }
.pc-more-installments > summary::after { content: '↓'; }
.pc-more-installments[open] > summary::after { content: '↑'; }

.pc-more-installment-list {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.pc-more-installment-list span {
  display: grid;
  gap: 2px;
}

.pc-more-installment-list span small {
  color: var(--pc-muted);
  font-size: 10px;
  font-weight: 650;
}

.pc-price-box.is-provisional {
  border: 1px solid rgba(163, 79, 51, 0.28);
  background: #fff4ed;
}

.pc-price-box.is-provisional .pc-total {
  align-items: center;
}

.pc-price-box.is-provisional .pc-total strong {
  max-width: 230px;
  color: var(--pc-accent-dark);
  font-size: 15px;
  line-height: 1.25;
  text-align: right;
}

.pc-price-box.is-provisional .pc-card-total strong,
.pc-price-box.is-provisional .pc-featured-installments strong,
.pc-price-box.is-provisional .pc-more-installment-list strong {
  color: var(--pc-accent-dark);
  font-size: 13px;
}

.pc-consult {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 22px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--pc-forest);
  color: #fffdf9;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.pc-consult:hover { background: #263c34; transform: translateY(-1px); }
.pc-consult:active { transform: translateY(1px); }

.pc-options {
  min-width: 0;
  padding: 8px 0 0;
}

.pc-options-heading { margin-bottom: 22px; }

.pc-options-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 14px;
}

.pc-options-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.pc-catalog-nav {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 8px;
}

.pc-catalog-nav button {
  width: auto;
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px 2px;
  border: 1px solid rgba(184, 95, 62, 0.38);
  border-radius: 14px;
  background: var(--pc-accent);
  color: #fffdf9;
  box-shadow: 0 7px 16px rgba(126, 52, 29, 0.18);
  cursor: pointer;
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.pc-catalog-nav .pc-catalog-previous {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  padding: 0 0 2px;
  border-radius: 50%;
}

.pc-catalog-nav .pc-catalog-next {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  border-color: #ffe07a;
  background: #ffd34f;
  color: #2a210f;
  box-shadow: 0 10px 24px rgba(204, 145, 10, 0.32), 0 0 0 4px rgba(255, 211, 79, 0.17);
  font-size: 12px;
  letter-spacing: 0.015em;
  white-space: nowrap;
  animation: pc-catalog-attention 1.8s ease-in-out 3;
}

.pc-catalog-next-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.pc-catalog-nav .pc-catalog-next:hover:not(:disabled) {
  border-color: #ffeb9d;
  background: #ffe176;
  color: #241b0a;
  box-shadow: 0 12px 28px rgba(204, 145, 10, 0.38), 0 0 0 6px rgba(255, 211, 79, 0.2);
}

.pc-catalog-next:hover:not(:disabled) .pc-catalog-next-arrow { transform: translateX(3px); }

@keyframes pc-catalog-attention {
  0%, 100% { box-shadow: 0 10px 24px rgba(204, 145, 10, 0.32), 0 0 0 4px rgba(255, 211, 79, 0.17); }
  50% { box-shadow: 0 12px 30px rgba(204, 145, 10, 0.42), 0 0 0 8px rgba(255, 211, 79, 0.24); }
}

.pc-catalog-nav button:hover:not(:disabled) {
  background: var(--pc-accent-dark);
  box-shadow: 0 9px 20px rgba(126, 52, 29, 0.25);
  transform: translateY(-1px);
}

.pc-catalog-nav button:active:not(:disabled) { transform: translateY(1px) scale(0.98); }

.pc-catalog-nav button:focus-visible,
.pc-catalog-viewport:focus-visible {
  outline: 3px solid rgba(216, 104, 66, 0.46);
  outline-offset: 3px;
}

.pc-catalog-nav button:disabled {
  cursor: default;
  box-shadow: none;
  opacity: 0.28;
}

.pc-catalog-nav output {
  grid-column: 1;
  grid-row: 2;
  min-width: 88px;
  color: var(--pc-muted);
  font-size: 11px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.pc-catalog-viewport {
  width: 100%;
  min-width: 0;
}

.pc-catalog-viewport.is-ready {
  height: auto;
  overflow-x: hidden;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pc-catalog-viewport.is-ready::-webkit-scrollbar { display: none; }

.pc-option-list {
  display: grid;
  gap: 12px;
}

.pc-option-list.is-paginated {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.pc-option-page {
  min-width: 0;
  height: auto;
  flex: 0 0 100%;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 1px 1px 4px;
  overflow: visible;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.pc-option-page:not(.is-current) { pointer-events: none; }

.pc-option {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  background: var(--pc-surface);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pc-option.is-selected {
  border-color: rgba(184, 95, 62, 0.55);
  box-shadow: 0 14px 34px rgba(61, 48, 36, 0.1);
}

@media (min-width: 621px) {
  .pc-option[draggable="true"] { cursor: grab; }
  .pc-option[draggable="true"]:active { cursor: grabbing; }
  .pc-option.is-drag-source {
    border-color: rgba(34, 158, 232, 0.74);
    box-shadow: 0 16px 38px rgba(28, 74, 101, 0.2);
    opacity: 0.62;
    transform: scale(0.985);
  }
}

.pc-option > img {
  width: 112px;
  height: 102px;
  display: block;
  border-radius: 14px;
  background: var(--pc-surface-soft);
  object-fit: cover;
}

.pc-option-copy h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.15;
}

.pc-option-copy { min-width: 0; }

.pc-option-copy p {
  margin: 0 0 8px;
  color: var(--pc-muted);
  font-size: 13px;
  line-height: 1.4;
}

.pc-tech-sheet {
  margin: 1px 0 9px;
  color: var(--pc-text);
}

.pc-tech-sheet summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--pc-line);
  border-radius: 12px;
  background: var(--pc-surface-soft);
  color: var(--pc-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pc-tech-sheet summary::-webkit-details-marker { display: none; }

.pc-tech-sheet summary::after {
  content: '⌄';
  flex: 0 0 auto;
  color: var(--pc-accent-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-2px);
  transition: transform 0.18s ease;
}

.pc-tech-sheet[open] summary {
  border-color: rgba(159, 194, 178, 0.75);
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
  background: rgba(159, 194, 178, 0.16);
}

.pc-tech-sheet[open] summary::after {
  transform: translateY(2px) rotate(180deg);
}

.pc-tech-sheet summary:focus-visible {
  outline: 3px solid rgba(216, 104, 66, 0.42);
  outline-offset: 2px;
}

.pc-tech-body {
  display: grid;
  gap: 12px;
  margin-top: 7px;
  padding: 13px 12px 14px;
  border-left: 3px solid var(--pc-forest);
  border-radius: 4px 12px 12px 4px;
  background: var(--pc-surface-soft);
}

.pc-tech-section h4 {
  margin: 0 0 8px;
  color: var(--pc-accent-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pc-tech-section dl {
  display: grid;
  grid-template-columns: minmax(98px, 0.8fr) minmax(0, 1.2fr);
  gap: 6px 10px;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.pc-tech-section dt {
  color: var(--pc-muted);
  font-weight: 750;
}

.pc-tech-section dd {
  min-width: 0;
  margin: 0;
  color: var(--pc-text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pc-option.is-at-capacity {
  border-color: rgba(163, 79, 51, 0.3);
}

.pc-option-copy strong {
  color: var(--pc-accent-dark);
  font-size: 16px;
}

.pc-stepper button {
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.pc-stepper {
  display: grid;
  grid-template-columns: 38px 34px 38px;
  align-items: center;
  border: 1px solid rgba(184, 95, 62, 0.35);
  border-radius: 13px;
  overflow: hidden;
}

.pc-stepper button {
  width: 38px;
  height: 42px;
  background: #f4e4dc;
  color: var(--pc-accent-dark);
  font-size: 20px;
}

.pc-stepper button:disabled { opacity: 0.35; cursor: default; }

.pc-stepper output {
  text-align: center;
  font-weight: 850;
}

.pc-mobile-total { display: none; }

@media (min-width: 901px) {
  .pc-options {
    position: sticky;
    top: 84px;
    align-self: start;
  }

  .pc-option-page .pc-option {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 10px;
    border-radius: 16px;
  }

  .pc-option-page .pc-option > img {
    width: 92px;
    height: 92px;
    border-radius: 12px;
  }

  .pc-option-page .pc-option-copy h3 {
    margin-bottom: 3px;
    font-size: 15px;
  }

  .pc-option-page .pc-option-copy p {
    display: -webkit-box;
    margin-bottom: 5px;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pc-option-page .pc-option-copy strong { font-size: 14px; }
  .pc-option-page .pc-tech-sheet { margin: 0 0 5px; }
  .pc-option-page .pc-tech-sheet summary {
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 10.5px;
  }
  .pc-option-page .pc-tech-sheet summary::after { font-size: 16px; }
  .pc-option-page .pc-stepper { grid-template-columns: 34px 30px 34px; }
  .pc-option-page .pc-stepper button { width: 34px; height: 38px; }
  .pc-option-page .pc-option:has(.pc-tech-sheet[open]) { align-items: start; }
  .pc-option-page .pc-option:has(.pc-tech-sheet[open]) .pc-option-copy p {
    display: block;
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .pc-main { width: min(100% - 30px, 680px); padding-top: 34px; }
  .pc-intro { margin-bottom: 28px; }
  .pc-workspace { display: block; }
  .pc-preview { position: static; margin-bottom: 38px; }
  .pc-options { padding-top: 0; }
  .pc-catalog-viewport.is-ready {
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  .pc-option-page { padding: 1px 1px 4px; }
}

@media (max-width: 620px) {
  .pc-promo { gap: 12px; justify-content: space-between; font-size: 11px; }
  .pc-header { min-height: 64px; padding: 8px 16px; }
  .pc-logo img { width: 42px; height: 42px; }
  .pc-main { width: calc(100% - 24px); padding: 30px 0 126px; }
  .pc-intro { text-align: center; }
  .pc-intro h1 { margin-right: auto; margin-left: auto; font-size: 40px; }
  .pc-intro > span { margin-right: auto; margin-left: auto; font-size: 16px; }
  .pc-options-title-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .pc-catalog-nav {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  .pc-catalog-nav output { font-size: 12px; }
  .pc-size-selector { gap: 9px; padding: 14px 14px 12px; }
  .pc-size-heading h2 { font-size: 18px; }
  .pc-size-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 1px 0 7px;
    overflow: visible;
  }
  .pc-size-card { min-height: 58px; }
  .pc-capacity-alert {
    grid-template-columns: minmax(0, 1fr) 32px;
    margin: 10px 14px 0;
  }
  .pc-capacity-confirm { grid-column: 1 / -1; width: 100%; }
  #pcCapacitySuggestion { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .pc-capacity-dismiss { grid-column: 2; grid-row: 1; width: 32px; height: 32px; }
  .pc-preview-settings > summary { min-height: 46px; padding: 9px 14px; }
  .pc-preview-settings > summary::after { min-width: 96px; padding: 8px 12px; }
  .pc-preview-heading { gap: 10px; padding: 0 14px 14px; }
  .pc-product-stage {
    aspect-ratio: 1 / 1.03;
  }
  .pc-stage-selection { top: 10px; right: 10px; max-width: calc(100% - 20px); }
  .pc-stage-selection span { max-width: 205px; }
  .pc-slide-snap-hint {
    top: 62px;
    left: 10px;
    max-width: calc(100% - 20px);
    font-size: 11px;
  }
  .pc-three-tools > summary { min-height: 46px; padding: 9px 14px; }
  .pc-three-tools > summary::after { min-width: 96px; padding: 8px 12px; }
  .pc-three-tools-content { padding: 7px 12px 10px; }
  .pc-three-hints { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-three-hints span { min-height: 28px; padding: 5px 8px; font-size: 9px; }
  .pc-three-hints span:last-child { width: max-content; max-width: 100%; grid-column: 1 / -1; justify-self: center; }
  .pc-slide-connect-prompt {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    padding: 10px;
  }
  .pc-slide-connect-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
  }
  .pc-slide-connect-actions button { flex: 1 1 120px; }
  .pc-slide-connect-cancel { grid-column: 2; grid-row: 1; }
  .pc-position-list { gap: 8px; margin: 12px 16px 0; }
  .pc-layout-notice { margin: 9px 16px 0; }
  .pc-position-control { gap: 10px; }
  .pc-mount-choices { width: 100%; }
  .pc-selected { padding: 16px 16px 6px; }
  .pc-selected-chip { grid-template-columns: 42px minmax(0, 1fr) auto 34px; }
  .pc-selected-price { font-size: 11px; }
  .pc-price-box { margin: 8px 16px 16px; }
  .pc-consult { margin: 0 16px; }
  .pc-option { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .pc-option > img { width: 82px; height: 88px; }
  .pc-option-copy h3 { font-size: 15px; }
  .pc-option-copy p { font-size: 12px; }
  .pc-tech-sheet summary { font-size: 11px; }
  .pc-tech-body { padding: 12px 10px 13px; }
  .pc-tech-section dl {
    grid-template-columns: minmax(88px, 0.8fr) minmax(0, 1.2fr);
    gap: 6px 8px;
    font-size: 10.5px;
  }
  .pc-option-actions { grid-column: 1 / -1; }
  .pc-stepper { width: 100%; }
  .pc-stepper { grid-template-columns: 1fr 46px 1fr; }
  .pc-stepper button { width: 100%; }
  .pc-mobile-total {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px max(14px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pc-line);
    background: rgba(255, 253, 249, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -12px 32px rgba(61, 48, 36, 0.12);
  }
  .pc-mobile-total > img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #c7c6cc;
    object-fit: cover;
  }
  .pc-mobile-total div { min-width: 0; flex: 1; display: grid; gap: 2px; }
  .pc-mobile-total span {
    max-width: 150px;
    overflow: hidden;
    color: var(--pc-muted);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pc-mobile-total strong { color: var(--pc-forest); font-size: 20px; }
  .pc-mobile-total strong { line-height: 1.05; }
  .pc-mobile-total a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 13px;
    background: var(--pc-accent);
    color: #fffdf9;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
  }
  .pc-add-feedback {
    position: fixed;
    z-index: 11;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: min(480px, calc(100% - 24px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 40px;
    align-items: center;
    gap: 8px;
    padding: 9px 9px 9px 13px;
    border: 1px solid rgba(159, 194, 178, 0.52);
    border-radius: 15px;
    background: rgba(43, 62, 54, 0.97);
    color: #f8f5ef;
    box-shadow: 0 15px 38px rgba(28, 35, 31, 0.28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: pc-feedback-in 0.24s ease-out both;
  }
  .pc-add-feedback p {
    min-width: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-wrap: pretty;
  }
  .pc-feedback-view,
  .pc-feedback-dismiss {
    min-height: 40px;
    border: 0;
    cursor: pointer;
    touch-action: manipulation;
  }
  .pc-feedback-view {
    padding: 8px 10px;
    border-radius: 11px;
    background: #a8c9ba;
    color: #1e332a;
    font-size: 11px;
    font-weight: 850;
  }
  .pc-feedback-dismiss {
    width: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 23px;
    line-height: 1;
  }
  .pc-feedback-view:active,
  .pc-feedback-dismiss:active { transform: scale(0.97); }
}

@keyframes pc-feedback-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Apariencia oscura fija, independiente del tema del dispositivo. */
.pc-header { background: rgba(25, 24, 22, 0.92); }
.pc-logo img { box-shadow: 0 7px 20px rgba(8, 7, 6, 0.32); }
.pc-selected-chip img { background: #eeece8; }
.pc-stepper button { background: #493127; color: #f4c3ae; }
.pc-mobile-total { background: rgba(36, 33, 29, 0.96); }
.pc-size-selector { background: #211f1b; }
.pc-size-heading > strong { background: #263a32; color: #bcd7ca; }
.pc-size-heading > strong.is-provisional { background: #493127; color: #f4c3ae; }
.pc-size-card { background: #292620; }
.pc-size-card.is-selected { border-color: #e1a28d; background: var(--pc-accent); color: #fff; }
.pc-size-card small { color: #bcd7ca; }
.pc-size-card.is-provisional small { color: #f1ad92; }
.pc-capacity-alert { border-color: rgba(224, 114, 91, 0.48); background: #402722; color: #ffd7cc; }
.pc-capacity-dismiss { border-color: rgba(255, 215, 204, 0.22); background: rgba(255, 215, 204, 0.08); color: #ffd7cc; }
.pc-price-box.is-provisional { background: #3b2a23; }
.pc-position-control {
  --pc-position-bg: #263a32;
  --pc-position-border: rgba(159, 194, 178, 0.3);
  --pc-position-rail: #79a18e;
  --pc-position-selected-border: rgba(159, 194, 178, 0.72);
  border-color: var(--pc-position-border);
  background: var(--pc-position-bg);
  box-shadow: inset 3px 0 0 var(--pc-position-rail);
}
.pc-position-control[data-tone="forest"] {
  --pc-position-bg: #263a32;
  --pc-position-border: rgba(159, 194, 178, 0.3);
  --pc-position-rail: #79a18e;
  --pc-position-selected-border: rgba(159, 194, 178, 0.72);
}
.pc-position-control[data-tone="sage"] {
  --pc-position-bg: #3a4c43;
  --pc-position-border: rgba(188, 215, 202, 0.4);
  --pc-position-rail: #a4c5b5;
  --pc-position-selected-border: rgba(188, 215, 202, 0.82);
}
.pc-position-control.is-selected {
  border-color: var(--pc-position-selected-border);
  background: var(--pc-position-bg);
  box-shadow: inset 4px 0 0 var(--pc-position-rail), 0 9px 24px rgba(7, 12, 9, 0.24);
}
.pc-position-control strong { color: var(--pc-text); }
.pc-position-control span { color: var(--pc-muted); }
.pc-position-control.is-invalid {
  border-color: rgba(239, 123, 107, 0.64);
  background: #402722;
  color: #ffd7cc;
  box-shadow: 0 0 0 3px rgba(239, 123, 107, 0.1);
}
.pc-position-control.is-warning {
  border-color: rgba(224, 170, 88, 0.6);
  background: #3d3221;
  color: #ffe2ad;
  box-shadow: 0 0 0 3px rgba(224, 170, 88, 0.1);
}
.pc-stage-selection {
  border-color: rgba(112, 185, 232, 0.58);
  background: rgba(24, 57, 78, 0.94);
  color: #d9efff;
  box-shadow: 0 8px 24px rgba(5, 17, 26, 0.3);
}
.pc-stage-remove { background: #4a9bd1; color: #102b3e; }
.pc-stage-remove:hover,
.pc-stage-remove:active { background: #70b9e8; }
.pc-slide-snap-hint {
  border-color: rgba(112, 185, 232, 0.58);
  background: rgba(24, 57, 78, 0.96);
  color: #d9efff;
}
.pc-slide-snap-hint.is-invalid {
  border-color: rgba(239, 123, 107, 0.62);
  background: rgba(93, 37, 31, 0.96);
  color: #ffe0da;
}
.pc-slide-connect-prompt {
  border-color: rgba(112, 185, 232, 0.58);
  background: rgba(24, 57, 78, 0.96);
  color: #d9efff;
  box-shadow: 0 12px 30px rgba(5, 17, 26, 0.34);
}
.pc-slide-connect-actions button { background: #4a9bd1; color: #102b3e; }
.pc-slide-connect-actions button[aria-pressed="true"] {
  outline-color: rgba(217, 239, 255, 0.5);
  background: #d9efff;
  color: #102b3e;
}
.pc-slide-connect-cancel { background: rgba(217, 239, 255, 0.1); color: #d9efff; }
.pc-position-copy .pc-mount-status { color: #dbe9e1; }
.pc-mount-choices {
  border-color: rgba(224, 160, 134, 0.18);
  background: #211f1b;
}
.pc-mount-choices button { color: #c8c0b5; }
.pc-mount-choices button[aria-pressed="true"] { background: var(--pc-accent); color: #fff; }
.pc-mount-fixed { border-color: rgba(224, 160, 134, 0.18); background: #211f1b; color: var(--pc-text); }
.pc-wall-face-toggle { border-color: rgba(224, 160, 134, 0.18); background: #211f1b; color: var(--pc-text); }
.pc-wall-face-toggle[aria-pressed="true"] { border-color: #d07858; background: var(--pc-accent); color: #fff; }
.pc-height-control { border-color: rgba(224, 160, 134, 0.18); background: #211f1b; }
.pc-height-label { color: var(--pc-text); }
.pc-height-choices button { border-color: rgba(224, 160, 134, 0.18); background: #292621; color: #c8c0b5; }
.pc-height-choices button[aria-pressed="true"] { border-color: #d07858; background: var(--pc-accent); color: #fff; }
.pc-slide-rotation { border-color: rgba(224, 160, 134, 0.18); background: #211f1b; }
.pc-slide-rotation-heading span,
.pc-slide-rotation-heading output { color: var(--pc-text); }
.pc-slide-compass button { border-color: rgba(224, 160, 134, 0.18); background: #292621; color: #c8c0b5; }
.pc-slide-compass button[aria-pressed="true"] { border-color: #d07858; background: var(--pc-accent); color: #fff; }

/* Entrega: formulario compacto, con el mismo lenguaje del configurador. */
.pc-delivery {
  margin: 4px 22px 14px;
  padding: 14px;
  border: 1px solid var(--pc-line);
  border-radius: 14px;
  background: var(--pc-surface);
}
.pc-delivery label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.pc-delivery-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.pc-delivery input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--pc-line);
  border-radius: 10px;
  background: var(--pc-surface-soft);
  color: var(--pc-text);
  font: inherit;
  font-size: 16px;
}
.pc-delivery input::placeholder { color: var(--pc-muted); opacity: 1; }
.pc-delivery input[aria-invalid="true"] { border-color: #c45b40; }
.pc-delivery input:focus-visible {
  outline: 3px solid var(--pc-forest);
  outline-offset: 2px;
}
.pc-delivery button {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--pc-accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.pc-delivery button:hover { background: var(--pc-accent-dark); color: #2c211b; }
.pc-delivery-result {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 13px 0 0;
  border-top: 1px solid var(--pc-line);
  font-size: 14px;
}
.pc-delivery-result p { margin: 0; color: var(--pc-muted); line-height: 1.55; }
#pcDeliveryResultAmount { color: var(--pc-forest); font-size: 20px; }
.pc-delivery-result[data-status="invalid"] > strong,
.pc-delivery-result[data-status="freight"] > strong { color: var(--pc-accent-dark); }
.pc-delivery [hidden] { display: none !important; }
.pc-delivery[hidden],
.pc-delivery-edit[hidden] { display: none !important; }
.pc-delivery-price-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.pc-delivery-price-row strong { text-align: right; flex-shrink: 0; }
.pc-delivery-edit {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(240, 170, 143, 0.48);
  border-radius: 50%;
  background: #4a2b21;
  color: #ffd0bd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.pc-delivery-edit::before {
  content: "";
  position: absolute;
  inset: -7px;
}
.pc-delivery-edit svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pc-delivery-edit:hover { background: var(--pc-accent); color: #fff; }
.pc-delivery-edit:active { transform: scale(0.96); }
.pc-delivery-edit:focus-visible {
  outline: 3px solid rgba(240, 170, 143, 0.45);
  outline-offset: 2px;
}
.pc-price-scope { margin: 10px 0 2px; font-size: 12px; line-height: 1.5; color: var(--pc-muted); }
#pcMobilePriceScope { font-size: 10px; line-height: 1.25; color: var(--pc-muted); }
@media (max-width: 620px) {
  .pc-delivery { margin: 4px 16px 12px; padding: 12px; }
  .pc-delivery button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pc-product-stage img, .pc-product-stage canvas, .pc-three-tools, .pc-consult, .pc-option { transition: none; }
  .pc-catalog-viewport.is-ready { scroll-behavior: auto; }
  .pc-catalog-nav button { transition: none; animation: none; }
  .pc-catalog-nav .pc-catalog-next { animation: none; }
  .pc-catalog-next-arrow { transition: none; }
  .pc-delivery-edit { transition: none; }
  .pc-add-feedback { animation: none; }
}
