/* ==========================================================================
   Storefront — Sunlit Studio Architecture + Liquid Glass Flagship Stylesheet
   Scoped to Buyer Storefront (/) — builds atop shared tokens in /css/app.css
   ========================================================================== */

:root {
  interpolate-size: allow-keywords;
}

/* Unified Apple Alabaster-Silver Canvas & Seamless Storefront Header */
body.storefront-page {
  background-color: #f5f5f7;
  background-image: none;
}

body.storefront-page .site-header {
  background: rgba(251, 251, 253, 0.82);
  border-block-end: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

/* ==================== 1. HEADER ACTIONS & TOP DYNAMIC ANNOUNCEMENT RIBBON ==================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Apple Store-Style Clean Ribbon Ticker Bar */
.site-ticker {
  position: relative;
  z-index: 30;
  block-size: auto;
  overflow: clip;
  background: #ffffff;
  border-block-end: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: none;
  transition:
    block-size 280ms var(--ease-out-quart),
    opacity 240ms ease,
    border-color 240ms ease;
}

.site-ticker[hidden] {
  display: none !important;
}

.site-ticker.is-dismissed {
  block-size: 0;
  opacity: 0;
  border-block-end-color: transparent;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-ticker {
    transition: none !important;
  }
}

.site-ticker-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 7px;
  min-inline-size: 0;
}

.site-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: #1d1d1f;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  flex-shrink: 0;
}

.site-ticker-viewport {
  flex: 1 1 0%;
  min-inline-size: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4% 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4% 96%, transparent);
}

.site-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

@keyframes site-ticker-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-ticker:not(.is-dismissed) .site-ticker-track {
    animation: site-ticker-marquee 38s linear infinite;
  }
}

.site-ticker:is(:hover, :focus-within) .site-ticker-track {
  animation-play-state: paused !important;
}

.site-ticker-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline-end: 28px;
  flex-shrink: 0;
}

.site-ticker-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12.5px;
  color: #24332d;
}

.ticker-sub-badge {
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(12, 107, 85, 0.11);
  color: #095946;
  font-size: 11px;
  font-weight: 740;
}

.ticker-highlight {
  font-weight: 780;
  color: #12221c;
}

.ticker-text {
  color: #2c3d36;
}

.ticker-cd {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 68px;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff3dc;
  border: 1px solid rgba(180, 95, 6, 0.28);
  color: #844100;
  font-size: 11.5px;
  font-weight: 760;
  letter-spacing: 0.02em;
  contain: layout paint;
}

.ticker-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 740;
  color: #0a5c49;
  text-decoration: none;
}

.ticker-link:hover {
  color: #074537;
  text-decoration: underline;
}

.ticker-sep {
  inline-size: 4px;
  block-size: 4px;
  border-radius: 50%;
  background: rgba(12, 107, 85, 0.34);
  flex-shrink: 0;
}

.site-ticker-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.site-ticker-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-block-size: 27px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(15, 52, 42, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: #1a2923;
  font-size: 12px;
  font-weight: 720;
  box-shadow: 0 2px 6px rgba(15, 38, 30, 0.05);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.site-ticker-popup-btn:hover {
  background: #ffffff;
  border-color: rgba(12, 107, 85, 0.36);
  color: #0a5c49;
}

.site-ticker-close {
  inline-size: 27px;
  block-size: 27px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 52, 42, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: #364740;
  display: inline-grid;
  place-items: center;
  transition: background-color 150ms ease, color 150ms ease;
}

.site-ticker-close:hover {
  background: #ffffff;
  color: #111827;
}

@media (max-width: 520px) {
  .site-ticker-inner {
    gap: 7px;
    padding-block: 6px;
  }

  .site-ticker-badge {
    padding-inline: 7px;
    font-size: 11px;
  }

  .site-ticker-popup-btn {
    padding-inline: 8px;
    font-size: 11.5px;
  }
}

/* ==================== 2. SUNLIT STUDIO HERO, 3D STACKED PASSES & BRAND MARQUEE ==================== */
.storefront-main {
  padding-block: clamp(16px, 2.2vw, 24px) 84px;
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.hero-studio-shell {
  position: relative;
  display: grid;
  gap: 14px;
}

.hero-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 3.6vw, 48px);
  padding: clamp(32px, 4.4vw, 56px) clamp(24px, 4.2vw, 56px);
  border-radius: 28px;
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #f7f8fb 58%,
    #eef2f8 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 18px 48px -20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 #ffffff;
}

.hero-studio-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.studio-arch-niche {
  position: absolute;
  inset-inline-end: clamp(24px, 4.6vw, 68px);
  inset-block-start: 22px;
  inline-size: min(42%, 380px);
  block-size: calc(100% - 22px);
  border-radius: 210px 210px 0 0;
  background: linear-gradient(
    180deg,
    rgba(226, 232, 242, 0.42) 0%,
    rgba(245, 247, 251, 0.12) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.84);
}

.studio-sphere {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  min-inline-size: 0;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.042em;
  font-weight: 760;
  color: #1d1d1f;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1rem, 1.24vw, 1.15rem);
  line-height: 1.62;
  color: #424245;
  max-inline-size: 26em;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 6px;
}

.hero-cta-row .btn {
  min-block-size: 44px;
  padding-inline: 22px;
  font-size: 14.5px;
}

.btn-hero-coral {
  background: #0071e3;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px -5px rgba(0, 113, 227, 0.34);
}

.btn-hero-coral:hover:not(:disabled) {
  background: #0077ed;
  color: #ffffff;
  @media (prefers-reduced-motion: no-preference) {
    transform: translateY(-1px);
  }
  box-shadow: 0 10px 22px -5px rgba(0, 113, 227, 0.42);
}

.btn-hero-white {
  background: rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

.btn-hero-white:hover:not(:disabled) {
  background: #ffffff;
  color: #0066cc;
  border-color: rgba(0, 102, 204, 0.36);
  @media (prefers-reduced-motion: no-preference) {
    transform: translateY(-1px);
  }
}

/* Right-Side Interactive Breathing 3D Stacked Membership Cards (No.01 / 05 – No.05 / 05) */
.hero-pass-stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-block-size: 320px;
  padding: 12px 58px 6px 12px;
  perspective: 1200px;
}

.hero-deck-glow {
  position: absolute;
  inset: 6% 10% 18% 4%;
  border-radius: 50%;
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(16, 163, 127, 0.34) 0%, rgba(16, 163, 127, 0) 70%);
  transition: background 600ms ease, opacity 400ms ease;
}

.hero-deck-glow[data-active-brand="claude"] {
  background: radial-gradient(circle, rgba(196, 81, 43, 0.34) 0%, rgba(196, 81, 43, 0) 70%);
}

.hero-deck-glow[data-active-brand="gemini"] {
  background: radial-gradient(circle, rgba(42, 84, 219, 0.32) 0%, rgba(42, 84, 219, 0) 70%);
}

