html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.store-page {
  background: var(--paper);
}

.product-header {
  display: flex;
  justify-content: flex-start;
  border-bottom-color: rgba(11, 11, 11, .08);
  background: #f2efe9;
}

.product-header .brand {
  grid-column: auto;
  justify-self: auto;
}

.product-header .brand-wordmark {
  width: clamp(190px, 19vw, 260px);
}

.product-nav {
  margin-left: auto;
}

.store-page.home-page {
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

.store-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.buy-layout {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.buy-media {
  min-width: 0;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-gallery {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  background: #ededeb;
}

.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--gallery-aspect-ratio, 3 / 2);
  min-height: 0;
  overflow: hidden;
  background: #d4d4d4;
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 14px 20px;
  overflow-x: auto;
  background: var(--paper);
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
}

.gallery-thumbnail {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  padding: 0;
  border: 1px solid transparent;
  background: #ededeb;
  cursor: pointer;
}

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

.gallery-thumbnail.is-active {
  border-color: var(--ink);
}

.gallery-thumbnail:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.gallery-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gallery-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gallery-navigation {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
}

.gallery-navigation button,
.gallery-navigation span,
.media-mode-button {
  min-height: 42px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gallery-navigation button {
  width: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.gallery-navigation span {
  min-width: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.media-mode-button {
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, .94);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.media-mode-button--photos {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 12;
}

.media-mode-button--model {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 12;
}

.gallery-navigation button:focus-visible,
.media-mode-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.buy-media .model-stage {
  flex: 1 1 auto;
  min-height: 440px;
  width: 100%;
  margin: 0;
  border: 0;
}

.buy-media .model-view-controls {
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  pointer-events: none;
}

.buy-media .model-view-controls .zoom-controls {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: auto;
}

.buy-media .model-view-controls .spin-speed {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: auto;
}

.buy-media .model-stage > .model-tools {
  top: auto;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
}

.buy-media .model-stage > .model-tools .model-configurator {
  width: min(420px, calc(100vw - 320px));
}

.buy-media > .model-tools {
  position: static;
  flex: 0 0 auto;
  width: 100%;
  display: block;
  align-items: stretch;
  gap: 10px;
  padding: 32px;
  pointer-events: auto;
}

.buy-media > .model-tools .model-configurator {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(330px, 1.6fr);
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 14px 16px;
  box-shadow: none;
  backdrop-filter: none;
}

.buy-media > .model-tools .configurator-heading h2 {
  margin: 0 0 3px;
}

.buy-media > .model-tools .configurator-heading h2,
.buy-media > .model-tools .configurator-kicker {
  font-size: 17px;
}

.buy-media > .model-tools .finish-colors {
  margin: 0;
}

.buy-details {
  --details-gutter: 32px;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: var(--details-gutter);
  border-left: 1px solid var(--line);
  text-align: left;
}

.buy-details > .buy-title-row,
.buy-details > fieldset,
.buy-details > .product-description,
.buy-details > .product-specs,
.buy-details > .load-disclaimer {
  width: 100%;
  max-width: none;
}

.buy-eyebrow,
.buy-availability,
.buy-meta dt,
.store-closed-label {
  margin: 0;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.buy-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0 28px;
}

.buy-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.buy-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--block-color);
}

.buy-title-row h1 {
  margin: 0;
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-transform: none;
}

.buy-description {
  max-width: 470px;
  margin: 0 0 30px;
  color: var(--soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.product-description {
  margin: 0 0 34px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.65;
}

.product-description summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.product-description summary::-webkit-details-marker { display: none; }

.product-description summary::after {
  content: "+";
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.product-description[open] summary::after { content: "−"; }

.product-description > div {
  padding: 18px 0 2px;
}

.product-description p,
.product-comparison p {
  margin: 0 0 14px;
}

.product-description p:last-child,
.product-comparison p:last-child {
  margin-bottom: 0;
}

.product-guide {
  margin-top: -18px;
}

.variant-picker {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.variant-picker legend {
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

.variant-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.variant-option--custom {
  grid-column: 1 / -1;
}

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

.variant-copy {
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-content: start;
  column-gap: 16px;
  row-gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  transition: border-color .2s ease, background-color .2s ease;
}

.variant-option input:checked + .variant-copy {
  border-color: var(--ink);
  background: #f8f8f8;
}

.variant-option input:focus-visible + .variant-copy {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.variant-name {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.variant-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.03em;
}

.sales-disabled .variant-price {
  filter: blur(6px);
  user-select: none;
}

.variant-price--quote {
  max-width: 72px;
  font-size: 13px;
  line-height: 1.15;
  text-align: right;
}

.variant-pricing-note {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 10px;
  line-height: 1.45;
}

.variant-description {
  grid-column: 1;
  grid-row: 2;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.edge-depth-picker {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.edge-depth-picker legend,
.edge-depth-options label > span {
  color: var(--soft);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.edge-depth-picker legend {
  margin-bottom: 10px;
}

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

.edge-depth-picker--single .edge-depth-options {
  grid-template-columns: 1fr;
}

.edge-depth-options label {
  display: grid;
  gap: 8px;
}

.edge-depth-options select {
  width: 100%;
  min-height: 44px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 13px;
}

.color-select-control {
  position: relative;
  display: block;
}

.color-select-control select {
  padding-left: 42px;
}

.color-select-swatch {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(11, 11, 11, .2);
  border-radius: 50%;
  background: var(--selected-color, transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.color-3d-link {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.color-3d-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.edge-depth-options select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

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

.product-specs div {
  position: relative;
  min-width: 0;
  padding: 14px 12px;
}

.product-specs div::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 1px;
  background: var(--ink);
  content: "";
}

.product-specs dt,
.product-specs dd,
.load-disclaimer {
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-specs dt { color: var(--soft); }

.product-specs dd {
  margin: 6px 0 0;
  color: var(--ink);
}

.load-disclaimer {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--soft);
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: none;
}

.buy-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ink);
}

.buy-availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--block-color);
}

.buy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  font-size: 11px;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}

.buy-purchase {
  width: 100%;
  margin-top: auto;
  padding-top: 48px;
}

@media (min-width: 821px) {
  .buy-media,
  .buy-media .model-stage {
    height: 100%;
    min-height: 0;
  }

  .buy-media {
    overflow-y: auto;
  }

  .buy-details {
    min-height: 0;
    overflow-y: auto;
  }

  .buy-purchase {
    position: absolute;
    right: var(--details-gutter);
    bottom: 0;
    left: var(--details-gutter);
    width: auto;
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .buy-details {
    --details-gutter: 28px;
  }

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

  .variant-option--custom {
    grid-column: auto;
  }

  .variant-price {
    white-space: nowrap;
  }

  .variant-price--quote {
    max-width: 92px;
    white-space: normal;
    overflow-wrap: break-word;
  }

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

  .buy-meta {
    grid-template-columns: 1fr;
  }

  .buy-purchase {
    position: static;
    width: 100%;
    margin-top: 0;
    padding-top: 40px;
  }
}

.buy-button span:last-child {
  transition: transform .2s ease;
}

.buy-button:hover span:last-child,
.buy-button:focus-visible span:last-child {
  transform: translateX(4px);
}

.buy-button:hover,
.buy-button:focus-visible {
  background: #2b2b2b;
  border-color: #2b2b2b;
}

.buy-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.buy-button[aria-disabled="true"] {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  opacity: .45;
  cursor: not-allowed;
}

.buy-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 32px;
}

.sales-disabled .buy-meta {
  display: none;
}

.buy-meta div {
  min-width: 0;
}

.buy-meta dd {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.thank-you h1 {
  margin: 18px 0;
  font-size: clamp(44px, 8vw, 110px);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.thank-you p {
  margin: 0 auto 28px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}

.text-link {
  font-size: 10px;
  letter-spacing: .13em;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.thank-you {
  display: grid;
  place-items: center;
  padding: 64px var(--pad);
  text-align: center;
}

@media (max-width: 820px) {
  html,
  body {
    height: auto;
    overflow: auto;
  }

  .store-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  .buy-layout {
    overflow: visible;
  }

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

  .buy-media {
    min-height: 0;
    padding: 0;
  }

  .product-gallery {
    min-height: 0;
  }

  .buy-media .model-stage {
    min-height: 48vh;
  }

  .buy-media .model-stage > .model-tools {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: 20px;
  }

  .buy-media .model-stage > .model-tools .model-configurator {
    width: calc(100vw - 40px);
  }

  .buy-media > .model-tools .model-configurator {
    grid-template-columns: 1fr auto;
  }

  .buy-media > .model-tools {
    padding: 20px;
  }

  .buy-media > .model-tools .finish-colors {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .buy-details {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .buy-purchase { margin-top: 48px; }
}

@media (max-width: 520px) {
  .product-header .brand-wordmark {
    width: 156px;
  }

  .product-gallery {
    min-height: 0;
  }

  .gallery-controls {
    bottom: 20px;
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .gallery-navigation,
  .media-mode-button {
    justify-content: center;
  }

  .gallery-navigation button {
    flex: 0 0 42px;
  }

  .buy-media .model-stage {
    min-height: 520px;
  }

  .buy-media > .model-tools .model-configurator {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .buy-media > .model-tools .finish-colors {
    grid-column: 1;
    grid-row: auto;
  }

  .buy-details {
    --details-gutter: 20px;
  }

  .buy-title-row {
    display: block;
  }

  .buy-meta {
    grid-template-columns: 1fr;
  }

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

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

  .product-specs div,
  .product-specs div:first-child {
    padding: 12px 0 12px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-specs div:last-child { border-bottom: 0; }

  .product-specs div::before {
    top: 12px;
    bottom: 12px;
  }
}

/* Clear, sequential product configuration and purchase flow. */
.config-step {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0;
}

.variant-picker {
  margin-bottom: 32px;
  border-top: 0;
}

.variant-picker legend,
.customization-step > h2,
.order-summary-heading > span {
  display: flex;
  align-items: center;
  padding: 0 0 14px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .11em;
  text-transform: uppercase;
}

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

.variant-option,
.variant-option:last-child {
  border: 0;
}

.variant-copy {
  min-height: 116px;
  padding: 17px 42px 17px 17px;
  border: 1px solid var(--line);
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  row-gap: 6px;
}

.variant-price {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  font-size: 12px;
}

.variant-description {
  grid-row: 2;
  letter-spacing: .04em;
  text-transform: none;
}

.variant-option input:checked + .variant-copy {
  border: 2px solid var(--ink);
  padding: 16px 41px 16px 16px;
  background: #fff;
}

.variant-option input:checked + .variant-copy::before {
  top: 16px;
  right: 16px;
  bottom: auto;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-size: 9px;
  content: "✓";
}

.customization-step {
  margin-bottom: 32px;
  padding-top: 2px;
}

.customization-step > h2 {
  margin: 0;
}

.customization-step > #edge-depth-title {
  margin-top: 40px;
}

.customization-step > p {
  margin: -4px 0 18px 35px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.45;
}

.customization-step .edge-depth-picker {
  margin-bottom: 20px;
}

.customization-step .edge-depth-options select {
  padding: 11px 34px 11px 12px;
  border: 1px solid var(--line);
  background-color: #fff;
}

.customization-step .color-select-control select {
  padding-left: 42px;
}

.customization-step .color-select-swatch {
  left: 13px;
}

.buy-purchase {
  margin: 0 0 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.order-summary {
  padding: 22px 20px 20px;
  background: #fff;
}

.order-summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.order-summary-heading > span {
  padding: 0;
}

.order-summary-heading strong {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.order-summary p {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.4;
}

.order-summary p + p {
  margin-top: 6px;
  color: var(--soft);
  font-size: 11px;
}

.buy-button {
  min-height: 64px;
  margin: 0;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  justify-content: space-between;
  color: var(--paper);
  background: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.buy-button:hover,
.buy-button:focus-visible {
  color: var(--paper);
  background: #2b2b2b;
}

.buy-button[aria-disabled="true"] {
  color: var(--paper);
  background: var(--ink);
}

.buy-button-price {
  white-space: nowrap;
}

.checkout-note {
  margin: 0;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .04em;
}

.buy-purchase .buy-meta {
  margin: 0;
  padding: 17px 20px 20px;
  border-top: 1px solid var(--line);
}

.buy-purchase .buy-meta div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.product-information {
  margin-top: 0;
}

.product-information .product-description {
  margin-bottom: 18px;
}

.product-information .product-guide {
  margin-top: 0;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .variant-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .variant-options {
    grid-template-columns: 1fr;
  }

  .variant-copy {
    min-height: 102px;
  }

  .customization-step .edge-depth-options {
    grid-template-columns: 1fr;
  }

  .buy-button {
    gap: 16px;
    font-size: 10px;
  }

  .buy-purchase .buy-meta div + div {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Product detail — follows the restrained catalogue language used on the home page. */

.buy-title-row {
  align-items: flex-start;
  margin: 24px 0 42px;
}

.buy-title-row h1,
.buy-price {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.buy-subtitle {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.buy-price {
  flex: 0 0 auto;
  font-size: 14px;
  letter-spacing: .02em;
}

.variant-picker {
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}

.variant-picker legend {
  width: 100%;
  margin: 0;
  padding: 16px 0 12px;
}

.block-guide-link {
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  margin: -10px 0 -10px 8px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.block-guide-link svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .65;
}

.block-guide-link:hover svg {
  opacity: 1;
}

.block-guide-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

#product-guide {
  scroll-margin-top: 96px;
}

.variant-options {
  display: block;
}

.variant-option {
  display: block;
  border-top: 1px solid var(--line);
}

.variant-option:last-child {
  border-bottom: 1px solid var(--line);
}

.variant-copy {
  position: relative;
  min-height: 0;
  padding: 15px 0;
  border: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 4px;
}

.variant-option input:checked + .variant-copy {
  border: 0;
  background: transparent;
}

.variant-option input:checked + .variant-copy::before {
  position: absolute;
  right: 0;
  bottom: 15px;
  color: var(--ink);
  font-size: 8px;
  content: "●";
}

.variant-name {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.variant-price {
  font-size: 12px;
  letter-spacing: .02em;
}

.variant-description {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.edge-depth-picker {
  margin-bottom: 34px;
}

.edge-depth-options {
  gap: 16px;
}

.edge-depth-options select {
  min-height: 48px;
  border-width: 0 0 1px;
  padding-right: 24px;
  padding-left: 0;
  font-size: 12px;
}

.color-select-control select {
  padding-left: 30px;
}

.color-select-swatch {
  left: 0;
  width: 16px;
  height: 16px;
}

.product-specs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-specs div {
  padding: 16px 0;
}

.product-specs div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.product-specs div::before {
  display: none;
}

.buy-purchase {
  padding-top: 40px;
}

.buy-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.buy-button {
  padding: 20px 0;
  border-width: 1px 0 0;
  color: var(--ink);
  background: transparent;
}

.buy-button:hover,
.buy-button:focus-visible,
.buy-button[aria-disabled="true"] {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

/* Primary purchase action: keep the conversion step visually dominant. */
.buy-details .buy-purchase {
  padding-top: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.buy-details .buy-purchase .buy-button {
  min-height: 64px;
  width: 100%;
  margin: 0;
  padding: 20px 22px;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  justify-content: center;
  gap: 10px;
  color: var(--paper);
  background: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: none;
}

.buy-details .buy-purchase .buy-button:hover,
.buy-details .buy-purchase .buy-button:focus-visible {
  color: var(--paper);
  background: #2b2b2b;
}

.buy-details .buy-purchase .buy-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Compact purchase summary treatment. */
.buy-details .buy-purchase {
  border: 0;
  margin-bottom: 18px;
  background: transparent;
  box-shadow: none;
}

.buy-details .buy-purchase .order-summary {
  padding: 13px 0 14px;
  border-top: 0;
  border-bottom: 0;
  background: transparent;
}

.buy-details .buy-purchase .order-summary-heading {
  padding: 0;
  border: 0;
}

.buy-details .buy-purchase .order-summary-heading > span {
  color: var(--soft);
  font-size: 10px;
  letter-spacing: .13em;
}

.buy-details .buy-purchase .order-summary-heading .config-step {
  display: none;
}

.buy-details .buy-purchase .order-summary-heading strong {
  display: none;
}

.buy-details .buy-purchase .order-summary p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 12px;
}

.buy-details .buy-purchase .order-summary p:first-of-type {
  display: none;
}

.buy-details .buy-purchase .order-summary p + p {
  margin-top: 0;
  font-size: 12px;
}

.buy-details .buy-purchase .buy-button {
  min-height: 36px;
  margin: 16px 0 18px;
  padding: 10px 14px;
  border: 0;
  font-size: 10px;
  letter-spacing: .1em;
}

.buy-details .buy-purchase .checkout-note {
  display: none;
}

.buy-details .buy-purchase .buy-meta {
  gap: 0;
  padding: 0 0 18px;
  border: 0;
}

.buy-details .buy-purchase .buy-meta div:first-child {
  padding-right: 20px;
}

.buy-details .buy-purchase .buy-meta div + div {
  padding-top: 0;
  padding-left: 20px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

@media (min-width: 821px) {
  .buy-layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr);
  }

  .buy-details {
    --details-gutter: clamp(32px, 4vw, 64px);
    padding-top: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(48px, 5vw, 80px);
  }

  .buy-purchase {
    position: static;
    width: 100%;
    margin-top: auto;
    padding-top: 48px;
  }
}

@media (max-width: 820px) {
  .buy-details {
    padding-top: 32px;
  }
}

@media (max-width: 520px) {
  .gallery-thumbnails {
    gap: 8px;
    padding: 10px 20px;
  }

  .gallery-thumbnail {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .gallery-controls {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: row;
  }

  .media-mode-button--model,
  .media-mode-button--photos {
    top: 12px;
    left: 12px;
  }

  .buy-title-row {
    display: flex;
    margin-bottom: 34px;
  }

  .buy-price {
    font-size: 12px;
  }

  .edge-depth-options,
  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-specs div,
  .product-specs div:first-child {
    padding: 14px 0;
  }

  .product-specs div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Compact, tactile setup controls. */
.customization-step .product-color-options {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
}
.customization-step .setup-options {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.customization-step .setup-options[hidden] { display: none; }
.customization-step .setup-options legend {
  margin-bottom: 14px;
  padding: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted, #666);
}
.setup-choices { display: flex; }
.setup-options--colors .setup-choices { flex-wrap: wrap; gap: 6px; }
.customization-step .setup-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 44px;
}
.setup-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.setup-options--colors .setup-choice { width: 38px; }
.setup-options--colors .setup-choice span {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--option-color);
}
.setup-options--colors input:checked + span {
  outline: 1px solid #222;
  outline-offset: 4px;
}
.setup-choice input:focus-visible + span {
  outline: 2px solid #222;
  outline-offset: 4px;
}
.setup-options--depth .setup-choices {
  border: 1px solid var(--line, #ddd);
  border-radius: 3px;
  overflow: hidden;
}
.setup-options--depth .setup-choice { flex: 1; min-width: 0; }
.setup-options--depth .setup-choice + .setup-choice { border-left: 1px solid var(--line, #ddd); }
.customization-step .setup-options--depth .setup-choice span {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0;
  color: #333;
}
.customization-step .setup-options--depth input:checked + span { background: #222; color: #fff; }
.setup-options--depth input:focus-visible + span { outline-offset: -4px; outline-color: #888; }
.customization-step .edge-depth-picker:not(.product-color-picker) .edge-depth-options { grid-template-columns: 1fr; }

@media (max-width: 820px) {
  .buy-details { padding-bottom: 48px; }

  .buy-media .model-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    touch-action: pan-y;
  }

  .buy-media .model-stage canvas {
    flex: 0 0 auto;
    height: clamp(240px, 35vh, 360px);
    min-height: 0;
  }

  .buy-media .model-stage > .model-tools {
    position: relative;
    inset: auto;
    display: block;
    margin: 0 16px 12px;
    pointer-events: auto;
  }

  .buy-media .model-stage > .model-tools .model-configurator {
    width: 100%;
    padding: 16px;
    box-shadow: none;
  }

  .buy-media .model-view-controls {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0 16px 16px;
  }

  .buy-media .model-view-controls .zoom-controls {
    top: 20px;
    right: 20px;
  }

  .buy-media .model-view-controls .spin-speed {
    position: static;
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  .buy-media .model-stage .configurator-heading > div {
    flex-wrap: wrap;
    gap: 12px;
  }

  .buy-media .model-stage select.configurator-kicker {
    max-width: 100%;
  }

  .buy-media .model-stage .finish-colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }
}

/* Product overview followed by the existing story and technical information. */
html,
body {
  height: auto;
  overflow: auto;
}

.store-shell {
  height: auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.buy-layout {
  flex: 1;
  overflow: visible;
  align-items: start;
}

.buy-media,
.buy-details {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.buy-details {
  padding: clamp(24px, 3vw, 44px);
}

.buy-details .buy-purchase {
  position: static;
  margin-top: 24px;
  padding-top: 0;
}

.product-editorial {
  grid-column: 1 / -1;
  padding: clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line);
}

.product-story-row,
.product-facts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.product-story-photo {
  margin: 0;
}

.product-story-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.product-editorial .product-description {
  margin: 0;
  color: var(--soft);
}

.product-editorial .product-guide {
  margin-top: 28px;
}

.product-editorial .product-description > div {
  padding: 12px 0 0;
}

.product-editorial .product-description p {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
  max-width: 65ch;
}

.product-editorial .product-description h2 {
  margin: 0;
  color: inherit;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-facts-row {
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.product-technical .product-specs {
  margin-top: 0;
}

.purchase-details {
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.purchase-details + .purchase-details {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.purchase-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border: 0;
  color: var(--soft);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.purchase-details summary::-webkit-details-marker { display: none; }
.purchase-details summary::after { content: "+"; font-size: 16px; }
.purchase-details[open] summary::after { content: "−"; }
.purchase-details summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.purchase-details .product-specs {
  grid-template-columns: 1fr;
  border: 0;
}

@media (min-width: 821px) {
  .buy-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  }

  .buy-media .model-stage {
    height: clamp(580px, 75vh, 820px);
  }

}

@media (max-width: 820px) {
  .product-story-row,
  .product-facts-row {
    grid-template-columns: 1fr;
  }
}

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

.variant-picker .variant-option {
  border: 0;
}

.variant-picker .variant-copy,
.variant-picker .variant-option input:checked + .variant-copy {
  height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  row-gap: 6px;
}

.variant-picker .variant-option input:checked + .variant-copy {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: #e8e5df;
}

.variant-picker .variant-option input:checked + .variant-copy::before {
  display: none;
  content: none;
}

.buy-details .buy-title-row {
  margin-top: 0;
  margin-bottom: 24px;
}

.buy-details .variant-picker legend {
  padding-top: 0;
  padding-bottom: 12px;
}

.buy-details .variant-picker {
  margin-bottom: 40px;
}

@media (max-width: 820px) {
  .buy-details .buy-title-row {
    display: none;
  }

  .buy-media > .variant-picker {
    width: 100%;
    margin: 0;
    padding: 20px 20px 0;
    border: 0;
    background: var(--paper);
  }

  .buy-media > .customization-step {
    width: 100%;
    margin: 0;
    padding: 24px 20px 28px;
    border: 0;
    background: var(--paper);
  }

  .buy-details {
    padding-top: 12px;
    border-top: 0;
  }

  .buy-details .buy-purchase {
    margin-top: 0;
  }

  .variant-picker .variant-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 24px;
  }

  .buy-media > .variant-picker legend {
    padding-bottom: 12px;
  }

}

/* Shared typography and spacing for configuration labels and values. */
.buy-subtitle,
.variant-picker .variant-description,
.customization-step .setup-options legend,
.buy-details .product-specs dt,
.buy-details .buy-purchase .order-summary-heading > span {
  color: var(--soft);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.buy-subtitle {
  margin-top: 8px;
}

.variant-picker .variant-copy,
.variant-picker .variant-option input:checked + .variant-copy {
  row-gap: 8px;
}

.customization-step .setup-options legend {
  margin-bottom: 12px;
}

.buy-details .product-specs dd,
.buy-details .buy-purchase .order-summary p + p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.buy-details .load-disclaimer {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0;
}

.buy-media .configurator-heading h2,
.buy-media .configurator-heading .configurator-kicker {
  font-size: 15px;
  line-height: 1.3;
}

.purchase-details .maximum-load-value {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.purchase-details .load-disclaimer {
  margin-top: 16px;
  margin-bottom: 20px;
}

.product-faq > h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .11em;
}

.buy-details > .customization-step {
  margin-bottom: 16px;
}

.customization-step > #edge-depth-picker {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .buy-media .finish-color--palette {
    min-width: 0;
    cursor: pointer;
  }

  .buy-media .finish-color .filament-picker {
    position: static;
  }

  .buy-media .finish-color:first-child .filament-palette {
    left: 0;
    right: auto;
  }

  .buy-media .finish-color:last-child .filament-palette {
    right: 0;
  }
}

@media (max-width: 820px) {
  .gallery-controls {
    display: none;
  }
}

.block-comparison-link {
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 820px) {
  .variant-picker .variant-options {
    margin-bottom: 0;
  }

  .block-comparison-link {
    margin-bottom: 24px;
  }
}
