:root {
  color-scheme: light;
  --sea-salt: #dde7ea;
  --paper: #fbf7ee;
  --cream: #f3ead8;
  --sand: #e4d4ba;
  --ink: #1e2726;
  --muted: #66706c;
  --line: #dacdb8;
  --wine: #7f1734;
  --wine-dark: #4a0d20;
  --sea: #1f6f78;
  --sea-soft: #d9eef0;
  --gold: #c99d45;
  --white: #fffdf8;
  --shadow: 0 18px 42px rgba(43, 30, 16, 0.13);
  --shadow-soft: 0 10px 28px rgba(31, 39, 38, 0.08);
}

.three-test-mode {
  position: relative;
  min-height: 100svh;
  padding-bottom: 0;
  background: var(--sea-salt);
  overflow: hidden;
}

.three-stack-test-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.5), transparent 22rem),
    var(--sea-salt);
  color: #0d0d0d;
  outline: none;
  touch-action: pan-x pan-y pinch-zoom;
  user-select: none;
}

.three-stack-test-page::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 82%, rgba(32, 32, 30, 0.2), transparent 28rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.16));
  content: "";
  pointer-events: none;
}

.three-stack-test-header {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.three-stack-test-header div {
  display: grid;
  gap: 0.1rem;
}

.wine-records-header {
  top: 1.15rem;
  right: 1rem;
  left: 1rem;
  display: grid;
  justify-content: flex-start;
  gap: 1.45rem;
}

.wine-records-brand {
  max-width: min(24rem, calc(100vw - 8.5rem));
  display: grid;
  grid-template-columns: 2.85rem 1fr;
  gap: 0.72rem;
  align-items: center;
}

.wine-records-brand img {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  object-fit: cover;
}

.wine-records-brand div {
  display: grid;
  align-items: center;
}

.three-stack-test-header strong {
  color: #070a0d;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.wine-records-hero-copy {
  display: grid;
  gap: 1rem;
  max-width: min(25rem, 86vw);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 340ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.wine-records-hero-copy.is-hidden {
  opacity: 0;
  transform: translateY(-0.75rem);
  pointer-events: none;
}

.wine-records-hero-copy span {
  color: #2677ae;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.wine-records-hero-copy u {
  text-decoration-thickness: 0.08rem;
  text-underline-offset: 0.32rem;
}

.wine-records-hero-copy h1 {
  margin: 0.9rem 0 0;
  color: #070a0d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.02rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.wine-records-hero-copy p {
  margin: 1rem 0 0;
  color: rgba(13, 13, 13, 0.68);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

.three-stack-test-header a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #050505;
  color: white;
  padding: 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
}

.three-stack-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.three-stack-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  touch-action: pan-x pan-y pinch-zoom;
}

.single-card-test-page {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.54), transparent 19rem),
    var(--sea-salt);
}

.single-card-canvas-wrap {
  inset: 4.8rem 0 5.6rem;
}

.single-card-test-page.is-order-flow .single-card-canvas-wrap {
  inset: 4.8rem 0 5.6rem;
}

.single-card-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.single-card-overlay div {
  display: grid;
  gap: 0.1rem;
}

.single-card-overlay .single-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.single-card-overlay.is-order-mode .single-card-actions {
  align-self: end;
}

.single-card-overlay.is-splash-cta {
  right: 0;
  bottom: 8.5rem;
  left: 0;
  justify-content: center;
}

.single-card-overlay.is-splash-cta button {
  min-width: 8.2rem;
}

.single-card-overlay .single-card-price {
  color: rgba(17, 17, 17, 0.72);
  font-size: 1.21rem;
  font-weight: 860;
  line-height: 1;
  white-space: nowrap;
}

.single-card-overlay span {
  color: rgba(17, 17, 17, 0.54);
  font-size: 0.66rem;
  font-weight: 780;
}

.single-card-overlay span a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
  pointer-events: auto;
}

.single-card-overlay strong {
  font-size: 1.04rem;
  font-weight: 840;
  line-height: 1;
}

.single-card-overlay small {
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.05;
}

.single-card-overlay button {
  min-width: 5.8rem;
  min-height: 2.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(238, 238, 236, 0.86);
  color: #050505;
  font-size: 0.78rem;
  font-weight: 760;
  box-shadow: 0 0.75rem 1.7rem rgba(0, 0, 0, 0.14);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(14px);
}

.single-card-overlay button:hover,
.single-card-overlay button:focus-visible {
  background: #ffffff;
  outline: none;
}

.single-card-overlay button.is-order {
  background: #050505;
  color: #ffffff;
}

.single-card-overlay button.is-order:hover,
.single-card-overlay button.is-order:focus-visible {
  background: #050505;
  color: #ffffff;
}

.order-status-vinyl {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 10rem;
  padding: 0.55rem 0.78rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: rgba(238, 242, 242, 0.78);
  color: #0b1822;
  box-shadow: 0 1.1rem 2.2rem rgba(20, 40, 48, 0.16);
  backdrop-filter: blur(16px);
  animation: orderStatusIn 920ms cubic-bezier(0.18, 1.1, 0.24, 1) both;
}

.order-status-vinyl.has-multiple-orders {
  gap: 0.48rem;
  padding-left: 0.44rem;
}

.order-toast-vinyl {
  z-index: 46;
  width: 11rem;
  background: rgba(238, 242, 242, 0.94);
  pointer-events: none;
  animation:
    orderStatusIn 920ms cubic-bezier(0.18, 1.1, 0.24, 1) both,
    orderToastOut 360ms ease 2640ms forwards;
}

