@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Manrope:wght@300;400;500;600&family=Oswald:wght@300;400;500&family=DM+Mono:wght@300;400&display=swap');

:root {
  --bg: #0b0a10;
  --bg-2: #14111f;
  --panel: #171427;
  --panel-2: #1c1931;
  --text: #efeef5;
  --muted: #a9a6ba;
  --accent: #f08b2b;
  --accent-2: #6aa7ff;
  --line: rgba(255, 255, 255, 0.06);
  --shadow-1: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-2: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  --glass: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --radius: 16px;
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: radial-gradient(1200px 700px at 15% 0%, #1d1a30 0%, #0b0a10 55%), #0b0a10;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.page {
  padding-top: 88px;
  padding-bottom: 120px;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  background: linear-gradient(180deg, rgba(23,20,39,0.95), rgba(14,13,23,0.85));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand img {
  height: 26px;
  width: auto;
}

.admin-lff-logo-glow {
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.32))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.16))
    drop-shadow(0 2px 8px rgba(14, 18, 34, 0.18));
}

.brand .logo-2dl {
  filter: brightness(0) invert(1);
}

.operator {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: visible;
}

.operator-tip {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 10px;
  background: rgba(240, 139, 43, 0.95);
  color: #1b140b;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 5;
  transform: translateX(-50%);
}

.operator-tip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: rgba(240, 139, 43, 0.95);
  transform: translateX(-50%) rotate(45deg);
}

.operator-tip.is-visible {
  display: block;
}

.operator.is-loading::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 20% 20%, rgba(120, 180, 255, 0.25), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(240, 139, 43, 0.25), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(160, 120, 255, 0.18), transparent 50%);
  filter: blur(18px);
  opacity: 0.7;
  animation: operatorGlow 2.2s ease-in-out infinite;
  pointer-events: none;
}

.operator input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.operator input.is-loading {
  color: rgba(255, 255, 255, 0.18);
}

.operator-refresh {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(240, 139, 43, 0.6);
  background: rgba(240, 139, 43, 0.25);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 12px;
  z-index: 1;
}

.operator-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 rgba(240, 139, 43, 0);
  z-index: 1;
}

.operator-pin.is-active {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  box-shadow: 0 0 10px rgba(240, 139, 43, 0.4);
  animation: spin 0.8s linear infinite;
}

.operator .hint {
  color: var(--muted);
  font-size: 12px;
}

.intro-line.operator-inline {
  font-size: clamp(9px, 1.2vw, 14px);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 20px;
}

.intro-line.operator-reset {
  font-size: clamp(12px, 1.6vw, 16px);
  color: var(--muted);
  margin: 8px 0 20px;
  opacity: 1;
  transform: none;
}

.intro-line.operator-inline.is-hidden {
  display: none;
}

.radio-popup-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radio-popup-body {
  width: 100%;
  position: absolute;
  left: 0;
  top: 100%;
  bottom: auto;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 25, 49, 0.95), rgba(14, 13, 23, 0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 36px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 220ms ease, transform 260ms ease;
  pointer-events: none;
  z-index: 2;
}

.radio-popup-body .radio-popup-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
  color: var(--text);
}

.radio-popup-body .radio-popup-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.radio-popup-body .radio-popup-shows {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.radio-popup-body .radio-popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.55);
  color: var(--text);
  font-size: 11px;
  margin: 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  .radio-popup-shell:hover .radio-popup-body {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

.radio-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  box-shadow: var(--shadow-2);
}

.radio-mini.is-booting .radio-text,
.radio-mini.is-booting .radio-controls {
  opacity: 0;
}

.radio-mini.is-loading {
  opacity: 0.7;
}

.radio-mini.is-playing button[data-radio-play] {
  background: rgba(255, 140, 64, 0.2);
  border-color: rgba(255, 140, 64, 0.4);
}

.radio-mini.is-empty {
  opacity: 0.8;
}

.radio-mini.is-empty .radio-text strong {
  color: var(--muted);
}

.radio-mini.is-empty button {
  opacity: 0.35;
  cursor: not-allowed;
}

.radio-mini img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.08);
}

.radio-mini .radio-text {
  display: grid;
  gap: 2px;
  font-size: 11px;
}

.radio-mini .radio-text strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.radio-mini .radio-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.radio-mini button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.radio-mini .like {
  color: var(--accent);
}

.radio-mini .like.is-active {
  color: #ffb36a;
  text-shadow: 0 0 12px rgba(255, 140, 64, 0.35);
}

.radio-player {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.radio-player .radio-embed iframe {
  width: 1px;
  height: 1px;
  border: 0;
}

.news-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

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

.top-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.web-topbar-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-only {
  display: none;
}

.nav-item {
  position: relative;
  padding-bottom: 4px;
}

.nav-link {
  padding: 4px 2px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav-link.has-dropdown::after {
  content: "▾";
  font-size: 10px;
  color: var(--muted);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  margin-top: 0;
  left: 0;
  min-width: 160px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d1931, #141224);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: none;
  z-index: 20;
}

.nav-dropdown a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

.nav-dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
  animation: dropdown 0.18s ease-out;
}

.top-links a {
  padding: 4px 2px;
  border-radius: 6px;
}

.top-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.menu button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -2px 4px rgba(0,0,0,0.6),
    0 6px 12px rgba(0,0,0,0.28);
  cursor: pointer;
}

.lang-menu {
  position: relative;
}

.lang-menu-button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -2px 4px rgba(0,0,0,0.6),
    0 6px 12px rgba(0,0,0,0.28);
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: 32px;
  left: 0;
  min-width: 120px;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d1931, #141224);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: none;
  z-index: 20;
}

.lang-dropdown.is-visible {
  display: block;
  animation: dropdown 0.18s ease-out;
}

.lang-dropdown a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

.lang-dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-menu:hover .lang-dropdown,
.lang-menu:focus-within .lang-dropdown {
  display: block;
  animation: dropdown 0.18s ease-out;
}

.lang-menu:hover .lang-menu-button,
.lang-menu:focus-within .lang-menu-button {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hamburger-menu {
  position: relative;
}

.hamburger-dropdown {
  position: absolute;
  top: 36px;
  right: 0;
  min-width: 180px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d1931, #141224);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: none;
  z-index: 20;
}

.hamburger-dropdown a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

.hamburger-dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hamburger-menu:hover .hamburger-dropdown,
.hamburger-menu:focus-within .hamburger-dropdown {
  display: block;
  animation: dropdown 0.18s ease-out;
}

.hamburger-section {
  display: block;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

.hamburger-dropdown .mobile-only {
  display: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.intro {
  margin-top: 6px;
  display: grid;
  gap: 6px;
  min-height: 0;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease, margin 0.5s ease;
  max-height: 200px;
}

.intro-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 2px 0 6px;
}

.intro-logo {
  height: clamp(38px, 4vw, 64px);
  width: auto;
  object-fit: contain;
}

.intro-logo-2dl {
  filter: brightness(0) invert(1);
}

.intro.is-active {
  min-height: 120px;
}

.intro-line {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.operator-fallback-title {
  margin: 8px 0 0;
  font-size: clamp(13px, 1.6vw, 16px);
  color: var(--muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.operator-fallback-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.intro-line.is-hidden {
  display: none;
}

.intro.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  margin: 0;
  overflow: hidden;
}

.feed {
  --feed-columns: 4;
  --feed-row-size: 170px;
  --feed-gap: 18px;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(var(--feed-columns), minmax(0, 1fr));
  grid-auto-rows: var(--feed-row-size);
  grid-auto-flow: dense;
  gap: var(--feed-gap);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.feed.is-intro-hidden {
  margin-top: 8px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1b1930, #151226);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  min-height: 100%;
  height: 100%;
  align-self: stretch;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass);
  opacity: 0.55;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 44px rgba(0,0,0,0.34), 0 10px 18px rgba(0,0,0,0.18);
  z-index: 3;
}

.card.is-toprow {
  grid-row: auto / span 2;
  min-height: calc((var(--feed-row-size) * 2) + var(--feed-gap));
}

.card.span-2-horizontal {
  grid-column: auto / span 2;
}

.card[data-card-slot-size="2"][data-card-slot-orientation="horizontal"] {
  grid-column: auto / span 2;
}

.card[data-card-slot-size="2"][data-card-slot-orientation=""] {
  grid-column: auto / span 2;
}

.card.span-2-vertical {
  grid-row: auto / span 2;
  min-height: calc((var(--feed-row-size) * 2) + var(--feed-gap));
}

.card[data-card-slot-size="2"][data-card-slot-orientation="vertical"] {
  grid-row: auto / span 2;
  min-height: calc((var(--feed-row-size) * 2) + var(--feed-gap));
}

@media (max-width: 1180px) {
  .feed {
    --feed-columns: 3;
  }
}

@media (max-width: 900px) {
  .feed {
    --feed-columns: 2;
  }
}

.card-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.92),
    0 6px 16px rgba(0,0,0,0.72),
    0 14px 28px rgba(0,0,0,0.42);
}

.card-title-logo {
  display: block;
  max-width: 160px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42)) drop-shadow(0 2px 8px rgba(0,0,0,0.78));
}

