:root {
  --bg: #0c0714;
  --panel: rgba(22, 14, 36, 0.92);
  --panel-soft: rgba(31, 21, 50, 0.72);
  --surface: #151020;
  --surface-raised: #1d1530;
  --field-surface: rgba(13, 9, 24, 0.78);
  --border: rgba(194, 171, 255, 0.16);
  --border-strong: rgba(167, 139, 250, 0.34);
  --text: #f4f0ff;
  --muted: #b3a8c8;
  --accent: #a78bfa;
  --accent-strong: #c4b5fd;
  --accent-deep: #6d28d9;
  --warm: #f6c177;
  --bad: #fda4af;
  --ok: #86efac;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; color-scheme: dark; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    linear-gradient(140deg, rgba(109, 40, 217, 0.2) 0%, transparent 28%),
    linear-gradient(220deg, rgba(236, 72, 153, 0.14) 0%, transparent 31%),
    linear-gradient(180deg, #10081c 0%, #130d22 48%, #090612 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 82%);
}

button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
.hidden { display: none !important; }

.access-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.access-panel {
  width: min(100%, 500px);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.access-loading {
  display: grid;
  justify-items: center;
  padding: 28px 0 8px;
  text-align: center;
}

.access-loading span {
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.access-loading h1 {
  margin: 8px 0;
  font-size: 2rem;
  line-height: 1.08;
}

.access-loading p {
  max-width: 310px;
  margin: 0;
}

.store-loader {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(167,139,250,0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(196,181,253,0.28), transparent 48%),
    rgba(109,40,217,0.12);
  box-shadow: 0 0 34px rgba(167,139,250,0.2);
  position: relative;
}

.store-loader::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 3px solid transparent;
  border-top-color: #c4b5fd;
  border-right-color: rgba(196,181,253,0.45);
  animation: storeSpin 760ms linear infinite;
}

@keyframes storeSpin {
  to { transform: rotate(360deg); }
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.wordmark-mark {
  width: 15px;
  height: 15px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.36);
}

.access-panel h1 {
  margin: 38px 0 8px;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.access-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.access-panel label,
.field label,
.quantity-control label {
  display: block;
  margin-bottom: 7px;
  color: #e8defd;
  font-size: 0.82rem;
  font-weight: 760;
}

.access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.exit-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 780;
  text-decoration: none;
}

.exit-store-link:hover {
  color: #eee8ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  padding: 10px 12px;
  color: var(--text);
  background: var(--field-surface);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input:focus,
select:focus {
  border-color: rgba(167, 139, 250, 0.58);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.12);
  background: rgba(18, 12, 32, 0.94);
}

.code-input {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 830;
}

.button {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 15px;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  font-weight: 800;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  border-color: rgba(196, 181, 253, 0.38);
  background: rgba(255,255,255,0.075);
}

.button.primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(196, 181, 253, 0.34);
  color: #fbfaff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.035) 44%, rgba(0,0,0,0.14)),
    linear-gradient(135deg, #7c3aed 0%, #5b21b6 54%, #3b0764 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.34),
    0 14px 28px rgba(0,0,0,0.32),
    0 0 18px rgba(167,139,250,0.14);
  text-shadow: 0 1px 1px rgba(0,0,0,0.42);
}

.button.primary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.13) 48%, transparent 66%);
  transform: translateX(-72%);
  transition: transform 520ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 16px 32px rgba(0,0,0,0.36),
    0 0 22px rgba(167,139,250,0.18);
}

.button.primary:hover::after { transform: translateX(72%); }
.button:disabled { opacity: 0.62; cursor: wait; transform: none; }
.button.small { min-height: 36px; padding: 7px 10px; font-size: 0.82rem; }

.button.danger {
  color: #fecdd3;
  border-color: rgba(244,63,94,0.3);
  background: rgba(244,63,94,0.1);
}

.button.danger:hover { background: rgba(244,63,94,0.16); }

.message {
  min-height: 1.35em;
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.message.bad { color: var(--bad); }
.message.ok { color: var(--ok); }

.store-shell {
  width: min(100% - 36px, 1160px);
  margin: 0 auto;
  padding-bottom: 64px;
}

.store-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-exit {
  min-height: 38px;
  margin-top: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,0.045);
  white-space: nowrap;
}

.header-exit:hover {
  border-color: var(--border-strong);
  background: rgba(167,139,250,0.1);
  text-decoration: none;
}

.member-email {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-credit {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(134,239,172,0.22);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34,197,94,0.1);
  font-size: 0.8rem;
  font-weight: 820;
  white-space: nowrap;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,0.045);
  font-weight: 800;
}

.icon-button:hover {
  border-color: var(--border-strong);
  background: rgba(167,139,250,0.1);
}

.store-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 22px 0 8px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 11, 30, 0.72);
}