.order-status-disc {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #efe3d0 0 18%, transparent 18.5%),
    repeating-radial-gradient(circle at 50% 50%, #151515 0 0.06rem, #252525 0.065rem 0.095rem);
  box-shadow: inset 0 0 0 0.16rem #090909, 0 0.45rem 0.9rem rgba(0, 0, 0, 0.18);
  animation: orderStatusPayload 920ms 90ms cubic-bezier(0.18, 1.1, 0.24, 1) both;
}

.order-status-disc span {
  position: absolute;
  inset: 46%;
  border-radius: 50%;
  background: #161616;
}

.order-toast-disc {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #efe3d0 0 12%, transparent 12.5%),
    radial-gradient(circle at 50% 50%, #1c78ff 0 31%, #0f66e8 31.5% 39%, transparent 39.5%),
    repeating-radial-gradient(circle at 50% 50%, #151515 0 0.045rem, #252525 0.05rem 0.075rem);
  box-shadow: inset 0 0 0 0.12rem #090909, 0 0.45rem 0.75rem rgba(0, 0, 0, 0.18);
  animation: orderStatusPayload 920ms 90ms cubic-bezier(0.18, 1.1, 0.24, 1) both;
}

.order-toast-disc span {
  position: absolute;
  inset: 46%;
  border-radius: 50%;
  background: #161616;
}

.order-status-stack {
  position: relative;
  width: 3.05rem;
  height: 2.2rem;
  flex: 0 0 auto;
  animation: orderStatusPayload 920ms 90ms cubic-bezier(0.18, 1.1, 0.24, 1) both;
}

.order-status-mini-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.16rem;
  height: 2.16rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #efe3d0 0 12%, transparent 12.5%),
    radial-gradient(circle at 50% 50%, #1c78ff 0 31%, #0f66e8 31.5% 39%, transparent 39.5%),
    repeating-radial-gradient(circle at 50% 50%, #151515 0 0.045rem, #252525 0.05rem 0.075rem);
  box-shadow: inset 0 0 0 0.12rem #090909, 0 0.45rem 0.75rem rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
}

.order-status-stack-2 .order-status-mini-disc:first-child {
  transform: translate(-78%, -50%);
}

.order-status-stack-2 .order-status-mini-disc:last-child {
  transform: translate(-25%, -50%);
}

.order-status-stack-3 .order-status-mini-disc:nth-child(1) {
  transform: translate(-92%, -50%) scale(0.9);
}

.order-status-stack-3 .order-status-mini-disc:nth-child(2) {
  transform: translate(-55%, -50%) scale(0.95);
}

.order-status-stack-3 .order-status-mini-disc:nth-child(3) {
  transform: translate(-18%, -50%);
}

.order-status-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.order-status-vinyl strong,
.order-status-vinyl small {
  display: block;
  overflow: hidden;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-status-vinyl strong {
  font-size: 0.72rem;
  font-weight: 850;
}

.order-status-vinyl small {
  margin-top: 0.12rem;
  color: rgba(11, 24, 34, 0.58);
  font-size: 0.64rem;
  font-weight: 720;
}

.order-toast-vinyl small {
  max-width: 6.9rem;
  overflow: visible;
  line-height: 1.14;
  text-overflow: clip;
  white-space: normal;
}

.order-vinyl-flow {
  position: absolute;
  inset: 0;
  z-index: 38;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.order-vinyl-stage {
  position: relative;
  width: 100%;
  height: 100%;
  --order-disc-size: clamp(23rem, 38vw, 34rem);
  --order-disc-bottom: clamp(23rem, calc(29vw + 3.5rem), 30rem);
  transform-style: preserve-3d;
  pointer-events: none;
}

.order-vinyl-record {
  position: absolute;
  left: 50%;
  bottom: var(--order-disc-bottom-measured, var(--order-disc-bottom));
  width: var(--order-disc-size-measured, var(--order-disc-size));
  height: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.566);
  max-width: none;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(-50%, 50%, 0) scale(0.98);
  filter: drop-shadow(-1rem 1.2rem 1.25rem rgba(28, 45, 48, 0.16));
  animation: none;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  pointer-events: none;
}

.order-vinyl-disc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.order-vinyl-stage.is-ready .order-vinyl-record {
  animation: orderRecordRise var(--order-disc-rise-duration, 980ms) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.order-vinyl-stage.is-form-fade-out .order-vinyl-record,
.order-vinyl-stage.is-form-fade-in .order-vinyl-record,
.order-vinyl-stage.is-settled .order-vinyl-record {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  animation: none;
}

.order-vinyl-stage.is-reversing .order-vinyl-record {
  animation: orderRecordSink 620ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.order-vinyl-stage.is-switching-out .order-vinyl-record {
  animation: orderRecordSink 920ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.order-vinyl-stage.is-step-2 {
  --order-disc-rise-duration: 1980ms;
}

.order-vinyl-stage.is-step-1 {
  --order-disc-rise-duration: 1980ms;
}

.order-vinyl-stage.is-ready .order-vinyl-record.is-spinning {
  animation:
    orderRecordRise 1ms both,
    orderRecordSpin 550ms cubic-bezier(0.2, 0.75, 0.26, 1) both;
}

.order-vinyl-stage.is-form-fade-out .order-vinyl-form-content {
  animation: orderInnerOut 300ms ease both;
  pointer-events: none;
}

.order-vinyl-stage.is-form-fade-in .order-vinyl-form-content {
  animation: orderInnerIn 520ms 90ms ease both;
}

.order-vinyl-stage.is-settled:not(.is-form-fade-out):not(.is-form-fade-in) .order-vinyl-form-content {
  opacity: 1;
  animation: none;
}

.order-vinyl-stage.is-spinning .order-vinyl-form-content {
  opacity: 0;
  animation: none;
}

.order-vinyl-stage.is-switching-out .order-vinyl-form-content {
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.order-vinyl-form {
  position: absolute;
  top: 80%;
  left: 50%;
  display: flex;
  width: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.58);
  height: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.58);
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(205, 127, 116, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%,
      rgba(255, 250, 241, 0.98) 0%,
      rgba(251, 241, 228, 0.98) 58%,
      rgba(236, 213, 201, 0.96) 100%);
  color: #3b302c;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.order-vinyl-form-content {
  position: absolute;
  inset: 0;
  opacity: 1;
  animation: none;
  pointer-events: auto;
  will-change: opacity;
}

.order-vinyl-form-mark {
  position: absolute;
  top: 8.5%;
  left: 50%;
  color: #c9a064;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.046);
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.order-vinyl-form h2 {
  position: absolute;
  top: 19%;
  right: 15%;
  left: 15%;
  margin: 0;
  color: #d1897f;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.54rem, calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.029), 0.9rem);
  font-weight: 300;
  letter-spacing: 0.36em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.order-vinyl-fields {
  position: absolute;
  top: 33%;
  right: 15%;
  left: 16%;
  display: grid;
  gap: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.013);
  z-index: 1;
}

.order-vinyl-form-step-2 .order-vinyl-fields {
  top: 33%;
  gap: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.013);
}

.order-vinyl-form-step-2 .order-vinyl-input {
  grid-template-columns: 40% minmax(0, 1fr);
  gap: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.013);
}

.order-vinyl-form-step-2 .order-vinyl-input-date {
  grid-template-columns: 26% minmax(0, 1fr);
}

.order-vinyl-input {
  display: grid;
  min-width: 0;
  grid-template-columns: 34% minmax(0, 1fr);
  align-items: end;
  gap: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.018);
}

.order-vinyl-input span {
  overflow: hidden;
  color: #50433d;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(0.62rem, calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.033), 1rem);
  font-weight: 500;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-vinyl-input-quantity {
  grid-template-columns: 34% max-content;
}

.order-vinyl-form input,
.order-vinyl-form select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.032);
  border: 0;
  border-bottom: 1px solid rgba(169, 134, 116, 0.36);
  border-radius: 0;
  background: transparent;
  color: #342c29;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(0.62rem, calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.031), 0.96rem);
  font-weight: 500;
  line-height: 1;
  outline: none;
  box-shadow: none;
}

.order-vinyl-form input:focus,
.order-vinyl-form select:focus,
.order-vinyl-submit:focus {
  outline: none;
  box-shadow: none;
}

.order-vinyl-form select {
  width: min(3.2rem, 100%);
  cursor: pointer;
}

.order-vinyl-form input[type="date"],
.order-vinyl-form input[type="datetime-local"] {
  appearance: auto;
  -webkit-appearance: auto;
  font-size: clamp(0.54rem, calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.027), 0.86rem);
  color-scheme: light;
}

.order-vinyl-form input[type="datetime-local"] {
  font-size: clamp(0.48rem, calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.023), 0.78rem);
}

.order-vinyl-input-quantity select {
  width: 2.5ch;
  min-width: 2.5ch;
  font-variant-numeric: lining-nums;
}

.order-vinyl-input-telephone input,
.order-vinyl-input-pier select,
.order-vinyl-input-date input {
  font-variant-numeric: lining-nums;
}

.order-vinyl-input-name input,
.order-vinyl-input-boat input {
  font-variant-caps: small-caps;
}

.order-vinyl-form input::placeholder {
  color: rgba(52, 44, 41, 0.62);
}

.order-vinyl-submit {
  position: absolute;
  right: 24%;
  bottom: 34%;
  display: inline-flex;
  width: 52%;
  height: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.05);
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #d1897f;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(0.64rem, calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.034), 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.order-vinyl-form-step-2 .order-vinyl-submit {
  bottom: 31.2%;
}

.order-vinyl-submit:disabled {
  cursor: default;
  opacity: 0.38;
}

.order-vinyl-submit span {
  display: inline-block;
  white-space: nowrap;
}

@keyframes orderRecordRise {
  from {
    opacity: 0;
    transform: translate3d(-50%, 50%, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }
}

@keyframes orderRecordSink {
  from {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(-50%, 50%, 0) scale(0.98);
  }
}

@keyframes orderRecordSpin {
  0% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) rotateY(0deg) scaleX(1);
  }
  48% {
    opacity: 0.9;
    transform: translate3d(-50%, 0, 0) rotateY(82deg) scaleX(0.24);
  }
  52% {
    opacity: 0.9;
    transform: translate3d(-50%, 0, 0) rotateY(-82deg) scaleX(0.24);
  }
  100% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) rotateY(0deg) scaleX(1);
  }
}