.card-title-text {
  display: block;
  margin-top: 8px;
}

.card-title.serif { font-family: "Marcellus", serif; }

.card-title.condensed { font-family: "Oswald", sans-serif; letter-spacing: 0.4px; }

.card-title.mono { font-family: "DM Mono", monospace; font-size: 16px; }

.card-meta {
  color: var(--muted);
  font-size: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.82), 0 8px 18px rgba(0,0,0,0.48);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 139, 43, 0.62);
  color: var(--text);
  border: 1px solid rgba(240, 139, 43, 0.6);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.52);
}

.card-plus {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--text);
  cursor: pointer;
  z-index: 2;
}

.cart-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), rgba(0,0,0,0.55)),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.2));
  display: grid;
  place-items: center;
  color: var(--text);
  text-decoration: none;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.35),
    inset 0 -4px 6px rgba(0,0,0,0.7),
    0 6px 14px rgba(0,0,0,0.35);
  cursor: pointer;
  position: relative;
}

.cart-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.cart-icon-badge {
  position: absolute;
  top: -6px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #ff6e6e, #d92f43);
  box-shadow: 0 6px 14px rgba(217, 47, 67, 0.38), inset 0 1px 0 rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.24);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes operatorGlow {
  0% { transform: translateX(-6%) scale(1); opacity: 0.55; }
  50% { transform: translateX(6%) scale(1.04); opacity: 0.85; }
  100% { transform: translateX(-6%) scale(1); opacity: 0.55; }
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(255, 179, 106, 0.2);
  border: 1px solid rgba(255, 179, 106, 0.4);
  color: #ffd6b1;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(255, 140, 64, 0.2);
  border: 1px solid rgba(255, 140, 64, 0.4);
  color: #ffd6b1;
  font-size: 10px;
  line-height: 1;
}

.card.is-ad {
  border-color: rgba(255, 179, 106, 0.35);
  box-shadow: 0 18px 45px rgba(255, 132, 64, 0.15);
}

.card.is-ad::before {
  opacity: 0.7;
  background: radial-gradient(circle at top left, rgba(255, 191, 128, 0.16), rgba(21, 18, 38, 0.9));
}

.card.is-highlight {
  border-color: rgba(120, 170, 255, 0.45);
  box-shadow: 0 18px 45px rgba(86, 140, 255, 0.2);
}

.card.is-highlight::before {
  opacity: 0.8;
  background: radial-gradient(circle at top right, rgba(120, 170, 255, 0.18), rgba(21, 18, 38, 0.9));
}

.card-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.card-media.is-loading {
  background-image:
    linear-gradient(110deg, rgba(255,255,255,0.02) 8%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.02) 33%),
    radial-gradient(circle at top left, rgba(255, 191, 128, 0.1), rgba(21, 18, 38, 0.92));
  background-size: 220% 100%, cover;
  animation: cardMediaShimmer 1.55s linear infinite;
  opacity: 0.72;
}

.card-media.is-ready {
  animation: none;
  opacity: 1;
  transform: translateZ(0);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 213, 160, 0.12), rgba(77, 98, 140, 0.2));
  mix-blend-mode: soft-light;
  opacity: 0.8;
}

.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

@keyframes cardMediaShimmer {
  0% { background-position: 200% 0, center; }
  100% { background-position: -20% 0, center; }
}

.card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.card[data-card-type="noticia"] .card-media {
  filter: brightness(0.9) saturate(0.9) contrast(1.05);
}

.card[data-card-type="noticia"] .card-video {
  filter: brightness(0.9) saturate(0.9) contrast(1.05);
}

.card.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 213, 160, 0.12), rgba(77, 98, 140, 0.2));
  mix-blend-mode: soft-light;
  opacity: 0.8;
  pointer-events: none;
}

.card-preview {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 12, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.card-preview.is-visible {
  display: flex;
  opacity: 1;
}

.card-preview .panel {
  width: min(720px, 92vw);
  max-height: min(88vh, 920px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1d1931, #141224);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-1);
  position: relative;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-preview.is-product-theme .panel {
  background: linear-gradient(180deg, #ffffff, #f6f3ee);
  border: 1px solid rgba(24, 20, 12, 0.12);
  color: #201a12;
  box-shadow: 0 28px 60px rgba(0,0,0,0.18);
}

.preview-media {
  width: 100%;
  height: 240px;
  min-height: 240px;
  flex: 0 0 240px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #0c0b14;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.card-preview.is-product-theme .preview-media {
  background: #f3ede3;
}

.preview-heading,
.preview-description-short,
.preview-product-config,
.preview-gallery,
.preview-related {
  flex-shrink: 0;
}

.preview-media img,
.preview-media video {
  cursor: zoom-in;
}

.preview-media.is-loading {
  background:
    linear-gradient(110deg, rgba(255,255,255,0.03) 8%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.03) 33%),
    radial-gradient(circle at top left, rgba(255, 191, 128, 0.12), rgba(12, 11, 20, 0.96));
  background-size: 220% 100%, cover;
  animation: cardMediaShimmer 1.45s linear infinite;
}

.preview-media img,
.preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.preview-media img.is-visible,
.preview-media video.is-visible {
  display: block;
}

.card-preview.is-visible .panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.card-preview .close {
  position: absolute;
  right: 14px;
  top: 12px;
  color: var(--muted);
  cursor: pointer;
}

.card-preview.is-product-theme .close {
  color: rgba(32, 26, 18, 0.62);
}

.card-preview h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.preview-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.preview-heading > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.preview-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 28px rgba(0,0,0,0.24);
  padding: 9px;
  flex: 0 0 auto;
}

.card-preview.is-product-theme .preview-logo {
  border-color: rgba(24, 20, 12, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}

.preview-logo.is-hidden {
  display: none;
}

.card-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.card-preview.is-product-theme p {
  color: rgba(43, 36, 27, 0.78);
}

.preview-heading [data-preview-meta] {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.card-preview.is-product-theme .preview-heading [data-preview-meta] {
  color: #201a12;
}

.preview-description-short {
  margin: -2px 0 18px;
  color: rgba(239, 236, 245, 0.92);
  font-size: 14px;
  line-height: 1.5;
}

.card-preview.is-product-theme .preview-description-short,
.card-preview.is-product-theme .preview-description-long {
  color: rgba(32, 26, 18, 0.86);
}

.preview-description-short.is-hidden {
  display: none;
}

.preview-queue-note {
  margin: -6px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(236,236,245,0.88);
  font-size: 12px;
  line-height: 1.45;
}

.card-preview.is-product-theme .preview-queue-note {
  border-color: rgba(24, 20, 12, 0.1);
  background: rgba(240, 139, 43, 0.08);
  color: rgba(32, 26, 18, 0.82);
}

.preview-queue-note.is-hidden {
  display: none;
}

.preview-description-long {
  margin-top: 8px;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(19, 18, 33, 0.94), rgba(10, 9, 22, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 14px 28px rgba(0,0,0,0.18);
  color: rgba(239, 236, 245, 0.88);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}

.preview-description-long.is-hidden {
  display: none;
}

.preview-interstitial-banner {
  margin: 0 -22px 18px;
  border-top: 1px solid rgba(24, 20, 12, 0.06);
  border-bottom: 1px solid rgba(24, 20, 12, 0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244, 239, 232, 0.94));
  overflow: hidden;
}

.preview-interstitial-banner img {
  width: 100%;
  min-height: 112px;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 18px;
}

.preview-gallery.is-hidden {
  display: none;
}

.preview-thumb {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 9, 16, 0.55);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  padding: 0;
}

.preview-thumb img,
.preview-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-thumb.is-active {
  border-color: rgba(240, 139, 43, 0.85);
  box-shadow: 0 0 0 1px rgba(240, 139, 43, 0.35) inset;
}

.preview-thumb.is-variant-match {
  border-color: rgba(255, 228, 160, 0.95);
  box-shadow:
    0 10px 22px rgba(5, 6, 16, 0.35),
    0 0 0 1px rgba(255, 213, 120, 0.5) inset,
    0 0 18px rgba(255, 213, 120, 0.38);
  transform: translateY(-4px) scale(1.04);
  background: linear-gradient(180deg, rgba(38, 31, 56, 0.98), rgba(21, 18, 37, 0.98));
}

.preview-product-config {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}

.card-preview.is-product-theme .preview-product-config,
.card-preview.is-product-theme .preview-related {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246, 241, 234, 0.96));
  border: 1px solid rgba(24, 20, 12, 0.08);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 20px 34px rgba(18, 14, 8, 0.07);
  padding: 18px;
}

.preview-product-config.is-hidden {
  display: none;
}

.preview-product-options {
  display: grid;
  gap: 14px;
}

.preview-option {
  display: grid;
  gap: 7px;
  position: relative;
}

.preview-option label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-preview.is-product-theme .preview-option label,
.card-preview.is-product-theme .preview-related h4,
.card-preview.is-product-theme h3 {
  color: #201a12;
}

.card-preview.is-product-theme .preview-description-long {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 243, 236, 0.96));
  border-color: rgba(24, 20, 12, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 18px 32px rgba(18, 14, 8, 0.08);
}