.store-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 8px 15px;
  color: var(--muted);
  background: transparent;
  font-weight: 760;
}

.store-tabs button.active {
  color: var(--text);
  background: rgba(167,139,250,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.tab-count {
  margin-left: 4px;
  color: var(--warm);
}

.store-section { padding-top: 32px; }

.shop-view,
.product-detail,
.delivery-panel,
.checkout-panel {
  animation: viewIn 180ms ease-out both;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-heading-copy {
  width: 100%;
}

.shop-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.shop-kicker-row .section-kicker { margin-bottom: 0; }

.member-code-bubble {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 999px;
  color: #efe7ff;
  background: rgba(124,58,237,0.16);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
}

.section-heading h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; }
.section-heading h2 { font-size: 1.24rem; }

.section-heading p {
  margin: 8px 0 0;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.5;
}

.section-heading.compact { margin-bottom: 18px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--panel);
  text-align: left;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32), 0 0 22px rgba(167,139,250,0.1);
}

.product-card:focus-visible {
  outline: 3px solid rgba(167,139,250,0.3);
  outline-offset: 3px;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(124,58,237,0.18), rgba(15,11,25,0.7)),
    #171020;
  color: #9e91b7;
  font-weight: 830;
}

.product-media img,
.product-detail-media img,
.summary-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-media img,
.product-detail-media img {
  padding: 12px;
}

.product-media img {
  width: 78%;
  height: 78%;
  padding: 0;
}

.summary-image img {
  padding: 4px;
}

.product-body { padding: 15px; }

.product-body h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.product-body p {
  min-height: 42px;
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 1rem;
  font-weight: 860;
}

.product-cta {
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

.link-button {
  min-height: 38px;
  margin-bottom: 18px;
  padding: 4px 0;
  border: 0;
  color: var(--accent-strong);
  background: transparent;
  font-weight: 800;
}

.link-button:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
}

.product-detail-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124,58,237,0.16), rgba(236,72,153,0.08)),
    #151020;
  color: #9e91b7;
  font-weight: 830;
  box-shadow: 0 20px 54px rgba(0,0,0,0.28);
}

.product-detail-copy h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.product-detail-copy p {
  margin: 16px 0 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.detail-buy-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detail-price {
  font-size: 1.85rem;
  line-height: 1;
}

.quantity-control { width: 108px; }
.product-buy-button { width: min(100%, 340px); min-height: 54px; }

.shipping-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin: 0 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(196,181,253,0.28);
  border-radius: 999px;
  color: #efe9ff;
  background: rgba(167,139,250,0.12);
  font-size: 0.86rem;
  font-weight: 820;
}

.shipping-badge svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shipping-badge.compact {
  margin: -4px 0 0;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.8rem;
}

.delivery-panel,
.checkout-panel {
  width: min(100%, 760px);
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
    rgba(22, 14, 36, 0.86);
  box-shadow: 0 18px 48px rgba(0,0,0,0.26);
}

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

.field.full { grid-column: 1 / -1; }
.continue-button { width: 100%; min-height: 52px; margin-top: 18px; }

.checkout-panel {
  display: grid;
  gap: 18px;
}

.checkout-panel h2 {
  margin: 0;
  font-size: 1.18rem;
}

.selected-product-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-image {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #191126;
  color: var(--muted);
  font-size: 0.72rem;
}

.summary-copy { min-width: 0; }
.summary-copy strong,
.summary-copy span { display: block; }
.summary-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-copy span { margin-top: 4px; color: var(--muted); font-size: 0.82rem; }

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 2px;
}

.total-row span {
  color: var(--muted);
  font-weight: 720;
}

.total-row strong {
  font-size: 1.55rem;
  line-height: 1;
}

.checkout-breakdown-row { padding-bottom: 0; }
.checkout-breakdown-row strong { font-size: 1rem; }
.checkout-breakdown-row.credit span,
.checkout-breakdown-row.credit strong { color: #86efac; }

.checkout-button {
  width: 100%;
  min-height: 56px;
}

.invite-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.invite-credit-card {
  flex: 0 0 auto;
  min-width: 230px;
  padding: 15px 17px;
  border: 1px solid rgba(134,239,172,0.25);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,197,94,0.13), rgba(20,83,45,0.08));
}

