:root {
  color-scheme: dark;
  --bg: #070604;
  --bg-2: #11100d;
  --panel: rgba(20, 18, 15, 0.84);
  --panel-solid: #181510;
  --gold: #ffc400;
  --gold-2: #ff9f1c;
  --red: #ed1b16;
  --cream: #fff4d6;
  --muted: #bdb5a5;
  --line: rgba(255, 196, 0, 0.2);
  --shadow: rgba(0, 0, 0, 0.56);
  --radius: 8px;
  --max: 1180px;
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.56);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px rgba(255, 196, 0, 0.35);
  --shadow-red: 0 0 16px rgba(237, 27, 22, 0.3);
  --gold-glow: rgba(255, 196, 0, 0.18);
  --red-glow: rgba(237, 27, 22, 0.15);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

h1,
h2,
h3,
.eyebrow,
.button,
.model-chip,
.category-button,
.brand-orbit,
.viewer-app-topbar strong,
.viewer-app-topbar em,
.ticker span,
.floating-cart strong,
.stage-badge strong {
  font-family: 'Barlow Condensed', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 196, 0, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(237, 27, 22, 0.13), transparent 22rem),
    linear-gradient(180deg, #080705 0%, #0d0a08 45%, #070604 100%);
  color: var(--cream);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.035) 75%);
  background-position:
    0 0,
    0 12px,
    12px -12px,
    -12px 0;
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 70%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 74%);
}

button,
a,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  min-height: 100dvh;
  padding-bottom: 96px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  min-height: 76px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 28px);
  backdrop-filter: blur(20px);
}

.brand-lockup {
  position: relative;
  width: 126px;
  aspect-ratio: 1280 / 904;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050403;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.brand-lockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-actions a,
.icon-button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--cream);
  cursor: pointer;
}

.topbar-actions a {
  display: none;
  padding: 0 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.045);
}

.lang-button {
  display: grid;
  min-width: 38px;
  min-height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.lang-button.is-active {
  background: var(--gold);
  color: #120e08;
}

.icon-button {
  position: relative;
  padding: 0;
}

.icon-button > span:first-child {
  color: var(--gold);
  font-size: 1.55rem;
  line-height: 1;
}

.cart-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.section-band {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(32px, 8vw, 82px) clamp(16px, 4vw, 28px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  min-height: calc(100svh - 76px);
  align-items: center;
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.35rem, 15vw, 8.4rem);
  line-height: 0.84;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 8vw, 5.4rem);
  line-height: 0.9;
  font-weight: 800;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
}

.hero-text,
.section-heading p,
.feature-panel p,
.product-copy p,
.dialog-copy p,
.footer span,
.checkout-note {
  color: var(--muted);
  line-height: 1.55;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(1rem, 3.6vw, 1.24rem);
}

.hero-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 180ms ease,
    box-shadow 200ms ease,
    border-color 180ms ease,
    background 180ms ease;
  touch-action: manipulation;
}

.button:active {
  transform: scale(0.97);
}

.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #15100a;
  box-shadow: 0 16px 36px rgba(255, 177, 0, 0.24);
}

.primary:hover {
  box-shadow: var(--shadow-gold);
}

.ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-meta span,
.hero-meta-maps {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-meta-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.hero-meta-maps:hover {
  border-color: rgba(255, 196, 0, 0.46);
  background: rgba(255, 196, 0, 0.12);
  color: var(--gold);
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  perspective: 1200px;
}

.viewer-app-shell {
  position: relative;
  display: grid;
  width: min(100%, 620px);
  min-height: 540px;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 30%, rgba(255, 196, 0, 0.16), transparent 42%),
    rgba(11, 10, 8, 0.86);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.viewer-app-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 78%);
}

.viewer-app-topbar,
.viewer-app-dock {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(7, 6, 4, 0.72);
  backdrop-filter: blur(18px);
}

.viewer-app-topbar {
  min-height: 64px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 14px;
}

.viewer-window-controls {
  display: flex;
  gap: 6px;
}