.hero-deck-glow[data-active-brand="codex"] {
  background: radial-gradient(circle, rgba(91, 84, 246, 0.34) 0%, rgba(91, 84, 246, 0) 70%);
}

.hero-deck-glow[data-active-brand="grok"] {
  background: radial-gradient(circle, rgba(39, 48, 68, 0.28) 0%, rgba(39, 48, 68, 0) 70%);
}

.hero-pass-float {
  position: relative;
  z-index: 2;
  inline-size: min(100%, 340px);
  padding-block-end: 46px;
  will-change: transform;
}

@keyframes hero-deck-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -3px, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-pass-float {
    animation: hero-deck-breathe 5.8s ease-in-out infinite;
  }

  .hero-showcase[data-resting] .hero-pass-float,
  .hero-showcase[data-resting] .hero-deck-dot.is-active::after {
    animation-play-state: paused;
  }
}

.hero-pass-deck {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 1.54;
  perspective: 1100px;
  touch-action: pan-y;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --drag-x: 0px;
  --sheen-x: 28%;
  --sheen-y: 22%;
}

.hero-pass-card {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  aspect-ratio: 1.54;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  outline: 1px solid rgba(28, 24, 20, 0.13);
  background: #faf8f5;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
  box-shadow:
    0 24px 48px -14px rgba(26, 20, 15, 0.25),
    0 6px 16px -4px rgba(26, 20, 15, 0.1);
  transform-origin: 50% 50%;
  transition:
    transform 520ms var(--ease-spring),
    opacity 380ms ease,
    box-shadow 420ms var(--ease-spring);
}

.hero-pass-float.is-interacting .hero-pass-card[data-deck-pos="0"] {
  transition: transform 80ms linear, opacity 320ms ease, box-shadow 220ms ease;
}

.hero-pass-card[data-deck-pos="0"] {
  z-index: 5;
  opacity: 1;
  cursor: grab;
  transform: translate3d(var(--drag-x, 0px), 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) rotate(-2deg) scale(1);
}

.hero-pass-float.is-interacting .hero-pass-card[data-deck-pos="0"] {
  cursor: grabbing;
}

.hero-pass-card[data-deck-pos="1"] {
  z-index: 4;
  opacity: 0.96;
  cursor: pointer;
  transform: translate3d(34px, 24px, 0) rotate(1.4deg) scale(0.96);
}

.hero-pass-card[data-deck-pos="2"] {
  z-index: 3;
  opacity: 0.92;
  cursor: pointer;
  transform: translate3d(64px, 46px, 0) rotate(4.2deg) scale(0.92);
}

.hero-pass-card[data-deck-pos="3"] {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(74px, 58px, 0) rotate(6deg) scale(0.88);
}

.hero-pass-card[data-deck-pos="4"] {
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-34px, -16px, 0) rotate(-6.5deg) scale(1.03);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-pass-deck:hover .hero-pass-card[data-deck-pos="0"] {
    box-shadow:
      0 30px 58px -14px rgba(26, 20, 15, 0.34),
      0 8px 20px -4px rgba(26, 20, 15, 0.14);
  }

  .hero-pass-deck:hover .hero-pass-card[data-deck-pos="1"] {
    transform: translate3d(40px, 27px, 0) rotate(2deg) scale(0.965);
  }

  .hero-pass-deck:hover .hero-pass-card[data-deck-pos="2"] {
    transform: translate3d(72px, 50px, 0) rotate(5deg) scale(0.925);
  }

  .hero-pass-card[data-deck-pos="1"]:hover {
    transform: translate3d(44px, 21px, 0) rotate(1.2deg) scale(0.975);
  }

  .hero-pass-card[data-deck-pos="2"]:hover {
    transform: translate3d(76px, 44px, 0) rotate(4.2deg) scale(0.935);
  }
}

.pass-card-artwork {
  position: relative;
  padding: 15px 16px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.38);
}

.pass-gpt .pass-card-artwork {
  background: radial-gradient(circle at 88% 12%, rgba(52, 211, 153, 0.24) 0%, transparent 48%),
    linear-gradient(135deg, #0d8b69 0%, #09684e 58%, #074f3b 100%);
}

.pass-claude .pass-card-artwork {
  background: radial-gradient(circle at 88% 12%, rgba(251, 146, 60, 0.24) 0%, transparent 48%),
    linear-gradient(135deg, #c75535 0%, #a53d20 58%, #852d15 100%);
}

.pass-gemini .pass-card-artwork {
  background: radial-gradient(circle at 88% 12%, rgba(125, 211, 252, 0.24) 0%, transparent 48%),
    linear-gradient(135deg, #2b54db 0%, #1d42b8 58%, #15318c 100%);
}

.pass-codex .pass-card-artwork {
  background: radial-gradient(circle at 88% 12%, rgba(165, 180, 252, 0.28) 0%, transparent 48%),
    linear-gradient(135deg, #647eff 0%, #554cf0 55%, #4134c7 100%);
}

.pass-grok .pass-card-artwork {
  background: radial-gradient(circle at 88% 12%, rgba(148, 163, 184, 0.24) 0%, transparent 48%),
    linear-gradient(135deg, #272f42 0%, #181c28 58%, #10131c 100%);
}

.pass-contour-svg {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.pass-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle 210px at var(--sheen-x, 28%) var(--sheen-y, 22%),
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.08) 38%,
    rgba(255, 255, 255, 0) 68%
  );
  transition: background 120ms linear;
}

.pass-art-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pass-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pass-emblem {
  display: inline-grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 8.5px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 3px 8px rgba(10, 16, 28, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  color: #ffffff;
  flex-shrink: 0;
}

.pass-gpt .pass-emblem {
  background: linear-gradient(180deg, #ffffff 0%, #eaedf4 100%);
  border-color: rgba(255, 255, 255, 0.96);
  color: #0f172a;
}

.pass-codex .pass-emblem {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.pass-grok .pass-emblem {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.pass-emblem svg {
  inline-size: 17px;
  block-size: 17px;
}

.pass-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.pass-art-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}

.pass-upgraded-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.84);
}

.pass-tier-heading {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.026em;
  color: #ffffff;
}

.pass-card-band {
  background: linear-gradient(180deg, rgba(252, 251, 248, 0.97) 0%, rgba(244, 241, 235, 0.95) 100%);
  padding: 9px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.95);
}

.pass-use {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  color: #38322c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-inline-size: 0;
  transition: opacity 220ms ease;
}

.pass-serial {
  font-size: 11px;
  font-weight: 700;
  color: #594f45;
  flex-shrink: 0;
}

.pass-serial strong {
  font-weight: 840;
  color: #1c1917;
}

.hero-pass-card:not([data-deck-pos="0"]) .pass-use {
  opacity: 0;
}

/* Interactive Progress Dots & Direct Category Jump Capsule Dock */
.hero-deck-dock {
  position: relative;
  z-index: 4;
  inline-size: min(100%, 360px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #ffffff;
  outline: 1px solid rgba(48, 38, 28, 0.1);
  box-shadow: 0 8px 20px -10px rgba(28, 22, 18, 0.16), inset 0 1px 0 #ffffff;
}

.hero-deck-dots {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.hero-deck-dot {
  position: relative;
  inline-size: 24px;
  block-size: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
}

.hero-deck-dot::before, .hero-deck-dot.is-active::after {
  content: '';
  position: absolute;
  inset: 11px 3px;
  border-radius: inherit;
}

.hero-deck-dot::before {
  background: #c7c2bc;
  transform: scaleX(.45);
  transition: transform 220ms ease-out;
}

.hero-deck-dot:hover::before, .hero-deck-dot.is-active::before {
  transform: scaleX(1);
}

@keyframes hero-dot-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-deck-dot.is-active::after {
  background: #1d1d1f;
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-deck-dot.is-active::after {
    animation: hero-dot-fill 3.4s linear 1 forwards;
  }
}

.hero-deck-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-inline-size: 0;
  padding: 4px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.045);
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 720;
  transition: background-color 150ms ease, color 150ms ease;
}

.hero-deck-jump:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.hero-deck-jump span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-deck-jump svg {
  flex-shrink: 0;
}

/* Seamless Rounded Brand Marquee Strip (.brand-marquee-ribbon) */
.brand-marquee-ribbon {
  position: relative;
  z-index: 4;
  margin-block-start: 0;
  margin-inline: 0;
  padding: 11px 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #ffffff;
  outline: 1px solid rgba(48, 38, 28, 0.08);
  box-shadow:
    0 10px 28px -14px rgba(28, 22, 18, 0.09),
    inset 0 1px 0 #ffffff;
  display: flex;
  align-items: center;
  gap: 16px;
  min-inline-size: 0;
  overflow: hidden;
}

.brand-marquee-label {
  font-size: 13px;
  font-weight: 740;
  color: #443d36;
  white-space: nowrap;
  flex-shrink: 0;
  padding-inline-end: 16px;
  border-inline-end: 1px solid rgba(48, 38, 28, 0.12);
}

.brand-marquee-viewport {
  flex: 1 1 0%;
  min-inline-size: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10% 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10% 90%, transparent);
}

.brand-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

@keyframes brand-ribbon-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-marquee-track {
    animation: brand-ribbon-scroll 30s linear infinite;
  }
}

.brand-marquee-ribbon:is(:hover, :focus-within) .brand-marquee-track {
  animation-play-state: paused !important;
}

body:has(dialog[open]) :is(.site-ticker-track, .brand-marquee-track) {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .hero-pass-card, .hero-deck-dot::before {
    transition: none;
  }
  .brand-marquee-viewport, .site-ticker-viewport {
    overflow-x: auto;
    mask-image: none;
  }
  .brand-marquee-group[aria-hidden], .brand-marquee-pill:nth-child(n + 6),
  .site-ticker-group[aria-hidden] {
    display: none;
  }
}

.brand-marquee-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline-end: 10px;
  flex-shrink: 0;
}