.preview-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-choice-group.is-invalid {
  animation: previewChoiceShake 220ms ease-in-out 2;
}

.preview-option-bubble {
  position: absolute;
  top: -10px;
  right: 0;
  max-width: min(280px, 84vw);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 102, 0.72);
  background: linear-gradient(180deg, rgba(46, 31, 22, 0.98), rgba(23, 14, 10, 0.98));
  box-shadow: 0 16px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  color: #ffe2b8;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 3;
}

.preview-option-bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: rgba(23, 14, 10, 0.98);
  border-right: 1px solid rgba(255, 190, 102, 0.72);
  border-bottom: 1px solid rgba(255, 190, 102, 0.72);
}

.preview-option-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preview-choice-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  min-height: 48px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(180deg, rgba(28, 25, 47, 0.96), rgba(16, 14, 28, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -8px 18px rgba(0,0,0,0.18),
    0 12px 26px rgba(0,0,0,0.22);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card-preview.is-product-theme .preview-choice-btn {
  background: #ffffff;
  border-color: rgba(24, 20, 12, 0.12);
  color: rgba(32, 26, 18, 0.82);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.preview-choice-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 139, 43, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -10px 20px rgba(0,0,0,0.2),
    0 16px 28px rgba(0,0,0,0.25);
}

.card-preview.is-product-theme .preview-choice-btn:hover {
  border-color: rgba(240, 139, 43, 0.42);
}

.preview-choice-btn.is-active {
  border-color: rgba(240, 139, 43, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 216, 169, 0.16), rgba(255,255,255,0.06)),
    linear-gradient(180deg, rgba(39, 31, 54, 0.98), rgba(20, 16, 31, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -10px 22px rgba(0,0,0,0.22),
    0 0 0 1px rgba(240, 139, 43, 0.18),
    0 18px 34px rgba(0,0,0,0.3);
}

.card-preview.is-product-theme .preview-choice-btn.is-active {
  background: linear-gradient(180deg, rgba(255, 224, 182, 0.76), rgba(240, 139, 43, 0.2));
  border-color: rgba(240, 139, 43, 0.58);
  color: #201a12;
}

.preview-option input,
.preview-option select {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15, 14, 24, 0.78);
  color: var(--text);
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--font-ui);
}

.card-preview.is-product-theme .preview-option input,
.card-preview.is-product-theme .preview-option select {
  background: #ffffff;
  border-color: rgba(24, 20, 12, 0.12);
  color: #201a12;
}

.preview-option input.is-invalid,
.preview-option select.is-invalid {
  border-color: rgba(240, 91, 91, 0.95);
  box-shadow: 0 0 0 3px rgba(240, 91, 91, 0.18), inset 0 1px 0 rgba(255,255,255,0.04);
}

.preview-related {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 16px;
}

.preview-related.is-hidden {
  display: none;
}

.preview-related h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(10, 9, 18, 0.58);
}

.card-preview.is-product-theme .preview-related-card {
  background: #ffffff;
  border-color: rgba(24, 20, 12, 0.1);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.preview-related-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}

.preview-related-card .meta {
  padding: 6px 8px 8px;
}

.preview-related-card .title {
  font-size: 11px;
  line-height: 1.25;
}

.card-preview.is-product-theme .preview-related-card .title {
  color: #201a12;
}

.preview-related-card .price {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.card-preview.is-product-theme .preview-related-card .price {
  color: rgba(77, 66, 50, 0.78);
}

.card-preview .actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  margin-left: -22px;
  margin-right: -22px;
  margin-bottom: 0;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20,18,36,0.72), rgba(20,18,36,0.98));
  backdrop-filter: blur(18px);
  z-index: 5;
}

.card-preview .actions.is-hidden {
  display: none;
}

.preview-action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.preview-action-buttons.is-hidden {
  display: none;
}

.card-preview .actions a {
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(240, 139, 43, 0.12));
  border: 1px solid rgba(240, 139, 43, 0.48);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 30px rgba(0,0,0,0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  text-align: center;
}

.card-preview.is-product-theme .actions a {
  background: #ffffff;
  border-color: rgba(24, 20, 12, 0.12);
  color: #201a12;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.card-preview .actions a.is-hidden {
  display: none;
}

.card-preview .actions a:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 34px rgba(0,0,0,0.28);
}

.card-preview .actions a[data-preview-add] {
  min-width: 220px;
  background: linear-gradient(180deg, rgba(255, 206, 138, 0.28), rgba(240, 139, 43, 0.26));
  border-color: rgba(240, 139, 43, 0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 18px 34px rgba(240, 139, 43, 0.16), 0 14px 28px rgba(0,0,0,0.22);
}

.card-preview.is-product-theme .actions a[data-preview-add] {
  background: linear-gradient(180deg, rgba(255, 224, 182, 0.95), rgba(240, 139, 43, 0.28));
  border-color: rgba(240, 139, 43, 0.68);
  box-shadow: 0 16px 30px rgba(240, 139, 43, 0.14);
  min-height: 52px;
}

.card-preview .actions a[data-preview-add]:hover {
  background: linear-gradient(180deg, rgba(255, 214, 154, 0.34), rgba(240, 139, 43, 0.32));
  border-color: rgba(255, 190, 102, 0.88);
}

.preview-waitlist-form {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  text-align: left;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,240,235,0.92));
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

.preview-waitlist-form.is-hidden {
  display: none;
}

.preview-waitlist-title {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #201a12;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.preview-waitlist-form .admin-help[data-waitlist-product] {
  display: none;
}

.preview-waitlist-form label {
  display: grid;
  gap: 5px;
  text-align: left;
}

.preview-waitlist-form label span {
  color: rgba(32, 26, 18, 0.76);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-waitlist-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(24, 20, 12, 0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.98);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96);
  color: #201a12;
  padding: 0 12px;
  font-size: 13px;
}

.preview-waitlist-form input:focus {
  outline: none;
  border-color: rgba(240, 139, 43, 0.7);
  box-shadow: 0 0 0 3px rgba(240, 139, 43, 0.14);
}

.preview-waitlist-form .admin-help[data-waitlist-status] {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: 0;
  text-align: center;
  font-size: 11px;
}