.viewer-window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.viewer-window-controls span:first-child {
  background: var(--red);
}

.viewer-window-controls span:nth-child(2) {
  background: var(--gold);
}

.viewer-app-topbar div:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.viewer-app-topbar strong,
.viewer-app-topbar em {
  color: var(--gold);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.viewer-app-topbar span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-app-topbar em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 196, 0, 0.26);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 196, 0, 0.1);
}

.viewer-app-body {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
}

.viewer-app-dock {
  min-height: 70px;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 14px;
  scrollbar-width: none;
}

.viewer-app-dock::-webkit-scrollbar {
  display: none;
}

.model-chip {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.model-chip.is-active {
  border-color: rgba(255, 196, 0, 0.5);
  background: var(--gold);
  color: #120e08;
}

.viewer-app-dock span {
  flex: 0 0 auto;
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.brand-orbit {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  color: rgba(255, 196, 0, 0.08);
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.8;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.brand-orbit span {
  display: block;
}

.product-viewer {
  --rx: 0deg;
  --ry: 0deg;
  --turn: 0;
  --turn-px: 0px;
  --turn-deg: 0deg;
  --turn-skew: 0deg;
  --lift: 0px;
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(82vw, 440px);
  aspect-ratio: 1;
  place-items: center;
  cursor: grab;
  touch-action: none;
  transform-style: preserve-3d;
}

.product-viewer.is-loading canvas,
.product-viewer.has-photo-fallback canvas {
  opacity: 0;
}

.viewer-status-badge,
.viewer-fallback-image {
  position: absolute;
  pointer-events: none;
}

.viewer-status-badge {
  right: 7%;
  top: 8%;
  z-index: 5;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(8, 7, 5, 0.76);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.viewer-fallback-image {
  inset: 8%;
  z-index: 3;
  width: 84%;
  height: 84%;
  object-fit: contain;
  opacity: 0;
  filter:
    saturate(1.08)
    contrast(1.04)
    drop-shadow(0 28px 36px rgba(0, 0, 0, 0.46));
  transition: opacity 180ms ease;
}

.product-viewer.has-photo-fallback .viewer-fallback-image {
  opacity: 1;
}

.product-viewer.is-loading::after {
  position: absolute;
  z-index: 6;
  color: var(--cream);
  content: "Loading 3D";
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-viewer:active {
  cursor: grabbing;
}

.product-viewer canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  outline: 0;
}

.viewer-lights,
.viewer-shadow {
  position: absolute;
  pointer-events: none;
  content: "";
}

.viewer-lights {
  inset: 5%;
  z-index: -3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 196, 0, 0.46), transparent 35%),
    radial-gradient(circle at 70% 66%, rgba(237, 27, 22, 0.22), transparent 30%);
  filter: blur(24px);
  opacity: 0.86;
  transform: translateZ(-140px);
}

.viewer-shadow {
  bottom: 9%;
  z-index: -1;
  width: 68%;
  height: 16%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  filter: blur(18px);
  transform: rotateX(70deg) translateZ(-70px);
}

.hero-viewer {
  width: min(88vw, 560px);
}

.stage-badge {
  position: absolute;
  right: 4%;
  bottom: 8%;
  display: grid;
  grid-template-columns: 16px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  max-width: 200px;
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(8, 7, 5, 0.8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  transition: opacity 300ms var(--ease-in-expo);
}

.stage-badge svg {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold);
}

.stage-badge.show-cue svg {
  animation: viewer-spin 2s linear infinite;
}

.stage-badge strong {
  color: var(--gold);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.stage-badge span {
  color: var(--muted);
  font-size: 0.78rem;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 196, 0, 0.16);
  background: #ffd200;
  color: #080604;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 36px;
  padding: 13px 0;
  animation: ticker 22s linear infinite;
}

.ticker span {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 420px;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.feature-panel::after {
  position: absolute;
  right: -26px;
  bottom: -42px;
  color: rgba(255, 196, 0, 0.12);
  content: "TRINI";
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-12deg);
}

.panel-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.category-rail {
  display: flex;
  gap: 8px;
  margin: 0 -16px 20px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  scroll-snap-align: start;
}

.category-button.is-active {
  border-color: rgba(255, 196, 0, 0.5);
  background: rgba(255, 196, 0, 0.15);
  color: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.product-card {
  --px: 0;
  --py: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.016)),
    var(--panel-solid);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.product-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(255, 196, 0, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(237, 27, 22, 0.1), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card::after {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  content: "";
  border-radius: calc(var(--radius) - 1px);
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.08) 48%, transparent 62%),
    radial-gradient(circle at 20% 12%, rgba(255, 196, 0, 0.16), transparent 24%);
  opacity: 0.48;
  mix-blend-mode: screen;
}

.product-card:hover::before,
.product-card:focus-within::before {
  opacity: 1;
}

.extra-card {
  min-height: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 196, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    #17130e;
}

.extra-card::before {
  opacity: 0.5;
}

.extra-card::after {
  background:
    linear-gradient(115deg, transparent 0 40%, rgba(255, 196, 0, 0.08) 52%, transparent 66%),
    radial-gradient(circle at 88% 18%, rgba(237, 27, 22, 0.15), transparent 26%);
}

.extra-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.extra-label {
  width: fit-content;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.extra-copy header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.extra-copy h3 {
  margin: 0;
  text-transform: uppercase;
}

.extra-copy p {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.extra-copy .add-button {
  width: 100%;
  margin-top: 2px;
}

.product-media {
  --px: 0;
  --py: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  min-height: 258px;
  padding: 18px 18px 0;
  place-items: start center;
  perspective: 900px;
  transform-style: preserve-3d;
}

.product-media::before {
  position: absolute;
  inset: 12px 12px 36px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 196, 0, 0.08);
  border-radius: calc(var(--radius) - 4px);
  background:
    radial-gradient(circle at calc(50% + (var(--px) * 20%)) calc(42% + (var(--py) * 18%)), rgba(255, 196, 0, 0.22), transparent 34%),
    radial-gradient(circle at 72% 72%, rgba(237, 27, 22, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-media > [data-media-panel="3d"],
.product-media > [data-media-panel="photo"] {
  grid-area: 1 / 1;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.85, 0.2, 1),
    filter 260ms ease,
    visibility 260ms ease;
}

.product-media[data-mode="photo"] [data-media-panel="3d"],
.product-media[data-mode="3d"] [data-media-panel="photo"] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(10px) scale(0.965);
}

.product-media .product-viewer {
  width: min(74vw, 315px);
  margin: 0 auto;
}

.product-photo-preview {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(74vw, 315px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: calc(var(--radius) - 2px);
  place-items: center;
  margin: 0 auto;
  background:
    linear-gradient(160deg, rgba(255, 196, 0, 0.12) 0%, transparent 38%),
    linear-gradient(340deg, rgba(237, 27, 22, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 50% 52%, rgba(255, 196, 0, 0.2), transparent 54%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    #0c0a07;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 28px 70px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 196, 0, 0.06);
  transform:
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translate3d(calc(var(--px) * 13px), calc(var(--py) * 10px), 0);
  transform-style: preserve-3d;
}

.product-photo-preview::before {
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 52%, rgba(255, 196, 0, 0.52), transparent 48%),
    radial-gradient(circle at 72% 68%, rgba(237, 27, 22, 0.32), transparent 44%),
    radial-gradient(circle at 24% 36%, rgba(255, 220, 80, 0.22), transparent 36%);
  content: "";
  filter: blur(22px);
  opacity: 0.88;
  transform: translate3d(calc(var(--px) * -18px), calc(var(--py) * -14px), -30px);
}

.photo-backplate,
.photo-shine {
  position: absolute;
  pointer-events: none;
}

.photo-backplate {
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background:
    linear-gradient(45deg, rgba(255, 196, 0, 0.12) 25%, transparent 25% 50%, rgba(255, 196, 0, 0.08) 50% 75%, transparent 75%),
    rgba(255, 255, 255, 0.015);
  background-size: 16px 16px;
  opacity: 0.32;
  transform: rotate(-12deg) translateZ(-36px);
}

.photo-shine {
  inset: -35% -55%;
  z-index: 4;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 240, 160, 0.22) 46%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 64%
  );
  opacity: 0.28;
  transform: translateX(calc(-22% + (var(--px) * 22%))) rotate(8deg);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.product-card:hover .photo-shine,
.product-card:focus-within .photo-shine {
  opacity: 0.9;
}

.product-photo-preview img {
  position: relative;
  z-index: 2;
  width: 112%;
  height: 112%;
  object-fit: contain;
  border-radius: 0;
  filter:
    saturate(1.22)
    contrast(1.08)
    brightness(1.04)
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52));
  transform:
    translate3d(calc(var(--px) * -22px), calc(var(--py) * -18px), 62px)
    scale(1.04);
  transition:
    transform 320ms cubic-bezier(0.2, 0.85, 0.2, 1),
    filter 220ms ease;
}

.product-card[data-category="drinks"] .product-photo-preview img {
  width: auto;
  max-width: 78%;
  height: min(72vw, 250px);
  object-fit: contain;
  transform:
    translate3d(calc(var(--px) * -14px), calc(var(--py) * -10px), 62px)
    scale(1);
}

.product-dialog[data-category="drinks"] .dialog-photo-preview img {
  width: auto;
  max-width: 78%;
  height: min(78vw, 390px);
  object-fit: contain;
  transform:
    translate3d(calc(var(--px) * -14px), calc(var(--py) * -10px), 62px)
    scale(1);
}

.product-card[data-product-id="jugo-hit"] .product-photo-preview img,
.product-dialog[data-product-id="jugo-hit"] .dialog-photo-preview img {
  width: auto;
  max-width: 70%;
}

.product-card[data-product-id="agua"] .product-photo-preview img {
  max-width: 56%;
  height: min(48vw, 174px);
  transform:
    translate3d(calc(var(--px) * -10px), calc((var(--py) * -7px) - 6px), 62px)
    scale(1);
}

.product-dialog[data-product-id="agua"] .dialog-photo-preview img {
  max-width: 64%;
  height: min(72vw, 340px);
  transform:
    translate3d(calc(var(--px) * -12px), calc((var(--py) * -8px) - 12px), 62px)
    scale(1);
}

.product-card[data-category="drinks"] .photo-backplate,
.product-dialog[data-category="drinks"] .photo-backplate {
  inset: 23%;
}

.product-photo-preview::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.42) 0%, transparent 68%);
}