.brand-marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(28, 25, 23, 0.09);
  background: #faf8f5;
  color: #241f1b;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-spring);
}

.brand-marquee-pill:hover {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.34);
  color: var(--brand);
}

.marquee-pill-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 26px;
  block-size: 26px;
  border-radius: 7.5px;
  background: var(--product-soft, rgba(15, 28, 52, 0.08));
  color: var(--product-tone, #1c1917);
  border: 1px solid rgba(15, 28, 52, 0.09);
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

.marquee-pill-icon svg {
  inline-size: 16.5px;
  block-size: 16.5px;
}

.brand-marquee-pill.brand-gpt .marquee-pill-icon {
  background: linear-gradient(180deg, #ffffff 0%, #eaedf4 100%);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 #ffffff;
}

.brand-marquee-pill.brand-codex .marquee-pill-icon {
  background: linear-gradient(145deg, #6785ff 0%, #5850f3 56%, #4338ca 100%);
  color: #ffffff;
  border-color: rgba(67, 56, 202, 0.36);
  box-shadow:
    0 2px 6px rgba(79, 70, 229, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.brand-marquee-pill.brand-grok .marquee-pill-icon {
  background: linear-gradient(145deg, #1f2430 0%, #0d1017 100%);
  color: #ffffff;
  border-color: rgba(15, 23, 42, 0.36);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 980px) {
  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .studio-arch-niche {
    inline-size: min(64%, 340px);
    inset-block-start: auto;
    inset-block-end: 0;
    block-size: 56%;
  }

  .hero-pass-stage {
    min-block-size: 290px;
    padding: 8px 54px 8px 8px;
  }
}

@media (max-width: 560px) {
  .hero-showcase {
    padding: 22px 16px 36px;
    border-radius: 24px;
    gap: 20px;
  }

  .hero-cta-row .btn {
    padding-inline: 12px;
    font-size: 14px;
  }

  .hero-pass-stage {
    min-block-size: 248px;
    padding: 6px 32px 6px 0;
    gap: 10px;
  }

  .hero-pass-float {
    inline-size: min(100%, 272px);
    padding-block-end: 30px;
  }

  .hero-pass-deck {
    inline-size: 100%;
  }

  .hero-pass-card {
    border-radius: 17px;
  }

  .hero-pass-card[data-deck-pos="1"] {
    transform: translate3d(16px, 14px, 0) rotate(1.6deg) scale(0.95);
  }

  .hero-pass-card[data-deck-pos="2"] {
    transform: translate3d(30px, 27px, 0) rotate(4.2deg) scale(0.91);
  }

  .hero-pass-card[data-deck-pos="3"] {
    transform: translate3d(16px, 34px, 0) rotate(6deg) scale(0.86);
  }

  .hero-pass-card[data-deck-pos="4"] {
    transform: translate3d(-18px, -10px, 0) rotate(-5deg) scale(1.02);
  }

  .pass-card-artwork {
    padding: 11px 13px 10px;
  }

  .pass-emblem {
    inline-size: 26px;
    block-size: 26px;
    border-radius: 7.5px;
  }

  .pass-emblem svg {
    inline-size: 14.5px;
    block-size: 14.5px;
  }

  .pass-tier-heading {
    font-size: 1.45rem;
  }

  .hero-deck-dock {
    inline-size: 100%;
    max-inline-size: 310px;
    padding: 5px 8px 5px 10px;
  }

  .hero-deck-jump {
    font-size: 11px;
    padding: 3px 8px;
  }

  .pass-card-band {
    padding: 7px 11px;
    gap: 6px;
  }

  .pass-use,
  .pass-serial {
    font-size: 10px;
    letter-spacing: -0.01em;
  }

  .brand-marquee-ribbon {
    margin-block-start: 0;
    margin-inline: 0;
    padding: 9px 12px;
    border-radius: 18px;
    gap: 10px;
  }

  .brand-marquee-label {
    font-size: 12px;
    padding-inline-end: 10px;
  }
}

/* ==================== 3. CATEGORY CAPSULE BAR & FILTER TOOLBAR (FIG 4) ==================== */
.catalog-section {
  display: grid;
  gap: 16px;
  scroll-margin-top: 86px;
}

.catalog-header-row {
  align-items: flex-end;
}

.catalog-header-row h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 840;
  letter-spacing: -0.03em;
  color: #18181b;
}

.catalog-order-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid rgba(24, 24, 27, 0.12);
  color: #18181b;
  font-size: 12.5px;
  font-weight: 680;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 28, 52, 0.04);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.catalog-order-pill:hover {
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.section-header-copy p {
  margin-block-start: 6px;
  color: var(--ink-secondary);
  font-size: 14px;
  max-inline-size: 68ch;
}

.catalog-telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 24, 27, 0.1);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-xs);
}

.catalog-timing {
  color: var(--ink-muted);
}

/* Fig 4 White Capsule Category Filter Bar */
.category-bar.brand-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 7px 10px;
  margin-block-end: 0;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 10px 26px -14px rgba(18, 22, 32, 0.1);
  scrollbar-width: thin;
}

.brand-dock .cat-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  outline: none;
  color: #3f3f46;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.brand-dock .cat-pill:hover {
  background: rgba(24, 24, 27, 0.05);
  color: #18181b;
}