.preview-waitlist-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 2px;
}

.preview-waitlist-actions .card-cta,
.preview-waitlist-actions button.card-cta {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 0 16px;
}

.preview-waitlist-actions button.card-cta {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  color: #201a12;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.preview-waitlist-form [data-waitlist-code-wrap] {
  grid-column: auto;
  max-width: none;
  margin: 0;
  width: 100%;
}

.card-preview .actions.is-waitlist-mode {
  gap: 12px;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(20,18,36,0.54), rgba(20,18,36,0.92));
}

@media (max-width: 760px) {
  .preview-waitlist-form {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .preview-waitlist-form [data-waitlist-code-wrap] {
    grid-column: 1;
  }

  .preview-waitlist-actions {
    flex-wrap: wrap;
  }
}

.preview-stripe-note {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-preview.is-product-theme .preview-stripe-note {
  color: rgba(43, 36, 27, 0.68);
}

.card-preview.is-product-theme .preview-stripe-note span {
  color: rgba(112, 105, 93, 0.95);
}

.preview-stripe-note.is-hidden {
  display: none;
}

.preview-stripe-logo {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  min-width: 38px;
  padding: 8px 12px;
  border-radius: 14px;
}

.cart-qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
}

.cart-checkout-form {
  display: grid;
  gap: 14px;
  max-width: none;
  min-width: 0;
}

.cart-checkout-details {
  display: grid;
  gap: 12px;
}

.cart-bottom-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.cart-page-shell,
.cart-page-shell * {
  min-width: 0;
}

.cart-side-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.cart-summary-card,
.cart-coupon-card {
  padding: 16px;
  border-radius: 24px;
}

.cart-summary-lines {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.cart-coupon-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.cart-checkout-cta {
  width: min(100%, 420px);
  margin: 12px auto 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 15px 20px;
  background: linear-gradient(180deg, rgba(255, 206, 138, 0.28), rgba(240, 139, 43, 0.26));
  border-color: rgba(240, 139, 43, 0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 18px 34px rgba(240, 139, 43, 0.16), 0 14px 28px rgba(0,0,0,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart-checkout-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 22px 38px rgba(240, 139, 43, 0.2), 0 16px 30px rgba(0,0,0,0.24);
}

.cart-checkout-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.cart-stripe-note {
  margin-top: 10px;
  justify-content: center;
}

.checkout-shell {
  padding-bottom: 36px;
  overflow-x: hidden;
}

.checkout-page-card {
  padding: 22px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  min-width: 0;
}

.checkout-summary {
  position: sticky;
  top: 88px;
}

.checkout-block {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.11);
  background:
    radial-gradient(circle at top left, rgba(255, 191, 128, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -18px 32px rgba(6,7,20,0.18),
    0 18px 36px rgba(4,6,16,0.2);
}

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

.checkout-form h3,
.checkout-summary h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
}

.checkout-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

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

.checkout-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checkout-help,
.checkout-note,
.checkout-success,
.checkout-error {
  margin: 0;
  font-size: 13px;
}

.checkout-success-wrap {
  display: grid;
  gap: 14px;
}

.checkout-success-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.checkout-help,
.checkout-note {
  color: var(--muted);
}

.checkout-success {
  color: #8be28b;
}

.checkout-error {
  color: #ffb3b3;
}

.checkout-shipping-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.checkout-inline-toggle input {
  width: auto;
  min-height: 0;
}

.checkout-cta-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 4px;
}

.checkout-submit-cta {
  width: min(100%, 380px);
  justify-self: center;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.marketing-paths-shell {
  display: grid;
  gap: 18px;
}

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

.marketing-paths-card {
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 176, 102, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(34, 28, 82, 0.98), rgba(12, 10, 34, 0.96));
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.08),
    inset -1px -1px 0 rgba(0, 0, 0, 0.28),
    0 18px 42px rgba(4, 6, 18, 0.4);
}

.marketing-paths-card h3,
.marketing-paths-card .admin-title {
  margin: 0 0 10px;
}

.checkout-stripe-note {
  justify-content: center;
}

.checkout-eta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

.checkout-eta strong {
  color: var(--text);
  font-size: 16px;
}

.checkout-shipping-groups {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-shipping-group-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  font-size: 12px;
}

.checkout-lines {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.checkout-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.checkout-line:last-child {
  border-bottom: 0;
}

.checkout-form label,
.checkout-summary label,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  min-width: 0;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.checkout-totals {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.checkout-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-total-final {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.checkout-totals {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.checkout-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.checkout-total-final {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.checkout-total-final strong {
  font-size: 18px;
  color: #fff;
}

.checkout-error-list {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,130,130,.45);
  background: linear-gradient(180deg, rgba(255,120,120,0.08), rgba(255,120,120,0.03));
  color: #ffd9d9;
}

.checkout-error-list strong {
  display: block;
  margin-bottom: 8px;
}

.checkout-error-list ul {
  margin: 0;
  padding-left: 18px;
}

.cart-queue-alert {
  border-color: rgba(255,255,255,0.2);
}

.cart-shipping-groups {
  display: grid;
  gap: 8px;
}

.cart-shipping-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  background: rgba(255,255,255,0.03);
}

.checkout-support-fab {
  position: fixed;
  right: 18px;
  bottom: 20%;
  z-index: 95;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  min-width: 110px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.25);
  background: linear-gradient(145deg, rgba(32,32,56,0.95), rgba(18,18,34,0.95));
  color: #f2f2fa;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.checkout-support-fab:hover {
  transform: translateY(-1px);
}

.checkout-support-fab-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

.checkout-support-fab-logo {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.checkout-support-fab-label {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

@keyframes previewChoiceShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.preview-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 12, 0.92);
  z-index: 71;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.preview-lightbox.is-visible {
  display: flex;
}

.preview-lightbox img,
.preview-lightbox video {
  max-width: min(1200px, 95vw);
  max-height: 88vh;
  border-radius: 12px;
  display: none;
}

.preview-lightbox img.is-visible,
.preview-lightbox video.is-visible {
  display: block;
}

.preview-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 9, 16, 0.65);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 900px) {
  .preview-interstitial-banner {
    margin-left: -16px;
    margin-right: -16px;
  }

  .preview-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .preview-related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .card-preview {
    padding: 12px;
  }
  .card-preview .panel {
    width: 100%;
    padding: 16px;
  }
  .preview-media {
    height: 190px;
    min-height: 190px;
    flex-basis: 190px;
  }
  .preview-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .preview-heading {
    gap: 12px;
  }
  .preview-logo {
    width: 50px;
    height: 50px;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  display: none;
}

.spinner.is-visible { display: block; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 0;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(16, 14, 28, 0.9), rgba(10, 9, 18, 0.98));
  border-top: 1px solid var(--line);
  z-index: 40;
  overflow: visible;
}

.footer-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  z-index: 41;
}

.footer-hamburger-dropdown {
  display: none;
  position: absolute;
  left: 12px;
  bottom: calc(100% + 8px);
  min-width: 220px;
  background: linear-gradient(180deg, #1c1931, #141223);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-1);
  z-index: 50;
}

.footer-hamburger-dropdown .hamburger-logos {
  display: flex;
  gap: 10px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}

.footer-hamburger-dropdown .hamburger-logos img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}
.footer-hamburger-dropdown .hamburger-logos .logo-2dl {
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

.footer-hamburger-dropdown .footer-newsletter {
  margin: 0 0 12px;
}

.footer-hamburger-dropdown .footer-newsletter-form input[type="email"] {
  width: 100%;
}

.footer-hamburger-dropdown a,
.footer-hamburger-dropdown span,
.footer-hamburger-dropdown button {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  border: none;
  text-align: left;
}

.footer-hamburger-dropdown a:hover,
.footer-hamburger-dropdown button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.footer-hamburger-dropdown.is-visible {
  display: block;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1;
}

.footer-newsletter {
  position: relative;
  margin-left: auto;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
}

.footer-newsletter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  width: min(240px, 40vw);
}

.admin-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
}

.admin-logos img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}
.admin-logos .logo-2dl {
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

.footer-newsletter-popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(420px, 86vw);
  background: linear-gradient(180deg, #1c1931, #141223);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 8px;
  z-index: 60;
}

.footer-newsletter-popup.is-hidden {
  display: none;
}

.footer-newsletter-title {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.footer-newsletter-note {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

.footer-newsletter-interests {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: left;
  font-size: 12px;
  color: var(--muted);
}

.footer-newsletter-interests label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-newsletter-status {
  font-size: 12px;
  color: #8be28b;
}

.footer-newsletter-hp {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.footer-action {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}

.footer-spinner {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-width: 2px;
  margin-left: auto;
}

@media (max-width: 900px) {
  .hamburger-dropdown .mobile-only {
    display: block;
  }
  .page {
    padding-top: 40px;
    padding-bottom: 120px;
  }
  .topbar {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
    padding: 10px 14px 12px;
    margin-top: 0;
  }
  .top-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .operator {
    width: 100%;
    order: 3;
    background: #151226;
  }
  .radio-popup-shell,
  .radio-mini {
    order: 4;
    width: 100%;
    background: #151226;
  }
  .mobile-dock {
    display: flex;
  }
  .operator,
  .radio-popup-shell,
  .radio-mini {
    display: flex;
    visibility: hidden;
    pointer-events: none;
  }
  body.mobile-operator-open .operator,
  body.mobile-radio-open .radio-popup-shell,
  body.mobile-radio-open .radio-mini,
  .operator.is-mobile-open,
  .radio-popup-shell.is-mobile-open,
  .radio-mini.is-mobile-open {
    display: flex;
    visibility: visible;
    pointer-events: auto;
  }
  .operator,
  .radio-popup-shell,
  .radio-mini {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 360ms ease, transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
    will-change: opacity, transform;
  }
  body.mobile-operator-open .operator,
  body.mobile-radio-open .radio-popup-shell,
  body.mobile-radio-open .radio-mini,
  .operator.is-mobile-open,
  .radio-popup-shell.is-mobile-open,
  .radio-mini.is-mobile-open {
    position: fixed;
    left: 10vw;
    top: auto;
    bottom: 96px;
    width: 80vw;
    max-width: none;
    max-height: 80vh;
    z-index: 70;
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  body.mobile-radio-open .radio-popup-shell,
  .radio-popup-shell.is-mobile-open {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0;
  }
  body.mobile-radio-open .radio-popup-shell .radio-popup-body,
  .radio-popup-shell.is-mobile-open .radio-popup-body {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: 10px;
    border-radius: 22px;
  }
  body.mobile-radio-open .radio-mini,
  .radio-popup-shell.is-mobile-open .radio-mini {
    width: 100%;
    border-radius: 999px;
  }
  body.mobile-operator-open .radio-popup-shell,
  body.mobile-operator-open .radio-mini,
  body.mobile-radio-open .operator {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  .menu {
    margin-left: auto;
  }
  .footer-links {
    display: none;
  }
  .footer-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    border-radius: 50%;
    flex: 0 0 auto;
    visibility: visible;
    opacity: 1;
  }

  .footer-mobile-controls .footer-hamburger {
    background: transparent;
  }
  .footer-newsletter {
    display: none;
  }
  .footer-mobile-controls {
    display: flex;
  }
  .footer {
    min-height: 74px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .footer-hamburger-dropdown {
    position: fixed;
    left: 10vw;
    bottom: 10vh;
    width: 80vw;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
  }
  .footer-hamburger-dropdown.is-visible {
    display: block;
  }

  .operator .hint {
    display: none;
  }
  .operator input {
    font-size: 16px;
  }

  .intro-line.operator-inline {
    font-size: 13px;
  }
}

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  background: linear-gradient(180deg, #1c1931, #141223);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-1);
  z-index: 50;
}

.consent-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.card-cta.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.consent-banner.is-hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 10, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}

.modal.is-visible {
  display: flex;
}

.modal-panel {
  width: min(520px, 92vw);
  background: linear-gradient(180deg, #1c1931, #141223);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.modal-panel h4 {
  margin: 0 0 8px;
}

.modal-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Admin styling */
.admin-shell {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.admin-card {
  background: linear-gradient(180deg, #1b1930, #151226);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: 16px;
}

.admin-preview {
  width: 100%;
  max-width: 520px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0b14;
  border: 1px solid var(--line);
  margin: 8px 0 12px;
}

.admin-preview img,
.admin-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.admin-nav {
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-nav-item {
  position: relative;
}

.admin-nav-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.admin-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 200px;
  background: linear-gradient(180deg, #1c1931, #141223);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 0;
  padding: 8px;
  box-shadow: var(--shadow-1);
  z-index: 10;
}

.admin-nav-dropdown a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}

.admin-nav-dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-item:hover .admin-nav-dropdown,
.admin-nav-item:focus-within .admin-nav-dropdown {
  display: block;
  animation: dropdown 0.18s ease-out;
}

.admin-operator-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 16px;
}

.admin-operator-alert.is-hidden {
  display: none;
}

.admin-operator-alert-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.admin-operator-alert-text strong {
  color: #ffb9a6;
  font-weight: 600;
}

.admin-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}

.admin-stat-card {
  background: linear-gradient(180deg, rgba(30, 28, 48, 0.9), rgba(18, 16, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 6px;
}

.admin-stat-card span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.admin-stat-card strong {
  font-size: 16px;
}

.admin-title {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-insights {
  margin-bottom: 18px;
}

.admin-insights-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

.admin-insights-loading {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
}

.admin-insights-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.admin-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #f29f60;
  animation: admin-spin 0.9s linear infinite;
}

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

.ads-shell {
  padding: 6px 0 16px;
  height: calc(100vh - 20px);
}

.ads-shell-light {
  background: #f6f3ef;
  border-radius: 26px;
  padding: 14px 18px 16px;
  box-shadow: 0 24px 60px rgba(15, 12, 24, 0.14);
  height: 100%;
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ads-public {
  background: #f2efe9;
  color: #1b1326;
}

.ads-public .page {
  height: 100vh;
  overflow: hidden;
  padding-top: 20px;
}

.ads-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.ads-hero {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.ads-assistant-pane {
  flex: 1.2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ads-estimate-card {
  flex: 0.8;
  min-width: 240px;
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff, #f1ebe4);
  border: 1px solid rgba(15, 12, 24, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 12, 24, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ads-estimate-magic {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 199, 132, 0.35), transparent 55%),
              radial-gradient(circle at 80% 0%, rgba(166, 209, 255, 0.28), transparent 45%);
  opacity: 0.7;
  animation: ads-glow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ads-glow {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-6px); opacity: 0.9; }
}

.ads-estimate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 1;
}

.ads-estimate-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 12, 24, 0.08);
  color: #1b1326;
}

.ads-preview {
  z-index: 1;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(15, 12, 24, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ads-preview-title {
  font-weight: 600;
}

.ads-preview-body {
  font-size: 12px;
  color: #5a5167;
}

.ads-preview-cta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1b1326;
}

.ads-estimate-metrics {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 12px;
}

.ads-estimate-metrics span {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.ads-assistant-sticky {
  position: sticky;
  top: 18px;
  z-index: 2;
}

.ads-form-scroll {
  height: 35vh;
  max-height: 35vh;
  overflow: auto;
  padding-right: 6px;
}

.ads-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 12px;
}

.ads-header h1,
.ads-header p {
  color: #1b1326;
}

.ads-logos {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ads-logos img {
  height: 42px;
  width: auto;
}

.ads-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 18px;
}

.ads-grid-assistant-first {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.ads-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.ads-form h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 13px;
}

.ads-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ads-platforms,
.ads-eeas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.ads-eea-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ads-eea-note {
  font-size: 10px;
  color: var(--muted);
}

.ads-eea-modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-left: 22px;
  margin-bottom: 8px;
  font-size: 11px;
}

.ads-estimates {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 12, 24, 0.04);
}

.ads-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.ads-estimates-details {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.ads-success {
  margin-bottom: 16px;
  font-size: 13px;
  color: #bde7c5;
}

.ads-assistant {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ads-assistant-hero {
  max-height: 42vh;
}

.ads-chat {
  min-height: 128px;
  max-height: 162px;
  overflow: auto;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15, 12, 24, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ads-msg {
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.ads-msg-user {
  align-self: flex-end;
  background: rgba(15, 12, 24, 0.08);
}

.ads-msg-ai {
  align-self: flex-start;
  background: rgba(242,159,96,0.22);
}

.ads-chat-input {
  display: flex;
  gap: 8px;
}

.ads-chat-input input {
  flex: 1;
  font-size: 16px;
  line-height: 1.3;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 12, 24, 0.12);
  background: linear-gradient(180deg, #ffffff, #f2eee9);
  box-shadow: inset 0 2px 6px rgba(15, 12, 24, 0.08), 0 8px 18px rgba(15, 12, 24, 0.08);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ads-chat-input input:focus {
  outline: none;
  border-color: rgba(240, 139, 43, 0.5);
  box-shadow: inset 0 2px 8px rgba(240, 139, 43, 0.18), 0 10px 24px rgba(15, 12, 24, 0.12);
  transform: translateY(-1px);
}

.ads-form-compact {
  opacity: 0.92;
  border: 1px solid rgba(15, 12, 24, 0.08);
}

.ads-shell-light .admin-card {
  background: #fff;
  color: #1b1326;
}

.ads-shell-light .admin-card h3 {
  color: #1b1326;
}

.ads-shell-light .admin-card .admin-help,
.ads-shell-light .ads-disclaimer {
  color: #5a5167;
}

.ads-shell-light input,
.ads-shell-light textarea,
.ads-shell-light select {
  background: #f9f7f4;
  color: #1b1326;
  border: 1px solid rgba(15, 12, 24, 0.12);
}

.ads-shell-light .card-cta {
  background: #12101a;
  color: #fff;
}

.ads-shell-light .card-cta.ghost {
  background: transparent;
  color: #12101a;
  border: 1px solid rgba(15, 12, 24, 0.22);
}

.ads-shell-light .ads-form {
  margin: 0;
}

.ads-external.is-hidden,
.ads-internal.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .ads-hero {
    flex-direction: column;
  }
  .ads-estimate-card {
    order: -1;
  }
}

.admin-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-filter-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-shell form {
  --admin-input-bg: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  --admin-input-border: rgba(255,255,255,0.14);
  --admin-input-border-strong: rgba(255,255,255,0.28);
  --admin-input-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -10px 18px rgba(6, 7, 20, 0.18), 0 14px 30px rgba(4, 6, 16, 0.18);
  --admin-input-shadow-focus: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -10px 18px rgba(6, 7, 20, 0.14), 0 0 0 2px rgba(255,255,255,0.08), 0 20px 36px rgba(4, 6, 16, 0.24);
}

.admin-shell form label {
  color: rgba(233, 237, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.admin-shell form label > span:first-child {
  color: rgba(233, 237, 255, 0.74);
}

.admin-shell form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--admin-input-border);
  background: var(--admin-input-bg);
  box-shadow: var(--admin-input-shadow);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.admin-shell form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea)::placeholder {
  color: rgba(233, 237, 255, 0.42);
}

.admin-shell form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea):hover {
  border-color: rgba(255,255,255,0.2);
}

.admin-shell form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea):focus {
  border-color: var(--admin-input-border-strong);
  box-shadow: var(--admin-input-shadow-focus);
  transform: translateY(-1px);
}

.admin-shell form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23E9EDFF' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 14px 14px;
}

.admin-shell form textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-shell form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.92) sepia(0.08) saturate(0.6);
  opacity: 0.9;
}

.admin-shell form input[type="file"] {
  padding: 10px 12px;
}

.admin-shell form input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  cursor: pointer;
}

.admin-shell button,
.admin-shell .card-cta,
.admin-shell .admin-tab {
  cursor: pointer;
}

.admin-filter-row > button {
  min-height: 46px;
}

.admin-filter-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.admin-badge-submitted,
.admin-badge-under_review {
  background: rgba(240, 139, 43, 0.2);
  color: #f6c08a;
}

.admin-badge-paid {
  background: rgba(66, 161, 255, 0.2);
  color: #9acbff;
}

.admin-badge-approved {
  background: rgba(98, 199, 123, 0.2);
  color: #bde7c5;
}

.admin-badge-rejected {
  background: rgba(255, 92, 92, 0.2);
  color: #ffb3b3;
}

.admin-success {
  background: rgba(98, 199, 123, 0.12);
  color: #bde7c5;
}

.admin-error {
  background: rgba(255, 92, 92, 0.12);
  color: #ffb3b3;
}

.admin-inline {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.admin-translate-status {
  font-size: 12px;
  color: var(--muted);
  align-self: center;
}

.admin-note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-note-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-note-meta label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  flex: 1;
}

.admin-note-meta input,
.admin-note-meta select {
  min-height: 46px;
}

.admin-note-editor {
  min-height: 140px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -10px 18px rgba(6, 7, 20, 0.18), 0 14px 30px rgba(4, 6, 16, 0.18);
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-note-editor:focus {
  border-color: rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -10px 18px rgba(6, 7, 20, 0.14), 0 0 0 2px rgba(255,255,255,0.08), 0 20px 36px rgba(4, 6, 16, 0.24);
  transform: translateY(-1px);
}

.admin-note-hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.legal-shell {
  max-width: 900px;
}

.legal-header h1 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 8px;
}

.legal-body {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-1);
  line-height: 1.6;
  font-size: 15px;
}

.legal-body p {
  margin: 0 0 12px;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-1);
}

.contact-intro strong {
  font-size: 16px;
}

.contact-intro span {
  color: var(--muted);
}

.contact-intro em {
  font-style: normal;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-form-editor-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.contact-form-field-label {
  display: inline-block;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea) {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  color: inherit;
  border-radius: 18px;
  padding: 15px 16px;
  box-shadow: var(--shadow-2);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea)::placeholder {
  color: rgba(255,255,255,0.45);
}

.contact-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea):focus {
  outline: none;
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-editor {
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.contact-editor.is-invalid {
  border-color: rgba(255,122,122,0.45);
  box-shadow: 0 0 0 3px rgba(255,122,122,0.12);
}

.contact-editor-toolbar {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}

.contact-editor-toolbar button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: inherit;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
}

.contact-editor-body {
  min-height: 140px;
  padding: 16px;
  outline: none;
  cursor: text;
  position: relative;
  z-index: 1;
  user-select: text;
}

.contact-editor-body.is-empty:before {
  content: attr(data-placeholder);
  color: rgba(255,255,255,0.45);
  pointer-events: none;
}

.investor-shell {
  padding-bottom: 110px;
}

.investor-video-block,
.investor-benefits,
.investor-gated {
  margin-bottom: 40px;
}

.investor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}

.investor-video-frame {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 30px;
  background: #050505;
  box-shadow: var(--shadow-1);
  padding-top: 56.25%;
}

.investor-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.investor-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #050505;
  cursor: pointer;
}

.investor-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.investor-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.26));
}

