:root {
  --bg: #0F1023;
  --card: #0b1120;
  --card-2: #111827;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --muted-2: rgba(255, 255, 255, 0.52);
  --primary: #22c3ff;
  --secondary: #7c4dff;
  --gold: #DE9B10;
  --gold-soft: rgba(222, 155, 16, 0.22);
  --gold-line: rgba(222, 155, 16, 0.38);
  --green: #25f5a8;
  --pink: #ff5fa2;
  --warning: #ffd166;
  --max: 1240px;
  --side: 208px;
  --shell-gap: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

:root[data-theme="light"] {
  --bg: #F8FAFF;
  --card: rgba(255, 255, 255, 0.82);
  --card-2: rgba(248, 250, 255, 0.76);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.12);
  --text: #111827;
  --muted: #6B7280;
  --muted-2: rgba(107, 114, 128, 0.72);
  --primary: #2563EB;
  --primary-soft: rgba(37, 99, 235, 0.10);
  --secondary: #4F46E5;
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-line: rgba(200, 169, 91, 0.25);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Compact premium SaaS scale */
html {
  font-size: 14.5px;
}

body,
button,
input,
select,
textarea {
  line-height: 1.42;
}

:root {
  --side: 188px;
  --shell-gap: 14px;
  --shadow: 0 18px 58px rgba(0, 0, 0, 0.34);
}

.app-shell {
  width: min(100%, 1440px);
  padding: 12px clamp(12px, 1.6vw, 24px) 14px;
}

.sidebar {
  top: 12px;
  height: calc(100vh - 24px);
  padding: 12px 10px;
  border-radius: 18px;
}

.brand {
  gap: 8px;
  padding: 6px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.82rem;
}

.brand strong {
  font-size: 0.78rem;
}

.brand small,
.side-link span,
.cart-button b {
  font-size: 0.68rem;
}

.side-nav {
  gap: 5px;
  margin-top: 20px;
}

.side-link {
  min-height: 34px;
  gap: 8px;
  padding: 0 9px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.main-frame {
  border-radius: 20px;
}

.topbar {
  min-height: 56px;
  padding: 0 18px;
  gap: 18px;
}

.topnav {
  gap: 7px;
}

.topnav-link {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.88rem;
}

.cart-button {
  min-height: 38px;
  padding: 0 13px;
  gap: 7px;
}

.cart-button b {
  min-width: 19px;
  height: 19px;
}

.ghost-action,
.primary-action,
.buy-button,
.copy-button,
.back-link,
.shop-plan,
.chip {
  min-height: 36px;
  padding-inline: 13px;
  font-size: 0.92rem;
}

.page,
.shop-product-page {
  padding-top: 20px;
  padding-bottom: 54px;
}

.container {
  width: min(100% - 36px, var(--max));
}

.hero {
  gap: 24px;
  padding: 28px 0 22px;
}

.hero-title {
  font-size: clamp(29px, 3.15vw, 39px);
  line-height: 1.04;
}

.section-title h2,
.shop-summary h1,
.cart-page h1,
.about-copy h1 {
  font-size: clamp(25px, 2.75vw, 36px);
  line-height: 1.06;
}

.hero-copy,
.shop-description p,
.shop-detail-panel li,
.shop-guide-panel li,
.about-copy p {
  line-height: 1.55;
}

.tool-card,
.shop-section-card {
  padding: 14px;
}

.tool-card,
.shop-section-card,
.banking-panel,
.checkout-summary,
.shop-description,
.shop-detail-panel,
.shop-guide-panel {
  border-radius: 14px;
}

.cart-page {
  padding-top: 42px;
}

.cart-page h1 {
  margin: 12px 0 20px;
}

.cart-head,
.cart-row {
  grid-template-columns: minmax(210px, 1.35fr) 130px 135px 110px 145px 165px 52px;
  gap: 14px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.cart-product {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 9px;
}

.cart-thumb {
  width: 54px;
  border-radius: 8px;
}

.cart-row select {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.9rem;
}

.cart-price {
  font-size: 0.98rem;
}

.qty-stepper {
  grid-template-columns: 25px 30px 25px;
  border-radius: 7px;
}

.qty-stepper button {
  min-height: 30px;
}

.row-voucher-form {
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 6px;
}

.row-voucher-form input,
.row-voucher-form button {
  min-height: 29px;
  font-size: 0.8rem;
}

.voucher-value-cell {
  position: relative;
  display: grid;
  min-width: 0;
}

.voucher-value-cell input {
  padding-right: 64px;
}

.voucher-value-cell span {
  position: absolute;
  top: 50%;
  right: 10px;
  max-width: 52px;
  overflow: hidden;
  color: #ffe3a1;
  font-size: 0.78rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
}

.cart-voucher-cell > span,
.cart-voucher-cell small,
.order-voucher-box small {
  font-size: 0.74rem;
}

.voucher-input-shell {
  position: relative;
  min-width: 0;
}

.voucher-input-shell input {
  padding-right: 32px;
}

.voucher-x {
  display: grid;
  width: 26px;
  min-width: 26px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 115, 125, 0.28) !important;
  color: #ffd3d6 !important;
  background: rgba(255, 89, 100, 0.1) !important;
  font-size: 1rem !important;
  line-height: 1;
}

.voucher-x.inside-input {
  position: absolute;
  top: 50%;
  right: 5px;
  min-height: 22px;
  width: 22px;
  min-width: 22px;
  transform: translateY(-50%);
}

.cart-total-price {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: flex-start;
  color: #ffd600;
  font-size: 1.08rem;
  text-align: left;
}

.checkout-grid {
  gap: 22px;
  margin-top: 22px;
}

.banking-panel,
.checkout-summary {
  padding: 20px;
}

.shop-hero-grid {
  gap: 28px;
}

.shop-main-shot {
  min-height: 382px;
}

.shop-thumb {
  min-height: 64px;
}

.shop-description,
.shop-detail-panel,
.shop-guide-panel {
  padding: 16px;
}

.shop-plan-grid,
.shop-price-row,
.shop-actions,
.product-voucher-box {
  gap: 10px;
}

.shop-plan {
  min-height: 36px;
}

.shop-countdown {
  margin-top: 16px;
}

.shop-price-row {
  margin-top: 18px;
}

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

.product-voucher-box {
  margin-top: 14px;
  padding: 12px;
}

.shop-actions {
  margin-top: 20px;
}

.shop-feature-strip {
  margin-top: 34px;
  padding: 8px;
}

.shop-feature-strip div {
  min-height: 56px;
  padding: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.mesh-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 8%, rgba(34, 195, 255, 0.22), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(124, 77, 255, 0.18), transparent 24%),
    radial-gradient(circle at 52% 6%, rgba(222, 155, 16, 0.1), transparent 20%),
    radial-gradient(circle at 62% 74%, rgba(37, 245, 168, 0.08), transparent 26%),
    linear-gradient(180deg, #0F1023 0%, #070b18 52%, #0F1023 100%);
  animation: meshDrift 16s ease-in-out infinite alternate;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  gap: var(--shell-gap);
  width: min(100%, 1510px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px clamp(14px, 2vw, 30px) 18px;
}

.sidebar {
  position: sticky;
  top: 14px;
  height: calc(100vh - 28px);
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 8, 22, 0.76);
  backdrop-filter: blur(24px);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px;
  border-radius: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #03111f;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #8df7ff 58%, var(--gold));
  box-shadow: 0 0 28px rgba(34, 195, 255, 0.24), 0 0 22px rgba(222, 155, 16, 0.14);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font: 800 0.84rem Inter, sans-serif;
}

.brand small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.side-nav {
  display: grid;
  gap: 7px;
  margin-top: 26px;
}

.side-link,
.topnav-link,
.ghost-action,
.primary-action,
.chip,
.modal-close,
.icon-button {
  border: 0;
  cursor: pointer;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.side-link span {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.side-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.side-link.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.15), rgba(124, 77, 255, 0.1), rgba(222, 155, 16, 0.08));
  box-shadow: inset 0 0 0 1px rgba(34, 195, 255, 0.16), 0 0 28px rgba(34, 195, 255, 0.08), inset 3px 0 0 rgba(222, 155, 16, 0.62);
}

.sidebar-status {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.sidebar-status strong,
.sidebar-status small {
  display: block;
}

.sidebar-status strong {
  font-size: 0.78rem;
}

.sidebar-status small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(37, 245, 168, 0.7);
}

.main-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 8, 22, 0.3);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 120;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.7);
  backdrop-filter: blur(22px);
}

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

.topnav-link {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  transition: background 180ms ease, color 180ms ease;
}

.topnav-link:hover,
.topnav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

.theme-toggle {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff6d8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(16, 22, 38, 0.82);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.theme-toggle-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  color: #081426;
  background: linear-gradient(135deg, #35c9ff, #fff0a8 64%, #de9b10);
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(245,194,46,0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  padding: 0 16px;
  font-weight: 900;
}

.cart-button b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #06101b;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  font-size: 0.72rem;
}

.cart-button.has-items {
  border-color: rgba(245, 194, 46, 0.62);
  box-shadow: 0 0 0 0 rgba(245, 194, 46, 0.32), 0 12px 28px rgba(222, 155, 16, 0.16);
  animation: cartPulse 1.35s ease-in-out infinite;
}

@keyframes cartPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(245, 194, 46, 0.28), 0 12px 28px rgba(222, 155, 16, 0.16);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 8px rgba(245, 194, 46, 0), 0 18px 34px rgba(34, 195, 255, 0.18);
  }
}

.ghost-action,
.primary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ghost-action {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.primary-action {
  color: #03111f;
  background: linear-gradient(135deg, var(--primary), #69e6ff 72%, var(--gold));
  box-shadow: 0 0 32px rgba(34, 195, 255, 0.22), 0 0 24px rgba(222, 155, 16, 0.12);
}

.ghost-action:hover,
.primary-action:hover {
  transform: scale(1.03);
}

.page-root {
  padding: 0 28px 56px;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.94fr);
  gap: 30px;
  align-items: center;
  min-height: auto;
  padding: 34px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(34, 195, 255, 0.18);
  border-radius: 999px;
  color: #ffe8a3;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.08), rgba(222, 155, 16, 0.08));
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-title,
.section-title {
  margin: 0;
  font-family: Inter, sans-serif;
  letter-spacing: 0;
}

.hero-title {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(34px, 3.7vw, 46px);
  line-height: 1.06;
  font-weight: 800;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 34%, #b69dff 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.proof-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.avatar:first-child {
  margin-left: 0;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.ai-console {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--card);
  box-shadow: var(--shadow), 0 0 80px rgba(34, 195, 255, 0.08), 0 0 70px rgba(222, 155, 16, 0.06);
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.console-dots {
  display: flex;
  gap: 7px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.render-pill {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.console-body {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 14px;
  padding: 16px;
}

.video-render {
  overflow: hidden;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 45% 22%, rgba(34, 195, 255, 0.24), transparent 24%),
    radial-gradient(circle at 70% 72%, rgba(124, 77, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #111827, #090d1b);
}

.video-topline {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.video-stage {
  display: grid;
  place-items: center;
  height: 150px;
}

.video-core {
  width: 112px;
  height: 112px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.5), rgba(124, 77, 255, 0.42), rgba(222, 155, 16, 0.28)),
    #172033;
  box-shadow: 0 0 90px rgba(34, 195, 255, 0.28);
  animation: floatSoft 6s ease-in-out infinite;
}

.render-track {
  height: 10px;
  margin: 0 18px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.render-track span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--gold));
  animation: progressPulse 3s ease-in-out infinite alternate;
}

.job-stack {
  display: grid;
  gap: 12px;
}

.job-card,
.floating-card,
.stat-card,
.tool-card,
.pricing-card,
.testimonial-card,
.faq-item {
  border: 1px solid var(--line);
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(18px);
}

.job-card {
  border-radius: 18px;
  padding: 14px;
}

.job-card small,
.job-card span {
  color: var(--muted-2);
}

.job-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 0.98rem;
}

.mini-meter {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-meter span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--bar, var(--primary));
}

.floating-card {
  position: absolute;
  z-index: 2;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card small {
  margin-top: 4px;
  color: var(--muted-2);
}

.floating-card.analytics {
  right: -10px;
  top: 86px;
}

.floating-card.publish {
  left: -14px;
  bottom: 70px;
}

.stats-band,
.section,
.cta-footer {
  padding: 30px 0;
}

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

.stat-card {
  border-radius: 22px;
  padding: 20px;
}

.stat-card strong {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 1.55rem;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-title {
  font-size: 28px;
  line-height: 1.14;
  font-weight: 700;
}

.section-copy {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

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

.home-featured-section .section-head,
.home-freebie-section .section-head,
.home-video-section .section-head,
.subpage .section-head {
  margin-bottom: 34px;
}

.home-featured-section .tool-grid,
.subpage .tool-grid {
  gap: 24px;
}

.home-video-section .chatbot-video-grid,
.subpage .chatbot-video-grid {
  gap: 26px;
}

.empty-state {
  border: 1px solid rgba(245, 194, 46, 0.24);
  border-radius: 18px;
  background: rgba(245, 194, 46, 0.07);
  padding: 22px;
  color: #F5C22E;
  font-weight: 900;
}

.tool-card {
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 34%),
    rgba(11, 17, 32, 0.9);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 155, 16, 0.24);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 0 44px rgba(34, 195, 255, 0.08), 0 0 34px rgba(222, 155, 16, 0.08);
}

.tool-image {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 16px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 20% 20%, var(--accent-a), transparent 26%),
    radial-gradient(circle at 80% 30%, var(--accent-b), transparent 30%),
    #0a1020;
}

.tool-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tool-image.has-media,
.sales-hero-image.has-media,
.gallery-thumb[style*="url("] {
  background-position: center;
  background-size: cover;
}

.tool-image.has-media {
  aspect-ratio: 16 / 9;
  padding: 0;
  border-bottom: 1px solid rgba(222, 155, 16, 0.12);
  box-shadow: inset 0 -42px 50px rgba(5, 8, 22, 0.16);
}

.tool-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.45;
}

.tool-image.has-media::before {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(15, 16, 35, 0.02), rgba(15, 16, 35, 0.08)),
    radial-gradient(circle at 90% 14%, rgba(222, 155, 16, 0.28), transparent 18%);
  opacity: 1;
  pointer-events: none;
}

.tool-image.has-media .tool-screen {
  display: none;
}

.tool-screen {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(5, 8, 22, 0.68);
}

.screen-row {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.screen-row.short {
  width: 64%;
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 9px;
}

.screen-tile {
  min-height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.18), rgba(124, 77, 255, 0.15));
}

.tool-body {
  padding: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffe8a3;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.1), rgba(222, 155, 16, 0.12));
  font-size: 0.74rem;
  font-weight: 800;
}

.tool-body h3,
.pricing-card h3,
.testimonial-card h3 {
  margin: 14px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.tool-body p,
.pricing-card p,
.testimonial-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--text);
  font-size: 0.82rem;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 850;
}

.rating-chip {
  color: #9cffb7;
  border-color: rgba(55, 235, 125, 0.28) !important;
  background: linear-gradient(135deg, rgba(55, 235, 125, 0.18), rgba(18, 185, 102, 0.1)) !important;
  box-shadow: 0 0 24px rgba(55, 235, 125, 0.12);
}

.user-chip {
  color: #8ee7ff;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.16), rgba(124, 77, 255, 0.08)) !important;
  box-shadow: 0 0 24px rgba(34, 195, 255, 0.08);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #b889ff;
  background: rgba(124, 77, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 800;
}

.card-cta {
  width: fit-content;
  min-width: 168px;
  min-height: 42px;
  margin-top: 18px;
  border: 1px solid rgba(245, 194, 46, 0.5);
  border-radius: 999px;
  color: #fff5cf;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 36%),
    linear-gradient(135deg, rgba(245, 194, 46, 0.18), rgba(212, 148, 12, 0.32));
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 14px 34px rgba(245, 194, 46, 0.12), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.tool-card:hover .card-cta {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 18px 42px rgba(245, 194, 46, 0.28), 0 0 34px rgba(245, 194, 46, 0.12);
}

.card-cta.compact {
  min-width: 134px;
  min-height: 36px;
  margin-top: 14px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.chatbot-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.chatbot-video-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(34,195,255,0.06), transparent 36%),
    rgba(11,17,32,0.9);
  box-shadow: 0 22px 58px rgba(0,0,0,0.24);
}

.chatbot-video-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--accent-a), transparent 28%),
    radial-gradient(circle at 70% 70%, var(--accent-b), transparent 32%),
    #0b1120;
  background-position: center;
  background-size: cover;
}

.chatbot-video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), transparent 38%, rgba(0,0,0,0.42));
  content: "";
}

.video-pill {
  position: absolute;
  z-index: 1;
  top: 18px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0,0,0,0.2);
}

.video-pill.premium {
  left: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff9e19, #ff6b00);
}

.video-pill.type {
  right: 18px;
  color: #0a1020;
  background: rgba(255,255,255,0.9);
}

.short-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 999px;
  color: #06101b;
  background: linear-gradient(135deg, var(--primary), #49d7ff);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 46px rgba(34,195,255,0.28);
  font-weight: 900;
}

.chatbot-video-body {
  padding: 18px;
}

.chatbot-video-body h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.chatbot-video-body p {
  display: -webkit-box;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.freebie-grid {
  column-count: 3;
  column-gap: 22px;
}

.freebie-card {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  margin: 0 0 22px;
  break-inside: avoid;
  border: 1px solid rgba(34,195,255,0.18);
  border-radius: 24px;
  background: rgba(11,17,32,0.92);
  box-shadow: 0 22px 58px rgba(0,0,0,0.24);
}

.freebie-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(34,195,255,0.16), transparent 30%),
    #0b1120;
  background-position: center;
  background-size: cover;
}

.freebie-card.is-short .freebie-media {
  aspect-ratio: 9 / 16;
}

.freebie-card.is-wide .freebie-media,
.freebie-card.is-image .freebie-media {
  aspect-ratio: auto;
}

.freebie-body {
  padding: 18px;
}

.freebie-body h3 {
  margin: 0 0 10px;
  color: #4bd3ff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.freebie-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-page {
  padding-top: 52px;
}

.about-intro-grid,
.about-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.about-visual,
.about-vision-image {
  min-height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 28%, rgba(34,195,255,0.22), transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(124,77,255,0.18), transparent 34%),
    rgba(17,31,48,0.78);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(34,195,255,0.16);
}

.about-copy h1,
.about-text-section h2,
.about-social-section h2,
.about-vision-section h2 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-copy p,
.about-text-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.about-text-section,
.about-social-section,
.about-vision-section {
  margin-top: 70px;
}

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

.about-social-grid article,
.about-vision-list article {
  border: 1px solid rgba(34,195,255,0.14);
  border-radius: 18px;
  background: rgba(17,31,48,0.78);
  padding: 24px;
}

.social-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,195,255,0.22), rgba(124,77,255,0.18));
  color: #fff;
  font-weight: 900;
}

.about-social-grid h3 {
  margin: 0 0 8px;
}

.about-social-grid p {
  color: var(--muted);
}

.about-social-grid a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #2777ff);
  padding: 0 18px;
  color: #06101b;
  font-weight: 900;
  text-decoration: none;
}

.about-vision-section h2 {
  text-align: center;
}

.about-vision-grid {
  margin-top: 34px;
}

.about-vision-list {
  display: grid;
  gap: 14px;
}

.about-vision-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.about-vision-list span {
  font-size: 1.35rem;
}

.about-vision-list strong {
  line-height: 1.6;
}

.cart-page {
  padding-top: 54px;
}

.cart-page h1 {
  margin: 18px 0 24px;
}

.cart-voucher-banner {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.35fr;
  gap: 14px;
  margin: 0 0 22px;
  border: 1px solid rgba(245, 194, 46, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 194, 46, 0.1), transparent 34%),
    rgba(17,31,48,0.68);
  padding: 16px;
}

.cart-voucher-banner div {
  display: grid;
  gap: 5px;
}

.cart-voucher-banner span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.cart-voucher-banner strong {
  color: var(--text);
  line-height: 1.35;
}

.cart-table,
.banking-panel,
.checkout-summary {
  border: 1px solid rgba(34,195,255,0.14);
  border-radius: 18px;
  background: rgba(17,31,48,0.78);
}

.cart-head,
.cart-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) 118px 132px 96px minmax(270px, 1.45fr) 150px 56px;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.cart-head {
  color: var(--text);
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-row {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cart-product {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.cart-product strong {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.28;
}

.cart-thumb {
  width: 62px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  background-position: center;
  background-size: cover;
}

.cart-row select {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--text);
  background: #1b2638;
  padding: 0 12px;
}

.cart-price {
  color: #F5C22E;
}

.qty-stepper {
  display: grid;
  grid-template-columns: 28px 34px 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(34,195,255,0.2);
  border-radius: 8px;
  background: rgba(34,195,255,0.06);
}

.qty-stepper button {
  min-height: 32px;
  border: 0;
  color: var(--primary);
  background: transparent;
  font-weight: 900;
}

.qty-stepper span {
  text-align: center;
  font-weight: 900;
}

.cart-remove {
  border: 0;
  color: #ff4b4b;
  background: transparent;
  font-weight: 900;
}

.cart-voucher-cell {
  display: grid;
  gap: 3px;
}

.cart-voucher-cell > span {
  color: #25f5a8;
  font-weight: 900;
  font-size: 0.82rem;
}

.cart-voucher-cell small,
.order-voucher-box small {
  color: #25f5a8;
  font-weight: 800;
  line-height: 1.35;
}

.row-voucher-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 6px;
  align-items: center;
}

.row-voucher-form input {
  min-width: 0;
  min-height: 31px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text);
  background: rgba(5, 8, 22, 0.42);
  padding: 0 10px;
  font-weight: 800;
}

.row-voucher-form button {
  min-height: 31px;
  border: 0;
  border-radius: 999px;
  color: #07101f;
  background: linear-gradient(135deg, var(--primary), #78e6ff 68%, var(--gold));
  font-weight: 900;
}

.clear-row-voucher {
  justify-self: start;
  border: 1px solid rgba(255, 115, 125, 0.24);
  border-radius: 999px;
  color: #ffd3d6;
  background: rgba(255, 89, 100, 0.08);
  padding: 5px 9px;
  font-size: 0.76rem;
  font-weight: 850;
}

.order-voucher-box {
  display: grid !important;
  gap: 8px !important;
  border: 1px solid rgba(245, 194, 46, 0.18);
  border-radius: 14px;
  background: rgba(245, 194, 46, 0.06);
  padding: 12px;
}

.order-voucher-box > span {
  color: var(--text);
  font-weight: 900;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  margin-top: 28px;
}

.banking-panel,
.checkout-summary {
  padding: 26px;
}

.payment-method {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  padding: 14px;
  font-weight: 800;
}

.banking-info {
  display: grid;
  gap: 10px;
}

.banking-info div,
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.banking-info strong,
.checkout-summary strong {
  color: var(--text);
}

.checkout-summary {
  display: grid;
  gap: 18px;
  align-content: start;
}

.voucher-box {
  display: grid !important;
  gap: 12px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  border: 1px solid rgba(245, 194, 46, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 194, 46, 0.08), rgba(34, 195, 255, 0.05));
  padding: 14px;
}

.voucher-box label {
  color: var(--text);
  font-weight: 900;
}

.voucher-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px !important;
  align-items: center !important;
}

.voucher-form input {
  min-height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(5, 8, 22, 0.48);
  padding: 0 14px;
}

.voucher-ok,
.voucher-error {
  display: block;
  font-weight: 800;
  line-height: 1.45;
}

.voucher-ok {
  color: #25f5a8;
}

.voucher-error {
  color: #ff737d;
}

.voucher-clear-button {
  min-height: 44px;
  border: 1px solid rgba(255, 115, 125, 0.28);
  border-radius: 12px;
  color: #ffb3b8;
  background: rgba(255, 115, 125, 0.08);
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.voucher-clear-button:hover {
  color: #fff;
  border-color: rgba(255, 115, 125, 0.45);
  background: rgba(255, 115, 125, 0.16);
}

.clear-voucher {
  justify-self: start;
  border: 1px solid rgba(255, 115, 125, 0.28);
  border-radius: 999px;
  color: #ffd3d6;
  background: rgba(255, 89, 100, 0.08);
  padding: 8px 12px;
  font-weight: 800;
}

.voucher-equation strong {
  font-size: 0.9rem;
}

.checkout-summary hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.checkout-total strong {
  color: #F5C22E;
}

.demo-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 17, 32, 0.62);
  overflow: hidden;
}

.demo-tabs {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.demo-tab {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.demo-tab.is-active {
  color: var(--text);
  border-color: rgba(34, 195, 255, 0.28);
  background: rgba(34, 195, 255, 0.1);
}

.demo-panel {
  padding: 24px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 110px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.step-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #03111f;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #92eeff);
}

.step-title {
  font-weight: 800;
}

.step-desc {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.step-status {
  color: var(--green);
  font-weight: 800;
  text-align: right;
}

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

.pricing-card {
  position: relative;
  border-radius: 24px;
  padding: 26px;
}

.pricing-card.featured {
  border-color: rgba(34, 195, 255, 0.28);
  box-shadow: 0 0 70px rgba(34, 195, 255, 0.12);
}

.price {
  margin: 22px 0;
  font-family: Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.price small {
  color: var(--muted-2);
  font: 600 0.92rem Inter, sans-serif;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li::before {
  content: "+";
  margin-right: 9px;
  color: var(--primary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.testimonial-card {
  border-radius: 24px;
  padding: 28px;
}

.quote {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-item p {
  display: none;
  margin-top: 12px;
}

.faq-item.is-open p {
  display: block;
}

.cta-footer {
  text-align: center;
}

.cta-footer h2 {
  max-width: 780px;
  margin: 0 auto 18px;
  font-family: Inter, sans-serif;
  font-size: 34px;
  line-height: 1.15;
}

.newsletter-inline {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.newsletter-inline input {
  width: min(420px, 100%);
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  padding: 0 18px;
  outline: 0;
}

.newsletter-inline input:focus {
  border-color: rgba(34, 195, 255, 0.45);
}

.subpage {
  padding-top: 58px;
}

.filterbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.chip.is-active {
  color: var(--text);
  border-color: var(--gold-line);
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.1), rgba(222, 155, 16, 0.1));
}

.product-page {
  padding: 28px 0 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-weight: 700;
}

.back-link::before {
  content: "<";
  margin-right: 8px;
  color: var(--primary);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 42px;
  align-items: start;
}

.product-media {
  min-width: 0;
}

.sales-hero-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.62)),
    radial-gradient(circle at 18% 18%, var(--accent-a), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(222, 155, 16, 0.18), transparent 26%),
    radial-gradient(circle at 68% 78%, var(--accent-b), transparent 34%),
    #0a1020;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.46), 0 0 70px rgba(34, 195, 255, 0.08), 0 0 50px rgba(222, 155, 16, 0.06);
}

.sales-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
}

.sales-dashboard {
  position: absolute;
  inset: 38px;
  display: grid;
  align-items: end;
}

.sales-window {
  overflow: hidden;
  max-width: 760px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(5, 8, 22, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.wide-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.16), rgba(124, 77, 255, 0.12)),
    rgba(255, 255, 255, 0.03);
}

.preview-orb {
  width: 170px;
  height: 170px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 90px rgba(34, 195, 255, 0.32);
}

.preview-lines {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: grid;
  gap: 9px;
}

.preview-lines i,
.preview-row b {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.preview-lines i:nth-child(2) {
  width: 72%;
}

.preview-lines i:nth-child(3) {
  width: 48%;
}

.preview-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.6fr;
  gap: 12px;
  padding: 16px;
}

.sales-floating {
  position: absolute;
  right: 26px;
  top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(222, 155, 16, 0.24);
  border-radius: 18px;
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(18px);
}

.sales-floating strong,
.sales-floating small {
  display: block;
}

.sales-floating small {
  margin-top: 5px;
  color: var(--muted);
}

.gallery-count {
  position: absolute;
  right: 22px;
  bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-weight: 800;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 12px;
  margin-top: 18px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, var(--accent-a), transparent 34%),
    radial-gradient(circle at 76% 70%, var(--accent-b), transparent 38%),
    #0b1120;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: rgba(222, 155, 16, 0.72);
  box-shadow: 0 0 0 2px rgba(222, 155, 16, 0.12), 0 0 24px rgba(222, 155, 16, 0.16);
}

.gallery-thumb span {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
}

.purchase-panel {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.purchase-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.save-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.purchase-panel h1 {
  margin: 24px 0 14px;
  font-family: Inter, sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.06;
}

.purchase-panel > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

.price-panel,
.term-box,
.combo-card,
.product-info-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(18px);
}

.price-panel {
  border-color: rgba(222, 155, 16, 0.14);
}

.price-panel {
  padding: 24px;
}

.price-panel > span,
.term-head span {
  color: var(--muted-2);
  font-weight: 700;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
}

.product-price strong {
  color: #ff5964;
  font-family: Inter, sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
}

.product-price del {
  color: var(--muted-2);
  font-size: 1.08rem;
}

.product-price em {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(37, 245, 168, 0.12);
  font-style: normal;
  font-weight: 800;
}

.price-panel small {
  color: var(--green);
  font-weight: 800;
}

.term-box {
  margin-top: 18px;
  padding: 20px;
  border-color: rgba(222, 155, 16, 0.28);
  box-shadow: 0 0 36px rgba(34, 195, 255, 0.06), 0 0 28px rgba(222, 155, 16, 0.07);
}

.term-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

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

.term-option {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
}

.term-option.is-active {
  border-color: rgba(222, 155, 16, 0.74);
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.08), rgba(222, 155, 16, 0.12));
  box-shadow: inset 0 0 0 1px rgba(222, 155, 16, 0.16);
}

.term-option strong {
  color: var(--gold);
  font-family: Inter, sans-serif;
  font-size: 1rem;
}

.term-option small {
  color: var(--muted-2);
}

.buy-button,
.copy-button {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
}

.buy-button {
  border: 0;
  color: #03111f;
  background: linear-gradient(135deg, #F5C22E, #c9880a);
  box-shadow: 0 0 34px rgba(245, 194, 46, 0.2), 0 0 28px rgba(245, 194, 46, 0.12);
}

.copy-button {
  border: 1px solid rgba(245, 194, 46, 0.34);
  color: #F5C22E;
  background: rgba(245, 194, 46, 0.06);
}

.combo-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
}

.combo-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #03111f;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--gold));
  font-weight: 900;
}

.combo-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-sections {
  display: grid;
  gap: 24px;
  margin-top: 54px;
}

.product-info-card {
  padding: 28px;
}

.product-info-card h2 {
  margin: 16px 0;
  font-family: Inter, sans-serif;
  font-size: 26px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.detail-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(222, 155, 16, 0.48);
}

.product-video {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(95, 45, 18, 0.72), rgba(11, 17, 32, 0.2), rgba(95, 45, 18, 0.72)),
    radial-gradient(circle at 50% 40%, var(--accent-a), transparent 26%),
    #111827;
}

.admin-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.play-button {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  color: #fff;
  background: #ff1e1e;
  box-shadow: 0 0 42px rgba(255, 30, 30, 0.35);
  font-weight: 900;
}

.video-caption {
  position: absolute;
  left: 18px;
  top: 18px;
  max-width: 520px;
  font-weight: 800;
}

.shop-product-page {
  padding: 24px 0 72px;
}

.shop-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.shop-gallery {
  min-width: 0;
}

.shop-main-shot {
  display: grid;
  place-items: center;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 16%, var(--accent-a), transparent 28%),
    radial-gradient(circle at 78% 78%, var(--accent-b), transparent 32%),
    #171928;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}

.shop-shot-placeholder {
  display: grid;
  place-items: center;
  width: min(520px, 86%);
  min-height: 300px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background:
    linear-gradient(rgba(0,255,100,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,100,0.1) 1px, transparent 1px),
    rgba(0,0,0,0.35);
  background-size: 22px 22px;
  text-align: center;
}

.shop-shot-placeholder strong,
.shop-shot-placeholder span {
  display: block;
}

.shop-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.shop-thumb {
  position: relative;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 20%, var(--accent-a), transparent 30%),
    radial-gradient(circle at 70% 80%, var(--accent-b), transparent 34%),
    #172033;
  background-position: center;
  background-size: cover;
}

.shop-thumb.is-active {
  border-color: rgba(222,155,16,0.7);
  box-shadow: 0 0 0 2px rgba(222,155,16,0.13);
}

.shop-thumb span {
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  font-size: 0.72rem;
  font-weight: 800;
}

.shop-summary h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
}

.shop-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.shop-rating span {
  color: #ffd84d;
  font-size: 1.45rem;
  letter-spacing: 1px;
}

.shop-rating small {
  color: var(--muted);
  font-weight: 800;
}

.shop-rating small strong {
  color: var(--gold);
}

.shop-rating em {
  padding: 5px 10px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #7c4dff, #b66bff);
  font-style: normal;
  font-weight: 900;
}

.shop-description,
.shop-detail-panel,
.shop-guide-panel {
  border-radius: 12px;
  background: #202b3a;
  padding: 20px;
}