.cat-squircle {
  display: inline-grid;
  place-items: center;
  inline-size: 22px;
  block-size: 22px;
  border-radius: 7px;
  background: var(--product-soft, rgba(0, 113, 227, 0.1));
  color: var(--product-tone, var(--brand));
  flex-shrink: 0;
}

.cat-squircle svg {
  inline-size: 13px;
  block-size: 13px;
}

.cat-label-text {
  font-weight: 700;
  font-size: 13.5px;
}

.cat-count-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #71717a;
}

.brand-dock .cat-pill[aria-pressed="true"] {
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(24, 24, 27, 0.4);
}

.brand-dock .cat-pill[aria-pressed="true"] .cat-squircle {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.brand-dock .cat-pill[aria-pressed="true"] .cat-count-pill {
  color: rgba(255, 255, 255, 0.78);
}

body.storefront-page .storefront-toolbar {
  margin-block-end: 0;
  padding: 10px 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid rgba(24, 24, 27, 0.08);
  box-shadow: 0 8px 24px -14px rgba(18, 22, 32, 0.1);
}

.toolbar-primary-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 520px;
  min-inline-size: 0;
}

.search-box-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 240px;
  max-inline-size: 360px;
  min-inline-size: 0;
}

.search-box-icon {
  position: absolute;
  inset-inline-start: 12px;
  display: inline-flex;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-box-wrap .input {
  padding-inline: 36px 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
}

.search-kbd {
  position: absolute;
  inset-inline-end: 10px;
  display: inline-grid;
  place-items: center;
  min-inline-size: 22px;
  block-size: 22px;
  padding-inline: 6px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(241, 245, 251, 0.92);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  box-shadow: inset 0 -1px 0 rgba(15, 28, 52, 0.08);
}

.search-box-wrap:focus-within .search-kbd {
  opacity: 0;
}

select.filter-select.input {
  inline-size: auto;
  flex: 0 0 auto;
  min-inline-size: 148px;
  border-radius: var(--radius-pill);
  padding-inline: 14px 32px;
  font-size: 13.5px;
  font-weight: 640;
  cursor: pointer;
}

.toolbar-secondary-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* iOS-Style Checkbox Pill Toggle (#only-purchasable-toggle) */
.ios-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-block-size: 40px;
  padding: 5px 13px 5px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 680;
  color: var(--ink-secondary);
  cursor: pointer;
  user-select: none;
  transition: background-color 160ms ease, outline-color 160ms ease, color 160ms ease;
}

.ios-toggle-pill:hover {
  background: #ffffff;
  color: var(--ink);
}

.ios-toggle-pill:has(:checked) {
  background: rgba(12, 148, 126, 0.1);
  outline-color: rgba(8, 122, 104, 0.34);
  color: var(--ok);
}

.ios-switch-checkbox {
  appearance: none;
  position: relative;
  display: inline-block;
  inline-size: 36px;
  block-size: 21px;
  margin: 0;
  border-radius: var(--radius-pill);
  background: rgba(100, 116, 139, 0.32);
  border: 1px solid rgba(15, 28, 52, 0.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 200ms var(--ease-spring), border-color 200ms ease;
}

.ios-switch-checkbox::before {
  content: "";
  position: absolute;
  inset-block-start: 1.5px;
  inset-inline-start: 1.5px;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 28, 52, 0.24);
  transition: transform 200ms var(--ease-spring);
}

.ios-switch-checkbox:checked {
  background: #0d9480;
  border-color: #087a68;
}

.ios-switch-checkbox:checked::before {
  transform: translateX(15px);
}

.ios-switch-checkbox:focus-visible {
  outline: 2.5px solid var(--brand-bright);
  outline-offset: 2px;
}

/* Segmented Grid / List View Switcher */
.view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(235, 241, 249, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.82);
  outline: 1px solid var(--line);
}

.view-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 32px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 680;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.view-switch-btn:hover {
  color: var(--ink);
}

.view-switch-btn[aria-pressed="true"] {
  background: #ffffff;
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(15, 28, 52, 0.08), inset 0 1px 0 #ffffff;
}

@media (max-width: 640px) {
  .search-box-wrap {
    flex: 1 1 100%;
    max-inline-size: none;
  }

  select.filter-select.input {
    flex: 1 1 calc(50% - 6px);
    min-inline-size: 0;
  }

  .toolbar-secondary-controls {
    inline-size: 100%;
    justify-content: space-between;
  }
}

/* ==================== 4. 4-COLUMN MEMBERSHIP PASS + QUOTA SPEC SKU SHELF ==================== */
.sku-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 20px;
  view-transition-scope: all;
}

.sku-grid .empty-state {
  grid-column: 1 / -1;
}

.sku-item {
  position: relative;
  grid-row: span 4;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-rows: subgrid;
  row-gap: 13px;
  padding: 14px;
  min-inline-size: 0;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 12px 30px -14px rgba(15, 23, 42, 0.08),
    0 2px 8px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 #ffffff;
  transition:
    transform 220ms var(--ease-spring),
    box-shadow 220ms ease,
    outline-color 180ms ease;
}

.sku-item.is-featured-tier {
  outline-color: rgba(0, 102, 204, 0.22);
  box-shadow:
    0 16px 36px -14px rgba(0, 82, 180, 0.13),
    0 3px 10px -2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 #ffffff;
}

.sku-item.is-soldout-card {
  opacity: 0.76;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sku-item:hover {
    transform: translateY(-3px);
    outline-color: rgba(0, 102, 204, 0.3);
    box-shadow:
      0 22px 44px -16px rgba(15, 23, 42, 0.14),
      0 6px 16px -4px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 #ffffff;
  }
}