@keyframes orderInnerIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes orderInnerOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes orderStatusIn {
  from {
    opacity: 0;
    transform: translateY(-1.05rem) scale(0.88);
  }
  58% {
    transform: translateY(0.18rem) scale(1.04);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orderStatusPayload {
  from {
    transform: translateY(-0.55rem) scale(0.84) rotate(-4deg);
  }
  62% {
    transform: translateY(0.08rem) scale(1.08) rotate(2deg);
  }
  to {
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes orderToastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-0.24rem) scale(0.98);
  }
}

@media (max-width: 520px) and (max-height: 850px) {
  .single-card-overlay.is-splash-cta {
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(2.25rem, 8svh, 4.75rem));
  }
}

@media (max-width: 520px) {
  .order-vinyl-stage {
    width: 100vw;
    height: 100%;
    --order-disc-size: min(91vw, 23.5rem);
    --order-disc-bottom: clamp(19rem, calc(56vw + 2.8rem), 24rem);
  }

  .order-vinyl-form input,
  .order-vinyl-form select {
    height: calc(var(--order-disc-size-measured, var(--order-disc-size)) * 0.041);
    font-size: 16px;
    line-height: 1;
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .order-vinyl-form input[type="date"],
  .order-vinyl-form input[type="datetime-local"] {
    font-size: 16px;
  }

  .order-vinyl-form input[type="datetime-local"] {
    transform: scale(0.68);
    transform-origin: left bottom;
    width: 147%;
  }

  .order-vinyl-input-quantity select {
    width: 3.2ch;
    min-width: 3.2ch;
  }

  .order-vinyl-fields {
    top: 29%;
  }

  .order-status-vinyl {
    top: 0.72rem;
    right: 0.72rem;
    min-width: 0;
  }
}

.three-stack-progress {
  position: absolute;
  top: 50%;
  right: 1.05rem;
  z-index: 30;
  width: 0.38rem;
  height: 8.75rem;
  border-radius: 999px;
  background: #bdbbbf;
  pointer-events: none;
  transform: translateY(-50%);
}

.three-stack-progress span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  background: #050505;
  transition: transform 300ms ease-out;
}