.photo-expand-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  display: inline-flex;
  width: auto;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(8, 7, 5, 0.76);
  color: var(--cream);
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  opacity: 0.82;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.photo-expand-btn svg {
  flex: 0 0 auto;
}

.product-card:hover .photo-expand-btn,
.product-card:focus-within .photo-expand-btn,
.dialog-photo-preview:hover .photo-expand-btn,
.dialog-photo-preview:focus-within .photo-expand-btn {
  opacity: 1;
}

.photo-expand-btn:hover {
  transform: scale(1.12);
  background: rgba(255, 196, 0, 0.18);
  border-color: rgba(255, 196, 0, 0.52);
  color: var(--gold);
}

.dialog-photo-expand {
  top: 14px;
  right: 14px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: min(92vw, 860px);
  max-height: 88svh;
  object-fit: contain;
  border-radius: var(--radius);
  filter:
    drop-shadow(0 40px 80px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.06));
  transform: scale(0.92) translateY(12px);
  transition:
    transform 300ms cubic-bezier(0.2, 0.85, 0.2, 1),
    opacity 300ms ease;
}

.photo-lightbox.is-open .lightbox-img {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 800;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.08);
}

.media-mode-switch {
  position: absolute;
  right: 18px;
  bottom: 12px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px;
  background: rgba(8, 7, 5, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.media-mode-switch button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: clamp(0.62rem, 2.2vw, 0.74rem);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.media-mode-switch button.is-active {
  background: var(--gold);
  color: #120e07;
  transform: translateY(-1px);
}

.media-mode-switch button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.product-copy {
  position: relative;
  z-index: 2;
  padding: 0 18px 18px;
}

.product-copy header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.product-copy h3 {
  margin: 0;
  text-transform: uppercase;
}

.price {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-copy p {
  min-height: 52px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.product-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.product-mode-row span,
.product-mode-row button {
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-mode-row span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 196, 0, 0.2);
  color: var(--gold);
}

.product-mode-row button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.inspect-button,
.add-button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.add-button {
  border-radius: 999px;
  background: var(--gold);
  color: #150f08;
}

.inspect-button {
  display: grid;
  width: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-size: 1.2rem;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  margin-bottom: 12px;
  padding: 0 9px;
  background: rgba(237, 27, 22, 0.18);
  color: #ffbab8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-dialog {
  width: min(95vw, 990px);
  max-height: min(92svh, 860px);
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: #0b0907;
  color: var(--cream);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.76);
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  cursor: pointer;
  font-weight: 800;
}

.product-dialog > .dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.dialog-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.dialog-showcase {
  --px: 0;
  --py: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(92vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.12);
  border-radius: calc(var(--radius) - 2px);
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 196, 0, 0.2), transparent 36%),
    radial-gradient(circle at 72% 72%, rgba(237, 27, 22, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012)),
    #100d09;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.34);
  perspective: 1000px;
}

