/* The 3D page (2026-11-30): the Sajter page's parts (sajter.css) plus what is its own here. */

/* the opening: the lead, then the product live on the dark stage (as the Film page's dark panel), the choice of product in its top row */
.is-3d .d3-open { padding-top: 0; }
.is-3d .d3-lead { max-width: 40em; margin: 0 auto; text-align: center; }
.d3-stage { position: relative; margin-top: calc(72 * var(--px)); border-radius: 28px; background: #0b0b0c; color: #fff; overflow: hidden; }
.d3-stage__view { position: relative; height: min(calc(760 * var(--px)), 78svh); min-height: 420px; }
.d3-stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease; }
.d3-stage.is-live .d3-stage__poster { opacity: 0; pointer-events: none; }
.d3-stage__view caowl-experience { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; --cx-font: "Geist", system-ui, sans-serif; --cx-bg: #0b0b0c; }
/* the top row of the stage: what you can try, as the price panel's choices (sajter.css .sopt: hairline pills, white with a
   drawn tick when chosen), on the dark above the product at every width; over the product a light scene (the shoe
   rack's room) would swallow white pills */
.d3-stage { display: flex; flex-direction: column; }
.d3-stage__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding: calc(26 * var(--px)) calc(32 * var(--ux)); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.d3-stage__bar[hidden] { display: none; }
.d3-stage__k { margin: 0; font-size: max(15px, calc(17 * var(--px))); color: rgba(255, 255, 255, 0.55); }
.d3-stage__opts { display: flex; flex-wrap: wrap; gap: 10px; }

/* what it does: two by two, as the Film page's kinds */
.is-3d .d3-does { padding-top: calc(260 * var(--px)); }
.is-3d .d3-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-3d .d3-kinds .vi__vis { height: calc(460 * var(--px)); min-height: 240px; }
.d3-vis--light > img { object-fit: contain; background: #0b0b0c; }
.d3-kind__text { margin: calc(12 * var(--px)) calc(26 * var(--ux)) 0; max-width: 30em; font-size: max(15px, calc(17 * var(--px))); line-height: 1.5; color: rgba(0, 0, 0, 0.6); }
.d3-kind__case { margin: calc(22 * var(--px)) calc(26 * var(--ux)) 0; padding-top: calc(16 * var(--px)); border-top: 1px solid rgba(0, 0, 0, 0.09); font-size: max(13px, calc(15 * var(--px))); color: rgba(0, 0, 0, 0.45); }

.is-3d .d3-inc { padding-top: calc(260 * var(--px)); }

@media (max-width: 1100px) {
  .is-3d .d3-does, .is-3d .d3-inc { padding-top: 150px; }
  .d3-stage { margin-top: 40px; }
  .is-3d .d3-kinds { gap: 14px; }
  .is-3d .d3-kinds .vi__vis { height: 300px; }
}
@media (max-width: 720px) {
  .is-3d .d3-does, .is-3d .d3-inc { padding-top: 112px; }
  .d3-stage { margin-inline: -8px; border-radius: 22px; }
  /* founder 2026-11-30 on a phone: cramped. The stage fills the screen (the pills in one row, no label: the lead above
     says what to do), so a configurator's panel leaves the product room */
  .d3-stage__bar { padding: 12px; }
  .d3-stage__k { display: none; }
  .d3-stage__view { height: calc(100svh - 110px); min-height: 480px; max-height: 760px; }
  .is-3d .d3-kinds { grid-template-columns: minmax(0, 1fr); }
  .is-3d .d3-kinds .vi__vis { height: 240px; }
  .d3-kind__text, .d3-kind__case { margin-inline: 22px; }
}