.three-stack-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 30;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.three-stack-overlay-meta {
  display: grid;
  gap: 0.08rem;
  color: #111111;
}

.three-stack-overlay-meta span {
  color: rgba(17, 17, 17, 0.54);
  font-size: 0.62rem;
  font-weight: 780;
}

.three-stack-overlay-meta strong {
  font-size: 0.86rem;
  font-weight: 840;
}

.three-stack-overlay-meta p,
.three-stack-overlay-meta small {
  margin: 0;
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.68rem;
  font-weight: 650;
}

.three-stack-overlay-meta small {
  color: rgba(17, 17, 17, 0.42);
  font-size: 0.55rem;
}

.three-stack-overlay-actions {
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.three-stack-overlay-actions button {
  min-width: 5.8rem;
  min-height: 2.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(238, 238, 236, 0.82);
  color: #050505;
  font-size: 0.78rem;
  font-weight: 760;
  box-shadow: 0 0.75rem 1.7rem rgba(0, 0, 0, 0.14);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.three-stack-overlay-actions button:hover,
.three-stack-overlay-actions button:focus-visible {
  background: #ffffff;
  outline: none;
}

@media (min-width: 720px) {
  .three-stack-test-header,
  .three-stack-overlay {
    right: 2rem;
    left: 2rem;
  }

  .three-stack-overlay-actions button {
    min-width: 6.6rem;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--sea-salt);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 18% 5%, rgba(255, 255, 255, 0.38), transparent 16rem),
    var(--sea-salt);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 5.5rem;
}

.app-shell.poster-mode {
  padding-bottom: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(218, 205, 184, 0.76);
  background: rgba(251, 247, 238, 0.87);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--wine), var(--wine-dark));
  color: var(--white);
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 0.06rem;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.95rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pill-link,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.pill-link {
  padding: 0 0.9rem;
}

.icon-link {
  width: 2.35rem;
}

.page {
  max-width: 66rem;
  margin: 0 auto;
  padding: 1rem 1rem 1.25rem;
}

.hero {
  display: grid;
  gap: 1.1rem;
  min-height: calc(100svh - 5.2rem);
  align-content: space-between;
  padding: 1.15rem 0 1rem;
}

.hero-copy {
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.58rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sea);
  content: "";
}

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

h1 {
  max-width: 11.6ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 14vw, 6.8rem);
  font-weight: 500;
  line-height: 0.91;
}

.lead {
  max-width: 36rem;
  color: #4d5855;
  font-size: 1.05rem;
  line-height: 1.47;
}

.hero-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(218, 205, 184, 0.76);
  border-radius: 1.35rem;
  background:
    linear-gradient(140deg, rgba(255, 253, 248, 0.96), rgba(243, 234, 216, 0.86)),
    radial-gradient(circle at 86% 14%, rgba(127, 23, 52, 0.12), transparent 10rem);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  min-height: 12.5rem;
  overflow: hidden;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(221, 242, 242, 0.9), rgba(255, 253, 248, 0.3) 54%, rgba(31, 111, 120, 0.2)),
    linear-gradient(135deg, #e6d0a5, #f9f0dd);
}

.hero-visual .sun {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 3.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f1b856;
  box-shadow: 0 0 0 1.4rem rgba(241, 184, 86, 0.18);
}

.hero-visual .sail {
  position: absolute;
  bottom: 3.2rem;
  left: 1.2rem;
  width: 6.4rem;
  height: 7.6rem;
  background: var(--white);
  clip-path: polygon(52% 0, 100% 100%, 0 100%);
  box-shadow: 0 14px 30px rgba(31, 39, 38, 0.14);
}

.hero-visual .bottle {
  position: absolute;
  right: 2.3rem;
  bottom: 2.1rem;
  width: 3.2rem;
  height: 8.5rem;
  border-radius: 1.2rem 1.2rem 0.75rem 0.75rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 18% 68%, rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, #6a1b34 0 25%, #111817 25% 100%);
  transform: rotate(12deg);
  box-shadow: 0 18px 26px rgba(31, 39, 38, 0.2);
}

.hero-visual .bottle::after {
  position: absolute;
  right: 0.42rem;
  bottom: 2rem;
  left: 0.42rem;
  height: 2.3rem;
  border-radius: 0.24rem;
  background: #f4e7c3;
  content: "";
}

.wave {
  position: absolute;
  right: -10%;
  bottom: -1.2rem;
  left: -10%;
  height: 4rem;
  border-radius: 50% 50% 0 0;
  background: rgba(31, 111, 120, 0.54);
}

.wave.two {
  bottom: -2.2rem;
  background: rgba(31, 111, 120, 0.78);
  transform: translateX(3rem);
}

.route-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: 0.85rem;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.route-card strong {
  font-size: 0.92rem;
}

.route-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.route-card .badge {
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: var(--sea-soft);
  color: #14535b;
  font-size: 0.78rem;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  border: 0;
  background: linear-gradient(135deg, var(--wine), #9d2344);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(127, 23, 52, 0.24);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.ghost-button {
  min-height: 2.8rem;
  border: 1px solid rgba(127, 23, 52, 0.2);
  background: rgba(255, 253, 248, 0.58);
  color: var(--wine);
}

.poster-page {
  min-height: 340vh;
}

.poster-showcase {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100svh;
  overflow: hidden;
  padding: 1rem 1rem 5.5rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.5), transparent 9rem),
    radial-gradient(circle at 20% 16%, rgba(31, 111, 120, 0.2), transparent 13rem),
    linear-gradient(180deg, #ece8df 0%, #d6d1c8 100%);
  perspective: 960px;
}

