:root {
  --shop-page-bg: #ffffff;
  --shop-paper: #ffffff;
  --shop-ink: #2e2e30;
  --shop-muted: #77777f;
  --shop-faint: #a0a0a8;
  --shop-hair: rgba(46, 46, 48, 0.12);
  --shop-rose: #df2d64;
  --shop-viewer-bg: #40403f;
  --shop-shadow: 0 28px 70px rgba(25, 25, 30, 0.12), 0 2px 12px rgba(25, 25, 30, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--shop-page-bg);
  color: var(--shop-ink);
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100svh;
}

button,
select {
  font: inherit;
}

.shop-app {
  min-height: 100svh;
  background: var(--shop-page-bg);
}

.shop-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
  background: var(--shop-paper);
}

.shop-shell {
  width: min(1240px, 100%);
  height: min(780px, calc(100svh - 24px));
  min-height: 0;
  overflow: visible;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(16px, 2.1vw, 28px);
  padding: clamp(18px, 2.4vw, 34px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.shop-top {
  display: grid;
  grid-template-columns: minmax(190px, 330px) minmax(190px, 330px);
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.shop-field {
  min-width: 0;
}

.shop-field label,
.shop-eyebrow,
.shop-options-label,
.shop-info__eyebrow {
  display: block;
  font: 700 10px/1.2 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--shop-faint);
}

.shop-field label {
  margin: 0 0 8px;
}

.shop-select {
  position: relative;
}

.shop-select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--shop-hair);
  border-radius: 13px;
  background: #fafafa;
  color: var(--shop-ink);
  padding: 13px 38px 13px 16px;
  box-shadow: 0 8px 22px rgba(25, 25, 30, 0.08);
  font-weight: 650;
  line-height: 1.15;
  cursor: pointer;
}

.shop-select select:focus-visible {
  outline: 2px solid var(--shop-rose);
  outline-offset: 2px;
}

.shop-select svg {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 11px;
  height: 8px;
  color: var(--shop-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.shop-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  min-height: 0;
}

.shop-viewer-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: var(--shop-viewer-bg);
  border-radius: clamp(16px, 1.7vw, 24px);
  overflow: hidden;
  align-self: stretch;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 46px rgba(25, 25, 30, 0.2);
}

.shop-viewer-card presenter-3d,
.shop-viewer-card presenter-3d img[data-p3d-static-image] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.shop-viewer-card presenter-3d img[data-p3d-static-image] {
  object-fit: contain;
  pointer-events: none;
  margin: 0;
  background: var(--shop-viewer-bg);
}

.shop-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: clamp(2px, 0.5vw, 8px) 0;
}

.shop-eyebrow {
  margin: 0 0 8px;
}

.shop-title {
  margin: 0;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 680;
}

.shop-finish {
  color: var(--shop-rose);
}

.shop-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(14px, 2vh, 22px);
}

.shop-price__now {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 720;
}

.shop-price__old {
  font-size: 14px;
  color: var(--shop-faint);
  text-decoration: line-through;
  font-weight: 600;
}

.shop-price__off {
  font: 800 11px/1 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--shop-rose);
}

.shop-meta {
  display: grid;
  gap: 7px;
  margin-top: clamp(12px, 2vh, 20px);
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.3;
}

.shop-meta b {
  color: var(--shop-ink);
  font-weight: 700;
}

.shop-divider {
  height: 1px;
  margin: clamp(18px, 3vh, 34px) 0 clamp(15px, 2.5vh, 28px);
  background: var(--shop-hair);
}

.shop-options-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 12px;
}

.shop-options-current {
  color: var(--shop-muted);
  font-size: 13px;
}

.shop-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 14px);
}

.shop-swatch {
  width: clamp(32px, 3.2vw, 42px);
  height: clamp(32px, 3.2vw, 42px);
  border: 1px solid var(--shop-hair);
  border-radius: 999px;
  padding: 0;
  box-shadow: 0 8px 16px rgba(25, 25, 30, 0.12);
  cursor: pointer;
}

.shop-swatch[aria-pressed="true"] {
  border-color: var(--shop-rose);
  outline: 2px solid var(--shop-rose);
  outline-offset: 3px;
}

.shop-swatch:focus-visible {
  outline: 2px solid var(--shop-rose);
  outline-offset: 4px;
}

.shop-status {
  min-height: 20px;
  margin: clamp(12px, 1.9vh, 18px) 0 clamp(16px, 2.2vh, 24px);
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.45;
}

.shop-checkout {
  width: min(230px, 100%);
  margin-top: auto;
  border: 0;
  border-radius: 14px;
  background: var(--shop-rose);
  color: #fff;
  padding: 15px 30px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(223, 45, 100, 0.28);
}

.shop-checkout:hover:not(:disabled) {
  filter: brightness(1.04) saturate(1.08);
}

.shop-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.shop-info {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 72px);
  background: #202024;
  color: #f3f0ef;
}

.shop-info__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.shop-info__eyebrow {
  color: #df2d64;
  margin-bottom: 12px;
}

.shop-info h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.shop-info__lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(243, 240, 239, 0.72);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
}

.shop-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(34px, 5vw, 58px);
}

.shop-info__card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: clamp(22px, 2.3vw, 30px);
  background: rgba(255, 255, 255, 0.045);
}

.shop-info__card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.shop-info__card p {
  margin: 0;
  color: rgba(243, 240, 239, 0.68);
  line-height: 1.55;
}

.shop-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.shop-info__actions a {
  color: #fff;
  text-decoration: none;
  font-weight: 720;
}

.shop-info__actions a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  background: #df2d64;
  box-shadow: 0 18px 30px rgba(223, 45, 100, 0.25);
}

.shop-info__actions a:last-child {
  display: inline-flex;
  align-items: center;
  color: rgba(243, 240, 239, 0.75);
}

@media (max-height: 720px) and (min-width: 900px) {
  .shop-shell {
    gap: 15px;
    padding: 18px;
  }

  .shop-field label,
  .shop-eyebrow,
  .shop-options-label {
    font-size: 9px;
  }

  .shop-select select {
    padding-block: 10px;
  }

  .shop-title {
    font-size: clamp(24px, 2.5vw, 34px);
  }

  .shop-price__now {
    font-size: clamp(28px, 2.8vw, 38px);
  }

  .shop-divider {
    margin-block: 16px;
  }
}

@media (max-width: 899px) {
  .shop-hero {
    min-height: auto;
    padding: 14px;
  }

  .shop-shell {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .shop-top,
  .shop-body {
    grid-template-columns: 1fr;
  }

  .shop-viewer-card {
    aspect-ratio: 1 / 0.86;
    height: auto;
    min-height: 320px;
  }

  .shop-checkout {
    width: 100%;
  }

  .shop-info__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shop-shell {
    padding: 16px;
    border-radius: 18px;
  }

  .shop-viewer-card {
    min-height: 270px;
  }

  .shop-title {
    font-size: 28px;
  }

  .shop-meta {
    font-size: 13px;
  }
}