.invite-credit-card span,
.invite-credit-card strong,
.invite-credit-card small { display: block; }
.invite-credit-card span { color: #a7f3d0; font-size: .7rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.invite-credit-card strong { margin-top: 6px; color: #dcfce7; font-size: 1.65rem; line-height: 1; }
.invite-credit-card small { margin-top: 7px; color: var(--muted); font-size: .72rem; }

.invitation-list,
.order-list {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.invitation-row,
.order-row {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(22, 14, 36, 0.92);
}

.invitation-row { grid-template-columns: minmax(120px, 0.6fr) minmax(160px, 1.3fr) auto auto; }
.invitation-row code {
  min-width: 0;
  font-weight: 850;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}
.invitation-row.credited strong { color: #bbf7d0; font-weight: 860; }
.invite-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }

.row-muted {
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 7px;
  border-radius: 5px;
  color: #dacffa;
  background: rgba(167,139,250,0.16);
  font-size: 0.7rem;
  font-weight: 820;
  text-transform: uppercase;
}

.status.shipped,
.status.completed,
.status.active {
  color: #bbf7d0;
  background: rgba(34,197,94,0.16);
}

.status.cancelled,
.status.inactive {
  color: #fecdd3;
  background: rgba(244,63,94,0.16);
}

.order-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  width: 100%;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.order-row:hover,
.order-row:focus-visible {
  background: rgba(32, 21, 52, 0.98);
}

.order-row:focus-visible {
  outline: 3px solid rgba(167,139,250,0.3);
  outline-offset: -3px;
}

.order-main strong,
.order-main span { display: block; }
.order-main span { margin-top: 4px; }
.order-price { font-weight: 850; }
.order-detail {
  display: none;
  grid-column: 1 / -1;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.order-detail span { display: block; }
.order-row.open .order-detail { display: grid; }

.payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 3, 12, 0.62);
  backdrop-filter: blur(20px) saturate(0.9);
  -webkit-backdrop-filter: blur(20px) saturate(0.9);
}

.payment-sheet,
.success-sheet,
.order-sheet {
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(124,58,237,0.18), transparent 38%),
    linear-gradient(220deg, rgba(236,72,153,0.12), transparent 36%),
    rgba(22, 14, 36, 0.98);
  box-shadow: 0 24px 90px rgba(0,0,0,0.52);
}

.payment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.payment-head span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-head h2 {
  margin: 5px 0 0;
  font-size: 1.3rem;
}

.payment-element {
  min-height: 180px;
  margin-bottom: 18px;
}

.stripe-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.success-sheet { text-align: center; }

.success-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #062719;
  background: var(--ok);
  font-size: 1.4rem;
  font-weight: 900;
}

.success-sheet h2 { margin: 0; }
.success-sheet p { margin: 10px 0 20px; color: var(--muted); line-height: 1.5; }

.order-overlay-body {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

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

.order-detail-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(8, 5, 15, 0.34);
}

.order-detail-item.full { grid-column: 1 / -1; }
.order-detail-item span,
.order-detail-item strong { display: block; }

.order-detail-item span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  text-transform: uppercase;
}

.order-detail-item strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .shop-view,
  .product-detail,
  .delivery-panel,
  .checkout-panel,
  .button,
  .button.primary::after,
  .product-card {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-media { min-height: 320px; }
}

@media (max-width: 620px) {
  .access-gate { padding: 12px; }
  .access-panel { padding: 22px; }
  .access-row,
  .invite-form { grid-template-columns: 1fr; }
  .invite-form { align-items: stretch; }
  .invite-form .button { width: 100%; }
  .store-shell { width: min(100% - 22px, 1160px); }
  .store-header { min-height: 64px; }
  .member-email { display: none; }
  .member-credit { display: none; }
  .header-exit { padding: 8px 10px; font-size: 0.82rem; }
  .store-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
  }
  .store-tabs button { padding: 8px 6px; font-size: 0.86rem; }
  .store-section { padding-top: 24px; }
  .section-heading { display: block; }
  .invite-credit-card { width: 100%; min-width: 0; margin-top: 18px; }
  .shop-kicker-row { gap: 10px; }
  .member-code-bubble { font-size: 0.68rem; padding: 4px 7px; }
  .product-grid,
  .field-grid { grid-template-columns: 1fr; }
  .product-body p { min-height: 0; }
  .product-detail-media { min-height: 280px; }
  .detail-buy-row { align-items: flex-start; flex-direction: column; }
  .quantity-control { width: 100%; }
  .delivery-panel,
  .checkout-panel { padding: 18px; }
  .field.full { grid-column: auto; }
  .invitation-row { grid-template-columns: 1fr; }
  .invitation-row code {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(167,139,250,0.22);
    border-radius: 8px;
    background: rgba(14, 8, 25, 0.46);
    font-size: 1.25rem;
    text-align: center;
  }
  .invitation-row .row-muted { grid-column: 1 / -1; }
  .invite-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .invite-actions .button { width: 100%; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row .status { grid-column: 1 / -1; }
  .payment-overlay { padding: 10px; align-items: end; }
  .payment-sheet,
  .success-sheet,
  .order-sheet { max-height: calc(100vh - 20px); padding: 18px; }
  .order-detail-grid { grid-template-columns: 1fr; }
}