.poster-copy {
  position: relative;
  z-index: 8;
  display: grid;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

.poster-copy h1 {
  max-width: 12.6ch;
  font-size: clamp(2.15rem, 10vw, 5.4rem);
  line-height: 0.95;
}

.poster-copy p {
  max-width: 24rem;
  color: #4a5451;
  font-size: 0.98rem;
  line-height: 1.42;
}

.poster-deck {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: 25.5rem;
  transform-style: preserve-3d;
}

.poster-card {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 1rem;
  width: min(21.5rem, calc(100vw - 2.1rem));
  min-height: 24.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 1.2rem;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06)),
    linear-gradient(150deg, #315f65, #e5d0a8);
  box-shadow:
    0 28px 55px rgba(30, 39, 38, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: white;
  transform-origin: 50% 70%;
  transform-style: preserve-3d;
  transition: box-shadow 180ms ease;
  will-change: transform, opacity;
}

.poster-card.cellar {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.32), transparent 6rem),
    linear-gradient(150deg, #8c2842 0%, #d5aa61 100%);
}

.poster-card.islands {
  background:
    radial-gradient(circle at 80% 13%, rgba(255, 255, 255, 0.42), transparent 6rem),
    linear-gradient(150deg, #1f6f78 0%, #dfbf67 100%);
}

.poster-card.premium {
  background:
    radial-gradient(circle at 76% 20%, rgba(217, 174, 76, 0.35), transparent 7rem),
    linear-gradient(150deg, #151b1b 0%, #7f1734 100%);
}

.poster-card::before {
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.85rem;
  content: "";
  pointer-events: none;
}

.poster-bar,
.poster-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.winebar-logo {
  display: grid;
  place-items: center;
  width: 3.35rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.18);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.poster-bar > div:last-child {
  display: grid;
  gap: 0.1rem;
  margin-right: auto;
}

.poster-bar strong {
  font-size: 0.92rem;
}

.poster-bar small,
.poster-footer span,
.poster-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.poster-main {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  gap: 0.65rem;
}

.poster-main h2 {
  max-width: 8.6ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 11.5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.88;
}

.poster-main p {
  max-width: 16rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.42;
}

.poster-bottles {
  position: absolute;
  right: 1rem;
  bottom: 4.6rem;
  z-index: 1;
  width: 8.5rem;
  height: 8rem;
  opacity: 0.78;
}

.poster-bottles span {
  position: absolute;
  bottom: 0;
  width: 2rem;
  height: 6.35rem;
  border-radius: 999px 999px 0.45rem 0.45rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.33), transparent 22% 72%, rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, #7b243c 0 24%, #101514 24% 100%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.poster-bottles span:nth-child(1) {
  right: 5.5rem;
  transform: rotate(-13deg);
}

.poster-bottles span:nth-child(2) {
  right: 3.25rem;
  transform: rotate(3deg);
}

.poster-bottles span:nth-child(3) {
  right: 1rem;
  transform: rotate(16deg);
}

.poster-footer {
  align-self: end;
}

.poster-footer > div:first-child {
  display: grid;
  gap: 0.1rem;
}

.poster-footer strong {
  font-size: 1.2rem;
}

.poster-actions {
  display: flex;
  gap: 0.4rem;
}

.poster-button {
  min-height: 2.65rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.12);
  color: white;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.poster-button.primary {
  border-color: rgba(255, 253, 248, 0.86);
  background: #fffdf8;
  color: #1e2726;
}

.poster-hint {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: #56615d;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.poster-hint span {
  width: 2.25rem;
  height: 0.24rem;
  border-radius: 999px;
  background: #1e2726;
}

.section-head {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 0 1.15rem;
}

.section-head h1,
.section-head h2 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 11vw, 4.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.section-head p {
  max-width: 39rem;
  color: var(--muted);
  line-height: 1.5;
}

.package-grid {
  display: grid;
  gap: 1rem;
}

.package-card {
  display: grid;
  gap: 0.95rem;
  padding: 0.85rem;
  border: 1px solid rgba(218, 205, 184, 0.9);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(43, 30, 16, 0.08);
}

.pack-visual {
  position: relative;
  min-height: 8.5rem;
  overflow: hidden;
  border-radius: 0.95rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.28), transparent),
    linear-gradient(150deg, #315f65, #e5d0a8);
}

.pack-visual.cellar {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 253, 248, 0.36), transparent 5rem),
    linear-gradient(150deg, #6e2135, #d7bc86);
}

.pack-visual.islands {
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 253, 248, 0.5), transparent 5rem),
    linear-gradient(150deg, #1f6f78, #e9d38f);
}

.pack-visual.premium {
  background:
    radial-gradient(circle at 76% 22%, rgba(217, 174, 76, 0.38), transparent 5.5rem),
    linear-gradient(150deg, #1d2221, #7f1734);
}

.pack-visual span {
  position: absolute;
  bottom: 1rem;
  width: 2rem;
  height: 6.4rem;
  border-radius: 999px 999px 0.45rem 0.45rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 22% 72%, rgba(0, 0, 0, 0.26)),
    linear-gradient(180deg, #7c213b 0 24%, #101514 24% 100%);
  box-shadow: 0 16px 24px rgba(31, 39, 38, 0.22);
}

.pack-visual span:nth-child(1) {
  right: 6rem;
  transform: rotate(-11deg);
}

.pack-visual span:nth-child(2) {
  right: 3.9rem;
  transform: rotate(6deg);
}

.pack-visual span:nth-child(3) {
  right: 1.9rem;
  transform: rotate(17deg);
}

.package-card.featured {
  border-color: rgba(127, 23, 52, 0.32);
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 1), rgba(255, 248, 234, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(127, 23, 52, 0.1), transparent 12rem);
}

.package-top {
  display: grid;
  gap: 0.45rem;
}

.package-top h2,
.package-top h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1;
}

.package-top p {
  color: var(--muted);
  line-height: 1.45;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 247, 238, 0.72);
  color: #4b5652;
  font-size: 0.8rem;
  font-weight: 750;
}

.curator-box {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f8f0e0, #fffaf0);
}

.curator-box span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.curator-box strong {
  color: var(--wine-dark);
}