/* Physical Metallic / Jewel Membership Pass Visual */
.sku-pass-card {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 1.82 / 1;
  padding: 13px 15px 12px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  outline: 1px solid rgba(15, 23, 42, 0.16);
  color: #ffffff;
  text-align: left;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  box-shadow:
    0 14px 28px -12px rgba(15, 23, 42, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease;
}

.sku-pass-card:focus-visible,
.sku-buy-btn:focus-visible {
  outline: 2.5px solid var(--brand-bright);
  outline-offset: 3px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sku-pass-card:hover {
    transform: scale(1.012);
  }
}

/* Jewel & Metal Pass Finishes */
.sku-pass-card.pass-finish-emerald {
  background:
    radial-gradient(circle at 86% 16%, rgba(52, 211, 153, 0.28) 0%, transparent 52%),
    linear-gradient(135deg, #0e8c6a 0%, #09694f 56%, #064c39 100%);
}

.sku-pass-card.pass-finish-sapphire {
  background:
    radial-gradient(circle at 86% 16%, rgba(96, 165, 250, 0.3) 0%, transparent 52%),
    linear-gradient(135deg, #2456db 0%, #1b3fa8 56%, #142a73 100%);
}

.sku-pass-card.pass-finish-amethyst {
  background:
    radial-gradient(circle at 86% 16%, rgba(196, 181, 253, 0.28) 0%, transparent 52%),
    linear-gradient(135deg, #5f2eea 0%, #461eb5 56%, #2c1078 100%);
}

.sku-pass-card.pass-finish-crown {
  border-color: rgba(253, 230, 138, 0.36);
  background:
    radial-gradient(circle at 86% 16%, rgba(251, 191, 36, 0.25) 0%, transparent 54%),
    linear-gradient(135deg, #29231c 0%, #191512 58%, #0d0b09 100%);
}

.sku-pass-card.pass-finish-copper {
  background:
    radial-gradient(circle at 86% 16%, rgba(253, 186, 116, 0.26) 0%, transparent 52%),
    linear-gradient(135deg, #c45332 0%, #9c3b1f 56%, #772912 100%);
}

.sku-pass-card.pass-finish-obsidian {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 86% 16%, rgba(234, 179, 8, 0.18) 0%, transparent 52%),
    linear-gradient(135deg, #262523 0%, #171615 58%, #0c0c0b 100%);
}

.sku-pass-card.pass-finish-titanium {
  background:
    radial-gradient(circle at 86% 16%, rgba(203, 213, 225, 0.24) 0%, transparent 52%),
    linear-gradient(135deg, #3b475c 0%, #232b3a 58%, #131822 100%);
}

.sku-pass-card.pass-finish-slate {
  background:
    radial-gradient(circle at 86% 16%, rgba(148, 163, 184, 0.26) 0%, transparent 52%),
    linear-gradient(135deg, #3c5873 0%, #283c52 58%, #1a2736 100%);
}

.sku-pass-contour {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.sku-pass-glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 36%, transparent 64%);
}

.sku-pass-top,
.sku-pass-mid,
.sku-pass-bottom {
  position: relative;
  z-index: 1;
}

.sku-pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sku-pass-issuer {
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.sku-pass-emblem {
  display: inline-grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  flex-shrink: 0;
}

.sku-pass-emblem svg {
  inline-size: 16px;
  block-size: 16px;
}

.sku-pass-mid {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 2px;
}

.sku-pass-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f6d58e;
  opacity: 0.94;
  flex-shrink: 0;
}

.sku-pass-nfc {
  color: rgba(255, 255, 255, 0.68);
}

.sku-pass-tier {
  font-size: clamp(1.25rem, 1.5vw, 1.48rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: #ffffff;
}

.pass-finish-crown .sku-pass-tier {
  color: #fde68a;
}

.sku-pass-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sku-pass-member {
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.84);
}

.sku-pass-finish {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.sku-pass-holo {
  display: inline-block;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, #fde68a, #6ee7b7, #93c5fd, #f9a8d4, #fde68a);
}

/* Header Region: Title, Badges, Price + Official Anchor, 1-Line Assurance */
.sku-card-head {
  display: grid;
  align-content: start;
  gap: 8px;
  min-inline-size: 0;
}

.sku-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.sku-title {
  margin: 0;
  color: #18181b;
  font-size: 1.14rem;
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: -0.024em;
  overflow-wrap: anywhere;
}

.sku-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sku-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #065f46;
  font-size: 12px;
  font-weight: 680;
}

.sku-stock-dot {
  inline-size: 6.5px;
  block-size: 6.5px;
  border-radius: 50%;
  background: currentColor;
}

.sku-stock-pill.is-low {
  color: #9a5206;
}

.sku-stock-pill.is-soldout {
  color: #52525b;
}

.sku-price-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-block-start: 2px;
}

.sku-price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: #111827;
}

.sku-price-num {
  font-size: clamp(1.62rem, 2vw, 1.92rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
}

.sku-price-unit {
  font-size: 12.5px;
  font-weight: 680;
  color: #52525b;
}

.sku-official-anchor {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #f4f4f5;
  border: 1px solid rgba(24, 24, 27, 0.09);
  color: #3f3f46;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.sku-fulfill-line {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 660;
  line-height: 1.4;
  color: #065f46;
}

.sku-fulfill-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.sku-fulfill-icon svg {
  inline-size: 13px;
  block-size: 13px;
}

/* Quota & Usage Highlights Region (Clean divider flow, zero nested sub-card box) */
.sku-quota-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block-start: 12px;
  border-block-start: 1px solid rgba(15, 23, 42, 0.085);
  min-inline-size: 0;
}

.sku-quota-meters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sku-quota-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8.5px;
  border-radius: 7px;
  background: #f4f6f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #1e293b;
  font-size: 11.5px;
  font-weight: 740;
  line-height: 1.35;
  white-space: nowrap;
}

.sku-quota-chip.is-primary {
  background: #18181b;
  border-color: #18181b;
  color: #ffffff;
}

.sku-quota-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.sku-quota-item {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.48;
  color: #27272a;
}

.sku-quota-check {
  display: inline-grid;
  place-items: center;
  margin-block-start: 2px;
  color: #059669;
}

.sku-quota-check svg {
  inline-size: 13.5px;
  block-size: 13.5px;
}

/* Footer CTA Region */
.sku-card-footer {
  display: flex;
  align-items: center;
}

.sku-buy-btn {
  inline-size: 100%;
  min-block-size: 43px;
  padding: 8px 14px 8px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #18181b;
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 740;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(24, 24, 27, 0.34);
  transition: background-color 170ms ease, box-shadow 170ms ease, transform 170ms var(--ease-spring);
}

.sku-item.is-featured-tier .sku-buy-btn {
  background: #0066cc;
  box-shadow: 0 8px 20px -6px rgba(0, 102, 204, 0.42);
}

.sku-buy-btn:hover {
  background: #0071e3;
  box-shadow: 0 10px 22px -6px rgba(0, 113, 227, 0.44);
}

.sku-buy-arrow {
  display: inline-grid;
  place-items: center;
  inline-size: 26px;
  block-size: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  flex-shrink: 0;
}

/* Checkout Modal Quota Recap Strip */
.buybox-quota-recap {
  padding: 13px 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.09);
  display: grid;
  gap: 10px;
}

.buybox-quota-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.buybox-quota-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.buybox-quota-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #27272a;
}

.buybox-quota-grid li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
}

@media (max-width: 640px) {
  .buybox-quota-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Breakpoints & Horizontal List Comparison Mode (.is-list-view) */
@media (max-width: 1220px) {
  .sku-grid:not(.is-list-view) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .sku-grid:not(.is-list-view) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .sku-grid:not(.is-list-view) {
    grid-template-columns: 1fr;
  }

  .sku-item {
    grid-row: auto;
    grid-template-rows: auto auto auto auto;
    padding: 14px;
  }
}

.sku-grid.is-list-view {
  grid-template-columns: 1fr;
  row-gap: 14px;
}

@media (min-width: 900px) {
  .sku-grid.is-list-view .sku-item {
    grid-row: auto;
    grid-template-columns: 220px minmax(210px, 0.95fr) minmax(0, 1.45fr) 156px;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 20px;
    padding: 16px 20px;
  }

  .sku-grid.is-list-view .sku-quota-box {
    padding-block-start: 0;
    padding-inline-start: 18px;
    border-block-start: 0;
    border-inline-start: 1px solid rgba(15, 23, 42, 0.085);
  }

  .sku-grid.is-list-view .sku-quota-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
  }

  .sku-grid.is-list-view .sku-card-footer {
    justify-content: flex-end;
  }
}

@media (max-width: 899px) {
  .sku-grid.is-list-view .sku-item {
    grid-row: auto;
    grid-template-rows: auto auto auto auto;
  }
}

/* ==================== 5. WIDE 2-COLUMN SPLIT BUYBOX & APPLE WALLET RECEIPT <dialog> ==================== */
#checkout-dialog {
  inline-size: min(1040px, calc(100dvw - 24px));
  max-block-size: calc(100dvh - 24px);
}