.investor-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(12,12,18,0.74);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investor-section-head h2,
.investor-gated-header h2,
.investor-confirmation-card h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.investor-section-head p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

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

.investor-benefit-card,
.investor-gated,
.investor-confirmation-card {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-1);
}

.investor-benefit-card {
  padding: 20px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.investor-benefit-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.investor-benefit-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,173,85,0.22), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 22px;
  font-weight: 700;
  color: #ffcf9a;
}

.investor-benefit-card p,
.investor-gated-header p,
.investor-fallback-note {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.investor-gated {
  padding: 26px;
}

.investor-gated-header {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.investor-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  min-width: min(100%, 280px);
}

.investor-stats div,
.investor-summary div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.investor-stats span,
.investor-summary span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.investor-stats strong,
.investor-summary strong {
  font-size: 24px;
}

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

.investor-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 22px;
}

.investor-checkout-form textarea {
  min-height: 340px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
}

.investor-checkout-form {
  padding: 22px;
}

.contact-form-cta,
.investor-checkout-form .card-cta {
  display: block;
  width: min(100%, 420px);
  margin: 20px auto 0;
  text-align: center;
  padding: 16px 22px;
  font-size: 15px;
}

.contact-form-feedback {
  margin-top: 14px;
}

.contact-form-modern,
.investor-checkout-form {
  background:
    radial-gradient(circle at top right, rgba(126,92,255,0.09), transparent 30%),
    linear-gradient(180deg, rgba(24,22,45,0.98), rgba(22,19,39,0.98));
  border: 1px solid rgba(255,255,255,0.08);
}