.curator-box p {
  color: #4f4640;
  font-size: 0.9rem;
  line-height: 1.4;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

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

.price-row strong {
  font-size: 1.1rem;
}

.checkout-layout {
  display: grid;
  gap: 1rem;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: #f4ecdc;
}

.checkout-progress span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.checkout-progress .done {
  color: var(--sea);
}

.checkout-progress .active {
  background: var(--wine);
  color: white;
}

.step-card,
.summary-card,
.bar-card,
.admin-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(218, 205, 184, 0.9);
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(43, 30, 16, 0.08);
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.choice-button {
  min-height: 3rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.choice-button.active {
  border-color: var(--wine);
  background: #f8e7ed;
  color: var(--wine-dark);
}

.field-grid {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: #394440;
  font-size: 0.84rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fffdf8;
  color: var(--ink);
  padding: 0 0.85rem;
}

.field textarea {
  min-height: 5.4rem;
  padding-top: 0.75rem;
  resize: vertical;
}

.summary-list {
  display: grid;
  gap: 0.75rem;
}

.summary-line {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee4d2;
}

.summary-line span {
  color: var(--muted);
  font-size: 0.84rem;
}

.summary-line strong {
  font-size: 0.93rem;
}

.confirmation-hero {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(150deg, #fffdf8, #f4ead7),
    radial-gradient(circle at 90% 0%, rgba(31, 111, 120, 0.12), transparent 10rem);
  box-shadow: var(--shadow);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sea);
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
}

.bar-visual {
  min-height: 12rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 253, 248, 0.7), transparent 7rem),
    linear-gradient(135deg, rgba(31, 111, 120, 0.82), rgba(31, 111, 120, 0.2)),
    linear-gradient(180deg, #dcc59b, #b9935d);
}

.admin-tools {
  display: grid;
  gap: 0.75rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.admin-stats div {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background: #f7f0e4;
}

.admin-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-stats strong {
  font-size: 1.35rem;
}

.orders-table {
  overflow: visible;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid #eadfcd;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  font-size: 0.9rem;
}

td select {
  min-height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fffdf8;
  padding: 0 0.5rem;
}

@media (max-width: 759px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tbody {
    display: grid;
    gap: 0.9rem;
  }

  tr {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid #eadfcd;
    border-radius: 0.9rem;
    background: #fffdf8;
  }

  td {
    display: grid;
    grid-template-columns: 6.4rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 0;
  }

  td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  td select {
    width: 100%;
  }
}

.empty-state {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--muted);
  text-align: center;
}

.bottom-nav {
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  padding: 0.35rem;
  border: 1px solid rgba(218, 205, 184, 0.88);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 42px rgba(43, 30, 16, 0.17);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  border-radius: 999px;
  color: #5d6763;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.bottom-nav a.active {
  background: var(--wine);
  color: white;
}

.poster-mode .bottom-nav {
  display: none;
}

.app-shell.stack-mode {
  min-height: 100svh;
  padding-bottom: 0;
  background: var(--sea-salt);
}

.wine-stack-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.5), transparent 28rem),
    var(--sea-salt);
  color: #111111;
  isolation: isolate;
  outline: none;
  touch-action: pan-x pan-y pinch-zoom;
}

.wine-stack-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 46% 98%, rgba(68, 68, 66, 0.26), transparent 38rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.18));
  content: "";
  pointer-events: none;
}

.wine-stack-header {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  left: 1rem;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: #161616;
}

.wine-stack-header div {
  display: grid;
  gap: 0.1rem;
}

.wine-stack-header strong {
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0;
}

.wine-stack-header span {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.68rem;
  font-weight: 650;
}

.wine-stack-header-cta {
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: white;
  padding: 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 760;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.wine-stack-header-cta:hover,
.wine-stack-header-cta:focus-visible {
  background: white;
  color: #050505;
  outline: none;
}

.wine-stack-copy {
  position: absolute;
  top: 5.45rem;
  left: 1rem;
  z-index: 70;
  display: grid;
  max-width: min(19rem, calc(100vw - 2rem));
  gap: 0.3rem;
}

.wine-stack-copy h1 {
  max-width: none;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.18;
}

.wine-stack-copy p {
  max-width: 16rem;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.22;
}

.wine-stack-stage {
  position: absolute;
  inset: 4.8rem 0 5.6rem;
  z-index: 10;
  cursor: grab;
  overflow: hidden;
  perspective: 780px;
  perspective-origin: 50% 18%;
  touch-action: pan-x pan-y pinch-zoom;
}

.wine-stack-stage:active {
  cursor: grabbing;
}

.wine-three-canvas {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.three-stack-stage canvas {
  touch-action: pan-x pan-y pinch-zoom;
}

.wine-stack-deck {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  transform-style: preserve-3d;
}

.stack-scroll-indicator {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  z-index: 95;
  width: 0.44rem;
  height: 6.6rem;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.12);
  transform: translateY(-50%);
  pointer-events: none;
  overflow: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.stack-scroll-indicator span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% / var(--stack-total, 3));
  border-radius: inherit;
  background: #050505;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.22);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wine-stack-poster {
  top: 50%;
  left: 50%;
  width: min(24rem, 84vw);
  aspect-ratio: 1 / 1;
  translate: -50% -50%;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.66) inset,
    -1px 0 0 rgba(255, 255, 255, 0.5) inset,
    1px 0 0 rgba(0, 0, 0, 0.18) inset,
    0 1.1rem 1.8rem rgba(0, 0, 0, 0.2),
    0 2.8rem 5rem rgba(0, 0, 0, 0.26);
  cursor: pointer;
  will-change: transform, opacity, filter, box-shadow;
}

.wine-stack-poster::before {
  position: absolute;
  top: 0.18rem;
  right: -0.32rem;
  bottom: -0.18rem;
  z-index: -1;
  width: 0.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(70, 70, 70, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(0, 0, 0, 0.18));
  box-shadow: 10px 12px 28px rgba(0, 0, 0, 0.18);
  content: "";
  transform: skewY(2deg) translateZ(-1px);
}

.wine-stack-poster::after {
  position: absolute;
  right: 0.95rem;
  bottom: -0.55rem;
  left: 0.95rem;
  z-index: -2;
  height: 0.58rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  content: "";
  filter: blur(9px);
}