.dialog-showcase::before {
  position: absolute;
  inset: auto 8% 10%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  content: "";
  filter: blur(24px);
}

.dialog-showcase > [data-media-panel] {
  grid-area: 1 / 1;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.85, 0.2, 1),
    visibility 260ms ease;
}

.dialog-showcase[data-mode="photo"] [data-media-panel="3d"],
.dialog-showcase[data-mode="3d"] [data-media-panel="photo"] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(10px) scale(0.965);
}

.dialog-viewer {
  width: min(100%, 510px);
  margin: 24px auto 0;
}

.dialog-showcase .dialog-viewer {
  margin: 0;
}

.dialog-photo-preview {
  width: min(78vw, 460px);
}

.dialog-mode-switch {
  top: auto;
  bottom: 16px;
}

.product-dialog.photo-detail .dialog-viewer {
  display: none;
}

.product-dialog.photo-detail .dialog-body {
  grid-template-columns: minmax(0, 1fr);
}

.product-dialog.photo-detail .real-photo-reference {
  grid-template-columns: minmax(180px, 360px) 1fr;
  width: min(100%, 620px);
}

.product-dialog.photo-detail .real-photo-reference img {
  width: 100%;
  height: auto;
  max-height: 360px;
}

.dialog-copy {
  align-self: center;
  padding: 8px 4px 8px;
}