.shop-description h2,
.shop-detail-panel h2,
.shop-guide-panel h2 {
  margin: 0 0 16px;
  font-size: 1.12rem;
}

.shop-description p,
.shop-detail-panel li,
.shop-guide-panel li {
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
  font-weight: 650;
}

.shop-plan-line {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.shop-plan-line strong {
  color: #F5C22E;
}

.shop-plan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.shop-plan {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(245, 194, 46, 0.48);
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font-weight: 900;
}

.shop-plan.is-active {
  color: #07101f;
  background: #F5C22E;
  border-color: #F5C22E;
}

.shop-countdown {
  margin-top: 20px;
  color: #ff6d75;
  font-weight: 900;
}

.shop-countdown span,
.shop-bottom-offer b {
  display: inline-flex;
  min-width: 30px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(255,89,100,0.12);
  color: #ff7b83;
}

.shop-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  font-weight: 900;
}

.shop-price-row del {
  color: #ff6b6b;
  background: rgba(255,89,100,0.12);
  padding: 2px 8px;
  border-radius: 5px;
}

.shop-price-row strong {
  color: #ffd600;
  font-size: 1.18rem;
}

.shop-price-row small {
  color: var(--green);
}

.shop-voucher-saving {
  margin-top: 10px;
  color: rgba(255,255,255,0.86);
  font-weight: 850;
}

.shop-voucher-saving strong {
  color: #25f5a8;
}

.product-voucher-box {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid rgba(34,195,255,0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(34,195,255,0.075), rgba(245,194,46,0.055)),
    rgba(8, 13, 26, 0.55);
  padding: 14px;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 136px !important;
}

.product-voucher-box .clear-voucher {
  justify-self: start;
}

.shop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  padding: 0 6px;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 62px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 900;
}

.shop-actions .copy-button {
  color: #f5c22e;
  border-color: rgba(245, 194, 46, 0.44);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(245, 194, 46, 0.035);
}

.shop-actions .buy-button {
  color: #07101d;
  background: linear-gradient(135deg, #f5c22e, #e0a10f 74%, #c88405);
  box-shadow: 0 20px 56px rgba(222, 155, 16, 0.22);
}

.shop-feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 44px;
  border: 1px solid rgba(245, 194, 46, 0.2);
  border-radius: 16px;
  background: rgba(17,31,48,0.78);
  padding: 10px;
}

.shop-feature-strip div {
  min-height: 66px;
  border: 1px solid rgba(245, 194, 46, 0.18);
  border-radius: 10px;
  padding: 12px;
}

.shop-feature-strip strong,
.shop-feature-strip span {
  display: block;
}

.shop-feature-strip strong {
  color: #F5C22E;
}

.shop-feature-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.shop-section-card,
.shop-related,
.shop-why,
.shop-bottom-offer {
  margin-top: 34px;
}

.admin-like-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.admin-like-list article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.72);
  padding: 16px 18px;
}

.admin-like-list p {
  margin: 7px 0 0;
  color: var(--muted);
}

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

.resource-grid article {
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

.resource-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid rgba(245, 194, 46, 0.42);
  border-radius: 8px;
  color: #07101f;
  background: #F5C22E;
  font-weight: 900;
}

.shop-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  border: 1px solid rgba(245, 194, 46, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.08), rgba(245, 194, 46, 0.075)),
    rgba(17, 24, 39, 0.58);
  padding: 0 22px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.shop-section-head::-webkit-details-marker {
  display: none;
}

.shop-section-head span {
  color: #F5C22E;
}

.shop-section-head b {
  margin-left: auto;
  color: #F5C22E;
  font-size: 1.25rem;
  line-height: 1;
}

.shop-accordion-card[open] .shop-section-head b {
  transform: rotate(45deg);
}

.shop-section-head.guide {
  border-color: rgba(245, 194, 46, 0.32);
  background: rgba(245, 194, 46, 0.08);
}

.shop-section-head small {
  color: var(--muted);
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 800;
}

.shop-tool-detail-card {
  overflow: hidden;
}

.tool-detail-head {
  justify-content: flex-start;
}

.tool-detail-head::before {
  content: "▤";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  color: #22c3ff;
  font-size: 1.15rem;
}

.shop-tool-detail-body {
  display: grid;
  gap: 22px;
  margin-top: 18px;
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.86);
  padding: clamp(22px, 3vw, 34px);
  color: rgba(248, 250, 252, 0.94);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.shop-tool-detail-body p {
  margin: 0;
  white-space: pre-wrap;
}

:root[data-theme="light"] .shop-tool-detail-body {
  background: #ffffff;
  color: #172033;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.shop-detail-panel,
.shop-guide-panel {
  margin-top: 16px;
  padding: 28px;
}

.shop-detail-panel ul,
.shop-guide-panel ul {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-detail-panel li::before {
  content: "👉";
  margin-right: 8px;
}

.shop-guide-panel li::before {
  content: "➡";
  margin-right: 8px;
}

.update-log-list {
  display: grid;
  gap: 12px;
  padding: 0;
}

.preserved-lines {
  display: grid;
  gap: 12px;
}

.preserved-lines p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  white-space: pre-wrap;
  line-height: 1.65;
  font-weight: 650;
}

.update-log-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(245, 194, 46, 0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 12px 14px;
}

.update-log-list li::before {
  content: "" !important;
  display: none;
}

.update-log-list time {
  color: #F5C22E;
  font-weight: 900;
}

.update-log-list span {
  color: var(--text);
  line-height: 1.55;
}

.shop-video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 12px;
}

.shop-video-tabs button {
  display: -webkit-box;
  max-width: 220px;
  min-height: 38px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--text);
  background: transparent;
  font-weight: 900;
  line-height: 1.3;
  overflow: hidden;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-video-tabs button.is-active {
  color: #F5C22E;
  border-color: #F5C22E;
}

.shop-video-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 10px solid #202b3a;
  border-radius: 18px;
  background: #000;
  background-position: center;
  background-size: cover;
}

.compact-media .shop-video-frame {
  width: min(640px, 100%);
}

.shop-video-frame .admin-video {
  position: relative;
  z-index: 2;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #000;
  object-fit: cover;
}

.shop-video-frame .shop-youtube-frame {
  display: block;
}

.shop-video-frame:has(.admin-video) {
  background-image: none !important;
  background: #000 !important;
}

.shop-video-frame.image-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.3)),
    #111827;
  background-position: center;
  background-size: cover;
}

.video-empty {
  color: #F5C22E;
  font-weight: 900;
}

.shop-media-image {
  width: min(720px, 100%);
  margin: 16px auto 0;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 46, 0.22);
  border-radius: 18px;
  background: #111827;
}

.compact-media .shop-media-image {
  width: min(640px, 100%);
}

.shop-media-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shop-media-copy {
  width: min(720px, 100%);
  margin: 16px auto 0;
  border: 1px solid rgba(245, 194, 46, 0.14);
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.72);
  padding: 16px 18px;
}

.compact-media .shop-media-copy {
  width: min(640px, 100%);
}

.shop-media-copy h3 {
  margin: 0 0 8px;
  color: #F5C22E;
  font-size: 1rem;
}

.shop-media-copy p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
}

.media-article-grid {
  display: grid;
  gap: 18px;
}

.shop-demo-guide-part {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(245, 194, 46, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
}

.shop-demo-guide-part .shop-media-copy {
  margin-top: 0;
}

.shop-demo-guide-part .media-unit:first-child {
  margin-top: 0;
}

.media-unit {
  width: min(720px, 100%);
  margin: 0 auto;
}

.media-unit > strong {
  display: block;
  margin-top: 10px;
  color: #F5C22E;
}

.compact-copy {
  width: 100%;
}

.loader-ring {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(245, 194, 46, 0.2);
  border-top-color: #F5C22E;
  border-radius: 999px;
  animation: spin 900ms linear infinite;
}

.shop-related-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.shop-related-head h2,
.shop-why h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.shop-related-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 194, 46, 0.48);
  border-radius: 8px;
  color: #F5C22E;
  background: rgba(245, 194, 46, 0.08);
}

.shop-related-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.shop-related-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #202b3a;
  padding: 12px;
}

.related-image {
  min-height: 170px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 20%, var(--accent-a), transparent 30%),
    radial-gradient(circle at 80% 70%, var(--accent-b), transparent 34%),
    #101827;
  background-position: center;
  background-size: cover;
}

.shop-related-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
}

.shop-related-card p {
  display: -webkit-box;
  min-height: calc(1.55em * 3);
  max-height: calc(1.55em * 3);
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.shop-related-card del {
  color: #ff5964;
  margin-right: 8px;
}

.shop-related-card strong {
  display: block;
  color: #F5C22E;
  font-size: 1.05rem;
}

.shop-why {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 46, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(245, 194, 46, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(124, 77, 255, 0.18), transparent 30%),
    rgba(11, 17, 32, 0.7);
  padding: 34px;
  text-align: center;
}

.shop-why::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(245, 194, 46, 0.08), transparent);
  content: "";
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.why-grid article {
  position: relative;
  min-height: 140px;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 46, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent),
    rgba(17, 24, 39, 0.78);
  padding: 22px;
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.why-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 194, 46, 0.42);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), 0 0 34px rgba(245, 194, 46, 0.1);
}

.why-grid article span {
  position: absolute;
  right: 18px;
  bottom: 8px;
  color: rgba(245, 194, 46, 0.1);
  font-size: 5rem;
  font-weight: 900;
}

.why-grid article strong {
  display: block;
  max-width: 250px;
  color: #F5C22E;
  font-size: 1.02rem;
  line-height: 1.45;
}

.why-grid article p {
  max-width: 280px;
  color: rgba(255,255,255,0.75);
  font-size: 0.86rem;
  line-height: 1.55;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.achievement-grid div {
  border: 1px solid rgba(245, 194, 46, 0.26);
  border-radius: 16px;
  background: rgba(245, 194, 46, 0.08);
  padding: 34px 18px;
}

.achievement-grid strong,
.achievement-grid span {
  display: block;
}

.achievement-grid strong {
  color: #F5C22E;
  font-size: 2.5rem;
  line-height: 1;
}

.achievement-grid span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-bottom-offer {
  display: grid;
  place-items: center;
  gap: 12px;
  border: 1px solid rgba(255,89,100,0.22);
  border-radius: 10px;
  background: rgba(255,89,100,0.06);
  padding: 20px;
  color: #ff7b83;
  font-weight: 900;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  width: min(920px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: #080c18;
  padding: 20px;
  box-shadow: var(--shadow);
}

.modal.is-video-modal .modal-panel {
  grid-template-columns: 1fr;
  width: min(980px, 100%);
}

.modal.is-short-video .modal-panel {
  width: min(460px, 100%);
}

.modal.is-video-modal .modal-panel > div:last-child {
  display: none;
}

.modal-preview {
  min-height: 320px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 195, 255, 0.28), transparent 25%),
    radial-gradient(circle at 70% 70%, rgba(124, 77, 255, 0.24), transparent 30%),
    var(--card);
}