.wine-stack-poster-shine {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 24%, transparent 70%, rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.28), transparent 10rem);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.wine-stack-badge,
.wine-stack-mini-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  padding: 0 0.75rem;
  color: currentColor;
  font-size: 0.58rem;
  font-weight: 920;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.active-poster-metadata {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 90;
  display: grid;
  gap: 0.04rem;
  color: #111111;
  animation: poster-meta-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.active-poster-metadata[data-reduced-motion="true"] {
  animation: none;
}

@keyframes poster-meta-in {
  from {
    opacity: 0;
    transform: translateY(0.625rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.active-poster-metadata span {
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.66rem;
  font-weight: 780;
}

.active-poster-metadata strong {
  font-size: 1rem;
  font-weight: 840;
}

.active-poster-metadata p {
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.72rem;
  font-weight: 650;
}

.poster-action-buttons {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  gap: 0.45rem;
}

.poster-overlay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(222, 214, 227, 0.82);
  padding: 0 1.5rem;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.16);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.poster-overlay-button:hover,
.poster-overlay-button:focus-visible {
  background: #ffffff;
  box-shadow: 0 0.875rem 1.875rem rgba(0, 0, 0, 0.22);
  outline: none;
}

.wine-details-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(20, 20, 20, 0.48);
  backdrop-filter: blur(16px);
  animation: wine-details-fade 180ms ease;
}

.wine-details-card {
  display: grid;
  width: min(58rem, calc(100vw - 2rem));
  max-height: min(44rem, calc(100svh - 2rem));
  overflow: auto;
  border-radius: 0.55rem;
  background: rgba(247, 247, 243, 0.96);
  box-shadow:
    0 2rem 4rem rgba(0, 0, 0, 0.22),
    0 4.8rem 9rem rgba(0, 0, 0, 0.32);
  animation: wine-details-card-in 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wine-details-overlay[data-reduced-motion="true"],
.wine-details-overlay[data-reduced-motion="true"] .wine-details-card {
  animation: none;
}

@keyframes wine-details-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes wine-details-card-in {
  from {
    opacity: 0;
    transform: translateY(2.75rem) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wine-details-cover {
  position: relative;
  min-height: 17.5rem;
  overflow: hidden;
  padding: 1.1rem;
  color: inherit;
  isolation: isolate;
}

.wine-details-cover h2 {
  position: relative;
  z-index: 2;
  max-width: 8ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 16vw, 5rem);
  font-weight: 500;
  line-height: 0.86;
}

.wine-details-cover p {
  position: relative;
  z-index: 2;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wine-details-copy {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.wine-details-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.wine-details-copy span {
  color: rgba(17, 17, 17, 0.48);
  font-size: 0.68rem;
  font-weight: 860;
  text-transform: uppercase;
}

.wine-details-copy h3 {
  margin-top: 0.1rem;
  font-size: 1.3rem;
  line-height: 1;
}

.wine-details-copy p {
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.91rem;
  line-height: 1.5;
}

.wine-details-close {
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  padding: 0 0.85rem;
  color: #111111;
  font-size: 0.74rem;
  font-weight: 760;
  cursor: pointer;
}

.wine-details-close:hover,
.wine-details-close:focus-visible {
  background: #111111;
  color: white;
  outline: none;
}

.wine-details-note {
  display: grid;
  gap: 0.35rem;
  border-left: 2px solid rgba(17, 17, 17, 0.18);
  padding-left: 0.85rem;
}

.wine-details-note strong {
  font-size: 0.78rem;
  font-weight: 860;
}

.detail-cover-art {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7rem;
  opacity: 0.8;
  pointer-events: none;
}

.detail-cover-orb {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  filter: blur(1px);
  opacity: 0.2;
}

.detail-cover-bottle {
  position: absolute;
  bottom: 0.75rem;
  width: 1.5rem;
  border-radius: 999px 999px 0.375rem 0.375rem;
  background: #111817;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.28);
}

.detail-cover-bottle.bottle-one {
  right: 0.25rem;
  height: 4rem;
  transform: rotate(-14deg);
}

.detail-cover-bottle.bottle-two {
  right: 2.25rem;
  bottom: 0.65rem;
  height: 5rem;
  transform: rotate(4deg);
}

.detail-cover-bottle.bottle-three {
  right: 4rem;
  bottom: 0.25rem;
  height: 3.5rem;
  transform: rotate(18deg);
}

.detail-cover-shadow {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  width: 7rem;
  height: 2rem;
  border-radius: 55%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(4px);
}

.detail-cover-art.is-noir .detail-cover-shadow {
  background: rgba(216, 173, 82, 0.5);
}

@media (max-height: 720px) {
  .wine-stack-copy {
    top: 4.8rem;
  }

  .wine-stack-copy h1 {
    font-size: 0.9rem;
  }

  .wine-stack-copy p {
    max-width: 15rem;
    font-size: 0.82rem;
  }

  .wine-stack-stage {
    top: 4.8rem;
  }

  .wine-stack-poster {
    width: min(22rem, 84vw);
  }
}

@media (min-width: 760px) {
  .wine-stack-header {
    top: 1.25rem;
    right: max(2rem, calc((100vw - 74rem) / 2));
    left: max(2rem, calc((100vw - 74rem) / 2));
  }

  .wine-stack-copy {
    top: 5.7rem;
    left: max(2rem, calc((100vw - 74rem) / 2));
  }

  .wine-stack-copy h1 {
    font-size: 1rem;
  }

  .wine-stack-copy p {
    font-size: 0.95rem;
  }

  .wine-stack-stage {
    inset: 4.8rem 0 5.6rem;
    perspective: 900px;
    perspective-origin: 50% 14%;
  }

  .wine-stack-poster {
    top: 50%;
    width: min(34rem, 40vw);
  }

  .active-poster-metadata {
    bottom: 1.55rem;
    left: max(2rem, calc((100vw - 74rem) / 2));
  }

  .poster-action-buttons {
    right: max(2rem, calc((100vw - 74rem) / 2));
    bottom: 1.55rem;
  }

  .wine-details-card {
    grid-template-columns: minmax(19rem, 0.78fr) minmax(22rem, 1fr);
    align-items: stretch;
  }

  .wine-details-cover {
    min-height: 31rem;
  }

  .wine-details-copy {
    align-content: center;
    padding: 1.6rem;
  }
}

.shelf-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 55% 46%, rgba(255, 255, 255, 0.82) 0%, rgba(232, 232, 232, 0.72) 34%, rgba(205, 205, 205, 0.9) 78%),
    radial-gradient(ellipse at 50% 98%, rgba(94, 96, 94, 0.34), transparent 34rem),
    linear-gradient(180deg, #d8d8d8 0%, #d2d2d2 100%);
}

.poster-stack-stage {
  min-height: 26.5rem;
  margin-top: -0.25rem;
  perspective: 900px;
}

.poster-stack-deck {
  position: relative;
  min-height: 23.5rem;
  transform-style: preserve-3d;
}

.stack-poster {
  top: 0;
  left: 50%;
  width: min(18.75rem, calc(100vw - 3rem));
  aspect-ratio: 1;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  translate: -50% 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    -0.65rem 1rem 1.8rem rgba(0, 0, 0, 0.16),
    0.65rem 0.9rem 1.5rem rgba(0, 0, 0, 0.12),
    0 2.8rem 4.8rem rgba(31, 39, 38, 0.18);
}

.stack-poster::after {
  position: absolute;
  right: 0.2rem;
  bottom: -0.45rem;
  left: 0.2rem;
  z-index: -1;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(13, 16, 16, 0.34);
  filter: blur(8px);
  content: "";
}

.poster-stack-meta {
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  z-index: 60;
  display: grid;
  gap: 0.08rem;
  color: #111111;
}

.poster-stack-meta p {
  color: #626262;
  font-size: 0.72rem;
}

.poster-stack-meta strong {
  font-size: 0.96rem;
}

.poster-stack-actions {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  z-index: 60;
  display: flex;
  gap: 0.55rem;
}

.shelf-row {
  perspective: 1200px;
  transform-style: preserve-3d;
  padding-bottom: 0;
  isolation: isolate;
}

.shelf-row::before {
  display: none;
}

.shelf-row::after {
  display: none;
}

.shelf-track {
  position: relative;
  z-index: 4;
  align-items: end;
  transform-style: preserve-3d;
}

.shelf-row > div {
  scrollbar-width: none;
}

.shelf-row > div::-webkit-scrollbar {
  display: none;
}

.wine-poster {
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    -1px 0 0 rgba(255, 255, 255, 0.5) inset,
    1px 0 0 rgba(30, 30, 30, 0.12) inset,
    -0.65rem 0.95rem 1.65rem rgba(0, 0, 0, 0.16),
    0.65rem 0.85rem 1.35rem rgba(0, 0, 0, 0.12),
    0 2.2rem 3.8rem rgba(31, 39, 38, 0.18);
}

.wine-poster::before {
  position: absolute;
  top: 0.18rem;
  right: -0.26rem;
  bottom: -0.26rem;
  z-index: -1;
  width: 0.42rem;
  border-radius: 0 0.3rem 0.3rem 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(151, 150, 141, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(28, 31, 30, 0.18));
  box-shadow: 7px 8px 18px rgba(31, 39, 38, 0.14);
  content: "";
  transform: skewY(3deg);
}

.wine-poster::after {
  position: absolute;
  right: 0.28rem;
  bottom: -0.34rem;
  left: 0.38rem;
  z-index: -2;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(19, 24, 23, 0.3);
  filter: blur(7px);
  content: "";
  transform: translateZ(-1px);
}

.poster-contact-shadow {
  position: absolute;
  right: 0.85rem;
  bottom: -0.56rem;
  left: 0.85rem;
  z-index: -1;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(17, 18, 18, 0.38);
  filter: blur(5px);
  pointer-events: none;
}

.poster-edge-depth {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset -10px 0 18px rgba(0, 0, 0, 0.09),
    inset 0 -12px 16px rgba(0, 0, 0, 0.08),
    inset 7px 0 12px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.wine-poster:hover,
.wine-poster:focus-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.62) inset,
    -1px 0 0 rgba(255, 255, 255, 0.58) inset,
    1px 0 0 rgba(30, 30, 30, 0.14) inset,
    0 28px 44px rgba(0, 0, 0, 0.22),
    0 54px 76px rgba(31, 39, 38, 0.16);
}

.preserve-3d {
  transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
}

.modal-back {
  transform: rotateY(180deg);
}

@media (min-width: 760px) {
  .app-shell {
    padding-bottom: 2rem;
  }

  .topbar {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .page {
    padding: 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
    align-items: center;
    min-height: calc(100vh - 5rem);
  }

  .poster-showcase {
    grid-template-columns: minmax(0, 0.8fr) minmax(30rem, 1.1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    padding: 6rem 2rem 5rem;
  }

  .poster-copy {
    grid-row: 1;
    align-self: center;
    padding-left: max(0rem, calc((100vw - 66rem) / 2));
  }

  .poster-copy h1 {
    font-size: clamp(4.2rem, 7vw, 7.4rem);
  }

  .poster-deck {
    grid-row: 1;
    min-height: 42rem;
  }

  .poster-card {
    top: 5.2rem;
    width: min(28rem, 42vw);
    min-height: 36rem;
  }

  .poster-hint {
    grid-column: 1 / -1;
  }

  .poster-stack-stage {
    min-height: 42rem;
  }

  .poster-stack-deck {
    min-height: 37rem;
  }

  .stack-poster {
    width: min(28rem, 42vw);
  }

  .shelf-row {
    padding-bottom: 0;
  }

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

  .checkout-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.75fr);
    align-items: start;
  }

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

  .bottom-nav {
    right: 50%;
    left: auto;
    width: min(31rem, calc(100vw - 2rem));
    transform: translateX(50%);
  }

  table {
    min-width: 54rem;
  }

  .orders-table {
    overflow-x: auto;
  }
}