.dialog-copy h2 {
  font-size: clamp(2rem, 8vw, 4.8rem);
}

.real-photo-reference {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  width: min(100%, 320px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  margin: 18px 0 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.real-photo-reference img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.real-photo-reference figcaption {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0;
}

.dialog-price-row strong {
  color: var(--gold);
  font-size: clamp(1.6rem, 6vw, 3rem);
}

.dialog-price-row span {
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.floating-cart {
  position: fixed;
  right: 14px;
  bottom: var(--safe-bottom);
  z-index: 18;
  display: grid;
  grid-template-columns: 32px auto auto;
  gap: 9px;
  min-height: 58px;
  align-items: center;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  background: rgba(14, 12, 8, 0.92);
  color: var(--cream);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.floating-cart span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #140f08;
  font-weight: 800;
}

.floating-cart strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.floating-cart em {
  color: var(--gold);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 220ms ease;
}

.cart-drawer.is-open .cart-backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.cart-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  max-height: 88svh;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 18px;
  overflow-y: auto;
  background: #100d09;
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.58);
  transform: translateY(102%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer.is-open .cart-panel {
  transform: translateY(0);
}

.cart-header,
.cart-total-row,
.cart-item,
.qty-controls {
  display: flex;
  align-items: center;
}

.cart-header,
.cart-total-row {
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 2.1rem;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.empty-cart {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.cart-item img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.cart-extra-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.12);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 900;
}

.cart-item--extra {
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.08), rgba(255, 255, 255, 0.035));
}

.cart-item-copy {
  min-width: 0;
  flex: 1;
}

.cart-item-copy strong,
.cart-item-copy span {
  display: block;
}

.cart-item-copy strong {
  overflow: hidden;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cart-item-copy span {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.qty-controls {
  gap: 6px;
}

.qty-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  cursor: pointer;
  font-weight: 800;
}

.qty-controls span {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}

.notes-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.notes-field textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
}

.cart-total-row {
  margin: 18px 0;
  color: var(--muted);
  font-weight: 600;
}

.cart-total-row strong {
  color: var(--gold);
  font-size: 1.55rem;
}

.checkout-button {
  width: 100%;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

.checkout-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
}

.footer {
  display: flex;
  width: min(100%, var(--max));
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 30px clamp(16px, 4vw, 28px) 80px;
}

.footer img {
  width: 76px;
  height: 54px;
  border-radius: var(--radius);
  object-fit: cover;
}

.footer p {
  margin: 0 0 4px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.footer span {
  font-size: 0.88rem;
}

.footer-maps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 180ms ease;
}

.footer-maps:hover {
  color: var(--gold);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 70px);
  z-index: 50;
  width: min(92vw, 360px);
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(13, 11, 8, 0.94);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 400ms var(--ease-out-expo),
    transform 400ms var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pill-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@keyframes viewer-spin {
  to { transform: rotate(360deg); }
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.cart-pill.pop,
.floating-cart span.pop {
  animation: pill-pop 250ms var(--ease-spring) forwards;
}

.price,
.dialog-price-row strong,
.cart-item-copy span,
.floating-cart em,
.cart-total-row strong {
  font-variant-numeric: tabular-nums;
}

.product-card {
  transition:
    transform 250ms var(--ease-out-expo),
    box-shadow 250ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card:active {
  transform: scale(0.97);
}

.product-viewer.is-loading::after {
  animation: badge-pulse 1.2s ease-in-out infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 720px) {
  .topbar-actions a {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  }

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

  .dialog-body {
    grid-template-columns: minmax(340px, 0.95fr) minmax(320px, 1.05fr);
    padding: 26px;
  }

  .cart-panel {
    top: 0;
    bottom: 0;
    left: auto;
    width: min(440px, 92vw);
    max-height: none;
    border-radius: var(--radius) 0 0 var(--radius);
    transform: translateX(102%);
  }

  .cart-drawer.is-open .cart-panel {
    transform: translateX(0);
  }
}

@media (max-width: 719px) {
  .hero {
    min-height: auto;
    gap: 18px;
  }

  .hero-stage {
    order: -1;
    min-height: 420px;
    margin-top: -10px;
    margin-bottom: 4px;
  }

  .viewer-app-shell {
    width: min(100%, 372px);
    min-height: 410px;
  }

  .viewer-app-body {
    min-height: 282px;
  }

  .hero-viewer {
    width: min(90vw, 352px);
  }

  .brand-orbit {
    font-size: clamp(2.5rem, 16vw, 5rem);
  }

  .stage-badge {
    right: 2%;
    bottom: 6%;
    max-width: 155px;
  }

  .viewer-app-dock span {
    width: auto;
    flex: 0 0 auto;
    margin-left: 4px;
  }

  .floating-cart {
    right: 0;
    left: 0;
    bottom: 0;
    border-radius: 0;
    justify-content: center;
    padding-bottom: var(--safe-bottom);
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.checkout-fields {
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.checkout-fields summary {
  padding: 12px 16px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
}

.checkout-fields summary::-webkit-details-marker {
  display: none;
}

.checkout-fields-body {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.checkout-fields-body label {
  display: grid;
  gap: 4px;
}

.checkout-fields-body label span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-fields-body input {
  background: var(--bg-2);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  transition: border-color 200ms ease;
}

.checkout-fields-body input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