.checkout-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-inline-size: 0;
}

.dialog-brand-squircle {
  display: inline-grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  border-radius: 12px;
  background: var(--product-soft, var(--brand-soft));
  color: var(--product-tone, var(--brand));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 10px rgba(15, 28, 52, 0.06);
  flex-shrink: 0;
}

.checkout-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(241, 245, 251, 0.82);
  border: 1px solid var(--line);
}

.step-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-muted);
}

.step-num {
  display: inline-grid;
  place-items: center;
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 780;
  background: rgba(15, 28, 52, 0.08);
  color: var(--ink-secondary);
}

.step-item.is-active {
  color: var(--brand);
  font-weight: 740;
}

.step-item.is-active .step-num {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 102, 204, 0.28);
}

.step-item.is-done {
  color: var(--ok);
}

.step-item.is-done .step-num {
  background: var(--ok);
  color: #ffffff;
}

.step-sep {
  color: var(--ink-muted);
  opacity: 0.5;
  display: inline-flex;
}

.checkout-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
  gap: 20px;
}

.buybox-configurator {
  display: grid;
  gap: 14px;
  min-inline-size: 0;
}

.service-facts-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-fact-tile {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(246, 249, 254, 0.9);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 #ffffff;
  min-inline-size: 0;
}

.service-fact-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink-muted);
}

.service-fact-val {
  margin-block-start: 4px;
  font-size: 12.5px;
  font-weight: 730;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.offer-radio-list {
  display: grid;
  gap: 12px;
}

.offer-option {
  position: relative;
  display: block;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 10px rgba(15, 28, 52, 0.04), inset 0 1px 0 #ffffff;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-spring);
}

.offer-option:hover:not(.is-disabled) {
  border-color: rgba(0, 102, 204, 0.42);
  background: #ffffff;
}

.offer-option:has(input[type="radio"]:checked),
.offer-option.is-selected {
  border-color: var(--brand);
  outline: 1px solid var(--brand);
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.92) 0%, #ffffff 100%);
  box-shadow: 0 12px 26px -10px rgba(0, 102, 204, 0.22), inset 0 1px 0 #ffffff;
}

.offer-option.is-disabled {
  opacity: 0.68;
  background: rgba(244, 246, 250, 0.72);
  cursor: not-allowed;
}

.offer-check-badge {
  position: absolute;
  inset-block-start: -9px;
  inset-inline-end: -9px;
  display: inline-grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.35);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 180ms ease, transform 220ms var(--ease-spring);
  pointer-events: none;
}

.offer-option:has(input[type="radio"]:checked) .offer-check-badge,
.offer-option.is-selected .offer-check-badge {
  opacity: 1;
  transform: scale(1);
}

.offer-option-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.offer-option-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 760;
  font-size: 14.5px;
  color: var(--ink);
}

.offer-option-title input[type="radio"] {
  inline-size: 16px;
  block-size: 16px;
  margin: 0;
  accent-color: var(--brand);
  cursor: inherit;
}

.offer-option-price {
  font-size: 1.28rem;
  font-weight: 840;
  letter-spacing: -0.025em;
  color: var(--brand);
}

.offer-option.is-disabled .offer-option-price {
  color: var(--ink-muted);
}

.offer-meta-grid {
  margin-block-start: 11px;
  padding-block-start: 10px;
  border-block-start: 1px solid rgba(18, 34, 60, 0.07);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.offer-meta-grid strong {
  color: var(--ink);
  font-weight: 680;
}

.buybox-sticky-card {
  position: sticky;
  inset-block-start: 0;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 248, 255, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid rgba(15, 28, 52, 0.09);
  box-shadow:
    0 18px 40px -14px rgba(15, 28, 52, 0.12),
    inset 0 1.5px 0 #ffffff;
  display: grid;
  gap: 11px;
}

.buybox-sticky-card .summary-line > span:first-child,
.wallet-snapshot-body .summary-line > span:first-child {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--ink-secondary);
}

.buybox-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.buybox-actions .btn-primary {
  flex: 1 1 auto;
}

.wallet-receipt-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: start;
  gap: 20px;
}

.wallet-pass-ticket {
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(18, 34, 60, 0.12);
  box-shadow:
    0 20px 44px -14px rgba(12, 24, 46, 0.14),
    inset 0 1px 0 #ffffff;
}

.wallet-pass-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, #0b192c 0%, #0f3659 54%, #0b6e60 100%);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-pass-header h3 {
  color: #ffffff;
  font-size: 1.04rem;
}

.wallet-pass-header p {
  margin-block-start: 2px;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.84);
}

.wallet-status-chip {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.wallet-credentials-zone {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.55) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.credential-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 6px rgba(15, 28, 52, 0.03);
}