.modal.is-video-modal .modal-preview {
  width: 100%;
  min-height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.modal.is-short-video .modal-preview {
  aspect-ratio: 9 / 16;
}

.video-modal-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.modal h3 {
  margin: 18px 0 12px;
  font-family: Inter, sans-serif;
  font-size: 1.72rem;
}

.modal p {
  color: var(--muted);
  line-height: 1.75;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(11, 17, 32, 0.92);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.mobile-menu,
.backdrop {
  display: none;
}

@keyframes meshDrift {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(12deg);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes progressPulse {
  from {
    width: 58%;
  }
  to {
    width: 88%;
  }
}

@media (max-width: 1180px) {
  .about-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .freebie-grid {
    column-count: 2;
  }

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

  .cart-head {
    display: none;
  }

  .cart-row,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .cart-row {
    gap: 12px;
  }
}

@media (max-width: 920px) {
  .cart-voucher-banner {
    grid-template-columns: 1fr;
  }

  .compact-voucher-form,
  .voucher-form {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 920px) {
  .about-intro-grid,
  .about-vision-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .about-social-grid {
    grid-template-columns: 1fr;
  }

  .freebie-grid {
    column-count: 1;
  }

  .chatbot-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .sidebar {
    position: fixed;
    z-index: 60;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--side);
    border-radius: 0 22px 22px 0;
    transform: translateX(-100%);
    transition: transform 200ms ease;
  }

  .main-frame {
    border: 0;
    border-radius: 0;
  }

  .topbar {
    top: 0;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .backdrop.is-open {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    background: rgba(0, 0, 0, 0.58);
  }

  .mobile-menu {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    place-content: center;
  }

  .mobile-menu span {
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .hero,
  .console-body,
  .demo-shell,
  .testimonial-grid,
  .product-layout,
  .shop-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .demo-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tool-grid,
  .stats-grid,
  .pricing-grid,
  .shop-feature-strip,
  .shop-related-grid,
  .why-grid,
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .purchase-panel {
    position: static;
  }

  .shop-related-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 0 16px;
  }

  .topnav {
    display: none;
  }

  .page-root {
    padding: 0 14px 44px;
  }

  .hero {
    gap: 24px;
    padding-top: 28px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 32px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .social-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
  }

  .section-head,
  .newsletter-inline {
    align-items: stretch;
    flex-direction: column;
  }

  .tool-grid,
  .stats-grid,
  .pricing-grid,
  .shop-feature-strip,
  .product-faq-grid,
  .resource-grid,
  .shop-related-grid,
  .why-grid,
  .achievement-grid,
  .demo-tabs,
  .modal-panel,
  .term-grid {
    grid-template-columns: 1fr;
  }

  .shop-main-shot {
    min-height: 300px;
  }

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

  .shop-actions {
    grid-template-columns: 1fr;
  }

  .shop-related-card {
    flex-basis: 86%;
  }

  .product-page {
    padding-top: 22px;
  }

  .product-layout {
    gap: 28px;
  }

  .sales-dashboard {
    inset: 18px;
  }

  .wide-preview {
    min-height: 180px;
  }

  .preview-orb {
    width: 112px;
    height: 112px;
    border-radius: 32px;
  }

  .sales-floating {
    left: 14px;
    right: 14px;
    top: 14px;
  }

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

  .purchase-topline,
  .term-head {
    align-items: stretch;
    flex-direction: column;
  }

  .product-video {
    min-height: 300px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .timeline-step {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .step-status {
    grid-column: 2;
    text-align: left;
  }

  .cta-footer h2 {
    font-size: 34px;
  }
}

/* Final premium compact pass */
.home-category-section {
  padding: 20px 0 8px;
}

.home-section-kicker {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.home-section-kicker span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-section-kicker strong {
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-category-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 22px;
  text-align: left;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(124, 58, 237, 0.08)),
    rgba(15, 23, 42, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-category-card span {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 2px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 190, 36, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
}

.home-category-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.home-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-category-card em {
  margin-top: auto;
  color: #7dd3fc;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

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

.home-video-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.home-freebie-grid {
  column-count: 3;
}

.home-about-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.68));
}

.home-about-strip h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.home-about-strip p {
  max-width: 860px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-about-metrics {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(245, 190, 36, 0.22);
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.36);
}

.home-about-metrics strong {
  color: var(--gold);
  font-size: 2rem;
}

.home-about-metrics span {
  color: var(--muted);
  font-weight: 700;
}

.cart-page {
  padding-top: 28px;
}

.cart-page h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  letter-spacing: 0;
}

.cart-table {
  overflow: hidden;
  border-radius: 22px;
}

.cart-head,
.cart-row {
  grid-template-columns: minmax(180px, 1.05fr) 128px 128px 112px 118px minmax(170px, 0.9fr) 52px !important;
  gap: 18px !important;
  align-items: center;
}

.cart-head {
  padding: 18px 18px !important;
}

.cart-row {
  min-height: 98px;
  padding: 20px 18px !important;
}

.cart-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.cart-product strong {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  line-height: 1.25;
}

.cart-thumb {
  width: 72px !important;
  height: 48px !important;
  border-radius: 11px;
}

.cart-row select {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
}

.qty-stepper {
  width: 102px !important;
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 10px !important;
}

.qty-stepper button {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  font-size: 0.95rem !important;
}

.qty-stepper span {
  font-size: 1rem !important;
}

.cart-voucher-cell {
  display: grid !important;
  gap: 2px !important;
  justify-items: start !important;
  min-width: 0;
}

.cart-voucher-cell span {
  color: var(--green);
  font-size: 0.82rem !important;
  font-weight: 900;
  white-space: nowrap;
}

.cart-voucher-cell small {
  color: rgba(52, 211, 153, 0.9);
  font-size: 0.66rem !important;
  font-weight: 800;
}

.cart-price {
  font-size: 1rem !important;
  white-space: nowrap;
}

.cart-total-price {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--gold);
  font-size: 1.12rem !important;
}

.cart-remove {
  justify-self: end;
  padding: 0 !important;
  min-height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: #ff5b5b !important;
  font-size: 0.86rem !important;
  font-weight: 900;
}

.checkout-grid {
  gap: 24px !important;
  margin-top: 22px !important;
}

.checkout-summary {
  gap: 14px !important;
  padding: 24px !important;
}

.order-voucher-box {
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.order-voucher-box > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.order-voucher-box small {
  color: var(--green) !important;
  font-size: 0.75rem !important;
  font-weight: 850;
}

.row-voucher-form {
  grid-template-columns: minmax(0, 1fr) 78px !important;
  gap: 8px !important;
}

.voucher-input-shell {
  position: relative;
}

.voucher-input-shell input {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 34px 0 12px !important;
  border-radius: 11px !important;
  font-size: 0.86rem !important;
}

.voucher-x.inside-input {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 91, 91, 0.14) !important;
  color: #ff8a8a !important;
  transform: translateY(-50%) !important;
}

.row-voucher-form button {
  min-height: 38px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
}

.checkout-summary > div:not(.order-voucher-box) {
  align-items: center;
}

.checkout-total strong {
  font-size: 1.24rem !important;
}

button,
.card-cta,
.primary-action,
.ghost-action,
.copy-button,
.buy-button,
.chip,
.back-link {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease, filter 0.16s ease;
}

button:hover,
.card-cta:hover,
.primary-action:hover,
.ghost-action:hover,
.copy-button:hover,
.chip:hover,
.back-link:hover {
  transform: translateY(-1px) scale(1.025);
}

.buy-button {
  position: relative;
  overflow: hidden;
}

.buy-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  opacity: 0;
  transition: transform 0.48s ease, opacity 0.24s ease;
  pointer-events: none;
}

.buy-button:hover {
  transform: translateY(-2px) scale(1.035);
  filter: saturate(1.12);
  box-shadow: 0 18px 46px rgba(245, 190, 36, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.buy-button:hover::after {
  opacity: 1;
  transform: translateX(430%) skewX(-18deg);
}

/* Luxury button system */
.card-cta,
.primary-action,
.ghost-action,
.buy-button,
.copy-button,
.back-link,
.login-button,
.cart-button,
.customer-save-button,
.customer-guide-button,
.customer-logout,
.gemlogin-guide-steps a,
.row-voucher-form button,
.faq-question,
.shop-plan,
.shop-related-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

a.card-cta {
  width: fit-content;
  min-width: 154px;
  min-height: 40px;
  padding: 0 18px;
  line-height: 1;
}

.card-cta {
  border: 1px solid rgba(255, 216, 128, 0.52);
  color: #fff6d8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(222, 155, 16, 0.32), rgba(105, 72, 18, 0.36));
  box-shadow:
    0 12px 30px rgba(222, 155, 16, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.card-cta.compact {
  min-width: 128px;
  min-height: 36px;
  padding: 0 16px;
}

.tag-row + .card-cta,
.tag-row + a.card-cta {
  margin-top: 14px;
}

.primary-action,
.buy-button,
.row-voucher-form button,
.customer-save-button {
  border: 0;
  color: #07111f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #35c9ff, #85e8ff 58%, #deb047);
  box-shadow:
    0 14px 36px rgba(34, 195, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.ghost-action,
.copy-button,
.back-link,
.login-button,
.cart-button,
.customer-guide-button,
.customer-logout,
.shop-plan,
.shop-related-head button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(16, 22, 38, 0.78);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] body {
  background: var(--bg);
}

:root[data-theme="light"] .mesh-bg {
  background:
    radial-gradient(circle at 18% 4%, rgba(34, 195, 255, 0.16), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(212, 175, 55, 0.14), transparent 24%),
    radial-gradient(circle at 50% 70%, rgba(124, 77, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #eef5fb 0%, #f8fbff 48%, #eef5fb 100%);
}

:root[data-theme="light"] .noise {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(8, 20, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 20, 45, 0.03) 1px, transparent 1px);
}

:root[data-theme="light"] .sidebar,
:root[data-theme="light"] .topbar,
:root[data-theme="light"] .main-frame {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .admin-like-list article,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .shop-section-card,
:root[data-theme="light"] .customer-panel,
:root[data-theme="light"] .modal-panel {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

:root[data-theme="light"] .topnav-link:hover,
:root[data-theme="light"] .topnav-link.is-active,
:root[data-theme="light"] .side-link:hover {
  background: rgba(8, 20, 45, 0.06);
}

:root[data-theme="light"] .side-link.is-active {
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.16), rgba(212, 175, 55, 0.12));
}

:root[data-theme="light"] .ghost-action,
:root[data-theme="light"] .copy-button,
:root[data-theme="light"] .back-link,
:root[data-theme="light"] .login-button,
:root[data-theme="light"] .cart-button,
:root[data-theme="light"] .customer-guide-button,
:root[data-theme="light"] .customer-logout,
:root[data-theme="light"] .shop-plan,
:root[data-theme="light"] .shop-related-head button,
:root[data-theme="light"] .theme-toggle {
  border-color: rgba(8, 20, 45, 0.12);
  color: rgba(8, 20, 45, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 14px 34px rgba(8, 20, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Light theme polish: calm daylight palette with premium contrast */
:root[data-theme="light"] .app-shell {
  background:
    linear-gradient(90deg, rgba(230, 239, 248, 0.62), rgba(255, 255, 255, 0.12)),
    transparent;
}

:root[data-theme="light"] .main-frame {
  border: 1px solid rgba(8, 20, 45, 0.08);
  background:
    radial-gradient(circle at 80% 8%, rgba(212, 175, 55, 0.18), transparent 26%),
    radial-gradient(circle at 18% 16%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.9));
}

:root[data-theme="light"] .sidebar,
:root[data-theme="light"] .topbar {
  border: 1px solid rgba(8, 20, 45, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .brand-mark,
:root[data-theme="light"] .avatar,
:root[data-theme="light"] .cart-button b {
  color: #082038;
  background: linear-gradient(135deg, #6ee7ff, #E5C97B);
}

:root[data-theme="light"] .brand strong,
:root[data-theme="light"] .topnav-link,
:root[data-theme="light"] .side-link,
:root[data-theme="light"] .hero-title,
:root[data-theme="light"] .section-title,
:root[data-theme="light"] .section-title h2,
:root[data-theme="light"] .home-section-kicker strong,
:root[data-theme="light"] .shop-summary h1,
:root[data-theme="light"] .shop-related-head h2,
:root[data-theme="light"] .shop-why h2,
:root[data-theme="light"] .faq-question,
:root[data-theme="light"] .tool-body h3,
:root[data-theme="light"] .chatbot-video-body h3,
:root[data-theme="light"] .freebie-body h3 {
  color: #081426;
}

:root[data-theme="light"] .hero-copy,
:root[data-theme="light"] .section-copy,
:root[data-theme="light"] .tool-body p,
:root[data-theme="light"] .chatbot-video-body p,
:root[data-theme="light"] .freebie-body p,
:root[data-theme="light"] .faq-item p,
:root[data-theme="light"] .home-category-card p,
:root[data-theme="light"] .shop-section-head small,
:root[data-theme="light"] .shop-related-card p {
  color: rgba(8, 20, 45, 0.68);
}

:root[data-theme="light"] .sidebar-status,
:root[data-theme="light"] .topnav-link.is-active,
:root[data-theme="light"] .side-link.is-active {
  border-color: rgba(212, 175, 55, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(212, 175, 55, 0.14)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .topnav-link:hover,
:root[data-theme="light"] .side-link:hover {
  border-color: rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.07);
}

:root[data-theme="light"] .home-category-card,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .chatbot-video-card,
:root[data-theme="light"] .freebie-card,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .admin-like-list article,
:root[data-theme="light"] .shop-description,
:root[data-theme="light"] .shop-detail-panel,
:root[data-theme="light"] .shop-guide-panel,
:root[data-theme="light"] .shop-section-card,
:root[data-theme="light"] .shop-related,
:root[data-theme="light"] .shop-why,
:root[data-theme="light"] .shop-bottom-offer,
:root[data-theme="light"] .shop-summary .product-voucher-box {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.9)),
    rgba(255, 255, 255, 0.88);
  color: #081426;
  box-shadow:
    0 18px 48px rgba(8, 20, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .tool-card:hover,
:root[data-theme="light"] .home-category-card:hover,
:root[data-theme="light"] .chatbot-video-card:hover,
:root[data-theme="light"] .freebie-card:hover,
:root[data-theme="light"] .shop-related-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 236, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 58px rgba(8, 20, 45, 0.12),
    0 14px 34px rgba(212, 175, 55, 0.16);
}

:root[data-theme="light"] .home-category-card span,
:root[data-theme="light"] .home-section-kicker span,
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .badge,
:root[data-theme="light"] .shop-rating em,
:root[data-theme="light"] .video-pill.premium {
  border: 1px solid rgba(212, 175, 55, 0.24);
  color: #8A6D1F;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(255, 255, 255, 0.84)),
    rgba(255, 255, 255, 0.74);
}

:root[data-theme="light"] .tag-row span,
:root[data-theme="light"] .card-meta span {
  border-color: rgba(37, 99, 235, 0.12);
  color: #0f5f84;
  background: rgba(37, 99, 235, 0.08);
}

:root[data-theme="light"] .home-category-card em,
:root[data-theme="light"] .shop-price-row small,
:root[data-theme="light"] .shop-voucher-saving strong {
  color: #047857;
}

:root[data-theme="light"] .stat-card strong,
:root[data-theme="light"] .shop-price-row strong,
:root[data-theme="light"] .shop-plan-line strong,
:root[data-theme="light"] .update-log-list time {
  color: #8A6D1F;
}

:root[data-theme="light"] .primary-action,
:root[data-theme="light"] .buy-button,
:root[data-theme="light"] .card-cta,
:root[data-theme="light"] .shop-actions .buy-button,
:root[data-theme="light"] .resource-link,
:root[data-theme="light"] .row-voucher-form button {
  border-color: rgba(212, 175, 55, 0.25);
  color: #ffffff;
  background:
    linear-gradient(135deg, #2563EB, #60A5FA);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

:root[data-theme="light"] .ghost-action,
:root[data-theme="light"] .copy-button,
:root[data-theme="light"] .back-link,
:root[data-theme="light"] .login-button,
:root[data-theme="light"] .cart-button,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .shop-actions .copy-button,
:root[data-theme="light"] .shop-related-head button {
  border-color: rgba(8, 20, 45, 0.1);
  color: #0b1b2d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.88)),
    rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .shop-main-shot,
:root[data-theme="light"] .shop-thumb,
:root[data-theme="light"] .tool-image,
:root[data-theme="light"] .chatbot-video-poster,
:root[data-theme="light"] .freebie-media {
  border-color: rgba(8, 20, 45, 0.08);
  box-shadow:
    0 18px 48px rgba(8, 20, 45, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] .shop-feature-strip,
:root[data-theme="light"] .home-about-strip,
:root[data-theme="light"] .shop-section-head {
  border-color: rgba(212, 175, 55, 0.24);
  color: #081426;
  background:
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(226, 237, 247, 0.86));
  box-shadow: 0 18px 48px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .shop-section-head span,
:root[data-theme="light"] .shop-feature-strip strong {
  color: #8A6D1F;
}

:root[data-theme="light"] .shop-feature-strip div,
:root[data-theme="light"] .update-log-list li,
:root[data-theme="light"] .shop-related-card {
  border-color: rgba(8, 20, 45, 0.1);
  background: rgba(255, 255, 255, 0.64);
}

:root[data-theme="light"] .shop-description p,
:root[data-theme="light"] .shop-detail-panel li,
:root[data-theme="light"] .shop-guide-panel li,
:root[data-theme="light"] .update-log-list span {
  color: rgba(8, 20, 45, 0.82);
}

:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea,
:root[data-theme="light"] .voucher-input,
:root[data-theme="light"] .cart-page input {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder {
  color: rgba(8, 20, 45, 0.42);
}

:root[data-theme="light"] .shop-video-tabs {
  border-bottom-color: rgba(8, 20, 45, 0.12);
}

:root[data-theme="light"] .shop-video-tabs button {
  color: rgba(8, 20, 45, 0.64);
}

:root[data-theme="light"] .shop-video-tabs button.is-active,
:root[data-theme="light"] .shop-video-tabs button:hover {
  color: #8A6D1F;
}

:root[data-theme="light"] .shop-video-frame {
  border-color: #e7eef7;
  box-shadow: 0 18px 48px rgba(8, 20, 45, 0.12);
}

/* Light theme UX emphasis: clearer sections, stronger cards, calmer focus */
:root[data-theme="light"] .page,
:root[data-theme="light"] .shop-product-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(212, 175, 55, 0.16), transparent 26%);
}

:root[data-theme="light"] .hero-title {
  text-shadow: 0 8px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .home-section-kicker,
:root[data-theme="light"] .section-head,
:root[data-theme="light"] .shop-related-head {
  position: relative;
}

:root[data-theme="light"] .home-section-kicker::after,
:root[data-theme="light"] .section-head::after,
:root[data-theme="light"] .shop-related-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D4AF37, rgba(37, 99, 235, 0.14));
}

:root[data-theme="light"] .home-category-card {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  border-color: rgba(8, 20, 45, 0.08);
  background:
    radial-gradient(circle at 86% 0%, rgba(212, 175, 55, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 253, 0.92));
}

:root[data-theme="light"] .home-category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #60A5FA, #C8A95B);
  opacity: 0.72;
}

:root[data-theme="light"] .home-category-card strong,
:root[data-theme="light"] .stat-card strong,
:root[data-theme="light"] .tool-body h3,
:root[data-theme="light"] .chatbot-video-body h3,
:root[data-theme="light"] .freebie-body h3 {
  letter-spacing: 0;
}

:root[data-theme="light"] .stat-card {
  position: relative;
  min-height: 98px;
  background:
    radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff, #f2f7fc);
}

:root[data-theme="light"] .stat-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(91, 216, 255, 0.2), rgba(241, 191, 61, 0.22));
}

:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .chatbot-video-card,
:root[data-theme="light"] .freebie-card {
  border-color: rgba(8, 20, 45, 0.12);
  box-shadow:
    0 20px 54px rgba(8, 20, 45, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

:root[data-theme="light"] .tool-image {
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow:
    0 10px 28px rgba(8, 20, 45, 0.12),
    inset 0 -38px 54px rgba(8, 20, 45, 0.12);
}

:root[data-theme="light"] .tool-body {
  padding-top: 18px;
}

:root[data-theme="light"] .card-cta,
:root[data-theme="light"] .primary-action,
:root[data-theme="light"] .buy-button {
  color: #06101b;
  text-shadow: none;
  box-shadow:
    0 14px 34px rgba(37, 99, 235, 0.14),
    0 10px 28px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

:root[data-theme="light"] .ghost-action,
:root[data-theme="light"] .shop-related-head button {
  box-shadow: 0 12px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .home-about-strip {
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 10%, rgba(212, 175, 55, 0.18), transparent 30%),
    radial-gradient(circle at 16% 0%, rgba(34, 195, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #0b1f36, #314152 58%, #6c6048);
  box-shadow:
    0 24px 64px rgba(8, 20, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] .home-about-strip h2,
:root[data-theme="light"] .home-about-strip strong {
  color: #ffffff;
}

:root[data-theme="light"] .home-about-strip p,
:root[data-theme="light"] .home-about-strip span {
  color: rgba(234, 244, 255, 0.78);
}

:root[data-theme="light"] .faq-item {
  min-height: 76px;
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
}

:root[data-theme="light"] .faq-question {
  color: #081426;
}

:root[data-theme="light"] .shop-summary {
  border-radius: 18px;
  padding: 4px 0 0;
}

:root[data-theme="light"] .shop-description,
:root[data-theme="light"] .shop-detail-panel,
:root[data-theme="light"] .shop-guide-panel,
:root[data-theme="light"] .shop-section-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
}

:root[data-theme="light"] .shop-section-head {
  min-height: 58px;
  border-color: rgba(212, 175, 55, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 222, 0.82));
}

:root[data-theme="light"] .shop-video-frame {
  border-width: 8px;
  background: #030712;
}

:root[data-theme="light"] .shop-related-card {
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .shop-why {
  background:
    radial-gradient(circle at 82% 8%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, #192638, #505966);
  color: #ffffff;
}

:root[data-theme="light"] .shop-why h2,
:root[data-theme="light"] .shop-why strong {
  color: #ffffff;
}

:root[data-theme="light"] .shop-why p,
:root[data-theme="light"] .shop-why span {
  color: rgba(234, 244, 255, 0.72);
}

:root[data-theme="light"] .customer-page-head {
  padding: 2px 0 8px;
}

:root[data-theme="light"] .customer-order-card {
  transform: translateZ(0);
}

:root[data-theme="light"] .customer-order-title-row h3 {
  font-size: 1.14rem;
}

:root[data-theme="light"] .customer-order-title-row p {
  color: rgba(8, 20, 45, 0.62);
}

:root[data-theme="light"] .customer-order-meta {
  color: #081426;
}

:root[data-theme="light"] .customer-profile-toggle,
:root[data-theme="light"] .customer-order-meta b {
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.16);
}

.topnav-link,
.side-link,
.chip {
  border: 1px solid transparent;
}

.card-cta:hover,
.primary-action:hover,
.ghost-action:hover,
.buy-button:hover,
.copy-button:hover,
.back-link:hover,
.login-button:hover,
.cart-button:hover,
.customer-save-button:hover,
.customer-guide-button:hover,
.customer-logout:hover,
.gemlogin-guide-steps a:hover,
.row-voucher-form button:hover,
.shop-plan:hover,
.shop-related-head button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow:
    0 18px 44px rgba(34, 195, 255, 0.14),
    0 12px 34px rgba(222, 155, 16, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.home-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 195, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.16), rgba(222, 155, 16, 0.06)),
    rgba(15, 23, 42, 0.84);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.28),
    0 12px 34px rgba(34, 195, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.card-cta:focus-visible,
.primary-action:focus-visible,
.ghost-action:focus-visible,
.buy-button:focus-visible,
.copy-button:focus-visible,
.back-link:focus-visible,
.login-button:focus-visible,
.cart-button:focus-visible,
.chip:focus-visible,
.side-link:focus-visible,
.topnav-link:focus-visible,
.customer-save-button:focus-visible,
.customer-guide-button:focus-visible,
.customer-logout:focus-visible,
.shop-plan:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px rgba(34, 195, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 44px rgba(34, 195, 255, 0.14);
}

/* Product media tabs: text-only luxury underline */
.shop-video-tabs {
  position: relative;
  align-items: flex-end;
  gap: 34px;
  margin: 22px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-video-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: min(360px, 100%);
  min-height: 42px;
  border: 0 !important;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 8px 12px;
  font-weight: 900;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.shop-video-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5c22e, #ffe08a);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.shop-video-tabs button.is-active {
  color: #f5c22e;
}

.shop-video-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.shop-video-tabs button:hover {
  color: #fff2c7;
  transform: none;
  filter: none;
}

.shop-video-tabs button:focus-visible {
  outline: 0;
  color: #fff2c7;
}

@media (max-width: 1180px) {
  .home-category-grid,
  .compact-home-grid,
  .home-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-freebie-grid {
    column-count: 2;
  }

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

  .cart-head,
  .cart-row {
    min-width: 980px;
  }
}

@media (max-width: 760px) {
  .home-section-kicker,
  .home-about-strip {
    grid-template-columns: 1fr;
  }

  .home-section-kicker {
    display: grid;
  }

  .home-category-grid,
  .compact-home-grid,
  .home-video-grid {
    grid-template-columns: 1fr;
  }

  .home-freebie-grid {
    column-count: 1;
  }

  .cart-page h1 {
    font-size: 2.25rem;
  }
}

/* ===== Hero slider — luxury frame + autoplay ===== */
.hero-slider-wrap {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 420px;
}

.hero-image-slider {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 26px;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 18%, rgba(34, 195, 255, 0.16), transparent 32%),
    radial-gradient(circle at 78% 78%, rgba(222, 155, 16, 0.14), transparent 36%),
    rgba(8, 13, 26, 0.6);
}

/* Luxury frame: viền kính mờ + glow nhẹ tĩnh */
.hero-luxury-frame {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(11, 17, 32, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(222, 155, 16, 0.18),
    0 18px 60px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(34, 195, 255, 0.12),
    0 0 22px rgba(222, 155, 16, 0.1);
}

.hero-luxury-frame::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid rgba(245, 194, 46, 0.22);
  box-shadow: inset 0 0 22px rgba(34, 195, 255, 0.06);
  content: "";
}

.hero-image-slider .hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 22px 26px;
  border: 0;
  border-radius: inherit;
  color: var(--text);
  background-color: #0a1020;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  text-align: left;
  opacity: 0;
  z-index: 1;
  transition: transform 200ms ease;
}

.hero-image-slider .hero-slide::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.55) 100%);
  content: "";
  z-index: -1;
}

.hero-image-slider .hero-slide span,
.hero-image-slider .hero-slide strong {
  position: relative;
  z-index: 2;
  max-width: 80%;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.hero-image-slider .hero-slide span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe8a3;
}

.hero-image-slider .hero-slide strong {
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero-image-slider .hero-slide:hover {
  transform: scale(1.005);
}

/* Fade luxury (mặc định) */
.hero-image-slider[data-slide-effect="fade"] .hero-slide {
  animation: heroSlideFade calc(var(--slide-duration) * var(--slide-count)) ease-in-out infinite;
  animation-delay: calc(var(--slide-duration) * var(--slide-index));
}

@keyframes heroSlideFade {
  0%, 3% { opacity: 0; transform: scale(1.025); }
  6%, 34% { opacity: 1; transform: scale(1); }
  38%, 100% { opacity: 0; transform: scale(1); }
}

/* Trượt ngang */
.hero-image-slider[data-slide-effect="slide"] .hero-slide {
  animation: heroSlideSlide calc(var(--slide-duration) * var(--slide-count)) ease-in-out infinite;
  animation-delay: calc(var(--slide-duration) * var(--slide-index));
}

@keyframes heroSlideSlide {
  0% { opacity: 0; transform: translateX(18%); }
  6%, 34% { opacity: 1; transform: translateX(0); }
  38%, 100% { opacity: 0; transform: translateX(-18%); }
}

/* Chạy qua chạy lại (ping-pong) */
.hero-image-slider[data-slide-effect="pingpong"] .hero-slide {
  animation: heroSlidePingPong calc(var(--slide-duration) * var(--slide-count)) ease-in-out infinite alternate;
  animation-delay: calc(var(--slide-duration) * var(--slide-index));
}

@keyframes heroSlidePingPong {
  0%, 3% { opacity: 0; transform: translateX(14%); }
  8%, 34% { opacity: 1; transform: translateX(0); }
  38%, 100% { opacity: 0; transform: translateX(-14%); }
}

/* Pause khi user hover để dễ click */
.hero-image-slider:hover .hero-slide {
  animation-play-state: paused;
}

/* Một slide thì hiện tĩnh */
.hero-image-slider[style*="--slide-count:1"] .hero-slide,
.hero-image-slider .hero-slide.is-first:only-child {
  opacity: 1;
  animation: none;
}

/* Dots */
.hero-slide-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.hero-slide-dots span {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.hero-slide-dots span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  animation: heroDotProgress calc(var(--slide-duration, 4500ms) * var(--slide-count, 1)) linear infinite;
  animation-delay: calc(var(--slide-duration, 4500ms) * var(--dot-index, 0));
}

@keyframes heroDotProgress {
  0%, 3% { transform: scaleX(0); }
  6%, 34% { transform: scaleX(1); }
  38%, 100% { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-slider .hero-slide,
  .hero-slide-dots span::after {
    animation: none;
  }
  .hero-image-slider .hero-slide.is-first {
    opacity: 1;
  }
}

.mlv-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 10, 18, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mlv-checkout-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mlv-checkout-panel {
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101521;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.mlv-checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.mlv-checkout-body {
  padding: 30px;
}

.mlv-checkout-head {
  display: grid;
  gap: 8px;
  padding-right: 44px;
  margin-bottom: 22px;
}

.mlv-checkout-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mlv-checkout-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.mlv-checkout-head p,
.mlv-checkout-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mlv-checkout-form,
.mlv-field {
  display: grid;
  gap: 14px;
}

.mlv-field span {
  color: #e8edf7;
  font-weight: 700;
}

.mlv-field em {
  color: #ff6b6b;
  font-style: normal;
}

.mlv-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 14px;
  font: inherit;
}

.mlv-checkout-summary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.mlv-checkout-summary div,
.mlv-qr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mlv-checkout-summary span,
.mlv-qr-row span {
  color: var(--muted);
}

.mlv-checkout-summary strong,
.mlv-qr-row strong {
  color: #fff;
  text-align: right;
}

.mlv-checkout-submit,
.mlv-success-cta {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #07111f;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}

.mlv-checkout-body > .mlv-checkout-submit {
  width: 100%;
  margin-top: 18px;
}

.mlv-checkout-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.mlv-checkout-error {
  min-height: 22px;
  margin: 0;
  color: #ff9b9b;
}

.mlv-qr-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 22px;
  align-items: start;
}

.mlv-qr-image {
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.mlv-qr-image img {
  display: block;
  width: 100%;
}

.mlv-qr-info {
  display: grid;
  gap: 12px;
}

.mlv-qr-row {
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.mlv-copy {
  cursor: pointer;
}

.mlv-copy.is-copied {
  color: var(--gold);
}

.mlv-checkout-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #dce7fb;
}

.mlv-checkout-status.is-checking {
  align-items: flex-start;
  border: 1px solid rgba(245, 194, 46, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 194, 46, 0.08), rgba(34, 195, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.mlv-checkout-status strong,
.mlv-checkout-status small {
  display: block;
}

.mlv-checkout-status strong {
  color: #fff2c7;
  font-weight: 900;
}

.mlv-checkout-status small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.mlv-status-dot {
  width: 10px;
  min-width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(249, 199, 92, 0.14);
}

.mlv-checkout-status.is-checking .mlv-status-dot {
  animation: qrCheckingPulse 1.15s ease-in-out infinite;
}

@keyframes qrCheckingPulse {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(249, 199, 92, 0.12), 0 0 18px rgba(245, 194, 46, 0.24);
    opacity: 0.78;
  }

  50% {
    box-shadow: 0 0 0 10px rgba(249, 199, 92, 0), 0 0 26px rgba(34, 195, 255, 0.26);
    opacity: 1;
  }
}

.mlv-success {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  color: #fff;
}

.mlv-success-luxury {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 8px 0 4px;
}

.mlv-success-luxury::before {
  content: "";
  position: absolute;
  inset: -80px 18% auto;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 215, 122, 0.18), rgba(34, 195, 255, 0));
  pointer-events: none;
}

.mlv-success-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(245, 215, 122, 0.42);
  border-radius: 999px;
  background: rgba(245, 215, 122, 0.08);
  color: #f5d77a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mlv-success-message,
.mlv-success-thanks {
  max-width: 560px;
  margin: 0;
  color: #c8d1df;
  line-height: 1.7;
}

.mlv-credential-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(560px, 100%);
  padding: 14px;
  border: 1px solid rgba(245, 215, 122, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 20, 45, 0.95), rgba(12, 35, 70, 0.72)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 26px rgba(212, 175, 55, 0.12);
}

.mlv-credential-card div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.mlv-credential-card span {
  color: #9ca8b9;
  font-size: 0.82rem;
  font-weight: 800;
}

.mlv-credential-card strong {
  color: #fff;
  overflow-wrap: anywhere;
  text-align: left;
}

.mlv-success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1fc77e;
  color: #07111f;
  font-size: 36px;
  font-weight: 900;
}

.mlv-success-cta {
  display: inline-grid;
  place-items: center;
  min-width: 220px;
  padding: 0 20px;
  text-decoration: none;
}

.login-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 13px;
  font-weight: 800;
}

.login-button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #07111f;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  font-size: 0.78rem;
}

.customer-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 16, 0.76);
}

.customer-login-overlay.is-open {
  display: grid;
}

.customer-login-card {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(560px, 100%);
  border: 1px solid rgba(34, 195, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 8%, rgba(222, 155, 16, 0.16), transparent 32%),
    linear-gradient(135deg, #0d1728, #08111f 62%, #0d1020);
  padding: 36px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.customer-login-card h2,
.customer-login-card p {
  margin: 0;
}

.customer-login-card > span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.customer-login-card label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.customer-login-card input {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  padding: 0 16px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
}

.customer-login-card .primary-action {
  min-height: 56px;
  margin-top: 4px;
}

#customerLoginError {
  min-height: 22px;
  color: #ff9b9b;
}

.customer-portal {
  --text: #ffffff;
  --muted: rgba(234, 244, 255, 0.72);
  --muted-2: rgba(234, 244, 255, 0.52);
  --gold: #f5c22e;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: calc(100vh - 86px);
  border-top: 1px solid rgba(222, 155, 16, 0.18);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 195, 255, 0.14), transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(222, 155, 16, 0.13), transparent 24%),
    linear-gradient(135deg, #06101f 0%, #081426 48%, #0f1023 100%);
  color: #fff;
}

.customer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid rgba(222, 155, 16, 0.14);
  background: linear-gradient(180deg, rgba(34, 195, 255, 0.07), rgba(11, 17, 32, 0.92));
  padding: 20px 16px;
}

.customer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 8px;
  color: #07111f;
  background: linear-gradient(135deg, var(--gold), #ffe3a1);
  box-shadow: 0 18px 42px rgba(222, 155, 16, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  padding: 12px 13px;
}

.customer-brand span {
  color: #07111f;
  font-size: 0.98rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
}

.customer-brand-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(8,20,45,0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8,20,45,0.88), rgba(12,35,70,0.92)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 20px rgba(8,20,45,0.16);
}

.customer-brand-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(8,20,45,0.92) 45% 55%, transparent 55%),
    linear-gradient(180deg, transparent 45%, rgba(8,20,45,0.92) 45% 55%, transparent 55%),
    linear-gradient(135deg, #F5D77A, #ffffff);
  box-shadow: 0 0 18px rgba(245, 215, 122, 0.18);
}

.customer-brand small {
  color: var(--muted);
}

.customer-sidebar button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #dce7fb;
  background: transparent;
  padding: 0 18px;
  text-align: left;
  font-weight: 800;
}

.customer-sidebar button.is-active {
  border: 1px solid rgba(255,255,255,0.08);
  color: #EAF4FF;
  background: rgba(8,20,45,0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.customer-guide-button {
  margin-top: auto;
}

.customer-logout {
  margin-top: 0;
}

.customer-sidebar .customer-guide-button {
  color: var(--gold);
  border: 1px solid rgba(222, 155, 16, 0.28);
  background: rgba(222, 155, 16, 0.08);
}

.customer-main {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 28px 38px;
}

.customer-top {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.customer-top strong {
  color: var(--gold);
}

.customer-avatar,
.customer-photo {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffe3a1);
  color: #07111f;
  font-weight: 900;
}

.customer-avatar img,
.customer-photo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.customer-avatar {
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.customer-top button {
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 800;
}

.customer-profile-card,
.customer-order-card {
  border: 1px solid rgba(222, 155, 16, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.07), rgba(222, 155, 16, 0.07) 42%, rgba(4, 16, 34, 0.94));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.customer-profile-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 860px;
  padding: 22px 24px;
}

.customer-profile-form {
  align-items: start;
}

.customer-avatar-edit {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.customer-photo {
  position: relative;
  width: 88px;
  height: 88px;
  font-size: 1.62rem;
  overflow: hidden;
}

.customer-verified {
  position: absolute;
  right: 2px;
  bottom: 42px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--gold);
  color: #07111f;
  font-size: 1rem;
}

.customer-avatar-edit label {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(222, 155, 16, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.customer-avatar-edit input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.customer-info-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px 24px;
}

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

.customer-form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.customer-form-grid input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 13px;
  font: inherit;
  font-weight: 800;
}

.customer-form-grid input[readonly] {
  color: #b9c4d6;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.035);
}

.customer-static-info {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 14px;
  align-content: center;
  border: 1px solid rgba(222, 155, 16, 0.16);
  border-radius: 8px;
  background: rgba(222, 155, 16, 0.06);
  padding: 12px 14px;
}

.customer-static-info span {
  color: var(--muted);
}

.customer-static-info strong {
  color: #fff;
}

.customer-save-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  color: #07111f;
  background: linear-gradient(135deg, var(--gold), #ffe3a1);
  font-weight: 900;
  cursor: pointer;
}

.customer-info-grid span,
.customer-order-meta span {
  color: var(--muted);
}

.customer-orders {
  display: grid;
  gap: 18px;
}

.customer-order-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1.3fr) minmax(250px, 0.9fr) 150px;
  gap: 26px;
  align-items: center;
  padding: 18px 20px;
}

.customer-product-box {
  display: grid;
  place-items: center;
  aspect-ratio: 0.72;
  border-radius: 8px;
  background:
    radial-gradient(circle at 45% 25%, rgba(222, 155, 16, 0.58), transparent 26%),
    radial-gradient(circle at 60% 70%, rgba(34, 195, 255, 0.28), transparent 32%),
    #081426;
  color: var(--gold);
  font-size: 2.3rem;
  font-weight: 900;
}

.customer-order-card h3 {
  margin: 0 0 8px;
}

.customer-order-card p {
  color: var(--muted);
}

.customer-order-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.customer-order-card li::before {
  content: "\2713";
  color: var(--gold);
  margin-right: 10px;
}

.customer-order-meta {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}

.customer-order-meta b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 158px;
  min-height: 32px;
  border: 1px solid rgba(245, 215, 122, 0.28);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 0.82rem;
  line-height: 1.1;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.customer-order-meta .is-success {
  color: #f5d77a;
  background:
    linear-gradient(180deg, rgba(8, 20, 45, 0.95), rgba(12, 35, 70, 0.95)),
    rgba(255, 255, 255, 0.04);
}

.customer-order-meta .is-waiting {
  color: #ffd36b;
  background: var(--gold-soft);
  border-color: var(--gold-line);
}

.upload-btn,
.hidden-file {
  display: none !important;
}

.customer-main .is-hidden {
  display: none;
}

.customer-order-total {
  justify-self: end;
  font-size: 1.3rem;
}

.customer-main h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.customer-main h2 {
  margin: 0;
  font-size: 1.45rem;
}

.customer-main h1,
.customer-main h2,
.customer-order-card h3,
.customer-info-grid strong,
.customer-order-total {
  color: #fff;
}

.customer-top strong,
.customer-sidebar button.is-active,
.customer-order-meta .is-success,
.customer-order-meta .is-waiting {
  font-weight: 900;
}

.gemlogin-guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(222, 155, 16, 0.18), transparent 28%),
    rgba(5, 8, 16, 0.86);
  backdrop-filter: blur(10px);
}

.gemlogin-guide-overlay.is-open {
  display: grid;
}

.gemlogin-guide-card {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(222, 155, 16, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 24%),
    radial-gradient(circle at 15% 10%, rgba(222, 155, 16, 0.24), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(34, 195, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #081426, #111827 58%, #090b1a);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 28px;
  animation: gemloginGuideIn 180ms ease-out;
}

.gemlogin-guide-card .modal-close {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.gemlogin-guide-card > span {
  width: fit-content;
  border: 1px solid rgba(222, 155, 16, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(222, 155, 16, 0.08);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.gemlogin-guide-card h2,
.gemlogin-guide-card p {
  margin: 0;
}

.gemlogin-guide-card h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.gemlogin-guide-card p,
.gemlogin-guide-card small {
  color: var(--muted);
  line-height: 1.55;
}

.gemlogin-important {
  border: 1px solid rgba(222, 155, 16, 0.42);
  border-radius: 8px;
  color: #ffe3a1;
  background: linear-gradient(135deg, rgba(222, 155, 16, 0.16), rgba(34, 195, 255, 0.06));
  padding: 13px 15px;
  font-weight: 800;
}

.gemlogin-important strong {
  color: var(--gold);
}

.gemlogin-guide-steps {
  display: grid;
  gap: 10px;
}

.gemlogin-guide-steps article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(34, 195, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(222, 155, 16, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

.gemlogin-guide-steps b {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.gemlogin-guide-steps strong {
  color: #fff;
}

.gemlogin-guide-steps a {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 34px;
  border: 1px solid rgba(222, 155, 16, 0.28);
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(135deg, var(--gold), #ffe3a1);
  padding: 0 13px;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.gemlogin-video-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(222, 155, 16, 0.28);
  border-radius: 8px;
  background-color: #071426;
  background-position: center;
  background-size: cover;
  padding: 22px;
  color: #fff;
  text-decoration: none;
}

.gemlogin-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 25%, rgba(5, 8, 18, 0.86)),
    radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(0, 0, 0, 0.2) 59px);
}

.gemlogin-video-card span,
.gemlogin-video-card strong,
.gemlogin-video-card b {
  position: relative;
  z-index: 1;
}

.gemlogin-video-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gemlogin-video-card strong {
  margin-top: 4px;
  font-size: 1.25rem;
}

.gemlogin-video-card b {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: #ff0033;
  box-shadow: 0 14px 44px rgba(255, 0, 51, 0.36);
}

@keyframes gemloginGuideIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

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

.gemlogin-video-link {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 44px;
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(135deg, var(--gold), #ffe3a1);
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.customer-page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.customer-page-head span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-page-head strong {
  color: var(--gold);
  font-size: 1.2rem;
}

.customer-profile-details {
  display: block;
  max-width: none;
  padding: 0;
  overflow: hidden;
}

.customer-profile-details summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 84px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.customer-profile-details summary::-webkit-details-marker {
  display: none;
}

.customer-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.customer-identity .customer-photo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  font-size: 1rem;
}

.customer-identity strong,
.customer-identity span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-identity strong {
  color: #fff;
  font-size: 1.08rem;
}

.customer-identity span {
  color: var(--muted);
}

.customer-profile-toggle {
  flex: 0 0 auto;
  border: 1px solid rgba(222, 155, 16, 0.24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(222, 155, 16, 0.08);
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 900;
}

.customer-profile-details[open] .customer-profile-toggle {
  color: #07111f;
  background: var(--gold);
}

.customer-profile-details .customer-profile-form {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  border-top: 1px solid rgba(222, 155, 16, 0.16);
  padding: 20px 22px 22px;
}

.customer-profile-details .customer-avatar-edit .customer-photo {
  width: 88px;
  height: 88px;
}

.customer-orders-section {
  display: grid;
  gap: 14px;
}

.customer-order-card {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
}

.customer-order-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 25%, rgba(222, 155, 16, 0.5), transparent 28%),
    radial-gradient(circle at 74% 70%, rgba(34, 195, 255, 0.28), transparent 34%),
    #071426;
  background-position: center;
  background-size: cover;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.customer-order-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.customer-order-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.customer-order-title-row h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.customer-order-title-row p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.customer-order-title-row .customer-order-total {
  flex: 0 0 auto;
}

.customer-order-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}

.customer-order-meta span,
.customer-order-meta strong,
.customer-order-meta b {
  display: block;
}

.customer-order-meta b {
  display: inline-flex;
}

.customer-order-meta span {
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.customer-order-meta strong {
  color: #fff;
  font-size: 0.9rem;
}

:root[data-theme="light"] .customer-portal {
  --text: #081426;
  --muted: rgba(8, 20, 45, 0.66);
  --muted-2: rgba(8, 20, 45, 0.48);
  --gold: #D4AF37;
  border: 1px solid rgba(8, 20, 45, 0.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 195, 255, 0.14), transparent 25%),
    radial-gradient(circle at 84% 6%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #edf5fb 48%, #f8f5ef 100%);
  box-shadow: 0 24px 80px rgba(8, 20, 45, 0.16);
}

:root[data-theme="light"] .customer-main h1,
:root[data-theme="light"] .customer-main h2,
:root[data-theme="light"] .customer-page-head,
:root[data-theme="light"] .customer-order-card h3,
:root[data-theme="light"] .customer-identity strong,
:root[data-theme="light"] .customer-info-grid strong,
:root[data-theme="light"] .customer-order-total,
:root[data-theme="light"] .customer-order-meta strong {
  color: #081426;
}

:root[data-theme="light"] .customer-page-head span,
:root[data-theme="light"] .customer-page-head strong,
:root[data-theme="light"] .customer-top strong,
:root[data-theme="light"] .customer-sidebar .customer-guide-button,
:root[data-theme="light"] .customer-profile-toggle,
:root[data-theme="light"] .customer-product-box,
:root[data-theme="light"] .customer-order-image {
  color: #8A6D1F;
}

:root[data-theme="light"] .customer-identity span,
:root[data-theme="light"] .customer-order-card p,
:root[data-theme="light"] .customer-order-meta span,
:root[data-theme="light"] .customer-info-grid span,
:root[data-theme="light"] .customer-form-grid label,
:root[data-theme="light"] .customer-static-info span {
  color: rgba(8, 20, 45, 0.66);
}

:root[data-theme="light"] .customer-profile-card,
:root[data-theme="light"] .customer-order-card {
  border-color: rgba(212, 175, 55, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.9) 48%, rgba(255, 249, 235, 0.82)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 18px 54px rgba(8, 20, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

:root[data-theme="light"] .customer-order-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.94) 48%, rgba(255, 247, 225, 0.9)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 22px 60px rgba(8, 20, 45, 0.13),
    0 12px 28px rgba(212, 175, 55, 0.16);
}

:root[data-theme="light"] .customer-sidebar {
  border-right-color: rgba(8, 20, 45, 0.08);
  background:
    radial-gradient(circle at 16% 4%, rgba(34, 195, 255, 0.12), transparent 30%),
    radial-gradient(circle at 70% 12%, rgba(212, 175, 55, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 246, 253, 0.88));
}

:root[data-theme="light"] .customer-sidebar button:not(.is-active):not(.customer-guide-button):not(.customer-logout) {
  border: 1px solid rgba(8, 20, 45, 0.08);
  color: rgba(8, 20, 45, 0.78);
  background: rgba(255, 255, 255, 0.56);
}

:root[data-theme="light"] .customer-sidebar button.is-active {
  border-color: rgba(8, 20, 45, 0.1);
  color: #081426;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(212, 175, 55, 0.18)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .customer-guide-button,
:root[data-theme="light"] .customer-logout {
  border-color: rgba(8, 20, 45, 0.1);
  color: #081426;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .customer-form-grid input {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .customer-form-grid input[readonly] {
  color: rgba(8, 20, 45, 0.5);
  background: rgba(8, 20, 45, 0.035);
}

:root[data-theme="light"] .customer-static-info {
  border-color: rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.07);
}

:root[data-theme="light"] .customer-static-info strong,
:root[data-theme="light"] .customer-profile-details[open] .customer-profile-toggle {
  color: #081426;
}

:root[data-theme="light"] .customer-profile-details[open] .customer-profile-toggle {
  background: rgba(212, 175, 55, 0.14);
}

:root[data-theme="light"] .customer-brand {
  color: #07111f;
  background:
    linear-gradient(135deg, #f0ad16, #ffe6a6);
}

:root[data-theme="light"] .customer-brand span {
  color: #07111f;
}

:root[data-theme="light"] .customer-order-image,
:root[data-theme="light"] .customer-product-box {
  background:
    radial-gradient(circle at 28% 25%, rgba(212, 175, 55, 0.25), transparent 28%),
    radial-gradient(circle at 74% 70%, rgba(37, 99, 235, 0.14), transparent 34%),
    linear-gradient(135deg, #edf6fb, #dbeaf4);
}

/* Desktop SaaS density pass */
@media (min-width: 1181px) {
  :root {
    --side: 176px;
    --shell-gap: 12px;
    --max: 1188px;
  }

  html {
    font-size: 14px;
  }

  .app-shell {
    width: min(100%, 1440px);
    padding: 10px clamp(12px, 1.55vw, 24px) 12px;
  }

  .sidebar {
    top: 10px;
    height: calc(100vh - 20px);
    padding: 11px 9px;
    border-radius: 18px;
  }

  .brand {
    gap: 8px;
    padding: 6px;
    border-radius: 13px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  .brand strong {
    font-size: 0.76rem;
  }

  .brand small {
    margin-top: 2px;
    font-size: 0.66rem;
  }

  .side-nav {
    gap: 5px;
    margin-top: 18px;
  }

  .side-link {
    min-height: 32px;
    gap: 8px;
    padding: 0 9px;
    border-radius: 10px;
    font-size: 0.88rem;
  }

  .side-link span {
    font-size: 0.66rem;
  }

  .sidebar-status {
    left: 9px;
    right: 9px;
    bottom: 11px;
    gap: 8px;
    padding: 9px;
    border-radius: 13px;
  }

  .sidebar-status strong {
    font-size: 0.72rem;
  }

  .sidebar-status small {
    font-size: 0.66rem;
  }

  .live-dot {
    width: 8px;
    height: 8px;
  }

  .main-frame {
    border-radius: 19px;
  }

  .topbar {
    top: 10px;
    min-height: 52px;
    gap: 16px;
    padding: 0 17px;
  }

  .topnav {
    gap: 6px;
  }

  .topnav-link {
    min-height: 29px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .topbar-actions {
    gap: 8px;
  }

  .theme-toggle {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .theme-toggle-icon {
    width: 20px;
    height: 20px;
    font-size: 0.86rem;
  }

  .cart-button {
    min-height: 36px;
    gap: 7px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .cart-button b {
    min-width: 18px;
    height: 18px;
    font-size: 0.66rem;
  }

  .page-root {
    padding: 0 22px 44px;
  }

  .page,
  .shop-product-page {
    padding-top: 16px;
    padding-bottom: 46px;
  }

  .container {
    width: min(var(--max), 100%);
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.9fr);
    gap: 24px;
    padding: 26px 0 20px;
  }

  .eyebrow {
    min-height: 27px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .hero-title {
    max-width: 570px;
    margin-top: 13px;
    font-size: clamp(30px, 3.05vw, 40px);
    line-height: 1.02;
  }

  .hero-copy {
    max-width: 520px;
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.54;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .social-proof {
    gap: 12px;
    margin-top: 16px;
    font-size: 0.82rem;
  }

  .avatar {
    width: 28px;
    height: 28px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .ai-console {
    min-height: 340px;
    border-radius: 22px;
  }

  .console-header {
    padding: 13px 16px;
  }

  .console-dots span {
    width: 8px;
    height: 8px;
  }

  .console-body {
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 11px;
    padding: 13px;
  }

  .video-render {
    min-height: 205px;
    border-radius: 16px;
  }

  .video-topline {
    padding: 11px;
    font-size: 0.72rem;
  }

  .video-stage {
    height: 124px;
  }

  .video-core {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .job-stack {
    gap: 9px;
  }

  .job-card {
    border-radius: 14px;
    padding: 11px;
  }

  .job-card strong {
    margin: 5px 0 8px;
    font-size: 0.9rem;
  }

  .floating-card {
    border-radius: 14px;
    padding: 11px 13px;
    font-size: 0.88rem;
  }

  .floating-card.analytics {
    right: -6px;
    top: 66px;
  }

  .floating-card.publish {
    left: -8px;
    bottom: 54px;
  }

  .stats-band,
  .section,
  .cta-footer {
    padding: 24px 0;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.12;
  }

  .section-title h2,
  .shop-summary h1,
  .cart-page h1,
  .about-copy h1 {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.05;
  }

  .section-copy {
    max-width: 580px;
    margin-top: 9px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .stats-grid,
  .tool-grid {
    gap: 14px;
  }

  .stat-card {
    border-radius: 18px;
    padding: 16px;
  }

  .stat-card strong {
    font-size: 1.36rem;
  }

  .stat-card span {
    margin-top: 6px;
    font-size: 0.86rem;
  }

  .tool-card,
  .chatbot-video-card,
  .pricing-card,
  .testimonial-card,
  .freebie-card,
  .home-category-card,
  .shop-section-card {
    border-radius: 18px;
  }

  .tool-card:hover {
    transform: translateY(-3px);
  }

  .tool-image {
    padding: 13px;
  }

  .tool-body {
    padding: 13px;
  }

  .badge {
    min-height: 24px;
    padding: 0 9px;
    font-size: 0.68rem;
  }

  .tool-body h3,
  .pricing-card h3,
  .testimonial-card h3 {
    margin: 11px 0 7px;
    font-size: 16px;
    line-height: 1.18;
  }

  .tool-body p,
  .pricing-card p,
  .testimonial-card p,
  .faq-item p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .card-meta {
    gap: 8px;
    margin-top: 13px;
    font-size: 0.75rem;
  }

  .card-meta span {
    min-height: 28px;
    padding: 0 9px;
  }

  .tag-row {
    gap: 6px;
    margin-top: 11px;
  }

  .tag-row span {
    padding: 4px 8px;
    font-size: 0.68rem;
  }

  .card-cta,
  .ghost-action,
  .primary-action,
  .buy-button,
  .copy-button,
  .back-link,
  .shop-plan,
  .chip {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.88rem;
  }

  .card-cta {
    min-width: 146px;
    margin-top: 13px;
  }

  .card-cta.compact {
    min-width: 118px;
    min-height: 32px;
    margin-top: 11px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .home-category-section {
    padding: 16px 0 6px;
  }

  .home-section-kicker {
    margin-bottom: 11px;
  }

  .home-section-kicker strong {
    font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  }

  .home-category-grid {
    gap: 10px;
  }

  .home-category-card {
    min-height: 150px;
    gap: 8px;
    padding: 16px;
  }

  .home-category-card span {
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .home-category-card strong {
    font-size: 0.98rem;
  }

  .home-category-card p {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .chatbot-video-grid {
    gap: 16px;
  }

  .home-about-strip {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 12px;
    padding: 22px;
    border-radius: 22px;
  }

  .home-about-strip h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.42rem, 2.5vw, 2.05rem);
  }

  .home-about-strip p {
    font-size: 0.9rem;
    line-height: 1.52;
  }
}

@media (min-width: 1440px) {
  .tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-title {
    font-size: clamp(32px, 2.5vw, 42px);
  }
}

@media (max-width: 1180px) and (min-width: 761px) {
  html {
    font-size: 14.5px;
  }

  .hero-title {
    font-size: clamp(32px, 5vw, 42px);
  }

  .topbar {
    min-height: 56px;
  }
}

:root[data-theme="light"] .customer-order-meta .is-success {
  border-color: rgba(212, 175, 55, 0.25);
  color: #8A6D1F;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 222, 0.88)),
    rgba(212, 175, 55, 0.16);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.2);
}

:root[data-theme="light"] .customer-order-meta .is-waiting {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.18);
}

:root[data-theme="light"] .customer-avatar,
:root[data-theme="light"] .customer-photo {
  color: #07111f;
  background: linear-gradient(135deg, #f0ad16, #ffe6a6);
}

@media (max-width: 980px) {
  .customer-portal,
  .customer-order-card {
    grid-template-columns: 1fr;
  }

  .customer-main {
    padding: 24px 18px;
  }

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

  .customer-profile-details .customer-profile-form,
  .customer-order-meta {
    grid-template-columns: 1fr;
  }

  .customer-order-title-row,
  .customer-page-head,
  .customer-profile-details summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .mlv-checkout-body {
    padding: 24px 18px;
  }

  .mlv-qr-wrap {
    grid-template-columns: 1fr;
  }

  .mlv-qr-image {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .mlv-checkout-summary div,
  .mlv-qr-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mlv-checkout-summary strong,
  .mlv-qr-row strong {
    text-align: left;
  }

  .mlv-credential-card {
    grid-template-columns: 1fr;
  }
}

/* Light checkout UX polish */
:root[data-theme="light"] .cart-page {
  color: #081426;
}

:root[data-theme="light"] .cart-page h1 {
  width: fit-content;
  color: #071427;
  background: linear-gradient(135deg, #071427 0%, #0b7eaa 48%, #8A6D1F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 12px 34px rgba(8, 20, 45, 0.1);
}

:root[data-theme="light"] .cart-table,
:root[data-theme="light"] .banking-panel,
:root[data-theme="light"] .checkout-summary {
  border: 1px solid rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  color: #081426;
  box-shadow:
    0 22px 60px rgba(8, 20, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .cart-table {
  overflow: hidden;
}

:root[data-theme="light"] .cart-head {
  border-bottom: 1px solid rgba(8, 20, 45, 0.08);
  color: #0a1b30;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(212, 175, 55, 0.1)),
    rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .cart-row {
  border-top: 1px solid rgba(8, 20, 45, 0.07);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(244, 250, 255, 0.78));
}

:root[data-theme="light"] .cart-row:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 236, 0.82));
}

:root[data-theme="light"] .cart-product strong,
:root[data-theme="light"] .cart-head,
:root[data-theme="light"] .banking-panel h2,
:root[data-theme="light"] .checkout-summary label,
:root[data-theme="light"] .voucher-box label {
  color: #081426;
}

:root[data-theme="light"] .cart-thumb {
  border: 1px solid rgba(8, 20, 45, 0.08);
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.14), transparent 34%),
    linear-gradient(135deg, #edf6fb, #d9e8f4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

:root[data-theme="light"] .cart-price,
:root[data-theme="light"] .cart-total-price,
:root[data-theme="light"] .checkout-total strong {
  color: #D4AF37;
}

:root[data-theme="light"] .cart-voucher-cell > span,
:root[data-theme="light"] .cart-voucher-cell small,
:root[data-theme="light"] .order-voucher-box small,
:root[data-theme="light"] .voucher-ok {
  color: #047857 !important;
}

:root[data-theme="light"] .qty-stepper {
  border-color: rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.08);
}

:root[data-theme="light"] .qty-stepper button {
  color: #2563EB;
}

:root[data-theme="light"] .qty-stepper span {
  color: #0a1b30;
}

:root[data-theme="light"] .cart-remove {
  color: #dc2626 !important;
}

:root[data-theme="light"] .payment-method {
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: #081426;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(212, 175, 55, 0.08)),
    rgba(255, 255, 255, 0.7);
}

:root[data-theme="light"] .banking-info div,
:root[data-theme="light"] .checkout-summary div {
  color: rgba(8, 20, 45, 0.68);
}

:root[data-theme="light"] .banking-info strong,
:root[data-theme="light"] .checkout-summary strong {
  color: #081426;
}

:root[data-theme="light"] .voucher-box {
  border-color: rgba(212, 175, 55, 0.18);
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 175, 55, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 246, 252, 0.8));
}

:root[data-theme="light"] .voucher-form input,
:root[data-theme="light"] .row-voucher-form input,
:root[data-theme="light"] .cart-row select {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .checkout-summary hr {
  border-top-color: rgba(8, 20, 45, 0.12);
}

:root[data-theme="light"] .mlv-checkout-overlay {
  background:
    radial-gradient(circle at 18% 4%, rgba(37, 99, 235, 0.14), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(212, 175, 55, 0.18), transparent 32%),
    rgba(237, 245, 252, 0.78);
  backdrop-filter: blur(16px);
}

:root[data-theme="light"] .mlv-checkout-panel {
  border: 1px solid rgba(8, 20, 45, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    #fff;
  box-shadow:
    0 30px 90px rgba(8, 20, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .mlv-checkout-close {
  border-color: rgba(8, 20, 45, 0.12);
  color: #0b1b2d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 252, 0.9));
  box-shadow: 0 12px 30px rgba(8, 20, 45, 0.1);
}

:root[data-theme="light"] .mlv-checkout-eyebrow {
  width: fit-content;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: #8A6D1F;
  background: rgba(212, 175, 55, 0.14);
  padding: 5px 10px;
}

:root[data-theme="light"] .mlv-checkout-head h2 {
  color: #071427;
  text-shadow: 0 10px 26px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .mlv-checkout-head p,
:root[data-theme="light"] .mlv-checkout-note {
  color: rgba(8, 20, 45, 0.72);
}

:root[data-theme="light"] .mlv-field span {
  color: #142238;
}

:root[data-theme="light"] .mlv-field input {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 24px rgba(8, 20, 45, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .mlv-field input:focus {
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.1),
    0 12px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .mlv-checkout-summary {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 253, 0.86));
}

:root[data-theme="light"] .mlv-checkout-summary span,
:root[data-theme="light"] .mlv-qr-row span {
  color: rgba(8, 20, 45, 0.62);
  font-weight: 800;
}

:root[data-theme="light"] .mlv-checkout-summary strong,
:root[data-theme="light"] .mlv-qr-row strong {
  color: #071427;
}

:root[data-theme="light"] .mlv-checkout-submit,
:root[data-theme="light"] .mlv-success-cta {
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB, #60A5FA);
  color: #ffffff;
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

:root[data-theme="light"] .mlv-qr-image {
  border: 1px solid rgba(8, 20, 45, 0.1);
  border-radius: 18px;
  background: #F8FAFF;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .mlv-qr-info {
  border: 1px solid rgba(8, 20, 45, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 255, 0.74));
  padding: 4px 16px;
}

:root[data-theme="light"] .mlv-qr-row {
  border-bottom-color: rgba(8, 20, 45, 0.1);
}

:root[data-theme="light"] .mlv-copy {
  color: #0b6f96;
}

:root[data-theme="light"] .mlv-copy.is-copied {
  color: #8A6D1F;
}

:root[data-theme="light"] .mlv-checkout-status {
  color: #142238;
}

:root[data-theme="light"] .mlv-checkout-status.is-checking {
  border-color: rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(212, 175, 55, 0.14)),
    rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .mlv-checkout-status strong {
  color: #7a4c00;
}

:root[data-theme="light"] .mlv-checkout-status small {
  color: rgba(8, 20, 45, 0.68);
}

:root[data-theme="light"] .customer-login-overlay {
  background:
    radial-gradient(circle at 16% 8%, rgba(37, 99, 235, 0.14), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(212, 175, 55, 0.18), transparent 32%),
    rgba(237, 245, 252, 0.78);
  backdrop-filter: blur(16px);
}

:root[data-theme="light"] .customer-login-card {
  border: 1px solid rgba(8, 20, 45, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(212, 175, 55, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    #fff;
  color: #081426;
  box-shadow:
    0 30px 90px rgba(8, 20, 45, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .customer-login-card .modal-close {
  border-color: rgba(8, 20, 45, 0.12);
  color: #0b1b2d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 252, 0.9));
  box-shadow: 0 12px 30px rgba(8, 20, 45, 0.1);
}

:root[data-theme="light"] .customer-login-card > span {
  width: fit-content;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  color: #8A6D1F;
  background: rgba(212, 175, 55, 0.14);
  padding: 5px 10px;
  font-size: 0.78rem;
}

:root[data-theme="light"] .customer-login-card h2 {
  color: #071427;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  text-shadow: 0 10px 26px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .customer-login-card label {
  color: #142238;
  font-weight: 850;
}

:root[data-theme="light"] .customer-login-card input {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 24px rgba(8, 20, 45, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .customer-login-card input:focus {
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.1),
    0 12px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .customer-login-card .primary-action {
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563EB, #60A5FA);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

:root[data-theme="light"] #customerLoginError {
  color: #c2410c;
  font-weight: 800;
}

:root[data-theme="light"] .mlv-success {
  color: #081426;
}

:root[data-theme="light"] .mlv-success-luxury {
  border-radius: 22px;
}

:root[data-theme="light"] .mlv-success-luxury::before {
  inset: -90px 14% auto;
  background:
    radial-gradient(circle, rgba(212, 175, 55, 0.18), rgba(34, 195, 255, 0));
}

:root[data-theme="light"] .mlv-success-mark {
  color: #05251a;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, #22c55e, #86efac);
  box-shadow:
    0 18px 40px rgba(34, 197, 94, 0.22),
    0 0 0 10px rgba(34, 197, 94, 0.08);
}

:root[data-theme="light"] .mlv-success-eyebrow {
  border-color: rgba(4, 120, 87, 0.2);
  color: #047857;
  background: rgba(16, 185, 129, 0.11);
}

:root[data-theme="light"] .mlv-success h2 {
  color: #071427;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  text-shadow: 0 10px 26px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .mlv-success-message,
:root[data-theme="light"] .mlv-success-thanks {
  color: rgba(8, 20, 45, 0.72);
}

:root[data-theme="light"] .mlv-credential-card {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 253, 0.86));
  box-shadow:
    0 18px 48px rgba(8, 20, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .mlv-credential-card div {
  border-color: rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

:root[data-theme="light"] .mlv-credential-card span {
  color: rgba(8, 20, 45, 0.58);
}

:root[data-theme="light"] .mlv-credential-card strong {
  color: #0b6f96;
}

@media (min-width: 761px) {
  :root[data-theme="light"] .mlv-checkout-panel {
    width: min(760px, calc(100vw - 48px));
  }

  :root[data-theme="light"] .mlv-checkout-panel:has(.mlv-qr-wrap) {
    width: min(980px, calc(100vw - 48px));
  }
}

@media (max-width: 760px) {
  :root[data-theme="light"] .cart-page h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  :root[data-theme="light"] .banking-panel,
  :root[data-theme="light"] .checkout-summary {
    padding: 18px;
  }

  :root[data-theme="light"] .mlv-checkout-overlay {
    padding: 12px;
  }

  :root[data-theme="light"] .mlv-checkout-panel {
    border-radius: 18px;
  }
}

/* Light theme content sections: why, about strip, about page */
:root[data-theme="light"] .shop-why {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    radial-gradient(circle at 14% 4%, rgba(37, 99, 235, 0.14), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(212, 175, 55, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92)),
    #fff;
  color: #081426;
  box-shadow:
    0 28px 80px rgba(8, 20, 45, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .shop-why::before {
  background:
    linear-gradient(120deg, transparent, rgba(37, 99, 235, 0.06), rgba(212, 175, 55, 0.08), transparent);
}

:root[data-theme="light"] .shop-why h2 {
  color: #071427;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  text-shadow: 0 10px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .why-grid article {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 253, 0.88)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 18px 48px rgba(8, 20, 45, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .why-grid article:hover {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow:
    0 22px 58px rgba(8, 20, 45, 0.12),
    0 12px 30px rgba(212, 175, 55, 0.16);
}

:root[data-theme="light"] .why-grid article strong {
  color: #071427;
}

:root[data-theme="light"] .why-grid article p {
  color: rgba(8, 20, 45, 0.68);
}

:root[data-theme="light"] .why-grid article span {
  color: rgba(37, 99, 235, 0.12);
}

:root[data-theme="light"] .achievement-grid div {
  border-color: rgba(212, 175, 55, 0.22);
  background:
    radial-gradient(circle at 82% 0%, rgba(212, 175, 55, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 248, 237, 0.84));
  box-shadow:
    0 18px 46px rgba(8, 20, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .achievement-grid strong {
  color: #8A6D1F;
}

:root[data-theme="light"] .achievement-grid span {
  color: rgba(8, 20, 45, 0.62);
}

:root[data-theme="light"] .home-about-strip {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.14), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(212, 175, 55, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 253, 0.9) 58%, rgba(255, 248, 230, 0.9));
  box-shadow:
    0 24px 70px rgba(8, 20, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .home-about-strip h2,
:root[data-theme="light"] .home-about-strip .home-about-metrics strong {
  color: #071427;
}

:root[data-theme="light"] .home-about-strip p,
:root[data-theme="light"] .home-about-strip .home-about-metrics span {
  color: rgba(8, 20, 45, 0.68);
}

:root[data-theme="light"] .home-about-metrics {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 226, 0.78));
  padding: 18px;
  box-shadow: 0 16px 40px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .about-page {
  color: #081426;
}

:root[data-theme="light"] .about-intro-grid {
  border: 1px solid rgba(8, 20, 45, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(212, 175, 55, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.9));
  padding: 24px;
  box-shadow: 0 22px 60px rgba(8, 20, 45, 0.09);
}

:root[data-theme="light"] .about-visual,
:root[data-theme="light"] .about-vision-image {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    radial-gradient(circle at 36% 28%, rgba(37, 99, 235, 0.14), transparent 30%),
    radial-gradient(circle at 72% 70%, rgba(124, 77, 255, 0.13), transparent 34%),
    linear-gradient(135deg, #edf7fc, #f8fbff);
  box-shadow:
    0 18px 48px rgba(8, 20, 45, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .about-copy h1,
:root[data-theme="light"] .about-text-section h2,
:root[data-theme="light"] .about-social-section h2,
:root[data-theme="light"] .about-vision-section h2 {
  color: #071427;
  text-shadow: 0 10px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .about-copy p,
:root[data-theme="light"] .about-text-section p,
:root[data-theme="light"] .about-social-grid p {
  color: rgba(8, 20, 45, 0.68);
}

:root[data-theme="light"] .about-social-grid article,
:root[data-theme="light"] .about-vision-list article {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 253, 0.88)),
    rgba(255, 255, 255, 0.9);
  color: #081426;
  box-shadow:
    0 18px 48px rgba(8, 20, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .about-social-grid h3,
:root[data-theme="light"] .about-vision-list strong {
  color: #071427;
}

:root[data-theme="light"] .social-icon,
:root[data-theme="light"] .about-vision-list span {
  color: #071421;
  background: linear-gradient(135deg, #6ee7ff, #E5C97B);
  box-shadow: 0 12px 26px rgba(8, 20, 45, 0.1);
}

:root[data-theme="light"] .about-social-grid a {
  color: #ffffff;
  background: linear-gradient(135deg, #2563EB, #60A5FA);
  box-shadow: 0 12px 28px rgba(8, 20, 45, 0.12);
}

@media (max-width: 760px) {
  :root[data-theme="light"] .about-intro-grid {
    padding: 16px;
    border-radius: 20px;
  }

  :root[data-theme="light"] .why-grid article,
  :root[data-theme="light"] .achievement-grid div,
  :root[data-theme="light"] .about-social-grid article,
  :root[data-theme="light"] .about-vision-list article {
    box-shadow: 0 14px 34px rgba(8, 20, 45, 0.08);
  }
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding: 18px 22px 24px;
}

:root:not(.app-hydrated) .seo-footer-links {
  display: none;
}

.app-loading-shell {
  min-height: calc(100vh - 104px);
  padding: clamp(16px, 2vw, 28px);
}

.app-loading-panel {
  display: grid;
  gap: 18px;
  width: min(920px, 100%);
  border: 1px solid rgba(34, 195, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.035) 8%, rgba(255,255,255,0.085) 18%, rgba(255,255,255,0.035) 33%),
    rgba(11, 17, 32, 0.58);
  background-size: 220% 100%;
  padding: clamp(22px, 4vw, 54px);
  animation: appLoadingSweep 1.2s ease-in-out infinite;
}

.app-loading-panel span,
.app-loading-panel strong,
.app-loading-panel p,
.app-loading-panel div {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.app-loading-panel span {
  width: 170px;
  height: 18px;
}

.app-loading-panel strong {
  width: min(620px, 86%);
  height: clamp(44px, 7vw, 76px);
  border-radius: 18px;
}

.app-loading-panel p {
  width: min(720px, 92%);
  height: 20px;
}

.app-loading-panel div {
  width: 220px;
  height: 42px;
}

@keyframes appLoadingSweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.seo-footer-links a {
  border: 1px solid rgba(222, 155, 16, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
}

.seo-footer-links a:hover {
  color: var(--text);
  border-color: rgba(222, 155, 16, 0.34);
}

.seo-breadcrumb {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.seo-noscript-content {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(11, 17, 32, 0.86);
  padding: 24px;
}

.seo-noscript-content h2,
.seo-noscript-content h3 {
  margin: 0 0 10px;
}

.seo-noscript-content p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-noscript-content a {
  color: var(--primary);
  font-weight: 850;
}

:root[data-theme="light"] .seo-footer-links {
  border-top-color: rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .seo-footer-links a {
  border-color: rgba(8, 20, 45, 0.1);
  color: rgba(8, 20, 45, 0.72);
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .seo-footer-links a:hover {
  color: #081426;
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(255, 249, 235, 0.78);
}

:root[data-theme="light"] .seo-noscript-content {
  border-color: rgba(8, 20, 45, 0.1);
  color: #081426;
  background: rgba(255, 255, 255, 0.92);
}

.seo-home-snapshot {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.2vw, 26px);
}

.seo-home-hero,
.seo-home-section {
  border: 1px solid rgba(34, 195, 255, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.08), rgba(222, 155, 16, 0.045)),
    rgba(13, 20, 34, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.seo-home-hero {
  padding: clamp(24px, 3.2vw, 42px);
}

.seo-home-section {
  padding: clamp(18px, 2.2vw, 26px);
}

.seo-home-eyebrow,
.seo-home-tool-grid span {
  color: #de9b10;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-home-snapshot h1,
.seo-home-snapshot h2,
.seo-home-snapshot h3 {
  margin: 0;
  color: #fff;
  letter-spacing: 0;
}

.seo-home-snapshot h1 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.02;
}

.seo-home-snapshot h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.seo-home-snapshot h3 {
  font-size: 0.98rem;
}

.seo-home-snapshot p,
.seo-home-snapshot li {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.58;
}

.seo-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.seo-home-actions a {
  border: 1px solid rgba(222, 155, 16, 0.28);
  border-radius: 999px;
  color: #06101b;
  background: linear-gradient(135deg, #22c3ff, #72e4ff 70%, #de9b10);
  padding: 8px 13px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
}

.seo-home-actions a + a {
  color: #ffe8a3;
  background: rgba(222, 155, 16, 0.08);
}

.seo-home-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.seo-home-tool-grid a {
  min-height: 116px;
  border: 1px solid rgba(34, 195, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 14px;
  text-decoration: none;
}

:root[data-theme="light"] .seo-home-hero,
:root[data-theme="light"] .seo-home-section {
  border-color: rgba(8, 48, 74, 0.14);
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.12), rgba(212, 175, 55, 0.08)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(15, 31, 45, 0.12);
}

:root[data-theme="light"] .seo-home-snapshot h1,
:root[data-theme="light"] .seo-home-snapshot h2,
:root[data-theme="light"] .seo-home-snapshot h3,
:root[data-theme="light"] .seo-home-tool-grid a {
  color: #071426;
}

:root[data-theme="light"] .seo-home-snapshot p,
:root[data-theme="light"] .seo-home-snapshot li {
  color: rgba(7, 20, 38, 0.72);
}

@media (max-width: 900px) {
  .seo-home-tool-grid {
    grid-template-columns: 1fr;
  }
}
/* Affiliate dashboard */
.affiliate-dashboard { display: grid; gap: 18px; }
.affiliate-hero-card,
.affiliate-panel,
.affiliate-metrics article,
.affiliate-table {
  border: 1px solid rgba(34, 195, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.08), rgba(222, 155, 16, 0.05)), rgba(12, 19, 34, 0.84);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}
.affiliate-hero-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 18px; align-items: center; padding: 22px; }
.affiliate-hero-card span, .affiliate-link-box small, .affiliate-metrics span { color: #de9b10; font-weight: 900; }
.affiliate-hero-card h2, .affiliate-panel h3 { margin: 6px 0 8px; }
.affiliate-hero-card p, .affiliate-metrics small { color: var(--muted); }
.affiliate-link-box { display: grid; gap: 10px; }
.affiliate-link-box strong { font-size: 1.8rem; }
.affiliate-link-box input { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; color: var(--text); background: rgba(255, 255, 255, 0.06); padding: 12px; }
.affiliate-metrics, .affiliate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.affiliate-metrics article, .affiliate-panel { padding: 16px; }
.affiliate-metrics strong { display: block; margin-top: 6px; font-size: 1.65rem; }
.affiliate-chart { display: flex; align-items: end; gap: 4px; height: 150px; padding-top: 14px; }
.affiliate-chart span { flex: 1; min-width: 4px; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #72e4ff, #de9b10); }
.affiliate-country { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 9px 0; }
.affiliate-products {
  border: 1px solid rgba(34, 195, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.07), rgba(222, 155, 16, 0.04)), rgba(12, 19, 34, 0.78);
  overflow: hidden;
}
.affiliate-products-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  color: var(--text);
  background: transparent;
  padding: 16px 18px;
  font-weight: 950;
  cursor: pointer;
}
.affiliate-products-toggle strong {
  color: #071426;
  border-radius: 999px;
  background: linear-gradient(135deg, #72e4ff, #de9b10);
  padding: 7px 10px;
  font-size: 0.78rem;
}
.affiliate-product-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 190px;
  gap: 10px;
  padding: 0 18px 14px;
}
.affiliate-product-filters input,
.affiliate-product-filters select {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
}
.affiliate-product-list { display: grid; gap: 10px; padding: 0 18px 18px; }
.affiliate-product-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 70px 72px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  padding: 10px;
}
.affiliate-product-image {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(114, 228, 255, 0.35), rgba(222, 155, 16, 0.12));
  background-size: cover;
  background-position: center;
  color: #fff;
  font-weight: 950;
}
.affiliate-product-row strong { display: block; }
.affiliate-product-row span,
.affiliate-product-row p { color: var(--muted); margin: 2px 0 0; }
.affiliate-product-row p {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.affiliate-product-row b { color: #ffd166; font-size: 1.05rem; }
.icon-copy-button {
  border: 1px solid rgba(114, 228, 255, 0.28);
  border-radius: 999px;
  color: #071426;
  background: linear-gradient(135deg, #72e4ff, #de9b10);
  padding: 8px 9px;
  font-weight: 950;
  cursor: pointer;
}
.affiliate-table { overflow: hidden; }
.affiliate-table-head, .affiliate-table-row { display: grid; grid-template-columns: 0.9fr 1.15fr 1.5fr 0.9fr 0.9fr 0.5fr 0.6fr 0.8fr; gap: 10px; align-items: center; padding: 12px 14px; }
.affiliate-table-head { color: var(--muted); background: rgba(255, 255, 255, 0.05); font-size: 0.82rem; font-weight: 900; }
.affiliate-table-row { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.affiliate-status { border-radius: 999px; padding: 6px 9px; color: #071426; background: #ffd166; text-align: center; }
.affiliate-status.is-approved, .affiliate-status.is-paid { background: #38f2a8; }
.affiliate-status.is-rejected, .affiliate-status.is-cancelled { color: #fff; background: #ff4d5e; }
@media (max-width: 860px) {
  .affiliate-hero-card, .affiliate-metrics, .affiliate-grid { grid-template-columns: 1fr; }
  .affiliate-product-filters,
  .affiliate-product-row { grid-template-columns: 1fr; }
  .affiliate-product-image { width: 100%; height: 120px; }
  .affiliate-table-head { display: none; }
  .affiliate-table-row { grid-template-columns: 1fr; }
}

/* Compact premium customer affiliate dashboard */
.customer-portal {
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.customer-portal.is-expanded {
  grid-template-columns: minmax(0, 1fr);
}

.customer-portal.is-expanded .customer-sidebar {
  display: none;
}

.customer-sidebar {
  gap: 8px;
  padding: 14px 12px;
}

.customer-brand {
  gap: 8px;
  margin-bottom: 10px;
  padding: 9px 10px;
}

.customer-brand span {
  font-size: 0.82rem;
}

.customer-brand-icon {
  width: 28px;
  height: 28px;
}

.customer-sidebar button {
  min-height: 36px;
  border-radius: 7px;
  padding: 0 11px;
  font-size: 0.82rem;
}

.customer-sidebar button.is-active {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.customer-main {
  gap: 14px;
  padding: 18px 22px;
}

.customer-page-head {
  gap: 12px;
  align-items: center;
}

.customer-page-head span {
  font-size: 0.68rem;
}

.customer-main h1 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
}

.customer-main h2 {
  font-size: 1.05rem;
}

.customer-page-head strong {
  font-size: 0.88rem;
}

.customer-head-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.customer-expand-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 195, 255, 0.2);
  border-radius: 9px;
  color: #dff6ff;
  background: rgba(34, 195, 255, 0.08);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 950;
}

.affiliate-dashboard {
  gap: 10px;
  font-size: 0.88rem;
}

.affiliate-hero-card,
.affiliate-panel,
.affiliate-metrics article,
.affiliate-table,
.affiliate-products,
.affiliate-accordion {
  border-color: rgba(34, 195, 255, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.055), rgba(222, 155, 16, 0.025)),
    rgba(8, 17, 31, 0.86);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.affiliate-hero-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 12px;
  padding: 12px 14px;
}

.affiliate-hero-card span,
.affiliate-link-box small,
.affiliate-metrics span {
  color: #d9a51d;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.affiliate-hero-card h2 {
  margin: 2px 0 4px;
  font-size: 1.05rem;
}

.affiliate-hero-card p {
  margin: 0;
  font-size: 0.78rem;
}

.affiliate-link-box {
  grid-template-columns: auto minmax(100px, 150px) minmax(220px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.affiliate-link-box strong {
  font-size: 0.98rem;
}

.affiliate-link-box input,
.affiliate-product-filters input,
.affiliate-product-filters select {
  min-height: 34px;
  border-color: rgba(34, 195, 255, 0.15);
  border-radius: 9px;
  color: #eaf6ff;
  background: #111d2e;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.affiliate-product-filters select option {
  color: #081426;
  background: #ffffff;
}

.affiliate-link-box .primary-action,
.icon-copy-button {
  min-height: 34px;
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 0.82rem;
  box-shadow: none;
}

.affiliate-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.affiliate-metrics article {
  min-height: 74px;
  padding: 10px 11px;
}

.affiliate-metrics strong {
  margin-top: 4px;
  font-size: 1.18rem;
  line-height: 1.1;
}

.affiliate-metrics small {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
}

.affiliate-analytics-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.affiliate-accordion {
  overflow: hidden;
}

.affiliate-accordion > button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  gap: 8px;
  align-items: center;
  border: 0;
  color: #f3f8ff;
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.affiliate-accordion > button span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.affiliate-accordion > button strong {
  color: #f5c22e;
  font-size: 1rem;
}

.affiliate-accordion > button i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: #071426;
  background: linear-gradient(135deg, #72e4ff, #de9b10);
  font-style: normal;
  font-weight: 950;
}

.affiliate-accordion-body {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px 10px 10px;
}

.affiliate-chart {
  height: 92px;
  padding-top: 6px;
}

.compact-empty,
.affiliate-accordion .empty-state {
  min-height: 46px;
  padding: 12px;
  font-size: 0.78rem;
}

.affiliate-country {
  padding: 6px 0;
  font-size: 0.8rem;
}

.affiliate-products-toggle {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.affiliate-products-toggle strong {
  padding: 6px 9px;
  font-size: 0.72rem;
}

.affiliate-product-filters {
  grid-template-columns: minmax(180px, 1fr) 160px 170px;
  gap: 8px;
  padding: 0 12px 10px;
}

.affiliate-product-list {
  gap: 7px;
  padding: 0 12px 12px;
}

.affiliate-product-row {
  grid-template-columns: 44px minmax(0, 1fr) 54px 42px;
  gap: 9px;
  border-radius: 10px;
  padding: 8px;
}

.affiliate-product-image {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  font-size: 0.72rem;
}

.affiliate-product-row strong {
  font-size: 0.88rem;
  line-height: 1.2;
}

.affiliate-product-row span,
.affiliate-product-row p {
  font-size: 0.76rem;
}

.affiliate-product-row b {
  font-size: 0.92rem;
}

.icon-copy-button {
  width: 34px;
  min-width: 34px;
  padding: 0;
  font-size: 1rem;
}

.affiliate-table-head,
.affiliate-table-row {
  grid-template-columns: 0.85fr 1.35fr 0.8fr 0.85fr 0.45fr 0.55fr 0.72fr;
  gap: 8px;
  padding: 9px 11px;
  font-size: 0.78rem;
}

.affiliate-table-head {
  font-size: 0.72rem;
}

.affiliate-status {
  padding: 4px 7px;
  font-size: 0.72rem;
}

:root[data-theme="light"] .customer-expand-toggle {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .affiliate-hero-card,
:root[data-theme="light"] .affiliate-panel,
:root[data-theme="light"] .affiliate-metrics article,
:root[data-theme="light"] .affiliate-table,
:root[data-theme="light"] .affiliate-products,
:root[data-theme="light"] .affiliate-accordion {
  border-color: rgba(8, 48, 74, 0.11);
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.07), rgba(212, 175, 55, 0.04)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .affiliate-hero-card h2,
:root[data-theme="light"] .affiliate-link-box strong,
:root[data-theme="light"] .affiliate-accordion > button,
:root[data-theme="light"] .affiliate-product-row strong,
:root[data-theme="light"] .affiliate-table-row,
:root[data-theme="light"] .affiliate-table-row strong {
  color: #081426;
}

:root[data-theme="light"] .affiliate-hero-card p,
:root[data-theme="light"] .affiliate-product-row span,
:root[data-theme="light"] .affiliate-product-row p,
:root[data-theme="light"] .affiliate-accordion > button span {
  color: rgba(8, 20, 45, 0.66);
}

:root[data-theme="light"] .affiliate-link-box input,
:root[data-theme="light"] .affiliate-product-filters input,
:root[data-theme="light"] .affiliate-product-filters select {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .affiliate-product-filters select option {
  color: #081426;
  background: #F8FAFF;
}

:root[data-theme="light"] .affiliate-table-head {
  color: rgba(8, 20, 45, 0.58);
  background: rgba(8, 48, 74, 0.045);
}

:root[data-theme="light"] .affiliate-table-row,
:root[data-theme="light"] .affiliate-accordion-body,
:root[data-theme="light"] .affiliate-country {
  border-color: rgba(8, 20, 45, 0.08);
}

@media (max-width: 1180px) {
  .affiliate-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .affiliate-analytics-stack {
    grid-template-columns: 1fr;
  }

  .affiliate-hero-card,
  .affiliate-link-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .customer-portal,
  .customer-portal.is-expanded {
    grid-template-columns: 1fr;
  }

  .customer-portal.is-expanded .customer-sidebar {
    display: flex;
  }

  .customer-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(222, 155, 16, 0.14);
  }

  .customer-main {
    padding: 16px 12px;
  }

  .affiliate-metrics,
  .affiliate-product-filters {
    grid-template-columns: 1fr;
  }

  .affiliate-product-row {
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
  }

  .affiliate-product-image {
    width: 44px;
    height: 44px;
  }
}

/* Compact cart and customer profile pages */
.cart-page {
  padding-top: 18px !important;
  padding-bottom: 42px;
}

.cart-page .back-link {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 0.8rem;
}

.cart-page h1 {
  margin: 12px 0 14px !important;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem) !important;
  line-height: 1.08;
}

.cart-table,
.banking-panel,
.checkout-summary {
  border-radius: 12px !important;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.055), rgba(222, 155, 16, 0.025)),
    rgba(8, 17, 31, 0.86) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cart-head,
.cart-row {
  grid-template-columns: minmax(170px, 1.1fr) 108px 112px 92px 105px minmax(130px, 0.8fr) 44px !important;
  gap: 10px !important;
}

.cart-head {
  padding: 10px 12px !important;
  font-size: 0.72rem;
}

.cart-row {
  min-height: 70px !important;
  padding: 10px 12px !important;
  font-size: 0.8rem;
}

.cart-product {
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 8px;
}

.cart-thumb {
  width: 46px !important;
  height: 42px !important;
  border-radius: 9px !important;
}

.cart-row select {
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 9px !important;
  padding: 0 9px !important;
  font-size: 0.78rem !important;
}

.cart-price {
  font-size: 0.86rem !important;
}

.qty-stepper {
  min-height: 32px;
  border-radius: 9px;
}

.qty-stepper button {
  width: 28px;
  height: 28px;
  font-size: 0.82rem;
}

.cart-voucher-cell span,
.cart-voucher-cell small {
  font-size: 0.76rem;
}

.cart-remove {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.74rem;
}

.checkout-grid {
  gap: 12px;
  margin-top: 14px;
}

.banking-panel,
.checkout-summary {
  padding: 16px !important;
}

.banking-panel h2,
.checkout-summary h2,
.customer-orders-section h2 {
  font-size: 1.05rem !important;
}

.payment-method {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
}

.banking-info {
  gap: 7px 12px;
  font-size: 0.84rem;
}

.order-voucher-box,
.checkout-summary div {
  font-size: 0.84rem;
}

.row-voucher-form {
  gap: 8px;
}

.row-voucher-form input {
  min-height: 36px;
  border-radius: 9px;
  font-size: 0.82rem;
}

.row-voucher-form button,
.checkout-summary .buy-button {
  min-height: 38px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.checkout-total strong {
  font-size: 1.05rem;
}

.customer-profile-card,
.customer-order-card {
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
}

.customer-profile-details summary {
  min-height: 58px;
  padding: 10px 14px;
}

.customer-identity {
  gap: 10px;
}

.customer-identity .customer-photo {
  width: 48px;
  height: 48px;
}

.customer-identity strong {
  font-size: 0.94rem;
}

.customer-identity span {
  font-size: 0.82rem;
}

.customer-profile-toggle {
  padding: 7px 10px;
  font-size: 0.76rem;
}

.customer-profile-details .customer-profile-form {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px 16px;
}

.customer-profile-details .customer-avatar-edit .customer-photo {
  width: 72px;
  height: 72px;
}

.customer-verified {
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
}

.customer-form-grid {
  gap: 10px 12px;
}

.customer-form-grid label {
  gap: 5px;
  font-size: 0.78rem;
}

.customer-form-grid input {
  min-height: 36px;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 0.84rem;
}

.customer-static-info {
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 6px 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
}

.customer-save-button {
  min-height: 38px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.customer-orders-section {
  gap: 10px;
}

.customer-orders {
  gap: 10px;
}

.customer-order-card {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 10px !important;
}

.customer-order-image {
  border-radius: 10px;
}

.customer-order-content {
  gap: 9px;
}

.customer-order-title-row {
  gap: 10px;
}

.customer-order-title-row h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.customer-order-title-row p {
  display: -webkit-box;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.customer-order-total {
  font-size: 1.02rem !important;
}

.customer-order-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px 10px;
}

.customer-order-meta span {
  margin-bottom: 2px;
  font-size: 0.7rem;
}

.customer-order-meta strong {
  font-size: 0.78rem;
}

.customer-order-meta b {
  min-width: 0;
  min-height: 28px;
  padding: 5px 9px;
  font-size: 0.76rem;
}

.customer-order-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  margin: 0 4px 4px 0;
  border: 1px solid rgba(255, 215, 0, .36);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 215, 0, .22), rgba(0, 187, 251, .1));
  color: #ffd76a;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

:root[data-theme="light"] .cart-table,
:root[data-theme="light"] .banking-panel,
:root[data-theme="light"] .checkout-summary,
:root[data-theme="light"] .customer-profile-card,
:root[data-theme="light"] .customer-order-card {
  border-color: rgba(8, 48, 74, 0.11);
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.07), rgba(212, 175, 55, 0.04)),
    rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.08) !important;
}

:root[data-theme="light"] .cart-row select,
:root[data-theme="light"] .row-voucher-form input,
:root[data-theme="light"] .customer-form-grid input {
  border-color: rgba(8, 20, 45, 0.12);
  color: #081426;
  background: rgba(255, 255, 255, 0.94);
}

:root[data-theme="light"] .cart-head,
:root[data-theme="light"] .cart-row,
:root[data-theme="light"] .customer-order-meta {
  border-color: rgba(8, 20, 45, 0.08);
}

@media (max-width: 980px) {
  .cart-head {
    display: none;
  }

  .cart-row,
  .customer-order-card,
  .customer-profile-details .customer-profile-form {
    grid-template-columns: 1fr !important;
  }

  .cart-row {
    gap: 8px !important;
  }

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

/* Compact topbar action icons */
.topbar-actions {
  gap: 8px;
}

.theme-toggle {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16) !important;
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  font-size: 0.82rem;
}

.login-button {
  min-height: 36px !important;
  gap: 7px;
  padding: 0 12px 0 8px !important;
  border-radius: 999px;
  font-size: 0.88rem;
}

.login-button span {
  width: 26px;
  height: 26px;
  font-size: 0.72rem;
}

.cart-button {
  min-height: 36px !important;
  gap: 7px;
  padding: 0 10px 0 12px !important;
  border-radius: 999px;
  font-size: 0.85rem;
}

.cart-button b {
  min-width: 20px;
  height: 20px;
  font-size: 0.68rem;
}

.cart-button.has-items {
  box-shadow: 0 8px 20px rgba(222, 155, 16, 0.12) !important;
  animation: none;
}

:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .login-button,
:root[data-theme="light"] .cart-button {
  box-shadow: 0 8px 20px rgba(8, 20, 45, 0.08) !important;
}

/* Compact about page */
.about-page {
  padding-top: 22px !important;
  padding-bottom: 48px;
}

.about-intro-grid,
.about-vision-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 28px !important;
}

.about-visual,
.about-vision-image {
  min-height: 240px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.about-copy .eyebrow {
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.about-copy h1,
.about-text-section h2,
.about-social-section h2,
.about-vision-section h2 {
  margin: 8px 0 12px !important;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem) !important;
  line-height: 1.08;
}

.about-copy p,
.about-text-section p {
  max-width: 780px;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.about-text-section,
.about-social-section,
.about-vision-section {
  margin-top: 34px !important;
}

.about-social-grid {
  gap: 10px;
}

.about-social-grid article,
.about-vision-list article {
  border-radius: 12px !important;
  padding: 14px !important;
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.055), rgba(222, 155, 16, 0.025)),
    rgba(8, 17, 31, 0.84);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.social-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 0.72rem;
}

.about-social-grid h3 {
  margin: 0 0 5px;
  font-size: 0.95rem;
}

.about-social-grid p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.about-social-grid a {
  min-height: 30px;
  margin-top: 9px;
  padding: 0 12px;
  font-size: 0.76rem;
}

.about-vision-grid {
  margin-top: 18px !important;
}

.about-vision-list {
  gap: 8px;
}

.about-vision-list article {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
}

.about-vision-list span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  font-size: 0.9rem !important;
  background: rgba(34, 195, 255, 0.12);
}

.about-vision-list strong {
  font-size: 0.82rem;
  line-height: 1.45 !important;
}

:root[data-theme="light"] .about-intro-grid {
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.08);
}

:root[data-theme="light"] .about-social-grid article,
:root[data-theme="light"] .about-vision-list article {
  background:
    linear-gradient(135deg, rgba(34, 195, 255, 0.07), rgba(212, 175, 55, 0.04)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(8, 20, 45, 0.08);
}

@media (max-width: 900px) {
  .about-intro-grid,
  .about-vision-grid,
  .about-social-grid {
    grid-template-columns: 1fr;
  }

  .about-visual,
  .about-vision-image {
    min-height: 190px !important;
  }
}

/* Fixed, balanced card system */
.chatbot-video-grid,
.freebie-grid,
.home-freebie-grid {
  justify-content: start;
  align-items: stretch;
}

.freebie-body h3,
.chatbot-video-body h3,
.pricing-card h3 {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.freebie-body p,
.chatbot-video-body p,
.pricing-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.freebie-card .card-cta,
.chatbot-video-card .card-cta,
.pricing-card .card-cta {
  margin-top: auto !important;
}

.freebie-grid,
.home-freebie-grid {
  --freebie-card-width: 320px;
  --freebie-card-height: 392px;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(var(--freebie-card-width), var(--freebie-card-width))) !important;
  gap: 16px !important;
  column-count: initial !important;
  column-gap: 0 !important;
}

.freebie-card {
  display: grid !important;
  width: var(--freebie-card-width);
  height: var(--freebie-card-height);
  grid-template-rows: 168px minmax(0, 1fr);
  margin: 0 !important;
  border-radius: 18px !important;
}

.freebie-media,
.freebie-card.is-short .freebie-media,
.freebie-card.is-wide .freebie-media,
.freebie-card.is-image .freebie-media {
  height: 168px;
  min-height: 168px !important;
  aspect-ratio: auto !important;
}

.freebie-card.is-short .freebie-media {
  background-size: contain;
  background-repeat: no-repeat;
}

.freebie-body,
.chatbot-video-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 12px 14px 14px !important;
}

.freebie-body p {
  -webkit-line-clamp: 2;
  margin-top: 6px !important;
  font-size: 0.9rem;
  line-height: 1.45 !important;
}

.freebie-body h3 {
  min-height: 2.35em;
  margin-bottom: 6px !important;
  font-size: 1rem !important;
  line-height: 1.22 !important;
}

.freebie-card .tag-row {
  max-height: 26px;
  margin-top: 8px;
  overflow: hidden;
}

.freebie-card .badge {
  min-height: 26px;
  padding: 0 9px;
  font-size: 0.7rem;
}

.freebie-card .card-cta.compact {
  min-width: 142px;
  min-height: 34px;
  margin-top: 12px !important;
  padding: 0 16px;
  font-size: 0.82rem;
}

.chatbot-video-grid {
  --video-card-width: 260px;
  --video-card-height: 520px;
  grid-template-columns: repeat(auto-fill, minmax(var(--video-card-width), var(--video-card-width))) !important;
  gap: 16px !important;
}

.chatbot-video-card {
  display: grid;
  width: var(--video-card-width);
  height: var(--video-card-height);
  grid-template-rows: 360px minmax(0, 1fr);
  border-radius: 18px !important;
}

.chatbot-video-poster {
  height: 360px;
  aspect-ratio: auto !important;
}

.chatbot-video-body p {
  -webkit-line-clamp: 2;
}

.stats-grid {
  align-items: stretch;
}

.stat-card {
  display: grid;
  min-height: 124px !important;
  align-content: center;
  border-radius: 16px !important;
}

.about-social-grid {
  align-items: stretch;
}

.about-social-grid article {
  display: flex;
  min-height: 168px;
  flex-direction: column;
}

.about-social-grid p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.about-social-grid a {
  width: fit-content;
  margin-top: auto !important;
}

.about-vision-list article {
  min-height: 68px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  border-radius: 18px !important;
}

.pricing-card p {
  -webkit-line-clamp: 3;
}

.pricing-card .feature-list {
  min-height: 0;
}

/* Product card text rhythm */
.tool-card .tool-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.tool-card .tool-body h3 {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 12px 0 8px !important;
  overflow: hidden;
  font-size: 1.02rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tool-card .tool-body p {
  display: -webkit-box;
  min-height: 4.35em;
  max-height: 4.35em;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tool-card .tag-row {
  flex-wrap: nowrap;
  max-width: 100%;
  min-height: 27px;
  max-height: 27px;
  margin-top: 10px;
  overflow: hidden;
}

.tool-card .tag-row span {
  flex: 0 0 auto;
  max-width: 148px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tool-card .card-cta {
  min-height: 38px;
  margin-top: 12px !important;
}

.tool-card .tool-body:not(:has(.tag-row)) .card-cta {
  margin-top: 49px !important;
}

@media (max-width: 1500px) {
  .freebie-grid,
  .home-freebie-grid {
    --freebie-card-width: 300px;
    --freebie-card-height: 378px;
  }

  .freebie-card {
    grid-template-rows: 158px minmax(0, 1fr);
  }

  .freebie-media,
  .freebie-card.is-short .freebie-media,
  .freebie-card.is-wide .freebie-media,
  .freebie-card.is-image .freebie-media {
    height: 158px;
    min-height: 158px !important;
  }
}

@media (max-width: 980px) {
  .freebie-grid,
  .home-freebie-grid,
  .chatbot-video-grid {
    justify-content: center;
  }

  .chatbot-video-grid {
    --video-card-width: 240px;
    --video-card-height: 490px;
  }

  .chatbot-video-card {
    grid-template-rows: 330px minmax(0, 1fr);
  }

  .chatbot-video-poster {
    height: 330px;
  }
}

@media (max-width: 620px) {
  .freebie-grid,
  .home-freebie-grid,
  .chatbot-video-grid {
    --freebie-card-width: min(100%, 360px);
    --video-card-width: min(100%, 320px);
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .freebie-card,
  .chatbot-video-card {
    width: 100%;
    max-width: 360px;
    justify-self: center;
  }
}

/* Compact premium product detail */
.shop-product-page {
  padding: 14px 0 48px !important;
}

.shop-product-page .back-link {
  min-height: 36px;
  margin-bottom: 16px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.shop-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr) !important;
  gap: 24px !important;
  align-items: start;
}

.shop-gallery {
  position: sticky;
  top: 76px;
}

.shop-main-shot {
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  border-radius: 20px !important;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.3), 0 0 34px rgba(34, 195, 255, 0.06) !important;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shop-main-shot:hover {
  transform: scale(1.008);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.36), 0 0 40px rgba(34, 195, 255, 0.09) !important;
}

.shop-thumbs {
  grid-template-columns: repeat(6, minmax(0, 86px)) !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.shop-thumb {
  min-height: 52px !important;
  border-radius: 10px !important;
}

.shop-summary {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(34, 195, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(245, 194, 46, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(34, 195, 255, 0.075), rgba(124, 77, 255, 0.055)),
    rgba(7, 13, 27, 0.72);
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.shop-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.shop-kicker {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 7px;
  color: #f5c22e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-summary h1 {
  max-width: 720px;
  margin: 0 !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.02 !important;
}

.shop-rating {
  flex: 0 0 auto;
  gap: 7px !important;
  justify-content: flex-end;
  margin: 0 !important;
}

.shop-rating small,
.shop-rating em {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.shop-rating small {
  padding: 0 10px;
  border: 1px solid rgba(245, 194, 46, 0.18);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
}

.shop-rating em {
  padding: 0 11px !important;
  font-size: 0.78rem;
}

.shop-feature-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-feature-bullets li {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(34, 195, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.038);
  padding: 8px 10px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.shop-feature-bullets span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: #06101b;
  background: linear-gradient(135deg, #22c3ff, #f5c22e);
  font-size: 0.72rem;
  font-weight: 950;
}

.shop-summary-description {
  border: 1px solid rgba(34, 195, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  padding: 18px;
}

.shop-summary-description h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.shop-summary-description p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.62;
}

.shop-summary-description p + p {
  margin-top: 12px;
}

.shop-plan-line {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 0 !important;
  font-size: 0.86rem;
}

.shop-plan-grid {
  gap: 8px !important;
  margin-top: -4px !important;
}

.shop-plan {
  min-height: 34px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  font-size: 0.82rem;
}

.shop-countdown {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 0 !important;
  border: 1px solid rgba(255, 109, 117, 0.16);
  border-radius: 999px;
  background: rgba(255, 89, 100, 0.07);
  padding: 5px 9px;
  font-size: 0.82rem;
}

.shop-countdown span,
.shop-bottom-offer b {
  min-width: 25px !important;
  min-height: 24px !important;
  border-radius: 999px !important;
}

.shop-price-row {
  gap: 9px !important;
  margin-top: 0 !important;
}

.shop-price-row del {
  font-size: 0.9rem;
}

.shop-price-row strong {
  color: #f5c22e !important;
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1;
  text-shadow: 0 0 24px rgba(245, 194, 46, 0.18);
}

.shop-price-row small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: rgba(37, 245, 168, 0.12);
  padding: 0 9px;
  color: #25f5a8 !important;
  font-size: 0.78rem;
  font-weight: 900;
}

.shop-voucher-saving {
  margin-top: -4px !important;
  font-size: 0.86rem;
}

.product-voucher-box {
  gap: 7px !important;
  margin-top: 0 !important;
  border-radius: 16px !important;
  padding: 10px !important;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 118px !important;
  gap: 8px !important;
}

.product-voucher-box input {
  min-height: 42px !important;
  border-radius: 12px !important;
  font-size: 0.9rem;
}

.product-voucher-box .primary-action {
  min-height: 42px !important;
  border-radius: 999px !important;
  font-size: 0.88rem;
}

.shop-actions {
  gap: 10px !important;
  margin-top: 2px !important;
  padding: 0 !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 48px !important;
  border-radius: 16px !important;
  font-size: 0.94rem !important;
}

.shop-actions .buy-button {
  animation: buyPulse 2600ms ease-in-out infinite;
}

.home-featured-section .tool-grid,
.subpage .tool-grid,
.home-freebie-section .freebie-grid,
.subpage .freebie-grid,
.home-freebie-grid {
  gap: 24px !important;
}

.home-video-section .chatbot-video-grid,
.subpage .chatbot-video-grid {
  gap: 26px !important;
}

@keyframes buyPulse {
  0%, 100% { box-shadow: 0 16px 42px rgba(222, 155, 16, 0.18); }
  50% { box-shadow: 0 18px 50px rgba(222, 155, 16, 0.32), 0 0 28px rgba(245, 194, 46, 0.12); }
}

.shop-feature-strip {
  margin-top: 22px !important;
  padding: 8px !important;
}

.shop-feature-strip div {
  min-height: 54px !important;
  padding: 10px !important;
}

.shop-section-card,
.shop-related,
.shop-why,
.shop-bottom-offer {
  margin-top: 24px !important;
}

@media (max-width: 1100px) {
  .shop-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-gallery,
  .shop-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  .shop-product-page {
    padding-top: 10px !important;
  }

  .shop-summary {
    gap: 12px;
    border-radius: 18px;
    padding: 14px;
  }

  .shop-title-row,
  .shop-actions {
    grid-template-columns: 1fr;
  }

  .shop-title-row {
    display: grid;
  }

  .shop-rating {
    justify-content: flex-start;
  }

  .shop-summary h1 {
    font-size: clamp(1.55rem, 8vw, 2.1rem) !important;
  }

  .shop-feature-bullets {
    grid-template-columns: 1fr;
  }

  .compact-voucher-form {
    grid-template-columns: 1fr !important;
  }
}

/* Premium SaaS product detail refresh */
.shop-product-page.container {
  width: min(1120px, 100%) !important;
  padding: 18px 0 72px !important;
  animation: pageFadeUp 280ms ease both;
}

.shop-product-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 195, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 2%, rgba(124, 77, 255, 0.18), transparent 30%),
    radial-gradient(circle at 52% 72%, rgba(245, 194, 46, 0.055), transparent 34%);
}

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

@media (min-width: 1181px) {
  :root {
    --side: 168px;
    --max: 1120px;
  }

  .sidebar {
    border-color: rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(7, 12, 26, 0.9), rgba(5, 9, 20, 0.78));
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
  }

  .side-nav {
    gap: 8px;
  }

  .side-link {
    border: 1px solid transparent;
    color: rgba(226, 232, 240, 0.68);
    transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
  }

  .side-link:hover {
    border-color: rgba(34, 195, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    transform: translateX(2px);
  }

  .side-link.is-active {
    border-color: rgba(245, 194, 46, 0.32);
    background: linear-gradient(135deg, rgba(245, 194, 46, 0.11), rgba(34, 195, 255, 0.075));
    box-shadow: inset 3px 0 0 rgba(245, 194, 46, 0.74), 0 12px 32px rgba(0, 0, 0, 0.16);
    color: #f8fafc;
  }

  .topbar {
    min-height: 48px;
    border-color: rgba(148, 163, 184, 0.1);
    background: rgba(5, 9, 20, 0.82);
    backdrop-filter: blur(18px);
  }

  .topnav-link {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.66);
    transition: background 220ms ease, color 220ms ease, transform 220ms ease;
  }

  .topnav-link:hover,
  .topnav-link.is-active {
    background: rgba(255, 255, 255, 0.065);
    color: #fff;
  }
}

.shop-product-page .back-link {
  min-height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(226, 232, 240, 0.86);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.shop-product-page .back-link:hover {
  transform: translateX(-2px);
  border-color: rgba(34, 195, 255, 0.28);
  background: rgba(34, 195, 255, 0.06);
}

.shop-hero-grid {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr) !important;
  gap: clamp(24px, 3vw, 40px) !important;
}

.shop-gallery {
  display: grid;
  gap: 14px;
  align-self: start;
}

.shop-main-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 24px !important;
  background-color: rgba(15, 23, 42, 0.72);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 44px rgba(34, 195, 255, 0.07) !important;
}

.shop-main-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%);
}

.shop-thumbs {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  margin-top: 0 !important;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}

.shop-thumb {
  flex: 0 0 82px;
  min-height: 54px !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 14px !important;
  scroll-snap-align: start;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.shop-thumb:hover,
.shop-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(34, 195, 255, 0.58) !important;
  box-shadow: 0 14px 32px rgba(34, 195, 255, 0.14);
}

.shop-summary {
  gap: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(124, 77, 255, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(8, 13, 27, 0.82));
  padding: clamp(22px, 2.8vw, 34px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.shop-title-row {
  gap: 18px;
}

.shop-kicker {
  min-height: 26px;
  margin-bottom: 10px;
  border: 1px solid rgba(245, 194, 46, 0.24);
  border-radius: 999px;
  background: rgba(245, 194, 46, 0.08);
  padding: 0 10px;
  color: #f5c22e;
  letter-spacing: 0.04em;
}

.shop-summary h1 {
  max-width: 620px;
  font-size: clamp(2.25rem, 4.4vw, 4.15rem) !important;
  letter-spacing: 0 !important;
  line-height: 0.96 !important;
}

.shop-rating {
  display: flex;
  flex-wrap: wrap;
}

.shop-rating small,
.shop-rating em {
  min-height: 28px;
  border-radius: 999px;
  font-size: 0.76rem;
}

.shop-rating small {
  background: rgba(245, 194, 46, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.shop-rating em {
  background: linear-gradient(135deg, #8b5cf6, #c084fc) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.26);
}

.shop-summary-description {
  border-color: rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  padding: 18px 20px;
}

.shop-summary-description h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.shop-summary-description p {
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.72;
}

.shop-pricing-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 194, 46, 0.1), transparent 34%),
    rgba(2, 6, 23, 0.36);
  padding: 18px;
}

.shop-plan-line {
  color: rgba(226, 232, 240, 0.72);
  font-weight: 800;
}

.shop-plan-line strong {
  color: #f5c22e;
}

.shop-plan-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

.shop-plan {
  min-height: 40px !important;
  border-color: rgba(34, 195, 255, 0.22) !important;
  border-radius: 12px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.shop-plan:hover,
.shop-plan.is-active {
  transform: translateY(-1px);
  border-color: rgba(245, 194, 46, 0.68) !important;
  background: linear-gradient(135deg, #f5c22e, #d99906) !important;
  color: #08111f !important;
}

.shop-countdown {
  width: fit-content;
  border-color: rgba(248, 113, 113, 0.26);
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.2);
  color: #fda4af;
  font-weight: 900;
}

.shop-countdown span {
  background: rgba(248, 113, 113, 0.16) !important;
  color: #fecdd3 !important;
}

.shop-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px !important;
}

.shop-price-row del {
  order: 1;
  color: rgba(226, 232, 240, 0.46) !important;
  font-size: 1.02rem;
  font-weight: 800;
}

.shop-price-row strong {
  order: 2;
  color: #f5c22e !important;
  font-size: clamp(2.25rem, 4.2vw, 3.6rem) !important;
  font-weight: 950;
  letter-spacing: 0 !important;
  text-shadow: 0 0 32px rgba(245, 194, 46, 0.22);
}

.shop-price-row small {
  order: 3;
  min-height: 30px;
  background: rgba(37, 245, 168, 0.12);
  color: #25f5a8 !important;
  box-shadow: 0 0 24px rgba(37, 245, 168, 0.08);
}

.shop-voucher-saving {
  color: rgba(226, 232, 240, 0.86);
  font-weight: 800;
}

.shop-voucher-saving strong,
.voucher-ok {
  color: #25f5a8 !important;
}

.product-voucher-box {
  border: 1px solid rgba(34, 195, 255, 0.14);
  border-radius: 18px !important;
  background: rgba(34, 195, 255, 0.045);
  padding: 12px !important;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 128px auto !important;
}

.product-voucher-box input {
  border-color: rgba(148, 163, 184, 0.16) !important;
  background: rgba(2, 6, 23, 0.52) !important;
  color: #fff;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.product-voucher-box input:focus {
  border-color: rgba(34, 195, 255, 0.64) !important;
  box-shadow: 0 0 0 4px rgba(34, 195, 255, 0.1);
}

.product-voucher-box .primary-action {
  background: linear-gradient(135deg, #67e8f9, #f5c22e) !important;
  color: #06101b !important;
  font-weight: 950;
}

.voucher-clear-button {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(226, 232, 240, 0.86);
  padding: 0 14px;
  font-weight: 900;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.voucher-clear-button:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 113, 113, 0.32);
  background: rgba(248, 113, 113, 0.1);
}

.shop-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 14px !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 56px !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.shop-actions .copy-button {
  border: 1px solid rgba(245, 194, 46, 0.42) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: #f5c22e !important;
}

.shop-actions .copy-button:hover {
  transform: translateY(-2px);
  background: rgba(245, 194, 46, 0.08) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.shop-actions .buy-button {
  background: linear-gradient(135deg, #ffd166, #f5b000 48%, #d99400) !important;
  color: #07111f !important;
  box-shadow: 0 20px 50px rgba(222, 155, 16, 0.24), 0 0 28px rgba(245, 194, 46, 0.13) !important;
}

.shop-actions .buy-button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 24px 62px rgba(222, 155, 16, 0.34), 0 0 36px rgba(245, 194, 46, 0.16) !important;
}

.shop-section-card,
.shop-related,
.shop-why {
  border-color: rgba(148, 163, 184, 0.14) !important;
  border-radius: 22px !important;
  background: rgba(15, 23, 42, 0.6) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.shop-section-card,
.shop-related,
.shop-why,
.shop-bottom-offer {
  margin-top: 36px !important;
}

.shop-section-head {
  min-height: 54px;
  border-color: rgba(245, 194, 46, 0.24) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(245, 194, 46, 0.08), rgba(124, 77, 255, 0.06)) !important;
}

.shop-video-frame {
  border-radius: 18px !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.shop-related-card,
.why-grid article {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.shop-related-card:hover,
.why-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 195, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

@media (max-width: 1100px) {
  .shop-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-gallery,
  .shop-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .shop-product-page.container {
    width: min(100%, calc(100vw - 24px)) !important;
    padding-bottom: 96px !important;
  }

  .shop-summary {
    border-radius: 22px;
    padding: 18px;
  }

  .shop-summary h1 {
    font-size: clamp(2rem, 11vw, 2.8rem) !important;
  }

  .shop-main-shot {
    border-radius: 18px !important;
  }

  .shop-thumbs {
    margin-left: -2px !important;
    margin-right: -2px !important;
  }

  .shop-title-row {
    display: grid;
  }

  .shop-rating {
    justify-content: flex-start;
  }

  .shop-pricing-card {
    gap: 12px;
    margin-left: -2px;
    margin-right: -2px;
    padding: 14px;
  }

  .shop-price-row strong {
    flex-basis: 100%;
  }

  .compact-voucher-form {
    grid-template-columns: 1fr !important;
  }

  .shop-actions {
    position: sticky;
    bottom: 10px;
    z-index: 20;
    grid-template-columns: 0.92fr 1.08fr;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(5, 9, 20, 0.86);
    padding: 8px !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.34);
  }

  .shop-actions .copy-button,
  .shop-actions .buy-button {
    min-height: 52px !important;
    font-size: 0.92rem !important;
  }

  .shop-section-card,
  .shop-related,
  .shop-why,
  .shop-bottom-offer {
    margin-top: 28px !important;
  }
}

/* About page image/social polish */
.about-page {
  position: relative;
}

.about-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 4%, rgba(34, 195, 255, 0.14), transparent 28%),
    radial-gradient(circle at 70% 14%, rgba(245, 194, 46, 0.12), transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(124, 77, 255, 0.12), transparent 30%);
}

.about-intro-grid {
  align-items: center;
}

.about-visual,
.about-vision-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 46, 0.18) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 194, 46, 0.13), transparent 28%),
    radial-gradient(circle at 74% 70%, rgba(34, 195, 255, 0.12), transparent 34%),
    rgba(15, 23, 42, 0.76) !important;
}

.about-visual::after,
.about-vision-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 -80px 120px rgba(0, 0, 0, 0.18);
}

.about-visual img,
.about-vision-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.about-copy .eyebrow {
  border-color: rgba(245, 194, 46, 0.28);
  background: linear-gradient(135deg, rgba(245, 194, 46, 0.14), rgba(34, 195, 255, 0.06));
  color: #ffe08a;
}

.about-copy h1,
.about-text-section h2,
.about-social-section h2,
.about-vision-section h2 {
  color: #fff;
  text-shadow: 0 0 28px rgba(245, 194, 46, 0.07);
}

.about-social-grid {
  align-items: stretch;
}

.about-social-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  border: 1px solid rgba(245, 194, 46, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 194, 46, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(34, 195, 255, 0.06), rgba(124, 77, 255, 0.035)),
    rgba(8, 17, 31, 0.9) !important;
}

.social-icon {
  display: grid;
  min-width: 42px;
  width: fit-content;
  max-width: 100%;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(245, 194, 46, 0.2);
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.2), rgba(245, 194, 46, 0.18));
  color: #fff;
  padding: 0 10px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
}

.social-icon img {
  display: block;
  width: 100%;
  max-width: 42px;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.about-social-grid h3,
.about-social-grid p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-social-grid a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.2;
  border: 1px solid rgba(245, 194, 46, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #f5c22e);
  color: #06101b;
  box-shadow: 0 14px 34px rgba(245, 194, 46, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.about-social-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(245, 194, 46, 0.2);
}

.about-vision-list span {
  background: linear-gradient(135deg, rgba(34, 195, 255, 0.22), rgba(245, 194, 46, 0.2)) !important;
  color: #ffe08a;
}

@media (max-width: 720px) {
  .about-visual,
  .about-vision-image {
    min-height: 220px !important;
  }

  .about-social-grid article {
    padding: 16px !important;
  }

  .about-social-grid a {
    width: 100%;
  }
}

/* Product detail layout repair after premium refresh */
.shop-product-page.container {
  width: min(1280px, 100%) !important;
}

.shop-hero-grid {
  grid-template-columns: minmax(420px, 0.94fr) minmax(500px, 1.06fr) !important;
  gap: clamp(28px, 3.2vw, 44px) !important;
}

.shop-gallery {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 195, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(7, 12, 26, 0.62));
  padding: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.shop-main-shot {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  min-height: clamp(280px, 26vw, 420px) !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.shop-thumbs {
  padding: 4px 2px 2px !important;
}

.shop-thumb {
  flex-basis: 92px;
  min-height: 58px !important;
}

.shop-summary {
  gap: 16px;
  padding: clamp(22px, 2.2vw, 28px);
}

.shop-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.shop-summary h1 {
  font-size: clamp(2.05rem, 3.4vw, 3.4rem) !important;
  line-height: 1 !important;
}

.shop-summary-description {
  padding: 16px 18px;
}

.shop-summary-description p {
  font-size: 0.92rem;
  line-height: 1.62;
}

.shop-pricing-card {
  gap: 12px;
  padding: 16px;
}

.shop-price-row strong {
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
}

.product-voucher-box {
  padding: 10px !important;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 116px auto !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 52px !important;
}

@media (max-width: 1320px) {
  .shop-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .shop-gallery,
  .shop-summary {
    position: static !important;
  }

  .shop-gallery {
    max-width: 820px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .shop-product-page.container {
    width: min(100%, calc(100vw - 20px)) !important;
  }

  .shop-gallery {
    border-radius: 20px;
    padding: 10px;
  }

  .shop-main-shot {
    min-height: 0 !important;
  }

  .shop-thumb {
    flex-basis: 78px;
    min-height: 50px !important;
  }

  .shop-title-row {
    grid-template-columns: 1fr;
  }

  .shop-summary {
    padding: 16px;
  }

  .shop-summary h1 {
    font-size: clamp(1.9rem, 10vw, 2.55rem) !important;
  }

  .compact-voucher-form {
    grid-template-columns: 1fr !important;
  }

  .shop-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Product detail type scale and 16:9 media correction */
.shop-main-shot {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  background-size: contain !important;
  background-color: rgba(7, 12, 26, 0.92) !important;
}

.shop-gallery {
  padding: 12px;
}

.shop-summary {
  gap: 14px;
  padding: clamp(18px, 1.8vw, 24px);
}

.shop-kicker {
  min-height: 24px;
  margin-bottom: 8px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.shop-summary h1 {
  font-size: clamp(2rem, 2.55vw, 2.85rem) !important;
  line-height: 1.04 !important;
}

.shop-rating small,
.shop-rating em {
  min-height: 26px;
  font-size: 0.72rem !important;
}

.shop-summary-description {
  padding: 14px 16px;
}

.shop-summary-description h2 {
  font-size: 0.98rem;
}

.shop-summary-description p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.shop-pricing-card {
  gap: 10px;
  padding: 14px;
}

.shop-plan-line {
  font-size: 0.86rem;
}

.shop-plan {
  min-height: 34px !important;
  padding: 0 13px !important;
  font-size: 0.82rem !important;
}

.shop-countdown {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.82rem;
}

.shop-countdown span {
  min-width: 26px !important;
  min-height: 24px !important;
}

.shop-price-row strong {
  font-size: clamp(1.9rem, 2.65vw, 2.65rem) !important;
}

.shop-price-row del {
  font-size: 0.9rem;
}

.shop-price-row small {
  min-height: 28px;
  font-size: 0.78rem;
}

.product-voucher-box input,
.product-voucher-box .primary-action,
.voucher-clear-button {
  min-height: 40px !important;
  font-size: 0.86rem !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 48px !important;
  font-size: 0.9rem !important;
}

@media (max-width: 760px) {
  .shop-summary h1 {
    font-size: clamp(1.65rem, 8vw, 2.15rem) !important;
  }

  .shop-price-row strong {
    font-size: clamp(1.8rem, 9vw, 2.25rem) !important;
  }
}

/* Final premium product detail hierarchy pass */
.shop-product-page.container {
  width: min(1180px, 100%) !important;
  padding-top: 24px !important;
  padding-bottom: 80px !important;
}

.shop-product-page .back-link {
  min-height: 36px;
  margin-bottom: 24px;
  padding-inline: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none !important;
}

.shop-hero-grid {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr) !important;
  gap: clamp(32px, 3.4vw, 48px) !important;
  align-items: start;
}

.shop-gallery {
  border-radius: 24px;
  padding: 16px;
  background:
    radial-gradient(circle at 14% 0%, rgba(34, 195, 255, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(9, 18, 34, 0.78), rgba(5, 9, 20, 0.7));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.shop-main-shot {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  border-radius: 20px !important;
  background-size: cover !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 0 28px rgba(34, 195, 255, 0.055) !important;
}

.shop-thumb {
  flex-basis: 84px;
  min-height: 54px !important;
  border-radius: 12px !important;
  opacity: 0.76;
}

.shop-thumb:hover,
.shop-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px rgba(34, 195, 255, 0.11);
}

.shop-summary {
  gap: 20px;
  border-radius: 24px;
  padding: clamp(24px, 2.4vw, 32px);
  background:
    radial-gradient(circle at 88% 0%, rgba(124, 77, 255, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(13, 20, 38, 0.86), rgba(6, 10, 22, 0.84));
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.28);
}

.shop-title-row {
  gap: 16px;
}

.shop-kicker {
  min-height: 24px;
  margin-bottom: 12px;
  padding-inline: 11px;
  color: #f5c85f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.shop-rating {
  gap: 8px !important;
}

.shop-rating small,
.shop-rating em {
  min-height: 28px;
  padding-inline: 11px !important;
  font-size: 0.72rem !important;
  font-weight: 800;
}

.shop-summary h1 {
  max-width: 680px;
  font-size: clamp(3rem, 3.6vw, 3.5rem) !important;
  font-weight: 750 !important;
  line-height: 1.08 !important;
}

.shop-summary-description {
  border-color: rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 22px;
}

.shop-summary-description h2 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.shop-summary-description p {
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  font-weight: 600;
  line-height: 1.75;
}

.shop-pricing-card {
  gap: 16px;
  border-color: rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 194, 46, 0.07), transparent 34%),
    rgba(2, 6, 23, 0.28);
  padding: 20px;
}

.shop-plan-line {
  gap: 8px;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.9rem;
}

.shop-plan-line strong {
  color: #f5c85f;
}

.shop-plan {
  min-height: 38px !important;
  border-radius: 12px !important;
  padding-inline: 15px !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
}

.shop-countdown {
  min-height: 32px;
  width: fit-content;
  border-color: rgba(248, 113, 113, 0.18);
  background: rgba(127, 29, 29, 0.14);
  color: rgba(254, 202, 202, 0.9);
  font-size: 0.82rem;
}

.shop-countdown span {
  min-width: 25px !important;
  min-height: 23px !important;
  background: rgba(248, 113, 113, 0.12) !important;
}

.shop-price-row {
  gap: 10px 14px !important;
}

.shop-price-row del {
  font-size: 0.9rem;
  opacity: 0.58;
}

.shop-price-row strong {
  color: #f5c85f !important;
  font-size: clamp(2.1rem, 3vw, 3rem) !important;
  font-weight: 800;
  text-shadow: 0 0 24px rgba(245, 194, 46, 0.13);
}

.shop-price-row small {
  min-height: 28px;
  background: rgba(37, 245, 168, 0.1);
  color: rgba(37, 245, 168, 0.92) !important;
  font-size: 0.78rem;
  box-shadow: none;
}

.shop-voucher-saving {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.9rem;
}

.product-voucher-box {
  border-color: rgba(34, 195, 255, 0.11);
  border-radius: 18px !important;
  background: rgba(34, 195, 255, 0.035);
  padding: 12px !important;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 120px auto !important;
  gap: 10px !important;
}

.product-voucher-box input,
.product-voucher-box .primary-action,
.voucher-clear-button {
  min-height: 44px !important;
  font-size: 0.88rem !important;
}

.product-voucher-box .primary-action {
  background: linear-gradient(135deg, #67e8f9, #d8c970) !important;
  box-shadow: 0 12px 30px rgba(34, 195, 255, 0.12);
}

.shop-actions {
  gap: 14px !important;
  margin-top: 4px !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 54px !important;
  border-radius: 16px !important;
  font-size: 0.94rem !important;
  font-weight: 850 !important;
}

.shop-actions .copy-button {
  border-color: rgba(245, 194, 46, 0.32) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(245, 200, 95, 0.92) !important;
}

.shop-actions .buy-button {
  background: linear-gradient(135deg, #f6d36b, #e2a20d 72%, #bf7f05) !important;
  box-shadow: 0 16px 42px rgba(222, 155, 16, 0.2), 0 0 24px rgba(245, 194, 46, 0.08) !important;
}

.shop-section-card,
.shop-related,
.shop-why {
  margin-top: 44px !important;
}

@media (max-width: 1180px) {
  .shop-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-gallery {
    max-width: 840px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .shop-product-page.container {
    width: min(100%, calc(100vw - 20px)) !important;
    padding-top: 14px !important;
  }

  .shop-gallery,
  .shop-summary {
    border-radius: 20px;
    padding: 14px;
  }

  .shop-summary {
    gap: 16px;
  }

  .shop-summary h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.35rem) !important;
    line-height: 1.1 !important;
  }

  .shop-summary-description {
    padding: 16px;
  }

  .shop-summary-description p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .shop-price-row strong {
    flex-basis: auto;
    font-size: clamp(1.8rem, 8vw, 2.25rem) !important;
  }

  .compact-voucher-form {
    grid-template-columns: 1fr !important;
  }

  .shop-actions {
    grid-template-columns: 1fr 1fr !important;
  }
}



/* Product compact size request */
.shop-summary-description h2 {
  font-size: 12px !important;
}

.shop-summary-description p {
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.shop-price-row strong {
  font-size: 14px !important;
}

.shop-price-row del,
.shop-price-row small,
.shop-voucher-saving,
.shop-plan-line,
.shop-countdown {
  font-size: 12px !important;
}

.shop-plan {
  min-height: 30px !important;
  padding-inline: 10px !important;
  font-size: 12px !important;
}

.product-voucher-box input,
.product-voucher-box .primary-action,
.voucher-clear-button {
  min-height: 34px !important;
  font-size: 12px !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 40px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}

@media (max-width: 760px) {
  .shop-price-row strong {
    font-size: 14px !important;
  }

  .shop-actions .copy-button,
  .shop-actions .buy-button {
    min-height: 38px !important;
    font-size: 12px !important;
  }
}

/* Light mode metallic gold luxury pass */
:root[data-theme="light"] {
  --metallic-gold: #D4AF37;
  --metallic-gold-deep: #B8860B;
  --metallic-gold-soft: #E8C76A;
  --metallic-gold-pale: #FFF3C4;
  --metallic-gold-bg: linear-gradient(135deg, #FFF7D6 0%, #F7E7A1 25%, #D4AF37 50%, #FFF0B0 75%, #B8860B 100%);
  --metallic-gold-cta: linear-gradient(135deg, #FFF3C4 0%, #E7C35A 35%, #C89B3C 65%, #B8860B 100%);
  --metallic-gold-border: rgba(212, 175, 55, 0.45);
  --metallic-gold-ring: 0 0 0 1px rgba(255, 240, 180, 0.35);
  --metallic-gold-shadow: 0 4px 12px rgba(200, 155, 60, 0.18);
  --metallic-gold-shadow-hover: 0 8px 24px rgba(200, 155, 60, 0.25);
  --metallic-navy: #0F172A;
  --metallic-muted: #475569;
}

:root[data-theme="light"] .main-frame,
:root[data-theme="light"] .sidebar,
:root[data-theme="light"] .topbar,
:root[data-theme="light"] .home-category-card,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .chatbot-video-card,
:root[data-theme="light"] .freebie-card,
:root[data-theme="light"] .shop-description,
:root[data-theme="light"] .shop-detail-panel,
:root[data-theme="light"] .shop-guide-panel,
:root[data-theme="light"] .shop-section-card,
:root[data-theme="light"] .shop-related-card,
:root[data-theme="light"] .shop-related,
:root[data-theme="light"] .shop-why,
:root[data-theme="light"] .shop-bottom-offer,
:root[data-theme="light"] .customer-order-card,
:root[data-theme="light"] .customer-profile-card,
:root[data-theme="light"] .affiliate-hero-card,
:root[data-theme="light"] .affiliate-panel,
:root[data-theme="light"] .affiliate-metrics article,
:root[data-theme="light"] .affiliate-table,
:root[data-theme="light"] .affiliate-products,
:root[data-theme="light"] .affiliate-accordion,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .admin-like-list article {
  border-color: var(--metallic-gold-border) !important;
  box-shadow:
    var(--metallic-gold-ring),
    0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

:root[data-theme="light"] .hero-title,
:root[data-theme="light"] .section-title h2,
:root[data-theme="light"] .shop-summary h1,
:root[data-theme="light"] .shop-related-head h2,
:root[data-theme="light"] .shop-why h2,
:root[data-theme="light"] .tool-body h3,
:root[data-theme="light"] .chatbot-video-body h3,
:root[data-theme="light"] .freebie-body h3,
:root[data-theme="light"] .home-category-card strong,
:root[data-theme="light"] .faq-question {
  color: var(--metallic-navy) !important;
}

:root[data-theme="light"] .hero-copy,
:root[data-theme="light"] .section-copy,
:root[data-theme="light"] .tool-body p,
:root[data-theme="light"] .chatbot-video-body p,
:root[data-theme="light"] .freebie-body p,
:root[data-theme="light"] .home-category-card p,
:root[data-theme="light"] .shop-description p,
:root[data-theme="light"] .shop-detail-panel li,
:root[data-theme="light"] .shop-guide-panel li {
  color: var(--metallic-muted) !important;
}

:root[data-theme="light"] .side-link.is-active,
:root[data-theme="light"] .topnav-link.is-active {
  position: relative;
  overflow: hidden;
  border-color: rgba(184, 134, 11, 0.42) !important;
  color: #1E293B !important;
  font-weight: 800;
  background: var(--metallic-gold-bg) !important;
  box-shadow:
    var(--metallic-gold-ring),
    0 8px 18px rgba(200, 155, 60, 0.18) !important;
}

:root[data-theme="light"] .side-link.is-active::after,
:root[data-theme="light"] .topnav-link.is-active::after,
:root[data-theme="light"] .shop-plan.is-active::after,
:root[data-theme="light"] .product-voucher-box .primary-action::after,
:root[data-theme="light"] .row-voucher-form button::after,
:root[data-theme="light"] .voucher-clear-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.55;
  pointer-events: none;
  transition: left 0.45s ease;
}

:root[data-theme="light"] .side-link.is-active:hover::after,
:root[data-theme="light"] .topnav-link.is-active:hover::after,
:root[data-theme="light"] .shop-plan.is-active:hover::after,
:root[data-theme="light"] .product-voucher-box .primary-action:hover::after,
:root[data-theme="light"] .row-voucher-form button:hover::after,
:root[data-theme="light"] .voucher-clear-button:hover::after {
  left: 115%;
}

:root[data-theme="light"] .side-link.is-active span,
:root[data-theme="light"] .topnav-link.is-active span,
:root[data-theme="light"] .sidebar-status strong,
:root[data-theme="light"] .home-category-card em,
:root[data-theme="light"] .shop-price-row small,
:root[data-theme="light"] .shop-voucher-saving strong,
:root[data-theme="light"] .update-log-list time,
:root[data-theme="light"] .affiliate-country,
:root[data-theme="light"] .affiliate-link-box strong,
:root[data-theme="light"] .affiliate-product-row b {
  color: #8A5F08 !important;
}

:root[data-theme="light"] .topnav-link.is-active {
  box-shadow:
    inset 0 -2px 0 rgba(138, 95, 8, 0.45),
    var(--metallic-gold-ring),
    0 8px 18px rgba(200, 155, 60, 0.16) !important;
}

:root[data-theme="light"] .topnav-link:hover,
:root[data-theme="light"] .side-link:hover {
  border-color: rgba(212, 175, 55, 0.32) !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.58), rgba(255, 255, 255, 0.78)) !important;
}

:root[data-theme="light"] .brand-mark,
:root[data-theme="light"] .avatar,
:root[data-theme="light"] .cart-button b,
:root[data-theme="light"] .home-category-card::before,
:root[data-theme="light"] .hero-slide-dots span.is-active,
:root[data-theme="light"] .shop-main-dot.is-active {
  color: #1E293B !important;
  background: var(--metallic-gold-bg) !important;
  box-shadow: var(--metallic-gold-ring), 0 4px 12px rgba(200, 155, 60, 0.16) !important;
}

:root[data-theme="light"] .home-category-card span,
:root[data-theme="light"] .home-section-kicker span,
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .badge,
:root[data-theme="light"] .shop-rating em,
:root[data-theme="light"] .video-pill.premium,
:root[data-theme="light"] .mlv-checkout-eyebrow,
:root[data-theme="light"] .mlv-success-eyebrow,
:root[data-theme="light"] .tag-row span,
:root[data-theme="light"] .card-meta span {
  border: 1px solid rgba(184, 134, 11, 0.32) !important;
  color: #8A5F08 !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.88), rgba(232, 199, 106, 0.28)),
    rgba(255, 255, 255, 0.76) !important;
  box-shadow: var(--metallic-gold-ring), 0 4px 12px rgba(200, 155, 60, 0.10) !important;
}

:root[data-theme="light"] .shop-feature-strip,
:root[data-theme="light"] .home-about-strip,
:root[data-theme="light"] .shop-section-head,
:root[data-theme="light"] .affiliate-table-head,
:root[data-theme="light"] .home-section-kicker::after,
:root[data-theme="light"] .section-head::after,
:root[data-theme="light"] .shop-related-head::after {
  border-color: var(--metallic-gold-border) !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.62), rgba(212, 175, 55, 0.14)),
    rgba(255, 255, 255, 0.72) !important;
}

:root[data-theme="light"] .primary-action,
:root[data-theme="light"] .buy-button,
:root[data-theme="light"] .card-cta,
:root[data-theme="light"] a.card-cta,
:root[data-theme="light"] .shop-actions .buy-button,
:root[data-theme="light"] .resource-link,
:root[data-theme="light"] .mlv-checkout-submit,
:root[data-theme="light"] .mlv-success-cta,
:root[data-theme="light"] .customer-login-card .primary-action,
:root[data-theme="light"] .affiliate-link-box .primary-action,
:root[data-theme="light"] .checkout-summary .buy-button,
:root[data-theme="light"] .shop-plan.is-active,
:root[data-theme="light"] .product-voucher-box .primary-action,
:root[data-theme="light"] .row-voucher-form button,
:root[data-theme="light"] .voucher-clear-button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.35) !important;
  border-radius: 14px !important;
  color: #1F2937 !important;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: none !important;
  background: var(--metallic-gold-cta) !important;
  box-shadow:
    var(--metallic-gold-ring),
    var(--metallic-gold-shadow) !important;
  transition: all 0.25s ease;
}

:root[data-theme="light"] .primary-action:hover,
:root[data-theme="light"] .buy-button:hover,
:root[data-theme="light"] .card-cta:hover,
:root[data-theme="light"] a.card-cta:hover,
:root[data-theme="light"] .shop-actions .buy-button:hover,
:root[data-theme="light"] .resource-link:hover,
:root[data-theme="light"] .mlv-checkout-submit:hover,
:root[data-theme="light"] .mlv-success-cta:hover,
:root[data-theme="light"] .customer-login-card .primary-action:hover,
:root[data-theme="light"] .affiliate-link-box .primary-action:hover,
:root[data-theme="light"] .checkout-summary .buy-button:hover,
:root[data-theme="light"] .shop-plan.is-active:hover,
:root[data-theme="light"] .product-voucher-box .primary-action:hover,
:root[data-theme="light"] .row-voucher-form button:hover,
:root[data-theme="light"] .voucher-clear-button:hover {
  transform: translateY(-2px);
  filter: none;
  box-shadow:
    var(--metallic-gold-ring),
    var(--metallic-gold-shadow-hover) !important;
}

:root[data-theme="light"] input:focus,
:root[data-theme="light"] select:focus,
:root[data-theme="light"] textarea:focus,
:root[data-theme="light"] .voucher-input:focus {
  border-color: var(--metallic-gold-border) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.10) !important;
}

/* Light mode CTA final pass: premium SaaS depth without neon */
:root[data-theme="light"] {
  --cta-blue-bg: linear-gradient(135deg, #2563EB, #60A5FA);
  --cta-blue-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
  --cta-blue-shadow-hover: 0 8px 20px rgba(37, 99, 235, 0.24);
  --cta-gold-bg: linear-gradient(135deg, #C89B3C 0%, #E8C76A 50%, #B8860B 100%);
  --cta-gold-shadow: 0 4px 12px rgba(200, 155, 60, 0.18);
  --cta-gold-shadow-hover: 0 8px 20px rgba(200, 155, 60, 0.28);
}

:root[data-theme="light"] .primary-action,
:root[data-theme="light"] .buy-button,
:root[data-theme="light"] .card-cta,
:root[data-theme="light"] a.card-cta,
:root[data-theme="light"] .shop-actions .buy-button,
:root[data-theme="light"] .resource-link,
:root[data-theme="light"] .mlv-checkout-submit,
:root[data-theme="light"] .mlv-success-cta,
:root[data-theme="light"] .customer-login-card .primary-action,
:root[data-theme="light"] .affiliate-link-box .primary-action,
:root[data-theme="light"] .checkout-summary .buy-button {
  min-height: 40px;
  padding-inline: 18px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: none;
  background: var(--cta-blue-bg);
  box-shadow: var(--cta-blue-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.25s ease;
}

:root[data-theme="light"] .shop-plan.is-active,
:root[data-theme="light"] .product-voucher-box .primary-action,
:root[data-theme="light"] .row-voucher-form button,
:root[data-theme="light"] .voucher-clear-button,
:root[data-theme="light"] .shop-related-head button.is-active {
  min-height: 38px;
  padding-inline: 16px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 13px;
  color: #1F2937;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: none;
  background: var(--cta-gold-bg);
  box-shadow: var(--cta-gold-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: all 0.25s ease;
}

:root[data-theme="light"] .primary-action:hover,
:root[data-theme="light"] .buy-button:hover,
:root[data-theme="light"] .card-cta:hover,
:root[data-theme="light"] a.card-cta:hover,
:root[data-theme="light"] .shop-actions .buy-button:hover,
:root[data-theme="light"] .resource-link:hover,
:root[data-theme="light"] .mlv-checkout-submit:hover,
:root[data-theme="light"] .mlv-success-cta:hover,
:root[data-theme="light"] .customer-login-card .primary-action:hover,
:root[data-theme="light"] .affiliate-link-box .primary-action:hover,
:root[data-theme="light"] .checkout-summary .buy-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--cta-blue-shadow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: none;
}

:root[data-theme="light"] .shop-plan.is-active:hover,
:root[data-theme="light"] .product-voucher-box .primary-action:hover,
:root[data-theme="light"] .row-voucher-form button:hover,
:root[data-theme="light"] .voucher-clear-button:hover,
:root[data-theme="light"] .shop-related-head button.is-active:hover {
  transform: translateY(-2px);
  box-shadow: var(--cta-gold-shadow-hover), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  filter: none;
}

@media (max-width: 760px) {
  :root[data-theme="light"] .primary-action,
  :root[data-theme="light"] .buy-button,
  :root[data-theme="light"] .card-cta,
  :root[data-theme="light"] a.card-cta,
  :root[data-theme="light"] .shop-actions .buy-button,
  :root[data-theme="light"] .resource-link,
  :root[data-theme="light"] .mlv-checkout-submit,
  :root[data-theme="light"] .mlv-success-cta {
    min-height: 40px !important;
    border-radius: 13px;
    padding-inline: 14px !important;
  }
}

/* Codex light luxury + mobile/iPad UX polish */
:root[data-theme="light"] {
  --bg: #F8FAFF;
  --card: rgba(255, 255, 255, 0.82);
  --card-2: rgba(248, 250, 255, 0.76);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.12);
  --text: #111827;
  --muted: #6B7280;
  --muted-2: rgba(107, 114, 128, 0.72);
  --primary: #2563EB;
  --primary-soft: rgba(37, 99, 235, 0.10);
  --secondary: #4F46E5;
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-line: rgba(200, 169, 91, 0.25);
  --warning: #D4AF37;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --luxury-surface: rgba(255, 255, 255, 0.78);
  --luxury-surface-2: rgba(248, 250, 255, 0.72);
  --luxury-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .mesh-bg {
  background:
    radial-gradient(circle at 18% 4%, rgba(37, 99, 235, 0.10), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(212, 175, 55, 0.10), transparent 24%),
    radial-gradient(circle at 50% 70%, rgba(79, 70, 229, 0.05), transparent 28%),
    linear-gradient(180deg, #F8FBFF 0%, #F2F6FF 100%);
}

:root[data-theme="light"] .brand-mark,
:root[data-theme="light"] .avatar,
:root[data-theme="light"] .cart-button b {
  color: #111827;
  background: linear-gradient(135deg, #DBEAFE 0%, #E5C97B 100%);
}

:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .badge,
:root[data-theme="light"] .home-category-card span,
:root[data-theme="light"] .home-category-card em,
:root[data-theme="light"] .home-section-kicker span,
:root[data-theme="light"] .shop-rating em,
:root[data-theme="light"] .shop-price-row small,
:root[data-theme="light"] .shop-voucher-saving strong,
:root[data-theme="light"] .video-pill.premium,
:root[data-theme="light"] .update-log-list time,
:root[data-theme="light"] .affiliate-country,
:root[data-theme="light"] .affiliate-link-box strong,
:root[data-theme="light"] .affiliate-product-row b,
:root[data-theme="light"] .mlv-checkout-eyebrow,
:root[data-theme="light"] .mlv-success-eyebrow {
  color: var(--gold) !important;
}

:root[data-theme="light"] .primary-action,
:root[data-theme="light"] .buy-button,
:root[data-theme="light"] .card-cta,
:root[data-theme="light"] .shop-actions .buy-button,
:root[data-theme="light"] .resource-link,
:root[data-theme="light"] .row-voucher-form button,
:root[data-theme="light"] .mlv-checkout-submit,
:root[data-theme="light"] .mlv-success-cta {
  color: #fff;
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, #2563EB, #60A5FA);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .primary-action:hover,
:root[data-theme="light"] .buy-button:hover,
:root[data-theme="light"] .card-cta:hover,
:root[data-theme="light"] .shop-actions .buy-button:hover,
:root[data-theme="light"] .resource-link:hover,
:root[data-theme="light"] .row-voucher-form button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.18),
    0 10px 20px rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .home-category-card,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .chatbot-video-card,
:root[data-theme="light"] .freebie-card,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .shop-description,
:root[data-theme="light"] .shop-detail-panel,
:root[data-theme="light"] .shop-guide-panel,
:root[data-theme="light"] .shop-section-card,
:root[data-theme="light"] .shop-related-card,
:root[data-theme="light"] .shop-why,
:root[data-theme="light"] .shop-bottom-offer,
:root[data-theme="light"] .customer-order-card,
:root[data-theme="light"] .customer-profile-card,
:root[data-theme="light"] .affiliate-hero-card,
:root[data-theme="light"] .affiliate-panel,
:root[data-theme="light"] .affiliate-metrics article,
:root[data-theme="light"] .affiliate-table,
:root[data-theme="light"] .affiliate-products,
:root[data-theme="light"] .affiliate-accordion {
  border-color: rgba(8, 20, 45, 0.1);
  background:
    linear-gradient(180deg, var(--luxury-surface), var(--luxury-surface-2)),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--luxury-shadow);
  backdrop-filter: blur(12px);
}

:root[data-theme="light"] .shop-feature-strip,
:root[data-theme="light"] .home-about-strip,
:root[data-theme="light"] .shop-section-head,
:root[data-theme="light"] .affiliate-table-head {
  border-color: var(--gold-line);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10), rgba(37, 99, 235, 0.06)),
    rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] input:focus,
:root[data-theme="light"] select:focus,
:root[data-theme="light"] textarea:focus,
:root[data-theme="light"] .voucher-input:focus {
  border-color: var(--gold-line);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.10);
}

@media (max-width: 1180px) and (min-width: 761px) {
  .app-shell {
    width: min(100%, 1040px);
    padding: 10px 12px 16px;
  }

  .topbar {
    gap: 10px;
    padding: 0 12px;
  }

  .topnav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topnav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .shop-hero-grid,
  .about-intro-grid,
  .about-vision-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .hero-title,
  .shop-summary h1,
  .cart-page h1,
  .about-copy h1 {
    max-width: 820px;
    font-size: clamp(2rem, 5vw, 3rem) !important;
  }

  .tool-grid,
  .tools-grid,
  .shop-related-grid,
  .why-grid,
  .affiliate-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .tool-card,
  .shop-section-card,
  .shop-description,
  .shop-detail-panel,
  .shop-guide-panel,
  .affiliate-panel {
    border-radius: 16px;
    padding: 16px;
  }

  .shop-gallery {
    position: static;
  }
}

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

@media (max-width: 760px) {
  html {
    font-size: 14px;
  }

  .app-shell {
    padding: 8px;
  }

  .main-frame {
    border-radius: 16px;
  }

  .topbar {
    min-height: 52px;
    gap: 8px;
    padding: 0 10px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .topnav {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topnav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .topnav::-webkit-scrollbar {
    display: none;
  }

  .page,
  .shop-product-page,
  .cart-page,
  .about-page,
  .customer-portal,
  .affiliate-page {
    padding-top: 14px !important;
    padding-bottom: 38px !important;
  }

  .container {
    width: min(100% - 20px, var(--max));
  }

  .hero,
  .shop-hero-grid,
  .about-intro-grid,
  .about-vision-grid,
  .customer-layout,
  .affiliate-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hero-title,
  .shop-summary h1,
  .cart-page h1,
  .about-copy h1 {
    font-size: clamp(1.75rem, 8vw, 2.55rem) !important;
    line-height: 1.08 !important;
  }

  .section-title h2,
  .shop-related-head h2,
  .shop-why h2,
  .about-text-section h2,
  .about-social-section h2,
  .about-vision-section h2 {
    font-size: clamp(1.35rem, 6vw, 2rem) !important;
    line-height: 1.12 !important;
  }

  .hero-copy,
  .section-copy,
  .shop-summary-description p,
  .shop-description p,
  .shop-detail-panel li,
  .shop-guide-panel li,
  .about-copy p {
    font-size: 0.95rem !important;
    line-height: 1.62 !important;
  }

  .tool-grid,
  .tools-grid,
  .shop-related-grid,
  .why-grid,
  .achievement-grid,
  .about-social-grid,
  .affiliate-metrics,
  .affiliate-product-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .home-category-card,
  .stat-card,
  .tool-card,
  .chatbot-video-card,
  .freebie-card,
  .faq-item,
  .shop-description,
  .shop-detail-panel,
  .shop-guide-panel,
  .shop-section-card,
  .shop-related-card,
  .shop-why,
  .shop-bottom-offer,
  .customer-order-card,
  .customer-profile-card,
  .affiliate-hero-card,
  .affiliate-panel,
  .affiliate-table,
  .affiliate-products,
  .affiliate-accordion {
    border-radius: 14px !important;
    padding: 14px !important;
  }

  .primary-action,
  .buy-button,
  .copy-button,
  .back-link,
  .shop-plan,
  .card-cta,
  .resource-link {
    width: 100%;
    justify-content: center;
    min-height: 42px;
  }

  .hero-actions,
  .shop-actions,
  .customer-actions,
  .affiliate-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .shop-main-shot,
  .hero-luxury-frame,
  .about-visual,
  .about-vision-image {
    border-radius: 14px !important;
  }
}

/* Affilate product copy button fit pass */
.affiliate-v2-product-row {
  grid-template-columns: 58px minmax(0, 1fr) 58px minmax(64px, 84px) !important;
}

.affiliate-v2-product-row .icon-copy-button,
.affiliate-v2-product-row button.icon-copy-button {
  width: auto !important;
  min-width: 64px !important;
  max-width: 84px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

@media (max-width: 720px) {
  .affiliate-v2-product-row {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .affiliate-v2-product-row .icon-copy-button,
  .affiliate-v2-product-row button.icon-copy-button {
    min-width: 62px !important;
    max-width: 78px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 0.68rem !important;
    justify-self: start !important;
  }
}

/* Affilate v2 member dashboard */
.affiliate-v2 {
  display: grid;
  gap: 18px;
}

.affiliate-v2-hero,
.affiliate-v2-panel {
  border: 1px solid rgba(234, 179, 8, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 195, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(10, 22, 39, 0.9), rgba(17, 19, 38, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.affiliate-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
}

.affiliate-v2-hero span,
.affiliate-v2-panel-head span,
.affiliate-v2-section-toggle span {
  color: #eab308;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.affiliate-v2-hero h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.affiliate-v2-hero p,
.affiliate-v2-link-card em,
.affiliate-v2-product-row span {
  color: rgba(238, 242, 255, 0.7);
}

.affiliate-v2-link-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(3, 9, 20, 0.42);
  padding: 16px;
}

.affiliate-v2-link-card small {
  color: rgba(238, 242, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.affiliate-v2-link-card > strong {
  color: #facc15;
  font-size: 1.3rem;
}

.affiliate-v2-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
}

.affiliate-v2-copy-row input,
.affiliate-v2-filters input,
.affiliate-v2-filters select {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text);
  background: rgba(5, 12, 24, 0.72);
  padding: 11px 12px;
}

.affiliate-v2-copy-row button,
.affiliate-v2-product-row button {
  min-height: 42px;
  border-radius: 14px;
  white-space: nowrap;
}

.affiliate-v2-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.affiliate-v2-metrics article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 15px;
}

.affiliate-v2-metrics span {
  display: block;
  color: rgba(238, 242, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 800;
}

.affiliate-v2-metrics strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.15;
}

.affiliate-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.affiliate-v2-panel {
  padding: 18px;
}

.affiliate-v2-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.affiliate-v2-panel-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.affiliate-v2-chart {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 150px;
  padding: 12px 2px 0;
}

.affiliate-v2-chart span {
  flex: 1;
  min-width: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.92), rgba(34, 211, 238, 0.52));
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.affiliate-v2-chart span:hover {
  opacity: 0.82;
  transform: translateY(-3px);
}

.affiliate-v2-list {
  display: grid;
  gap: 10px;
}

.affiliate-v2-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 11px 12px;
}

.affiliate-v2-list span {
  min-width: 0;
  overflow: hidden;
  color: rgba(238, 242, 255, 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.affiliate-v2-list strong {
  color: #facc15;
  white-space: nowrap;
}

.affiliate-v2-section-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.affiliate-v2-section-toggle strong {
  border: 1px solid rgba(234, 179, 8, 0.34);
  border-radius: 999px;
  color: #facc15;
  background: rgba(234, 179, 8, 0.08);
  padding: 7px 10px;
  font-size: 0.78rem;
}

.affiliate-v2-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 190px;
  gap: 10px;
  margin-top: 14px;
}

.affiliate-v2-product-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.affiliate-v2-product-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 70px 86px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.affiliate-v2-product-row:hover {
  border-color: rgba(234, 179, 8, 0.28);
  transform: translateY(-1px);
}

.affiliate-v2-product-image {
  width: 58px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #06101f;
  background: linear-gradient(135deg, #67e8f9, #facc15);
  background-position: center;
  background-size: cover;
  font-weight: 900;
}

.affiliate-v2-product-row strong,
.affiliate-v2-product-row span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.affiliate-v2-product-row b {
  color: #facc15;
  text-align: right;
}

.affiliate-v2-table {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.affiliate-v2-table-head,
.affiliate-v2-table-row {
  display: grid;
  grid-template-columns: var(--affiliate-cols, 150px 220px 240px 130px 130px 130px);
  gap: 12px;
  align-items: center;
  min-width: max-content;
  padding: 12px 14px;
}

.affiliate-v2-table-head > *,
.affiliate-v2-table-row > * {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.resizable-th {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 28px;
  padding-right: 12px;
}

.col-resize-handle {
  position: absolute;
  top: -8px;
  right: -7px;
  width: 12px;
  height: calc(100% + 16px);
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: col-resize;
}

.col-resize-handle::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 2px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.35);
  opacity: 0;
}

.resizable-th:hover .col-resize-handle::after,
.is-resizing-columns .col-resize-handle::after {
  opacity: 1;
}

.affiliate-v2-table-head {
  color: rgba(238, 242, 255, 0.58);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 900;
}

.affiliate-v2-table-row {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(238, 242, 255, 0.76);
}

.affiliate-v2-application .affiliate-v2-link-card strong {
  font-size: 1.05rem;
}

.affiliate-application-card form {
  display: grid;
  gap: 14px;
}

.affiliate-application-form label {
  display: grid;
  gap: 7px;
  color: rgba(238, 242, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
}

.affiliate-application-form input,
.affiliate-application-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text);
  background: rgba(5, 12, 24, 0.72);
  padding: 12px 13px;
}

.affiliate-application-form textarea {
  min-height: 110px;
  resize: vertical;
}

.affiliate-application-form input:disabled,
.affiliate-application-form textarea:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.affiliate-application-form button {
  justify-self: start;
  min-height: 42px;
  border-radius: 14px;
}

@media (max-width: 1080px) {
  .affiliate-v2-hero,
  .affiliate-v2-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .affiliate-v2-hero,
  .affiliate-v2-panel {
    border-radius: 18px;
    padding: 14px;
  }

  .affiliate-v2-metrics,
  .affiliate-v2-filters,
  .affiliate-v2-copy-row {
    grid-template-columns: 1fr;
  }

  .affiliate-v2-product-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .affiliate-v2-product-row b,
  .affiliate-v2-product-row button {
    grid-column: 2;
    justify-self: start;
  }
}

/* Requested compact product title scale */
.shop-summary h1 {
  font-size: clamp(1.5rem, 1.7vw, 1.875rem) !important;
  line-height: 1.12 !important;
}

@media (max-width: 760px) {
  .shop-summary h1 {
    font-size: clamp(1.5rem, 7vw, 1.875rem) !important;
  }
}

/* Final product UX scale pass */
.shop-product-page.container {
  width: min(1180px, 100%) !important;
  padding-top: 24px !important;
  padding-bottom: 80px !important;
}

.shop-hero-grid {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr) !important;
  gap: clamp(32px, 3.4vw, 48px) !important;
  align-items: start;
}

.shop-gallery {
  border-radius: 24px;
  padding: 16px;
  background:
    radial-gradient(circle at 14% 0%, rgba(34, 195, 255, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(9, 18, 34, 0.76), rgba(5, 9, 20, 0.68));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.shop-main-shot {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  border-radius: 20px !important;
  background-size: cover !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2), 0 0 24px rgba(34, 195, 255, 0.045) !important;
}

.shop-thumb {
  flex-basis: 84px;
  min-height: 54px !important;
  border-radius: 12px !important;
  opacity: 0.74;
  transition: transform 220ms ease, opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.shop-thumb:hover,
.shop-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px rgba(34, 195, 255, 0.1);
}

.shop-summary {
  gap: 22px;
  border-radius: 24px;
  padding: clamp(24px, 2.4vw, 32px);
  background:
    radial-gradient(circle at 88% 0%, rgba(124, 77, 255, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(13, 20, 38, 0.86), rgba(6, 10, 22, 0.84));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.shop-title-row {
  gap: 16px;
}

.shop-kicker {
  min-height: 24px;
  margin-bottom: 12px;
  padding-inline: 11px;
  color: #f5c85f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.shop-rating {
  gap: 8px !important;
}

.shop-rating small,
.shop-rating em {
  min-height: 28px;
  padding-inline: 11px !important;
  font-size: 0.72rem !important;
  font-weight: 800;
}

.shop-summary h1 {
  max-width: 680px;
  font-size: clamp(1.5rem, 1.7vw, 1.875rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
}

.shop-summary-description {
  border-color: rgba(148, 163, 184, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px 20px;
}

.shop-summary-description h2 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.94rem, 0.9vw, 1rem);
  font-weight: 750;
}

.shop-summary-description p {
  color: rgba(226, 232, 240, 0.72);
  font-size: clamp(0.875rem, 0.82vw, 0.94rem);
  font-weight: 520;
  line-height: 1.68;
}

.shop-pricing-card {
  gap: 18px;
  border-color: rgba(148, 163, 184, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(245, 194, 46, 0.055), transparent 34%),
    rgba(2, 6, 23, 0.24);
  padding: 20px;
}

.shop-plan-line {
  gap: 8px;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.88rem;
  font-weight: 760;
}

.shop-plan-line strong {
  color: #f5c85f;
}

.shop-plan {
  min-height: 36px !important;
  border-radius: 12px !important;
  padding-inline: 14px !important;
  font-size: 0.84rem !important;
  font-weight: 820 !important;
}

.shop-countdown {
  min-height: 30px;
  width: fit-content;
  border-color: rgba(248, 113, 113, 0.16);
  background: rgba(127, 29, 29, 0.12);
  color: rgba(254, 202, 202, 0.86);
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 820;
}

.shop-countdown span {
  min-width: 24px !important;
  min-height: 22px !important;
  background: rgba(248, 113, 113, 0.1) !important;
  color: rgba(254, 226, 226, 0.92) !important;
}

.shop-price-row {
  gap: 9px 13px !important;
}

.shop-price-row del {
  color: rgba(226, 232, 240, 0.42) !important;
  font-size: 0.84rem;
  opacity: 0.6;
}

.shop-price-row strong {
  color: #f5c85f !important;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem) !important;
  font-weight: 780;
  text-shadow: 0 0 18px rgba(245, 194, 46, 0.1);
}

.shop-price-row small {
  min-height: 26px;
  background: rgba(37, 245, 168, 0.085);
  color: rgba(37, 245, 168, 0.88) !important;
  padding-inline: 9px;
  font-size: 0.76rem;
  box-shadow: none;
}

.shop-voucher-saving {
  color: rgba(226, 232, 240, 0.66);
  font-size: 0.84rem;
  font-weight: 750;
}

.product-voucher-box {
  border-color: rgba(34, 195, 255, 0.1);
  border-radius: 18px !important;
  background: rgba(34, 195, 255, 0.03);
  padding: 12px !important;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 118px auto !important;
  gap: 10px !important;
}

.product-voucher-box input,
.product-voucher-box .primary-action,
.voucher-clear-button {
  min-height: 42px !important;
  font-size: 0.84rem !important;
}

.product-voucher-box .primary-action {
  background: linear-gradient(135deg, #67e8f9, #d8c970) !important;
  box-shadow: 0 10px 26px rgba(34, 195, 255, 0.1);
}

.shop-actions {
  gap: 14px !important;
  margin-top: 10px !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 52px !important;
  border-radius: 16px !important;
  font-size: 0.9rem !important;
  font-weight: 820 !important;
}

.shop-actions .copy-button {
  border-color: rgba(245, 194, 46, 0.28) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(245, 200, 95, 0.88) !important;
}

.shop-actions .buy-button {
  background: linear-gradient(135deg, #f6d36b, #dfa00d 72%, #bd7d05) !important;
  box-shadow: 0 14px 34px rgba(222, 155, 16, 0.18), 0 0 20px rgba(245, 194, 46, 0.07) !important;
}

.shop-section-card,
.shop-related,
.shop-why {
  margin-top: 44px !important;
}

@media (max-width: 1180px) {
  .shop-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-gallery {
    max-width: 840px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .shop-product-page.container {
    width: min(100%, calc(100vw - 20px)) !important;
    padding-top: 14px !important;
  }

  .shop-gallery,
  .shop-summary {
    border-radius: 20px;
    padding: 14px;
  }

  .shop-summary {
    gap: 17px;
  }

  .shop-summary h1 {
    font-size: clamp(1.5rem, 7vw, 1.875rem) !important;
    line-height: 1.14 !important;
  }

  .shop-summary-description {
    padding: 15px;
  }

  .shop-summary-description h2 {
    font-size: 0.94rem;
  }

  .shop-summary-description p {
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .shop-price-row strong {
    flex-basis: auto;
    font-size: clamp(1.55rem, 7.4vw, 2.05rem) !important;
  }

  .compact-voucher-form {
    grid-template-columns: 1fr !important;
  }

  .shop-actions {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Final compact product size override */
.shop-summary-description h2 {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.shop-summary-description p {
  font-size: 12px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

.shop-price-row strong {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.shop-price-row del,
.shop-price-row small,
.shop-voucher-saving,
.shop-plan-line,
.shop-countdown,
.shop-countdown span,
.shop-rating small,
.shop-rating em {
  font-size: 12px !important;
}

.shop-plan {
  min-height: 30px !important;
  padding-inline: 10px !important;
  font-size: 12px !important;
}

.product-voucher-box input,
.product-voucher-box .primary-action,
.voucher-clear-button {
  min-height: 34px !important;
  font-size: 12px !important;
}

.compact-voucher-form {
  grid-template-columns: minmax(0, 1fr) 104px auto !important;
  gap: 8px !important;
}

.shop-actions {
  gap: 10px !important;
  margin-top: 8px !important;
}

.shop-actions .copy-button,
.shop-actions .buy-button {
  min-height: 40px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  padding-inline: 12px !important;
}

@media (max-width: 760px) {
  .shop-price-row strong {
    font-size: 14px !important;
  }

  .shop-actions .copy-button,
  .shop-actions .buy-button {
    min-height: 38px !important;
    font-size: 12px !important;
  }
}

/* Final light-mode readability pass for metallic gold surfaces */
:root[data-theme="light"] .side-link.is-active,
:root[data-theme="light"] .topnav-link.is-active,
:root[data-theme="light"] .shop-plan.is-active,
:root[data-theme="light"] .home-category-card span,
:root[data-theme="light"] .home-section-kicker span,
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .badge,
:root[data-theme="light"] .shop-rating em,
:root[data-theme="light"] .video-pill.premium,
:root[data-theme="light"] .mlv-checkout-eyebrow,
:root[data-theme="light"] .mlv-success-eyebrow,
:root[data-theme="light"] .tag-row span,
:root[data-theme="light"] .card-meta span {
  color: #111827 !important;
}

:root[data-theme="light"] .side-link.is-active span,
:root[data-theme="light"] .topnav-link.is-active span,
:root[data-theme="light"] .side-link.is-active small,
:root[data-theme="light"] .topnav-link.is-active small,
:root[data-theme="light"] .home-category-card em,
:root[data-theme="light"] .shop-price-row small,
:root[data-theme="light"] .shop-voucher-saving strong,
:root[data-theme="light"] .update-log-list time {
  color: #4C1D95 !important;
}

:root[data-theme="light"] .shop-plan.is-active *,
:root[data-theme="light"] .home-category-card span *,
:root[data-theme="light"] .home-section-kicker span *,
:root[data-theme="light"] .eyebrow *,
:root[data-theme="light"] .badge * {
  color: inherit !important;
}

/* Final light-mode CTA pass: premium blue buttons */
:root[data-theme="light"] .primary-action,
:root[data-theme="light"] .buy-button,
:root[data-theme="light"] .card-cta,
:root[data-theme="light"] a.card-cta,
:root[data-theme="light"] .shop-actions .buy-button,
:root[data-theme="light"] .shop-actions .copy-button,
:root[data-theme="light"] .resource-link,
:root[data-theme="light"] .row-voucher-form button,
:root[data-theme="light"] .product-voucher-box .primary-action,
:root[data-theme="light"] .voucher-clear-button,
:root[data-theme="light"] .about-social-grid a,
:root[data-theme="light"] .mlv-checkout-submit,
:root[data-theme="light"] .mlv-success-cta,
:root[data-theme="light"] .customer-login-card .primary-action,
:root[data-theme="light"] .affiliate-link-box .primary-action,
:root[data-theme="light"] .checkout-summary .buy-button {
  color: #FFFFFF !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 48%, #60A5FA 100%) !important;
  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

:root[data-theme="light"] .primary-action:hover,
:root[data-theme="light"] .buy-button:hover,
:root[data-theme="light"] .card-cta:hover,
:root[data-theme="light"] a.card-cta:hover,
:root[data-theme="light"] .shop-actions .buy-button:hover,
:root[data-theme="light"] .shop-actions .copy-button:hover,
:root[data-theme="light"] .resource-link:hover,
:root[data-theme="light"] .row-voucher-form button:hover,
:root[data-theme="light"] .product-voucher-box .primary-action:hover,
:root[data-theme="light"] .voucher-clear-button:hover,
:root[data-theme="light"] .about-social-grid a:hover,
:root[data-theme="light"] .mlv-checkout-submit:hover,
:root[data-theme="light"] .mlv-success-cta:hover,
:root[data-theme="light"] .customer-login-card .primary-action:hover,
:root[data-theme="light"] .affiliate-link-box .primary-action:hover,
:root[data-theme="light"] .checkout-summary .buy-button:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.38) !important;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 45%, #3B82F6 100%) !important;
  box-shadow:
    0 12px 24px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

:root[data-theme="light"] .primary-action *,
:root[data-theme="light"] .buy-button *,
:root[data-theme="light"] .card-cta *,
:root[data-theme="light"] .shop-actions .buy-button *,
:root[data-theme="light"] .shop-actions .copy-button *,
:root[data-theme="light"] .resource-link *,
:root[data-theme="light"] .about-social-grid a * {
  color: inherit !important;
}

/* Final light-mode About cards fix */
:root[data-theme="light"] .about-social-grid article,
:root[data-theme="light"] .about-vision-list article {
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.88)),
    rgba(255, 255, 255, 0.9) !important;
  color: #0F172A !important;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(12px);
}

:root[data-theme="light"] .about-social-grid h3,
:root[data-theme="light"] .about-vision-list strong {
  color: #0F172A !important;
}

:root[data-theme="light"] .about-social-grid p {
  color: #475569 !important;
}

:root[data-theme="light"] .about-social-grid .social-icon,
:root[data-theme="light"] .about-vision-list span {
  border-color: rgba(212, 175, 55, 0.32) !important;
  background: linear-gradient(135deg, #DBEAFE 0%, #F7E7A1 100%) !important;
  color: #111827 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
}

/* Final light-mode member Affiliate dashboard fix */
:root[data-theme="light"] .affiliate-v2-hero,
:root[data-theme="light"] .affiliate-v2-panel,
:root[data-theme="light"] .affiliate-v2-metrics article,
:root[data-theme="light"] .affiliate-v2-link-card,
:root[data-theme="light"] .affiliate-v2-list > div,
:root[data-theme="light"] .affiliate-v2-product-row,
:root[data-theme="light"] .affiliate-v2-table {
  border-color: rgba(212, 175, 55, 0.24) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.9) !important;
  color: #0F172A !important;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(12px);
}

:root[data-theme="light"] .affiliate-v2-hero h2,
:root[data-theme="light"] .affiliate-v2-panel-head h3,
:root[data-theme="light"] .affiliate-v2-metrics strong,
:root[data-theme="light"] .affiliate-v2-product-row strong,
:root[data-theme="light"] .affiliate-v2-table-row strong {
  color: #0F172A !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .affiliate-v2-hero p,
:root[data-theme="light"] .affiliate-v2-link-card em,
:root[data-theme="light"] .affiliate-v2-link-card small,
:root[data-theme="light"] .affiliate-v2-metrics span,
:root[data-theme="light"] .affiliate-v2-product-row span,
:root[data-theme="light"] .affiliate-v2-list span,
:root[data-theme="light"] .affiliate-v2-table-row {
  color: #475569 !important;
}

:root[data-theme="light"] .affiliate-v2-hero span,
:root[data-theme="light"] .affiliate-v2-panel-head span,
:root[data-theme="light"] .affiliate-v2-section-toggle span,
:root[data-theme="light"] .affiliate-v2-link-card > strong,
:root[data-theme="light"] .affiliate-v2-list strong,
:root[data-theme="light"] .affiliate-v2-product-row b {
  color: #9A6A00 !important;
}

:root[data-theme="light"] .affiliate-v2-copy-row input,
:root[data-theme="light"] .affiliate-v2-filters input,
:root[data-theme="light"] .affiliate-v2-filters select {
  border-color: rgba(15, 23, 42, 0.1) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #0F172A !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
}

:root[data-theme="light"] .affiliate-v2-copy-row input::placeholder,
:root[data-theme="light"] .affiliate-v2-filters input::placeholder {
  color: #94A3B8 !important;
}

:root[data-theme="light"] .affiliate-v2-copy-row button,
:root[data-theme="light"] .affiliate-v2-product-row button {
  color: #FFFFFF !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 48%, #60A5FA 100%) !important;
  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

:root[data-theme="light"] .affiliate-v2-copy-row button:hover,
:root[data-theme="light"] .affiliate-v2-product-row button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 45%, #3B82F6 100%) !important;
  box-shadow:
    0 12px 24px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

:root[data-theme="light"] .affiliate-v2-section-toggle strong {
  border-color: rgba(212, 175, 55, 0.34) !important;
  color: #1F2937 !important;
  background: linear-gradient(135deg, #FFF7D6 0%, #E8C76A 52%, #C89B3C 100%) !important;
  box-shadow: 0 6px 16px rgba(200, 155, 60, 0.14) !important;
}

:root[data-theme="light"] .affiliate-v2-table-head {
  color: #64748B !important;
  background: rgba(248, 250, 252, 0.88) !important;
}

:root[data-theme="light"] .affiliate-v2-table-row {
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}

:root[data-theme="light"] .affiliate-v2-chart span {
  background: linear-gradient(180deg, #D4AF37 0%, #60A5FA 100%) !important;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12) !important;
}

/* Final light-mode category filter chips */
:root[data-theme="light"] .filterbar {
  border: 1px solid rgba(37, 99, 235, 0.08) !important;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(239, 246, 255, 0.64)),
    rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
  backdrop-filter: blur(14px);
}

:root[data-theme="light"] .chip {
  border: 1px solid transparent !important;
  color: #64748B !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .chip:hover {
  color: #1D4ED8 !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

:root[data-theme="light"] .chip.is-active {
  color: #FFFFFF !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #60A5FA 100%) !important;
  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

/* Final light-mode product detail polish */
:root[data-theme="light"] .shop-product-page {
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-gallery,
:root[data-theme="light"] .shop-summary,
:root[data-theme="light"] .shop-summary-description,
:root[data-theme="light"] .product-voucher-box,
:root[data-theme="light"] .shop-detail-panel,
:root[data-theme="light"] .shop-description,
:root[data-theme="light"] .shop-guide-panel {
  border: 1px solid rgba(37, 99, 235, 0.10) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.90)),
    rgba(255, 255, 255, 0.90) !important;
  color: #0F172A !important;
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px);
}

:root[data-theme="light"] .shop-summary h1,
:root[data-theme="light"] .shop-summary-description h2,
:root[data-theme="light"] .shop-detail-panel h2,
:root[data-theme="light"] .shop-description h2,
:root[data-theme="light"] .shop-guide-panel h2,
:root[data-theme="light"] .shop-plan-line strong {
  color: #0F172A !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .shop-summary-description p,
:root[data-theme="light"] .shop-detail-panel li,
:root[data-theme="light"] .shop-description p,
:root[data-theme="light"] .shop-guide-panel li,
:root[data-theme="light"] .shop-plan-line,
:root[data-theme="light"] .shop-voucher-saving {
  color: #475569 !important;
}

:root[data-theme="light"] .shop-kicker,
:root[data-theme="light"] .shop-summary .badge,
:root[data-theme="light"] .shop-summary .eyebrow,
:root[data-theme="light"] .shop-summary .video-pill,
:root[data-theme="light"] .shop-price-row small,
:root[data-theme="light"] .shop-voucher-saving strong {
  border-color: rgba(212, 175, 55, 0.34) !important;
  color: #1F2937 !important;
  background: linear-gradient(135deg, #FFF7D6 0%, #E8C76A 58%, #C89B3C 100%) !important;
  box-shadow: 0 6px 16px rgba(200, 155, 60, 0.14) !important;
}

:root[data-theme="light"] .shop-plan {
  border-color: rgba(37, 99, 235, 0.18) !important;
  color: #334155 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

:root[data-theme="light"] .shop-plan:hover {
  border-color: rgba(37, 99, 235, 0.28) !important;
  color: #1D4ED8 !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

:root[data-theme="light"] .shop-plan.is-active {
  color: #FFFFFF !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 52%, #60A5FA 100%) !important;
  box-shadow:
    0 8px 18px rgba(37, 99, 235, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

:root[data-theme="light"] .shop-countdown {
  color: #9A3412 !important;
}

:root[data-theme="light"] .shop-countdown span {
  color: #7F1D1D !important;
  background: rgba(254, 226, 226, 0.9) !important;
}

:root[data-theme="light"] .shop-price-row del {
  color: #94A3B8 !important;
  background: rgba(148, 163, 184, 0.16) !important;
}

:root[data-theme="light"] .shop-price-row strong {
  color: #1D4ED8 !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .product-voucher-box input,
:root[data-theme="light"] .voucher-input {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0F172A !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

:root[data-theme="light"] .product-voucher-box input::placeholder,
:root[data-theme="light"] .voucher-input::placeholder {
  color: #64748B !important;
}

:root[data-theme="light"] .shop-actions .copy-button,
:root[data-theme="light"] .shop-actions .buy-button,
:root[data-theme="light"] .product-voucher-box .primary-action,
:root[data-theme="light"] .voucher-clear-button {
  color: #FFFFFF !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 48%, #60A5FA 100%) !important;
  box-shadow:
    0 10px 22px rgba(37, 99, 235, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

:root[data-theme="light"] .shop-actions .copy-button:hover,
:root[data-theme="light"] .shop-actions .buy-button:hover,
:root[data-theme="light"] .product-voucher-box .primary-action:hover,
:root[data-theme="light"] .voucher-clear-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 45%, #3B82F6 100%) !important;
  box-shadow:
    0 14px 28px rgba(37, 99, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

/* Final light-mode product lower sections */
:root[data-theme="light"] .shop-section-card,
:root[data-theme="light"] .shop-related,
:root[data-theme="light"] .shop-why,
:root[data-theme="light"] .shop-bottom-offer,
:root[data-theme="light"] .shop-feature-strip,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .shop-media-copy {
  border: 1px solid rgba(37, 99, 235, 0.10) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(37, 99, 235, 0.07), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.9) !important;
  color: #0F172A !important;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px);
}

:root[data-theme="light"] .shop-section-head,
:root[data-theme="light"] .shop-section-head.guide,
:root[data-theme="light"] .shop-related-head {
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.82), rgba(239, 246, 255, 0.64)),
    rgba(255, 255, 255, 0.78) !important;
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-section-head span,
:root[data-theme="light"] .shop-section-head b,
:root[data-theme="light"] .shop-related-head h2,
:root[data-theme="light"] .shop-why h2,
:root[data-theme="light"] .faq-question,
:root[data-theme="light"] .shop-media-copy h3 {
  color: #0F172A !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .shop-section-head small,
:root[data-theme="light"] .shop-media-copy p,
:root[data-theme="light"] .preserved-lines p,
:root[data-theme="light"] .update-log-list span,
:root[data-theme="light"] .faq-item p,
:root[data-theme="light"] .shop-related-card p,
:root[data-theme="light"] .why-grid article p,
:root[data-theme="light"] .achievement-grid span,
:root[data-theme="light"] .shop-feature-strip span {
  color: #475569 !important;
}

:root[data-theme="light"] .shop-video-tabs button {
  color: #64748B !important;
  border-bottom-color: transparent !important;
}

:root[data-theme="light"] .shop-video-tabs button:hover {
  color: #1D4ED8 !important;
}

:root[data-theme="light"] .shop-video-tabs button.is-active {
  color: #1D4ED8 !important;
  border-color: #2563EB !important;
}

:root[data-theme="light"] .shop-video-frame,
:root[data-theme="light"] .shop-media-image {
  border-color: rgba(15, 23, 42, 0.14) !important;
  background: #020617 !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16) !important;
}

:root[data-theme="light"] .video-empty {
  color: #D4AF37 !important;
}

:root[data-theme="light"] .update-log-list li,
:root[data-theme="light"] .shop-feature-strip div,
:root[data-theme="light"] .shop-related-card,
:root[data-theme="light"] .why-grid article,
:root[data-theme="light"] .achievement-grid div {
  border-color: rgba(212, 175, 55, 0.22) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 255, 0.86)),
    rgba(255, 255, 255, 0.86) !important;
  color: #0F172A !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
}

:root[data-theme="light"] .shop-related-card h3,
:root[data-theme="light"] .why-grid article strong,
:root[data-theme="light"] .shop-feature-strip strong {
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-related-card strong,
:root[data-theme="light"] .achievement-grid strong,
:root[data-theme="light"] .update-log-list time {
  color: #1D4ED8 !important;
}

:root[data-theme="light"] .shop-related-card del {
  color: #94A3B8 !important;
}

:root[data-theme="light"] .why-grid article span {
  color: rgba(37, 99, 235, 0.10) !important;
}

:root[data-theme="light"] .shop-related-head button {
  color: #1D4ED8 !important;
  border-color: rgba(37, 99, 235, 0.20) !important;
  background: rgba(37, 99, 235, 0.08) !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .shop-related-head button:hover {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #1D4ED8, #60A5FA) !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18) !important;
}

:root[data-theme="light"] .shop-bottom-offer {
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-bottom-offer b {
  color: #7F1D1D !important;
  background: rgba(254, 226, 226, 0.9) !important;
}

/* Final refined light product sections */
:root[data-theme="light"] .shop-product-page .shop-section-card,
:root[data-theme="light"] .shop-product-page .shop-related,
:root[data-theme="light"] .shop-product-page .shop-why,
:root[data-theme="light"] .shop-product-page .shop-bottom-offer {
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.94)),
    #F8FAFF !important;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

:root[data-theme="light"] .shop-product-page .shop-section-head,
:root[data-theme="light"] .shop-product-page .shop-section-head.guide {
  min-height: 42px;
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 247, 214, 0.62)),
    #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05) !important;
}

:root[data-theme="light"] .shop-product-page .shop-section-head span {
  color: #1D4ED8 !important;
  font-weight: 900;
}

:root[data-theme="light"] .shop-product-page .shop-section-head small {
  color: #64748B !important;
}

:root[data-theme="light"] .shop-product-page .shop-section-head b {
  color: #D4AF37 !important;
}

:root[data-theme="light"] .shop-product-page .shop-video-tabs {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  gap: 18px;
}

:root[data-theme="light"] .shop-product-page .shop-video-tabs button {
  color: #475569 !important;
  padding-bottom: 9px;
}

:root[data-theme="light"] .shop-product-page .shop-video-tabs button.is-active {
  color: #1D4ED8 !important;
  border-bottom-color: #D4AF37 !important;
}

:root[data-theme="light"] .shop-product-page .shop-video-frame {
  border: 8px solid rgba(15, 23, 42, 0.12) !important;
  background: #020617 !important;
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.75) !important;
}

:root[data-theme="light"] .shop-product-page .shop-related-head {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="light"] .shop-product-page .shop-related-head h2,
:root[data-theme="light"] .shop-product-page .shop-why h2 {
  color: #0F172A !important;
  letter-spacing: 0;
}

:root[data-theme="light"] .shop-product-page .shop-related-card {
  border: 1px solid rgba(37, 99, 235, 0.14) !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
}

:root[data-theme="light"] .shop-product-page .shop-related-card h3 {
  color: #0F172A !important;
  font-weight: 900;
}

:root[data-theme="light"] .shop-product-page .shop-related-card p {
  color: #475569 !important;
}

:root[data-theme="light"] .shop-product-page .shop-related-card strong {
  color: #1D4ED8 !important;
}

:root[data-theme="light"] .shop-product-page .shop-why {
  text-align: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #F8FBFF 0%, #EEF4FF 100%) !important;
}

:root[data-theme="light"] .shop-product-page .why-grid article {
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  background: #FFFFFF !important;
}

:root[data-theme="light"] .shop-product-page .why-grid article strong {
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-product-page .why-grid article p {
  color: #64748B !important;
}

:root[data-theme="light"] .shop-product-page .achievement-grid div {
  border: 1px solid rgba(212, 175, 55, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.72), rgba(255, 255, 255, 0.96)),
    #FFFFFF !important;
}

:root[data-theme="light"] .shop-product-page .achievement-grid strong {
  color: #9A6A00 !important;
}

:root[data-theme="light"] .shop-product-page .faq-item {
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  background: #FFFFFF !important;
}

:root[data-theme="light"] .shop-product-page .faq-question {
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-product-page .faq-item p {
  color: #475569 !important;
}

:root[data-theme="light"] .shop-product-page .shop-bottom-offer {
  border-color: rgba(212, 175, 55, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.86), rgba(239, 246, 255, 0.72)),
    #FFFFFF !important;
}

/* Final refined light product purchase panel */
:root[data-theme="light"] .shop-product-page .shop-summary {
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(212, 175, 55, 0.12), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94)),
    #F8FAFF !important;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

:root[data-theme="light"] .shop-product-page .shop-title-row {
  align-items: flex-start;
}

:root[data-theme="light"] .shop-product-page .shop-summary h1 {
  color: #0B1220 !important;
  font-weight: 850 !important;
  letter-spacing: 0;
}

:root[data-theme="light"] .shop-product-page .shop-kicker,
:root[data-theme="light"] .shop-product-page .shop-rating small,
:root[data-theme="light"] .shop-product-page .shop-rating em {
  border: 1px solid rgba(212, 175, 55, 0.30) !important;
  color: #1F2937 !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.98), rgba(232, 199, 106, 0.78)),
    #FFF7D6 !important;
  box-shadow: 0 8px 18px rgba(200, 155, 60, 0.12) !important;
}

:root[data-theme="light"] .shop-product-page .shop-summary-description {
  border: 1px solid rgba(37, 99, 235, 0.10) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.82)),
    #FFFFFF !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

:root[data-theme="light"] .shop-product-page .shop-summary-description h2 {
  color: #0F172A !important;
  font-weight: 850 !important;
}

:root[data-theme="light"] .shop-product-page .shop-summary-description p {
  color: #475569 !important;
  font-weight: 560 !important;
}

:root[data-theme="light"] .shop-product-page .shop-pricing-card {
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  background:
    radial-gradient(circle at 12% 4%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.90)),
    #F8FAFF !important;
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
}

:root[data-theme="light"] .shop-product-page .shop-plan-line {
  color: #475569 !important;
}

:root[data-theme="light"] .shop-product-page .shop-plan-line strong {
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-product-page .shop-countdown {
  border: 1px solid rgba(220, 38, 38, 0.12) !important;
  background: rgba(254, 242, 242, 0.92) !important;
  color: #B45309 !important;
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.06) !important;
}

:root[data-theme="light"] .shop-product-page .shop-countdown span {
  color: #7F1D1D !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(127, 29, 29, 0.08) !important;
}

:root[data-theme="light"] .shop-product-page .shop-price-row del {
  color: #94A3B8 !important;
  background: transparent !important;
  opacity: 1 !important;
}

:root[data-theme="light"] .shop-product-page .shop-price-row strong {
  color: #1D4ED8 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

:root[data-theme="light"] .shop-product-page .shop-price-row small {
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  color: #1F2937 !important;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.98), rgba(232, 199, 106, 0.78)),
    #FFF7D6 !important;
}

:root[data-theme="light"] .shop-product-page .product-voucher-box {
  border: 1px solid rgba(37, 99, 235, 0.10) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

:root[data-theme="light"] .shop-product-page .compact-voucher-form {
  background: transparent !important;
}

:root[data-theme="light"] .shop-product-page .product-voucher-box input {
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}

:root[data-theme="light"] .shop-product-page .shop-actions .copy-button,
:root[data-theme="light"] .shop-product-page .shop-actions .buy-button {
  min-height: 52px !important;
  border-radius: 14px !important;
  font-weight: 850 !important;
}

/* Light product purchase text balance and overflow guard */
:root[data-theme="light"] .shop-product-page .shop-summary,
:root[data-theme="light"] .shop-product-page .shop-summary * {
  box-sizing: border-box;
}

:root[data-theme="light"] .shop-product-page .shop-summary {
  min-width: 0;
  overflow: hidden;
}

:root[data-theme="light"] .shop-product-page .shop-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  min-width: 0;
}

:root[data-theme="light"] .shop-product-page .shop-title-row > div:first-child {
  min-width: 0;
  flex: 1 1 360px;
}

:root[data-theme="light"] .shop-product-page .shop-rating {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

:root[data-theme="light"] .shop-product-page .shop-summary h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.08 !important;
  font-size: clamp(2rem, 3.5vw, 3.55rem) !important;
}

:root[data-theme="light"] .shop-product-page .shop-kicker,
:root[data-theme="light"] .shop-product-page .shop-rating small,
:root[data-theme="light"] .shop-product-page .shop-rating em {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

:root[data-theme="light"] .shop-product-page .shop-summary-description,
:root[data-theme="light"] .shop-product-page .shop-pricing-card {
  min-width: 0;
  width: 100%;
}

:root[data-theme="light"] .shop-product-page .shop-summary-description p {
  max-width: 76ch;
  overflow-wrap: anywhere;
  line-height: 1.58 !important;
}

:root[data-theme="light"] .shop-product-page .shop-plan-line,
:root[data-theme="light"] .shop-product-page .shop-price-row,
:root[data-theme="light"] .shop-product-page .shop-countdown {
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

:root[data-theme="light"] .shop-product-page .shop-price-row {
  gap: 12px 20px;
}

:root[data-theme="light"] .shop-product-page .shop-price-row del,
:root[data-theme="light"] .shop-product-page .shop-price-row strong,
:root[data-theme="light"] .shop-product-page .shop-price-row small {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

:root[data-theme="light"] .shop-product-page .compact-voucher-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(116px, 150px);
  gap: 14px;
  align-items: stretch;
}

:root[data-theme="light"] .shop-product-page .product-voucher-box input {
  min-width: 0;
  width: 100%;
}

:root[data-theme="light"] .shop-product-page .shop-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

:root[data-theme="light"] .shop-product-page .shop-actions .copy-button,
:root[data-theme="light"] .shop-product-page .shop-actions .buy-button {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 900px) {
  :root[data-theme="light"] .shop-product-page .shop-rating {
    justify-content: flex-start;
  }

  :root[data-theme="light"] .shop-product-page .shop-summary h1 {
    font-size: clamp(1.8rem, 8vw, 2.65rem) !important;
  }
}

@media (max-width: 560px) {
  :root[data-theme="light"] .shop-product-page .shop-summary {
    padding-inline: 18px !important;
  }

  :root[data-theme="light"] .shop-product-page .shop-summary-description,
  :root[data-theme="light"] .shop-product-page .shop-pricing-card {
    padding: 20px !important;
  }

  :root[data-theme="light"] .shop-product-page .compact-voucher-form,
  :root[data-theme="light"] .shop-product-page .shop-actions {
    grid-template-columns: 1fr;
  }

  :root[data-theme="light"] .shop-product-page .shop-countdown {
    width: 100%;
  }
}

/* Premium affiliate dashboard */
.affiliate-v2 {
  --aff-bg: #020817;
  --aff-panel: rgba(7, 18, 38, 0.78);
  --aff-border: rgba(255, 215, 0, 0.18);
  --aff-gold: #ffd700;
  --aff-cyan: #00bbfb;
  --aff-muted: rgba(226, 232, 240, 0.68);
  display: grid;
  gap: 28px;
}

.affiliate-v2-hero.affiliate-premium-hero,
.affiliate-v2-panel,
.affiliate-v2-metrics article,
.affiliate-v2-link-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 14% 12%, rgba(0, 187, 251, 0.18), transparent 34%), radial-gradient(circle at 88% 0%, rgba(255, 215, 0, 0.14), transparent 30%), linear-gradient(145deg, rgba(7, 18, 38, 0.92), rgba(2, 8, 23, 0.94));
  border: 1px solid var(--aff-border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.affiliate-v2-hero.affiliate-premium-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  min-height: 300px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 30px;
}

.affiliate-v2-hero h2 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.affiliate-v2-hero p {
  max-width: 680px;
  color: var(--aff-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.affiliate-v2-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  align-items: center;
}

.affiliate-v2-badge-row b,
.affiliate-v2-badge-row small {
  border-radius: 999px;
  padding: 9px 13px;
  color: #071226;
  background: linear-gradient(135deg, #ffd700, #ffb800, #fff3b0, #c89200);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.affiliate-v2-badge-row small {
  color: #dff8ff;
  border: 1px solid rgba(0, 187, 251, 0.22);
  background: rgba(0, 187, 251, 0.1);
}

.affiliate-money-card {
  min-height: 250px;
  padding: 22px;
  border-radius: 26px;
  display: grid;
  gap: 16px;
}

.affiliate-ref-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.affiliate-ref-card-head img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  padding: 8px;
  background: #f8fafc;
  box-shadow: 0 14px 35px rgba(0, 187, 251, 0.2);
}

.affiliate-earnings-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-earnings-line span {
  color: var(--aff-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.affiliate-earnings-line strong {
  color: var(--aff-gold);
  font-size: 1.45rem;
}

.affiliate-v2-metrics.affiliate-premium-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.affiliate-v2-metrics.affiliate-premium-metrics article {
  min-height: 166px;
  padding: 24px;
  border-radius: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-v2-metrics.affiliate-premium-metrics article:hover,
.affiliate-rank-card:hover,
.affiliate-v2-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, 0.42);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), 0 0 28px rgba(0, 187, 251, 0.08);
}

.affiliate-v2-metrics article i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--aff-gold);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.18);
  font-style: normal;
}

.affiliate-trend {
  display: inline-flex;
  width: fit-content;
  margin-top: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #38f2a8;
  background: rgba(56, 242, 168, 0.1);
}

.affiliate-trend.is-down {
  color: #ff7185;
  background: rgba(255, 113, 133, 0.1);
}

.affiliate-v2-analytics {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
}

.affiliate-analytics-head {
  align-items: flex-start;
  gap: 18px;
}

.affiliate-range-filter {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-range-filter button {
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--aff-muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.affiliate-range-filter button.is-active {
  color: #071226;
  background: linear-gradient(135deg, #ffd700, #ffb800, #fff3b0, #c89200);
}

.affiliate-chart-legend {
  display: flex;
  gap: 18px;
  margin: 14px 0 10px;
  color: var(--aff-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.affiliate-chart-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.affiliate-chart-legend i {
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--aff-gold);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.45);
}

.affiliate-chart-legend span + span i {
  background: var(--aff-cyan);
  box-shadow: 0 0 16px rgba(0, 187, 251, 0.45);
}

.affiliate-premium-chart {
  min-height: 330px;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-premium-chart svg {
  width: 100%;
  height: 330px;
  display: block;
}

.chart-grid-line { stroke: rgba(148, 163, 184, 0.14); stroke-width: 1; fill: none; }
.chart-area { fill: url(#affiliateGoldArea); }
.chart-line { fill: none; stroke-width: 5; stroke-linecap: round; filter: url(#affiliateGoldGlow); }
.chart-line-gold { stroke: #ffd700; }
.chart-line-cyan { stroke: #00bbfb; stroke-width: 4; filter: none; }
.chart-point-gold { fill: #fff3b0; stroke: #c89200; stroke-width: 2; }
.chart-point-cyan { fill: #dff8ff; stroke: #00bbfb; stroke-width: 2; }

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

.affiliate-rank-card {
  min-height: 150px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  background: linear-gradient(145deg, rgba(11, 17, 32, 0.92), rgba(7, 18, 38, 0.82));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.affiliate-rank-card > span { color: var(--aff-gold); font-size: 0.82rem; font-weight: 950; }
.affiliate-rank-card strong,
.affiliate-rank-card b { display: block; margin-top: 10px; }
.affiliate-rank-card small { display: block; margin-top: 8px; color: var(--aff-muted); }

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

.affiliate-v2-product-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(11, 17, 32, 0.94), rgba(7, 18, 38, 0.86));
  border: 1px solid rgba(255, 215, 0, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-v2-product-card .affiliate-v2-product-image {
  width: 100%;
  min-height: 170px;
  border-radius: 18px;
}

.affiliate-v2-product-body {
  display: grid;
  gap: 10px;
  padding: 12px 2px;
}

.affiliate-v2-product-body em {
  display: -webkit-box;
  min-height: 4.4em;
  overflow: hidden;
  color: var(--aff-muted);
  font-style: normal;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.affiliate-v2-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.affiliate-v2-product-meta b,
.affiliate-v2-product-meta small {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
}

.affiliate-v2-product-meta b {
  color: #071226;
  background: linear-gradient(135deg, #ffd700, #ffb800, #fff3b0, #c89200);
}

.affiliate-v2-product-card .icon-copy-button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border-radius: 14px;
}

.affiliate-orders-panel .affiliate-v2-table {
  border-radius: 24px;
  background: rgba(2, 8, 23, 0.46);
}

.affiliate-orders-panel .affiliate-v2-table-row {
  min-height: 70px;
  transition: background 0.2s ease;
}

.affiliate-orders-panel .affiliate-v2-table-row:hover {
  background: rgba(0, 187, 251, 0.06);
}

@media (max-width: 1100px) {
  .affiliate-v2-hero.affiliate-premium-hero,
  .affiliate-v2-metrics.affiliate-premium-metrics,
  .affiliate-ranking-grid,
  .affiliate-v2-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .affiliate-v2-hero.affiliate-premium-hero,
  .affiliate-v2-metrics.affiliate-premium-metrics,
  .affiliate-ranking-grid,
  .affiliate-v2-product-list {
    grid-template-columns: 1fr;
  }

  .affiliate-analytics-head,
  .affiliate-ref-card-head {
    flex-direction: column;
  }

  .affiliate-premium-chart,
  .affiliate-premium-chart svg {
    min-height: 240px;
    height: 240px;
  }
}

/* Compact luxury affiliate refinement */
.affiliate-v2,
.affiliate-v2 * {
  font-size: 12px;
}

.affiliate-v2 h1,
.affiliate-v2 h2,
.affiliate-v2 h3,
.affiliate-v2 h4,
.affiliate-v2 strong,
.affiliate-v2 b,
.affiliate-v2 .affiliate-v2-metrics strong,
.affiliate-v2 .affiliate-earnings-line strong {
  font-size: 14px !important;
  line-height: 1.35;
}

.affiliate-v2 {
  gap: 16px;
}

.affiliate-v2-hero.affiliate-premium-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  min-height: 0;
  padding: 18px;
  border-radius: 18px;
  align-items: stretch;
}

.affiliate-v2-hero h2 {
  max-width: none;
  margin: 6px 0 8px;
  font-size: 14px !important;
  line-height: 1.35;
}

.affiliate-v2-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.affiliate-v2-badge-row {
  gap: 8px;
  margin-top: 12px;
}

.affiliate-v2-badge-row b,
.affiliate-v2-badge-row small {
  padding: 6px 9px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.affiliate-money-card {
  min-height: 0;
  padding: 14px;
  border-radius: 16px;
  gap: 10px;
}

.affiliate-ref-card-head {
  align-items: center;
}

.affiliate-ref-card-head img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  padding: 5px;
}

.affiliate-v2-copy-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.affiliate-v2-copy-row input,
.affiliate-v2-copy-row button,
.affiliate-v2-filters input,
.affiliate-v2-filters select {
  min-height: 36px;
  font-size: 12px;
  border-radius: 10px;
}

.affiliate-earnings-line {
  align-items: center;
  padding-top: 8px;
}

.affiliate-v2-metrics.affiliate-premium-metrics {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 10px;
}

.affiliate-v2-metrics.affiliate-premium-metrics article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon label trend"
    "icon value trend";
  column-gap: 10px;
  row-gap: 2px;
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
  align-items: center;
}

.affiliate-v2-metrics article i {
  grid-area: icon;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 10px;
}

.affiliate-v2-metrics article span {
  grid-area: label;
}

.affiliate-v2-metrics article strong {
  grid-area: value;
}

.affiliate-v2-metrics article .affiliate-trend {
  grid-area: trend;
  margin-top: 0;
  padding: 5px 7px;
}

.affiliate-v2-panel {
  padding: 14px !important;
  border-radius: 16px;
}

.affiliate-v2-panel-head {
  gap: 10px;
  margin-bottom: 10px;
}

.affiliate-v2-panel-head h3,
.affiliate-v2-panel-head h2 {
  font-size: 14px !important;
}

.affiliate-v2-analytics {
  padding: 14px !important;
}

.affiliate-premium-chart {
  min-height: 220px;
  border-radius: 14px;
  padding: 6px;
}

.affiliate-premium-chart svg {
  height: 220px;
}

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

.affiliate-rank-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "rank title money"
    "rank meta money";
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
  align-items: center;
}

.affiliate-rank-card > span {
  grid-area: rank;
}

.affiliate-rank-card strong {
  grid-area: title;
  margin-top: 0;
}

.affiliate-rank-card small {
  grid-area: meta;
  margin-top: 2px;
}

.affiliate-rank-card b {
  grid-area: money;
  margin-top: 0;
  text-align: right;
}

.affiliate-v2-product-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.affiliate-v2-product-card {
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: 12px;
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
  align-items: center;
}

.affiliate-v2-product-card .affiliate-v2-product-image {
  width: 150px;
  min-height: 86px;
  height: 86px;
  border-radius: 12px;
}

.affiliate-v2-product-body {
  gap: 6px;
  padding: 0;
}

.affiliate-v2-product-body em {
  min-height: 0;
  line-height: 1.4;
  -webkit-line-clamp: 2;
}

.affiliate-v2-product-meta {
  gap: 6px;
}

.affiliate-v2-product-meta b,
.affiliate-v2-product-meta small {
  padding: 5px 8px;
}

.affiliate-v2-product-card .icon-copy-button {
  min-height: 36px;
  margin-top: 0;
  border-radius: 10px;
  align-self: center;
}

.affiliate-orders-panel .affiliate-v2-table-row {
  min-height: 48px;
}

.affiliate-v2-table-head,
.affiliate-v2-table-row {
  padding: 10px 12px;
}

@media (max-width: 980px) {
  .affiliate-v2-hero.affiliate-premium-hero,
  .affiliate-v2-metrics.affiliate-premium-metrics,
  .affiliate-ranking-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-v2-product-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .affiliate-v2-product-card .icon-copy-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .affiliate-v2-product-card,
  .affiliate-v2-metrics.affiliate-premium-metrics article,
  .affiliate-rank-card {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .affiliate-v2-product-card .affiliate-v2-product-image {
    width: 100%;
  }

  .affiliate-v2-metrics article i,
  .affiliate-v2-metrics article span,
  .affiliate-v2-metrics article strong,
  .affiliate-v2-metrics article .affiliate-trend,
  .affiliate-rank-card > span,
  .affiliate-rank-card strong,
  .affiliate-rank-card small,
  .affiliate-rank-card b {
    grid-area: auto;
  }
}

/* Affiliate product image/card fixes */
.affiliate-v2 .chart-date-label {
  fill: rgba(226, 232, 240, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
}

.affiliate-v2-product-card {
  grid-template-columns: 168px minmax(0, 1fr) max-content;
  column-gap: 16px;
  overflow: hidden;
}

.affiliate-v2-product-card .affiliate-v2-product-image {
  position: relative;
  z-index: 0;
  width: 168px;
  min-width: 168px;
  height: 96px;
  min-height: 96px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  flex: 0 0 168px;
}

.affiliate-v2-product-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

.affiliate-v2-product-body > span,
.affiliate-v2-product-body strong,
.affiliate-v2-product-body em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.affiliate-v2-product-body strong {
  white-space: nowrap;
}

.affiliate-v2-product-card .icon-copy-button {
  justify-self: end;
  min-width: 132px;
  padding-inline: 14px;
  margin-left: 10px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .affiliate-v2-product-card {
    grid-template-columns: 132px minmax(0, 1fr) max-content;
  }

  .affiliate-v2-product-card .affiliate-v2-product-image {
    width: 132px;
    min-width: 132px;
    height: 78px;
    min-height: 78px;
  }
}

@media (max-width: 720px) {
  .affiliate-v2-product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .affiliate-v2-product-card .affiliate-v2-product-image {
    width: 112px;
    min-width: 112px;
  }

  .affiliate-v2-product-card .icon-copy-button {
    grid-column: 2;
    justify-self: start;
    margin-left: 0;
  }
}

/* Final isolation for marketplace cards: do not inherit old product-row grid */
.affiliate-v2-products .affiliate-v2-product-card {
  display: grid !important;
  grid-template-columns: 168px minmax(0, 1fr) 150px !important;
  grid-template-areas: "image body action";
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 120px;
  overflow: hidden;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-image {
  grid-area: image;
  display: block;
  width: 168px !important;
  min-width: 168px;
  height: 96px !important;
  min-height: 96px;
  max-width: 168px;
  overflow: hidden;
  border-radius: 12px;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body {
  grid-area: body;
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  overflow: hidden;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body > span,
.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body > strong,
.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body > em {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body > span,
.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body > strong {
  white-space: nowrap;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-body > em {
  display: -webkit-box;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-meta b,
.affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-meta small {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 5px 8px;
  text-align: left;
  white-space: nowrap;
}

.affiliate-v2-products .affiliate-v2-product-action {
  grid-area: action;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.affiliate-v2-products .affiliate-v2-product-action .icon-copy-button {
  width: auto;
  min-width: 126px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .affiliate-v2-products .affiliate-v2-product-card {
    grid-template-columns: 132px minmax(0, 1fr) !important;
    grid-template-areas:
      "image body"
      "image action";
  }

  .affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-image {
    width: 132px !important;
    min-width: 132px;
    height: 84px !important;
    min-height: 84px;
    max-width: 132px;
  }

  .affiliate-v2-products .affiliate-v2-product-action {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .affiliate-v2-products .affiliate-v2-product-card {
    grid-template-columns: 1fr !important;
    grid-template-areas: "image" "body" "action";
  }

  .affiliate-v2-products .affiliate-v2-product-card .affiliate-v2-product-image {
    width: 100% !important;
    max-width: none;
    height: 120px !important;
  }
}

/* Mobile quick navigation: compact 2-column cards */
@media (max-width: 760px) {
  .home-category-section {
    padding: 14px 0 6px;
  }

  .home-category-section .home-section-kicker {
    gap: 8px;
    margin-bottom: 10px;
  }

  .home-category-section .home-section-kicker span {
    font-size: 0.72rem;
  }

  .home-category-section .home-section-kicker strong {
    font-size: 1rem;
    line-height: 1.25;
  }

  .home-category-section .home-category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home-category-section .home-category-card {
    min-width: 0;
    min-height: 132px !important;
    padding: 12px !important;
    gap: 7px !important;
    border-radius: 16px !important;
  }

  .home-category-section .home-category-card span {
    max-width: 100%;
    padding: 4px 8px !important;
    font-size: 0.68rem !important;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-category-section .home-category-card strong {
    display: -webkit-box;
    min-height: 2.45em;
    overflow: hidden;
    font-size: 0.86rem !important;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .home-category-section .home-category-card p {
    display: -webkit-box;
    min-height: 2.55em;
    overflow: hidden;
    font-size: 0.74rem !important;
    line-height: 1.28 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .home-category-section .home-category-card em {
    font-size: 0.68rem !important;
    line-height: 1.2;
  }
}

/* Mobile compact luxury headers */
@media (max-width: 760px) {
  body {
    font-size: 13px;
  }

  .app-shell {
    gap: 0;
  }

  .main-panel {
    border-radius: 0;
  }

  .topbar {
    min-height: 56px !important;
    padding: 8px 14px !important;
    gap: 8px !important;
    border-radius: 0 !important;
  }

  .mobile-menu {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 18px !important;
  }

  .mobile-menu span {
    width: 21px !important;
    height: 2px !important;
  }

  .topbar-actions {
    gap: 8px !important;
    margin-left: auto;
  }

  .cart-chip,
  .user-chip,
  .theme-toggle {
    min-height: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }

  .cart-chip {
    min-width: 82px !important;
    padding: 0 10px !important;
    gap: 7px !important;
  }

  .cart-chip strong,
  .cart-count {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 12px !important;
  }

  .user-chip {
    max-width: 190px !important;
    padding: 0 11px 0 7px !important;
    gap: 8px !important;
  }

  .user-chip span,
  .user-chip strong {
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  .user-chip .avatar,
  .user-chip-avatar,
  .avatar-mini {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 11px !important;
  }

  .theme-toggle {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
  }

  .hero,
  .shop-hero-grid,
  .page-hero,
  .seo-home-hero {
    min-height: 0 !important;
    padding: 36px 28px 28px !important;
    gap: 18px !important;
  }

  .hero > div:first-child,
  .page-hero > div:first-child {
    display: grid;
    gap: 12px;
  }

  .eyebrow,
  .shop-kicker,
  .page-kicker {
    width: fit-content;
    min-height: 34px !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  .live-dot {
    width: 14px !important;
    height: 14px !important;
  }

  .hero-title,
  .page-hero h1,
  .shop-summary h1,
  .seo-home-hero h1 {
    max-width: 100%;
    margin: 0 !important;
    font-size: clamp(2rem, 9.5vw, 3.05rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  .hero-copy,
  .page-hero p,
  .shop-summary p,
  .seo-home-hero p {
    max-width: 100%;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    display: grid !important;
    gap: 10px !important;
    margin-top: 4px !important;
  }

  .hero-primary-cta,
  .primary-action.hero-primary-cta {
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
  }

  .hero-trust,
  .avatar-stack,
  .trusted-row {
    margin-top: 4px !important;
    gap: 6px !important;
  }

  .avatar-stack span,
  .trusted-row span {
    width: 34px !important;
    height: 34px !important;
  }

  .hero-trust > span,
  .trusted-row > strong,
  .trusted-row > em {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .filterbar {
    gap: 10px !important;
    margin: 22px 0 20px !important;
  }

  .chip {
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
  }

  .tool-page,
  .automation-page,
  .chatbot-page,
  .freebie-page {
    padding-top: 0 !important;
  }
}

@media (max-width: 430px) {
  .topbar {
    padding-inline: 10px !important;
  }

  .mobile-menu {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }

  .cart-chip {
    min-width: 72px !important;
  }

  .user-chip {
    max-width: 166px !important;
  }

  .user-chip span,
  .user-chip strong {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero,
  .shop-hero-grid,
  .page-hero,
  .seo-home-hero {
    padding: 30px 26px 24px !important;
  }

  .hero-title,
  .page-hero h1,
  .shop-summary h1,
  .seo-home-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem) !important;
  }
}

/* Mobile product page compact luxury layout */
@media (max-width: 760px) {
  .shop-product-page.container {
    width: 100% !important;
    padding: 10px 18px 56px !important;
  }

  .shop-product-page .back-link {
    min-height: 42px !important;
    margin-bottom: 12px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  .shop-product-page .shop-gallery {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .shop-product-page .shop-main-shot {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 14px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .shop-product-page .shop-thumbs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  .shop-product-page .shop-thumb {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 10px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .shop-product-page .shop-summary {
    gap: 12px !important;
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .shop-product-page .shop-title-row {
    display: grid !important;
    gap: 10px !important;
  }

  .shop-product-page .shop-kicker {
    min-height: 30px !important;
    margin-bottom: 8px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-summary h1 {
    font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
    line-height: 1.08 !important;
  }

  .shop-product-page .shop-rating {
    gap: 8px !important;
  }

  .shop-product-page .shop-rating small,
  .shop-product-page .shop-rating em {
    min-height: 30px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-summary-description,
  .shop-product-page .shop-pricing-card {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .shop-product-page .shop-summary-description h2 {
    margin-bottom: 8px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-summary-description p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
  }

  .shop-product-page .shop-pricing-card {
    gap: 12px !important;
  }

  .shop-product-page .shop-plan-line {
    font-size: 12px !important;
  }

  .shop-product-page .shop-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .shop-product-page .shop-plan {
    min-height: 38px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-countdown {
    width: 100% !important;
    min-height: 32px !important;
    justify-content: center !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-price-row {
    gap: 8px 10px !important;
  }

  .shop-product-page .shop-price-row strong {
    font-size: 14px !important;
  }

  .shop-product-page .compact-voucher-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 104px !important;
    gap: 8px !important;
  }

  .shop-product-page .voucher-clear-button {
    grid-column: 1 / -1;
  }

  .shop-product-page .product-voucher-box input,
  .shop-product-page .product-voucher-box .primary-action,
  .shop-product-page .voucher-clear-button {
    min-height: 36px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }

  .shop-product-page .shop-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .shop-product-page .shop-actions .copy-button,
  .shop-product-page .shop-actions .buy-button {
    min-height: 40px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-section-card,
  .shop-product-page .shop-related,
  .shop-product-page .shop-why {
    margin-top: 22px !important;
  }

  .shop-product-page .shop-section-card {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .shop-product-page .shop-section-head {
    min-height: 44px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
  }

  .shop-product-page .shop-section-head span,
  .shop-product-page .shop-section-head small,
  .shop-product-page .shop-section-head b {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .shop-product-page .tool-detail-head::before {
    width: 22px !important;
    min-width: 22px !important;
    font-size: 12px !important;
  }

  .shop-product-page .shop-tool-detail-body,
  .shop-product-page .shop-detail-panel,
  .shop-product-page .shop-guide-panel {
    gap: 10px !important;
    margin-top: 10px !important;
    padding: 16px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    line-height: 1.48 !important;
  }

  .shop-product-page .shop-tool-detail-body p,
  .shop-product-page .shop-detail-panel li,
  .shop-product-page .shop-guide-panel li,
  .shop-product-page .preserved-lines p,
  .shop-product-page .shop-demo-guide-part,
  .shop-product-page .shop-demo-guide-part p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
  }

  .shop-product-page .shop-video-tabs {
    gap: 8px !important;
  }

  .shop-product-page .shop-video-tabs button {
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 430px) {
  .shop-product-page.container {
    padding-inline: 14px !important;
  }

  .shop-product-page .shop-summary h1 {
    font-size: clamp(1.45rem, 7vw, 1.95rem) !important;
  }
}

/* Mobile home spacing and compact filters */
@media (max-width: 760px) {
  .page-root .hero-slider-wrap {
    min-height: 0 !important;
    gap: 8px !important;
    margin: 6px 0 4px !important;
  }

  .page-root .hero-image-slider {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }

  .page-root .hero-luxury-frame {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.05),
      0 0 0 1px rgba(222, 155, 16, 0.12),
      0 12px 34px rgba(0, 0, 0, 0.28);
  }

  .page-root .hero-image-slider .hero-slide {
    padding: 12px 14px !important;
  }

  .page-root .hero-image-slider .hero-slide span {
    font-size: 10px !important;
    letter-spacing: 0.04em !important;
  }

  .page-root .hero-image-slider .hero-slide strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .page-root .hero-slide-dots {
    gap: 7px !important;
    margin-top: 2px !important;
  }

  .page-root .hero-slide-dots span {
    width: 18px !important;
    height: 5px !important;
  }

  .page-root .stats-band,
  .page-root .section,
  .page-root .cta-footer,
  .page-root .home-featured-section,
  .page-root .home-video-section,
  .page-root .home-freebie-section {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .page-root .section-head {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .page-root .section-title,
  .page-root .section-title h2 {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  .page-root .section-copy {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .page-root .tool-grid,
  .page-root .compact-home-grid,
  .page-root .home-video-grid,
  .page-root .home-freebie-grid,
  .page-root .chatbot-video-grid {
    gap: 12px !important;
  }

  .page-root .filterbar {
    gap: 8px !important;
    margin: 14px 0 14px !important;
  }

  .page-root .chip {
    min-height: 32px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .page-root .tag-row {
    gap: 5px !important;
    margin-top: 8px !important;
  }

  .page-root .tag-row span,
  .page-root .badge,
  .page-root .video-pill,
  .page-root .home-category-card span {
    min-height: 22px !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .page-root .tool-body,
  .page-root .freebie-card,
  .page-root .chatbot-video-card {
    padding: 12px !important;
  }
}

@media (max-width: 430px) {
  .page-root .stats-band,
  .page-root .section,
  .page-root .cta-footer,
  .page-root .home-featured-section,
  .page-root .home-video-section,
  .page-root .home-freebie-section {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .page-root .filterbar {
    gap: 7px !important;
  }

  .page-root .chip {
    min-height: 30px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
  }
}

/* Mobile product gallery autoplay */
.shop-mobile-gallery-slider {
  display: none;
}

@media (max-width: 760px) {
  .shop-product-page .shop-mobile-gallery-slider {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    background:
      radial-gradient(circle at 18% 18%, rgba(34, 195, 255, 0.12), transparent 34%),
      radial-gradient(circle at 80% 82%, rgba(222, 155, 16, 0.1), transparent 38%),
      #071226;
    isolation: isolate;
  }

  .shop-product-page .shop-mobile-gallery-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.018);
    animation: shopMobileGalleryFade calc(3600ms * var(--shop-slide-count, 1)) ease-in-out infinite;
    animation-delay: calc(3600ms * var(--shop-slide-index, 0));
    will-change: opacity, transform;
  }

  .shop-product-page .shop-mobile-gallery-slide.is-first,
  .shop-product-page .shop-mobile-gallery-slider[style*="--shop-slide-count:1"] .shop-mobile-gallery-slide {
    opacity: 1;
  }

  .shop-product-page .shop-mobile-gallery-slider[style*="--shop-slide-count:1"] .shop-mobile-gallery-slide {
    animation: none;
    transform: scale(1);
  }

  .shop-product-page .shop-main-shot,
  .shop-product-page .shop-thumbs {
    display: none !important;
  }
}

@keyframes shopMobileGalleryFade {
  0%, 6% {
    opacity: 0;
    transform: scale(1.018);
  }
  10%, 34% {
    opacity: 1;
    transform: scale(1);
  }
  40%, 100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-page .shop-mobile-gallery-slide {
    animation: none !important;
  }
}

/* Mobile product FAQ and related section fit */
@media (max-width: 760px) {
  .shop-product-page .shop-section-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .shop-product-page .product-faq-grid,
  .shop-product-page .faq-list {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
    overflow: hidden !important;
  }

  .shop-product-page .faq-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 13px 12px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .shop-product-page .faq-question {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    align-items: start !important;
    min-width: 0 !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
  }

  .shop-product-page .faq-question span:first-child {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .shop-product-page .faq-question span:last-child {
    justify-self: end;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .shop-product-page .faq-item p {
    max-width: 100% !important;
    margin-top: 9px !important;
    font-size: 12px !important;
    line-height: 1.48 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .shop-product-page .shop-related {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  .shop-product-page .shop-related-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    margin-bottom: 12px !important;
  }

  .shop-product-page .shop-related-head h2 {
    min-width: 0 !important;
    font-size: 20px !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .shop-product-page .shop-related-head > div {
    display: flex !important;
    gap: 6px !important;
  }

  .shop-product-page .shop-related-head button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
  }

  .shop-product-page .shop-related-grid {
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 8px !important;
    scroll-padding-left: 0 !important;
  }

  .shop-product-page .shop-related-card {
    flex: 0 0 min(78vw, 300px) !important;
    max-width: min(78vw, 300px) !important;
    padding: 10px !important;
    border-radius: 14px !important;
  }

  .shop-product-page .shop-related-card .related-image {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
  }

  .shop-product-page .shop-related-card h3 {
    margin: 9px 0 6px !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
  }

  .shop-product-page .shop-related-card p {
    min-height: calc(1.45em * 3) !important;
    max-height: calc(1.45em * 3) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .shop-product-page .shop-related-card del {
    font-size: 12px !important;
  }

  .shop-product-page .shop-related-card strong {
    font-size: 13px !important;
  }

  .shop-product-page .shop-why h2 {
    font-size: 20px !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 430px) {
  .shop-product-page .shop-related-head h2,
  .shop-product-page .shop-why h2 {
    font-size: 18px !important;
  }

  .shop-product-page .shop-related-card {
    flex-basis: 76vw !important;
    max-width: 76vw !important;
  }
}

/* Mobile global FAQ fit and product tag centering */
@media (max-width: 760px) {
  .tool-card .tag-row span,
  .freebie-card .tag-row span,
  .tag-row span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 26px !important;
    padding: 0 9px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

  #faq,
  #faq .container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #faq .faq-list {
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
    overflow: hidden !important;
  }

  #faq .faq-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 13px 12px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  #faq .faq-question {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    align-items: start !important;
    min-width: 0 !important;
    font-size: 12px !important;
    line-height: 1.32 !important;
    text-align: left !important;
  }

  #faq .faq-question span:first-child {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  #faq .faq-question span:last-child {
    justify-self: end !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  #faq .faq-item p {
    max-width: 100% !important;
    margin-top: 9px !important;
    font-size: 12px !important;
    line-height: 1.48 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}