.investor-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
}

.investor-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.investor-consent span {
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.investor-whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.investor-whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 48px rgba(0,0,0,0.38);
}

.investor-whatsapp-float svg {
  width: 22px;
  height: 22px;
}

.investor-fallback-note,
.investor-cap-note {
  margin-bottom: 14px;
}

.investor-confirmation-card {
  padding: 22px;
}

.investor-summary-static {
  margin: 18px 0;
}

@media (max-width: 820px) {
  .investor-benefit-grid,
  .investor-form-grid,
  .investor-summary,
  .investor-stats {
    grid-template-columns: 1fr;
  }

  .investor-gated-header {
    flex-direction: column;
  }

  .investor-video-frame {
    border-radius: 22px;
  }

  .investor-benefit-card {
    grid-template-columns: 48px 1fr;
  }

  .investor-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 18px;
  }

  .investor-whatsapp-float {
    right: 12px;
    bottom: 92px;
    width: 44px;
    height: 44px;
  }
}
.admin-actions-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-cta.small {
  padding: 6px 10px;
  font-size: 11px;
}

.inline-form {
  margin: 0;
}

.admin-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}

.admin-toast {
  position: fixed;
  top: 16px;
  right: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(23, 20, 39, 0.92);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 210;
}

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

.admin-toast.is-success {
  background: rgba(47, 119, 75, 0.92);
}