.credential-row-card.is-lookup-key {
  background: rgba(12, 148, 126, 0.06);
  border-color: rgba(8, 122, 104, 0.28);
}

.credential-meta {
  display: grid;
  gap: 2px;
}

.credential-label {
  font-size: 11.5px;
  font-weight: 680;
  color: var(--ink-muted);
}

.credential-value {
  font-size: 1.02rem;
  font-weight: 820;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.credential-row-card.is-lookup-key .credential-value {
  font-size: 1.18rem;
  color: var(--ok);
  letter-spacing: 0.08em;
}

.wallet-perforation {
  position: relative;
  block-size: 18px;
  display: flex;
  align-items: center;
}

.wallet-perforation::before,
.wallet-perforation::after {
  content: "";
  position: absolute;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  background: rgba(235, 240, 248, 0.95);
  border: 1px solid rgba(18, 34, 60, 0.1);
}

.wallet-perforation::before {
  inset-inline-start: -9px;
}

.wallet-perforation::after {
  inset-inline-end: -9px;
}

.wallet-perforation-line {
  inline-size: 100%;
  border-block-start: 1px dashed var(--line-strong);
  margin-inline: 12px;
}

.wallet-snapshot-body {
  padding: 14px 20px 20px;
  display: grid;
  gap: 9px;
}

.payment-console-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(247, 250, 254, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 #ffffff;
  display: grid;
  gap: 14px;
}

.gateway-list {
  display: grid;
  gap: 8px;
}

.gateway-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 860px) {
  .checkout-split-grid,
  .wallet-receipt-split {
    grid-template-columns: 1fr;
  }

  .buybox-sticky-card {
    position: static;
  }

  .service-facts-strip {
    grid-template-columns: 1fr;
  }

  .offer-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  #checkout-dialog .dialog-head,
  #checkout-dialog .dialog-body {
    padding-inline: 16px;
  }
}

/* ==================== 6. TUTORIALS, PROCESS, HELP CARD & SEARCHABLE FAQ ==================== */
.studio-section {
  display: grid;
  gap: 20px;
  scroll-margin-top: 88px;
  min-inline-size: 0;
}

/* Interactive Tutorial Center (#tutorials-section) */
.tutorial-filter-bar,
.faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tut-cat-btn,
.faq-cat-btn {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.88);
  outline: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 680;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.tut-cat-btn:hover,
.faq-cat-btn:hover {
  background: #ffffff;
  color: var(--ink);
}

.tut-cat-btn[aria-pressed="true"],
.faq-cat-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  outline-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(20, 25, 35, 0.34);
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .tutorials-grid {
    grid-template-columns: 1fr;
  }
}

.tutorial-card {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.94);
  outline: 1px solid var(--glass-outline);
  box-shadow: var(--glass-shadow);
  overflow: clip;
  min-inline-size: 0;
}

.tutorial-card[hidden] {
  display: none !important;
}

.tutorial-card-summary {
  list-style: none;
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 160ms ease;
}

.tutorial-card-summary::-webkit-details-marker {
  display: none;
}

.tutorial-card-summary:hover {
  background: rgba(255, 255, 255, 0.96);
}

.tutorial-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.tutorial-badges {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.tutorial-cat-pill {
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(185, 53, 27, 0.1);
  color: #a42c14;
  font-size: 11.5px;
  font-weight: 740;
}

.tutorial-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(15, 28, 52, 0.06);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 660;
}

.tutorial-expand-cue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}

.tutorial-expand-cue svg {
  transition: rotate 220ms var(--ease-spring);
}

.tutorial-card[open] .tutorial-expand-cue svg {
  rotate: 45deg;
}

.tutorial-card-title {
  display: block;
  font-size: 1.06rem;
  font-weight: 790;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tutorial-card-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.tutorial-card::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.tutorial-card:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .tutorial-card::details-content {
    transition: block-size 260ms var(--ease-out-quart), content-visibility 260ms;
    transition-behavior: allow-discrete;
  }
}

.tutorial-card-body {
  padding: 4px 22px 22px;
  border-block-start: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.tutorial-steps-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tutorial-step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.tutorial-step-num {
  display: inline-grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 9px;
  background: #1c1917;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-block-start: 1px;
}

.tutorial-step-copy {
  display: grid;
  gap: 3px;
  min-inline-size: 0;
}

.tutorial-step-title {
  font-size: 14px;
  font-weight: 740;
  color: var(--ink);
}

.tutorial-step-detail {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.tutorial-pitfalls-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef7eb;
  border: 1px solid rgba(180, 104, 12, 0.26);
  color: #693805;
  display: grid;
  gap: 6px;
}

.tutorial-pitfalls-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 780;
  color: #7c4204;
}

.tutorial-pitfalls-list {
  margin: 0;
  padding-inline-start: 18px;
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  line-height: 1.58;
}

/* 4-Step Transparent Activation Flow */
.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  display: grid;
  align-content: start;
  gap: 12px;
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.process-step-num {
  display: inline-grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 10px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
}

.process-step-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 34px;
  block-size: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--brand);
}

.process-step-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

@media (max-width: 980px) {
  .process-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .process-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Need Help Card + Searchable FAQ Panel (#faq-section — Image 3 & Image 6) */
.help-support-card {
  padding: clamp(22px, 3vw, 30px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
}

.help-support-copy {
  max-inline-size: 64ch;
  display: grid;
  gap: 6px;
}

.help-support-copy h2 {
  color: var(--ink);
}

.help-support-copy p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.help-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-panel {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.96);
  outline: 1px solid var(--glass-outline);
  box-shadow: var(--glass-shadow);
  display: grid;
  gap: 18px;
}

.faq-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.faq-panel-title-wrap p {
  margin-block-start: 6px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.faq-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 260px;
  max-inline-size: 360px;
  min-inline-size: 0;
}

.faq-search-input.input {
  padding-inline: 36px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
}

@media (max-width: 640px) {
  .faq-search-wrap {
    max-inline-size: none;
  }

  .help-support-actions {
    inline-size: 100%;
  }

  .help-support-actions .btn {
    flex: 1 1 auto;
  }
}

.faq-accordion-list {
  display: grid;
  gap: 10px;
  view-transition-scope: all;
}

.faq-item {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(18, 34, 60, 0.085);
  box-shadow: 0 2px 8px rgba(15, 28, 52, 0.03);
  overflow: clip;
}

.faq-item[hidden] {
  display: none !important;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 730;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(248, 250, 253, 0.96);
}

.faq-question-text {
  min-inline-size: 0;
}

.faq-plus-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: rgba(15, 28, 52, 0.055);
  color: var(--ink-secondary);
  flex-shrink: 0;
  transition: background-color 180ms ease, color 180ms ease, rotate 220ms var(--ease-spring);
}

.faq-item[open] > summary .faq-plus-icon {
  rotate: 45deg;
  background: #1c1917;
  color: #ffffff;
}

.faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-item:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    transition: block-size 240ms var(--ease-out-quart), content-visibility 240ms;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.72;
  max-inline-size: 78ch;
}