.admin-toast.is-error {
  background: rgba(153, 45, 45, 0.92);
}

.admin-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.admin-modal-card {
  position: relative;
  width: min(520px, 92vw);
  background: #171427;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-modal-card textarea {
  min-height: 120px;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .ads-grid {
    grid-template-columns: 1fr;
  }
  .ads-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .ads-assistant-hero {
    min-height: 320px;
  }
}

.card-value {
  font-size: 22px;
  font-weight: 600;
  margin-top: 6px;
}

.card-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.admin-section-title {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table thead th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 4px;
}

.admin-table tbody td {
  padding: 10px 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  padding: 12px 14px;
  border-radius: 14px;
}

.admin-form label {
  color: var(--muted);
  font-size: 12px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-tab {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
}

.admin-tab.is-active {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: block;
}

.admin-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-commerce-form textarea {
  min-height: 90px;
}

.admin-repeater {
  display: grid;
  gap: 10px;
}

.admin-help {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.4;
}

.card-help {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.4;
}

.admin-section-help {
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.4;
}

.post {
  display: grid;
  gap: 24px;
}

.post-hero {
  width: 100%;
  min-height: 420px;
  max-height: 72vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #1b1930, #151226);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0d1a;
}

.post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.97) contrast(1.02);
}

.post-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f0d1a;
}

.post-content h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
}

.post-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.post-body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.post-cta {
  display: block;
  width: min(100%, 440px);
  margin: 24px auto 0;
  text-align: center;
  padding: 16px 24px;
  font-size: 15px;
}

.post-inline-image {
  margin: 8px 0 12px;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-1);
}

.post-inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.post-related {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.post-related h3 {
  margin: 0;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.96);
}

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

.post-related-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 40px rgba(0,0,0,0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(219,138,58,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 26px 50px rgba(0,0,0,0.32);
}

.post-related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.post-related-card .meta {
  display: grid;
  gap: 6px;
}

.post-related-card strong {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.96);
}

.post-related-card span,
.post-related-card small {
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
}

.post-back-home {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.post-back-home-cta {
  min-width: 220px;
  text-align: center;
}

@media (max-width: 920px) {
  .post-related-grid {
    grid-template-columns: 1fr;
  }

  .post-hero {
    min-height: 260px;
  }
}

.manifesto {
  max-width: 860px;
  display: grid;
  gap: 12px;
}

.manifesto h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
}

.manifesto p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.manifesto ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.manifesto li {
  margin: 4px 0;
}

.manifesto-photo {
  width: min(760px, 92vw);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(0,0,0,0.35);
}

.mobile-dock {
  display: none;
}

.footer-mobile-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}

.footer-mobile-btn {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #f4f1ea;
  display: grid;
  place-items: center;
  font-size: 20px;
  padding: 0;
  cursor: pointer;
  position: relative;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.35),
    inset 0 -4px 6px rgba(0,0,0,0.75),
    0 8px 16px rgba(0,0,0,0.35);
}

.footer-mobile-btn.is-radio {
  border-color: rgba(255,214,160,0.7);
  background: transparent;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.45),
    inset 0 -3px 5px rgba(90,35,5,0.85),
    0 9px 18px rgba(0,0,0,0.35);
}

.footer-mobile-btn.is-active {
  border-color: rgba(255,255,255,0.95);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.28),
    0 0 18px rgba(255,255,255,0.7),
    inset 0 2px 3px rgba(255,255,255,0.45),
    inset 0 -4px 6px rgba(0,0,0,0.75),
    0 10px 18px rgba(0,0,0,0.4);
}

.footer-mobile-btn.is-loading {
  animation: footerPulse 1.1s ease-in-out infinite;
}

.footer-mobile-btn[data-footer-operator].is-loading {
  animation: none;
}

.footer-mobile-btn[data-footer-operator].is-loading::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(240, 139, 43, 0.25);
  border-top-color: rgba(240, 139, 43, 0.95);
  border-right-color: rgba(240, 139, 43, 0.7);
  animation: footerSpin 0.9s linear infinite;
  box-shadow: 0 0 12px rgba(240, 139, 43, 0.45);
  pointer-events: none;
}

@keyframes footerSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes footerPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(255,255,255,0.65)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
}

.footer-mobile-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-mobile-controls .lang-menu {
  position: relative;
}

.footer-mobile-controls .lang-dropdown {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
}

.mobile-floating-hamburger {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 90;
}

.mobile-floating-hamburger .hamburger-dropdown {
  top: auto;
  bottom: calc(100% + 8px);
  right: 0;
}

.mobile-topbar-controls {
  display: none;
  gap: 12px;
}

.mobile-home-btn {
  display: none;
}

.mobile-topbar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), rgba(0,0,0,0.55)),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.2));
  color: #f4f1ea;
  display: grid;
  place-items: center;
  font-size: 17px;
  cursor: pointer;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.35),
    inset 0 -4px 6px rgba(0,0,0,0.7),
    0 6px 14px rgba(0,0,0,0.35);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.mobile-topbar-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.2),
    inset 0 -2px 3px rgba(0,0,0,0.8),
    0 3px 8px rgba(0,0,0,0.35);
}

.mobile-topbar-btn.is-radio {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,224,170,0.85), rgba(139,62,14,0.98)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.25));
  color: #ffffff;
  border-color: rgba(255,214,160,0.7);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.45),
    inset 0 -3px 5px rgba(90,35,5,0.8),
    0 7px 16px rgba(0,0,0,0.32);
  filter: drop-shadow(0 0 10px rgba(255,175,90,0.4));
}

.mobile-topbar-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

@media (max-width: 900px) {
  .topbar .brand {
    display: none;
  }

  .topbar {
    display: block;
    height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    overflow: visible;
  }

  .top-links {
    display: none;
  }

  .topbar > * {
    display: none;
  }

  .topbar .operator,
  .topbar .radio-mini {
    display: flex;
  }

  .web-topbar-controls {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .footer-mobile-controls {
    display: flex;
  }

  .footer-hamburger {
    display: inline-flex;
  }
  .footer-hamburger-dropdown {
    display: none;
  }

  .mobile-floating-hamburger {
    display: none;
  }

  .hamburger-dropdown {
    max-height: 70vh;
    overflow-y: auto;
  }

  .hamburger-dropdown a {
    font-size: 17px;
  }

  .hamburger-section {
    font-size: 16px;
  }

  .footer-hamburger-dropdown a,
  .footer-hamburger-dropdown span,
  .footer-hamburger-dropdown button {
    font-size: 17px;
  }

  .footer-newsletter-form input[type="email"] {
    font-size: 16px;
    width: min(280px, 70vw);
  }
}

.hamburger-logos {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 6px;
}

.hamburger-logos img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}
.hamburger-logos .logo-2dl {
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

@media (max-width: 900px) {
  .hamburger-logos {
    display: flex;
  }

  .lang-dropdown {
    z-index: 80;
    left: auto;
    right: 0;
  }
}


.live-popup {
  position: fixed;
  right: 24px;
  top: 120px;
  width: min(320px, 86vw);
  background: linear-gradient(180deg, #231a2f, #161225);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-1);
  z-index: 60;
}

.live-popup.is-hidden {
  display: none;
}

.live-popup .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffb06b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.live-popup h4 {
  margin: 8px 0 6px;
  font-size: 16px;
}

.live-popup p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.live-popup .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 139, 43, 0.15);
  border: 1px solid rgba(240, 139, 43, 0.45);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.live-popup .close {
  position: absolute;
  right: 10px;
  top: 8px;
  color: var(--muted);
  cursor: pointer;
}

@media (max-width: 920px) {
  .news-ticker { display: none; }
  .radio-popup-shell { display: none; }
  .radio-mini { display: none; }
  .top-links { display: none; }
}

@media (max-width: 920px) {
  body.mobile-radio-open .radio-popup-shell,
  body.mobile-radio-open .radio-mini {
    display: flex;
  }
}

@media (max-width: 920px) {
  body.mobile-radio-open .radio-popup-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #151226 !important;
  }
  body.mobile-radio-open .radio-popup-shell .radio-popup-body {
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin: 0 0 10px 0 !important;
    border-radius: 26px !important;
  }
  body.mobile-radio-open .radio-popup-shell .radio-mini {
    position: static !important;
    width: 100% !important;
    border-radius: 999px !important;
  }
  body.mobile-radio-open .radio-popup-shell .radio-mini {
    border-radius: 26px !important;
  }
  body.mobile-radio-open .radio-popup-shell .radio-mini button {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }
  body.mobile-radio-open .radio-popup-shell .radio-mini img {
    width: 44px !important;
    height: 44px !important;
  }
  body.mobile-radio-open .radio-popup-shell .radio-controls {
    gap: 10px !important;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 64px;
    padding: 0 14px;
  }
  .operator { padding: 6px 10px; }
  .menu button { padding: 6px 10px; }
  .feed {
    --feed-columns: 1;
    --feed-row-size: 220px;
  }
  .card.is-toprow,
  .card.span-2-horizontal,
  .card.span-2-vertical,
  .card[data-card-slot-size="2"][data-card-slot-orientation="horizontal"],
  .card[data-card-slot-size="2"][data-card-slot-orientation="vertical"],
  .card[data-card-slot-size="2"][data-card-slot-orientation=""] {
    grid-column: auto / span 1;
    grid-row: auto / span 1;
    min-height: var(--feed-row-size);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1200px, 96vw);
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-title {
    font-size: 18px;
  }

  .admin-card {
    padding: 12px;
  }

  .admin-logos {
    flex-wrap: wrap;
    gap: 8px;
  }

  .admin-logos img {
    height: 36px;
  }

  .admin-nav {
    gap: 8px;
    padding: 10px;
    justify-content: flex-start;
    flex-wrap: wrap !important;
    width: 100%;
    box-sizing: border-box;
  }

  .admin-nav-button {
    font-size: 11px;
    padding: 6px 10px;
  }

  .admin-nav-dropdown {
    min-width: 180px;
  }

.admin-grid {
    grid-template-columns: 1fr;
  }

  .checkout-layout,
  .checkout-grid-two,
  .checkout-grid-four,
  .checkout-success-grid,
  .marketing-paths-grid {
    grid-template-columns: 1fr;
  }

  .checkout-shipping-header,
  .checkout-eta,
  .checkout-line,
  .checkout-totals > div {
    display: grid;
    gap: 8px;
  }

  .admin-stat-card strong {
    font-size: 14px;
  }

  .admin-table {
    font-size: 12px;
  }

  .card-preview {
    padding: 8px;
    align-items: flex-end;
  }

  .card-preview .panel {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    padding: 56px 16px 16px;
    border-radius: 20px;
    overflow-x: hidden;
  }

  .card-preview .close {
    position: fixed;
    top: max(10px, env(safe-area-inset-top, 0px));
    right: 14px;
    z-index: 30;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(10, 10, 18, 0.9);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 24px rgba(0,0,0,0.34);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    backdrop-filter: blur(12px);
  }

  .preview-media {
    flex: 0 0 190px;
    min-height: 190px;
    height: 190px;
    margin-bottom: 14px;
  }

  .preview-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .preview-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    padding: 7px;
  }

  .preview-heading [data-preview-meta] {
    font-size: 17px;
  }

  .preview-product-config,
  .preview-related {
    padding-top: 14px;
    margin-bottom: 14px;
  }

  .preview-choice-group {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .preview-choice-btn {
    width: 100%;
    text-align: left;
  }

  .preview-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-preview .actions {
    margin-left: -16px;
    margin-right: -16px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .preview-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .card-preview .actions a,
  .card-preview .actions a[data-preview-add] {
    min-width: 0;
    width: 100%;
  }

  .preview-option-bubble {
    left: 0;
    right: auto;
    max-width: calc(100vw - 48px);
  }

  .checkout-shell .admin-card,
  .cart-bottom-layout,
  .cart-side-stack,
  .checkout-layout,
  .checkout-form,
  .checkout-summary,
  .checkout-block {
    min-width: 0;
    overflow-x: hidden;
  }

  .checkout-page-card {
    padding: 14px;
  }

  .cart-bottom-layout {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .cart-page-shell .admin-card {
    overflow-x: hidden;
  }

  .cart-summary-card,
  .cart-coupon-card {
    padding: 14px;
  }

  .cart-coupon-form {
    grid-template-columns: 1fr;
  }

  .cart-checkout-form {
    width: 100%;
  }

  .cart-checkout-details {
    gap: 14px;
  }

  .cart-checkout-details input,
  .cart-checkout-details select,
  .cart-checkout-details textarea,
  .cart-coupon-form input,
  .cart-coupon-form select {
    font-size: 16px;
  }

  .cart-checkout-cta {
    width: 100%;
    max-width: 100%;
  }

  .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-page-shell .admin-table,
  .cart-page-shell .admin-table thead,
  .cart-page-shell .admin-table tbody,
  .cart-page-shell .admin-table tr,
  .cart-page-shell .admin-table th,
  .cart-page-shell .admin-table td {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cart-page-shell .admin-table thead {
    display: none;
  }

  .cart-page-shell .admin-table tbody {
    display: grid;
    gap: 12px;
  }

  .cart-page-shell .admin-table tr {
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  }

  .cart-page-shell .admin-table td {
    border: 0;
    padding: 0;
    margin-top: 10px;
  }

  .cart-page-shell .admin-table td:first-child {
    margin-top: 0;
  }

  .cart-page-shell .admin-table td form,
  .cart-page-shell .admin-table td .cart-qty-form {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .cart-page-shell .admin-table td .card-cta,
  .cart-page-shell .admin-table td .cart-qty-btn {
    width: auto;
    max-width: 100%;
  }

  .page {
    padding-bottom: 142px;
  }

  .checkout-summary {
    position: static;
    top: auto;
  }

  .checkout-grid,
  .checkout-grid-two,
  .checkout-grid-four,
  .checkout-success-grid {
    grid-template-columns: 1fr !important;
  }

  .checkout-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .checkout-form {
    gap: 14px;
  }

  .checkout-block {
    padding: 14px;
  }

  .checkout-line {
    gap: 8px;
  }

  .checkout-line > div,
  .checkout-line strong,
  .checkout-line span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .checkout-shipping-header {
    align-items: flex-start;
  }

  .checkout-submit-cta {
    width: 100%;
    max-width: 100%;
  }

  .checkout-cta-wrap,
  .checkout-stripe-note {
    width: 100%;
  }

  .checkout-support-fab {
    right: 12px;
    bottom: 20%;
    font-size: 11px;
    padding: 9px 12px;
  }
}