/* ==================== 7. CLEAN 3-COLUMN COMMERCIAL FOOTER (shared in app.css; storefront adds bottom padding for floating capsule) ==================== */
.storefront-footer {
  padding-block: 42px 86px;
}

/* Bottom-Right Floating Quick Lookup Capsule */
.floating-lookup-capsule {
  position: fixed;
  inset-block-end: 18px;
  inset-inline-end: 18px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 25, 42, 0.88);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow:
    0 16px 34px -8px rgba(10, 18, 34, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  max-inline-size: calc(100dvw - 32px);
  transition: transform 200ms var(--ease-spring), background-color 160ms ease, box-shadow 200ms ease;
}

.floating-lookup-capsule:hover {
  background: rgba(11, 43, 76, 0.94);
  color: #ffffff;
  @media (prefers-reduced-motion: no-preference) {
    transform: translateY(-2px);
  }
}

.floating-lookup-capsule .live-status-dot {
  inline-size: 7px;
  block-size: 7px;
}

@media (max-width: 560px) {
  .storefront-page {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .storefront-page .floating-lookup-capsule,
  .storefront-page .aai-support-launcher.has-lookup-below {
    inset-block-end: 0;
    inset-inline-end: auto;
    justify-content: center;
    inline-size: 50%;
    min-block-size: calc(48px + env(safe-area-inset-bottom));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    background: rgba(251, 251, 253, 0.92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    color: #1d1d1f;
    box-shadow: none;
    transform: none;
  }
  .storefront-page .floating-lookup-capsule {
    inset-inline-start: 0;
  }
  .storefront-page .aai-support-launcher.has-lookup-below {
    inset-inline-start: 50%;
    border-inline-start: 1px solid rgba(0, 0, 0, 0.08);
  }
  .storefront-page .aai-support-drawer.has-lookup-below {
    inset-block-end: calc(56px + env(safe-area-inset-bottom));
  }
}

/* ==================== 8. SITE ANNOUNCEMENT POPUP MODAL (#site-announcement-dialog) ==================== */
.aai-announce-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  inline-size: min(496px, calc(100dvw - 24px));
  max-block-size: calc(100dvh - 24px);
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 242, 0.97) 100%);
  border: 1px solid #ffffff;
  outline: 1px solid rgba(24, 34, 52, 0.12);
  box-shadow:
    0 36px 88px -14px rgba(12, 20, 36, 0.32),
    0 10px 26px -6px rgba(12, 20, 36, 0.12),
    inset 0 1.5px 0 #ffffff;
}

.announce-close-btn {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 3;
  inline-size: 34px;
  block-size: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-secondary);
  display: inline-grid;
  place-items: center;
  transition: background-color 150ms ease, color 150ms ease;
}

.announce-close-btn:hover {
  background: #ffffff;
  color: var(--ink);
}

.announce-dialog-inner {
  padding: 28px 24px 22px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
}

.announce-hero-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
}

.announce-brand-emblem {
  display: inline-grid;
  place-items: center;
  inline-size: 48px;
  block-size: 48px;
  border-radius: 13px;
  background: transparent;
  margin-block-end: 4px;
}

.announce-brand-emblem img {
  display: block;
  inline-size: 48px;
  block-size: 48px;
  object-fit: contain;
}

.announce-hero-head h2 {
  font-size: 1.44rem;
  font-weight: 840;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.announce-subtitle {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.announce-box {
  padding: 13px 15px;
  border-radius: 16px;
  display: grid;
  gap: 9px;
  font-size: 13px;
  line-height: 1.56;
}

.announce-box-security {
  background: linear-gradient(135deg, rgba(12, 148, 126, 0.08) 0%, rgba(0, 102, 204, 0.05) 100%);
  border: 1px solid rgba(8, 122, 104, 0.25);
  color: #16302a;
}

.announce-box-security strong {
  color: #075949;
  font-size: 13.5px;
}

.announce-box-preorder {
  background: #fef6ea;
  border: 1px solid rgba(185, 95, 12, 0.26);
  color: #5c3306;
}

.announce-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.announce-row-icon {
  display: inline-grid;
  place-items: center;
  margin-block-start: 2px;
  flex-shrink: 0;
}

.announce-row-icon.is-emerald {
  color: #087a68;
}

.announce-row-icon.is-amber {
  color: #9a5004;
}

.announce-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.announce-quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 28, 52, 0.04);
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.announce-quick-link:hover {
  border-color: rgba(0, 113, 227, 0.34);
  color: var(--brand);
  background: #f5f9ff;
}

.announce-quick-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 26px;
  block-size: 26px;
  border-radius: 8px;
  background: rgba(15, 28, 52, 0.055);
  color: var(--ink-secondary);
  flex-shrink: 0;
}

.announce-quick-link:hover .announce-quick-icon {
  background: var(--brand-soft);
  color: var(--brand);
}

.announce-confirm-btn {
  inline-size: 100%;
  min-block-size: 46px;
  font-size: 15px;
  font-weight: 760;
}

.announce-dismiss-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: center;
  font-size: 12.5px;
  color: var(--ink-secondary);
  cursor: pointer;
  user-select: none;
}

.announce-dismiss-row input[type="checkbox"] {
  inline-size: 15px;
  block-size: 15px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

@media (max-width: 440px) {
  .announce-dialog-inner {
    padding: 24px 16px 18px;
  }

  .announce-quick-link {
    padding: 9px 10px;
    font-size: 12.5px;
  }
}

/* Coupon wallet pill & Buybox inline coupon controls */
.catalog-coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  border: 1px solid rgba(0, 113, 227, 0.24);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 720;
  text-decoration: none;
}

.catalog-coupon-pill[hidden] {
  display: none;
}

.catalog-coupon-pill:hover {
  background: rgba(0, 113, 227, 0.14);
  border-color: rgba(0, 113, 227, 0.38);
}

.coupon-apply-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.coupon-apply-inline .input {
  flex: 1 1 140px;
  min-block-size: 34px;
  padding: 5px 10px;
  font-size: 12.5px;
}

.summary-discount {
  color: var(--brand);
}


/* Apple Store Layout & Clean Split Checkout */
.catalog-section,
.studio-section {
  margin-block-start: clamp(28px, 4vw, 56px);
}

.section-header-copy h2,
#faq-heading {
  color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  letter-spacing: -0.036em;
  font-weight: 760;
}

#checkout-dialog {
  background: #ffffff;
  border-radius: 24px;
}

#checkout-dialog .dialog-head {
  background: rgba(251, 251, 253, 0.92);
  padding: 20px clamp(18px, 3vw, 32px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#checkout-dialog .dialog-body {
  padding: clamp(18px, 2.8vw, 30px);
}

@media (max-width: 560px) {
  .hero-showcase {
    padding: 26px 20px 18px;
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 9.5vw, 3rem);
  }

  #checkout-dialog .dialog-head {
    padding: 14px 16px;
  }
}
