/* GiftCode storefront — dark-first design system. Theme tokens (--accent, --radius, --font) come from the store config. */
:root {
  --bg: #0b0d14;
  --bg-2: #10131d;
  --surface: #151a28;
  --surface-2: #1d2335;
  --border: #262d42;
  --text: #f1f3fa;
  --muted: #8f97ad;
  --accent: #7c5cff;
  --accent-2: #2ee6a6;
  --danger: #ff5c7a;
  --radius: 14px;
  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f4f5fa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --border: #dfe3ee;
  --text: #121523;
  --muted: #667085;
  --shadow: 0 20px 60px rgba(20, 30, 60, 0.12);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(
      1200px 600px at 80% -10%,
      color-mix(in srgb, var(--accent) 22%, transparent),
      transparent 60%
    ),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
input,
select {
  font: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-family: var(--font-heading, var(--font));
}
.wrap {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
}
.muted {
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent),
    color-mix(in srgb, var(--accent) 60%, var(--accent-2))
  );
  color: var(--on-accent, #fff);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent);
}
.btn-primary:hover {
  filter: brightness(1.08);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.icon-btn:hover {
  border-color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
/* Brand mark shared with the cabinet (app.css .logo/.logo-mark): same size, radius, colour and glyph. */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.site-logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.site-logo-mark svg {
  width: 20px;
  height: 20px;
}
.site-logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}
.site-search {
  position: relative;
  max-width: 560px;
  width: 100%;
}
.site-search input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px 0 42px;
  outline: none;
}
.site-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--muted);
}
.site-nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}
.site-nav a:hover {
  color: var(--text);
}
.header-actions {
  display: flex;
  gap: 10px;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent-2);
  color: #06281c;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.sim-strip {
  text-align: center;
  font-size: 13px;
  padding: 6px 12px;
  background: color-mix(in srgb, #f5b700 18%, var(--bg));
  color: #f5d77a;
  border-bottom: 1px solid var(--border);
}
.site-main {
  padding: 28px 0 60px;
  display: grid;
  gap: 44px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 24px 0 8px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 800;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 18px 0 24px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: rotate(-4deg);
}
.hero-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-tile[hidden] {
  display: none;
}
.hero-tile:nth-of-type(2),
.hero-tile:nth-of-type(5) {
  transform: translateY(18px);
}
.hero-tile .brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.promo-banner {
  padding: 18px 22px;
  border-radius: var(--radius);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 30%, var(--surface)),
    var(--surface)
  );
  border: 1px solid var(--border);
  font-weight: 600;
}

/* Sections */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 26px;
  font-weight: 800;
}
.section-head a {
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cat-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
}
.cat-chip:hover {
  border-color: var(--accent);
}
.cat-chip small {
  color: var(--muted);
}
.cat-ico {
  font-size: 16px;
}
.brand-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.brand-tile {
  display: grid;
  grid-template-rows: 84px auto;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.brand-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.brand-tile .brand-img,
.brand-tile .brand-fallback {
  width: 100%;
  height: 84px;
  object-fit: contain;
  border-radius: 10px;
}
.brand-tile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.country-chip {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
}
.country-chip small {
  color: var(--muted);
  margin-left: 6px;
}
.content-blocks {
  display: grid;
  gap: 16px;
}
.content-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.content-card details {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.content-card summary {
  cursor: pointer;
  font-weight: 600;
}

/* Product cards */
/* Fixed column counts so sections of 5 or 10 cards always fill whole rows. */
.p-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1180px) {
  .p-grid {
    grid-template-columns: repeat(min(var(--cols, 5), 4), minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .p-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.p-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.p-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.p-card.sold-out {
  opacity: 0.6;
}
.p-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  padding: 18px;
}
.p-media .brand-img {
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.brand-fallback {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}
.brand-fallback.large {
  width: 160px;
  height: 160px;
  font-size: 44px;
  border-radius: 34px;
}
.p-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 18px;
  background: var(--bg);
  border-radius: 8px;
  padding: 2px 6px;
}
.p-body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 4px;
}
.p-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 700;
}
.p-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-meta {
  font-size: 12px;
  color: var(--muted);
}
.p-price {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.p-price strong {
  color: var(--text);
  font-size: 17px;
}
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

/* Catalog */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.facets {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 20px;
}
.facet h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.facet ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.facet-scroll {
  max-height: 280px;
  overflow: auto;
  padding-right: 6px;
}
.facet-link {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
}
.facet-link:hover {
  background: var(--surface);
}
.facet-link.active {
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
  color: var(--text);
  font-weight: 700;
}
.facet-link small {
  color: var(--muted);
}
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.catalog-head h1 {
  font-size: 32px;
  font-weight: 800;
}
.catalog-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sort select {
  margin-left: 8px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 20%, var(--surface));
  font-size: 13px;
  font-weight: 600;
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
}
.pager a {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

/* Product page */
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.crumbs a:hover {
  color: var(--text);
}
.product {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 40px;
  align-items: start;
}
.product-media {
  position: sticky;
  top: 90px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border);
  padding: 20px;
}
.product-media .brand-img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.product-info h1 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  margin: 6px 0 12px;
}
.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tag {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
}
.option-group {
  margin-bottom: 22px;
}
.option-group h3 {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.option-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.opt {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  min-width: 96px;
  font-size: 14px;
}
.opt strong {
  font-size: 15px;
}
.opt.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}
.opt.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}
.field input,
.field select {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
}
.buy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
}
.qty button {
  width: 40px;
  height: 44px;
  background: transparent;
  border: 0;
  font-size: 18px;
}
.qty input {
  width: 54px;
  height: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  -moz-appearance: textfield;
}
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.buy-price {
  font-size: 26px;
  font-weight: 800;
  margin-right: auto;
}
.assurances {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}
.assurances li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.product-details {
  margin: 44px 0 0;
}
.tab-panel {
  padding: 4px 0 8px;
}
.related {
  margin-top: 56px;
}
.reviews-page {
  display: grid;
  gap: 36px;
  padding: 20px 0 40px;
}
.reviews-page .biz-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 10px 0 12px;
}
.reviews-page .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
  margin: 0;
}
.reviews-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.reviews-how .pl-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 800px) {
  .reviews-how .pl-steps {
    grid-template-columns: 1fr;
  }
}
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.tab {
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
}
.tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.tab-panel {
  display: none;
  max-width: 820px;
  color: color-mix(in srgb, var(--text) 85%, var(--muted));
}
.tab-panel.active {
  display: block;
}
.instruction {
  white-space: pre-wrap;
  font-family: inherit;
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 18px;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 6, 12, 0.6);
  display: flex;
  justify-content: flex-end;
}
.cart-panel {
  width: min(440px, 100%);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: var(--shadow);
}
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-head h2 {
  font-size: 20px;
}
.cart-items {
  overflow: auto;
  padding: 12px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cart-item .brand-img,
.cart-item .brand-fallback {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  font-size: 16px;
}
.cart-item-name {
  font-weight: 700;
  font-size: 14px;
}
.cart-item-meta {
  font-size: 12px;
  color: var(--muted);
}
.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-weight: 700;
}
.cart-item-actions .qty button {
  width: 30px;
  height: 32px;
}
.cart-item-actions .qty input {
  width: 38px;
  height: 32px;
}
.link-danger {
  background: none;
  border: 0;
  color: var(--danger);
  font-size: 12px;
  padding: 0;
}
.cart-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 10px;
}

/* Shell pages: checkout, order, support */
.shell {
  display: grid;
  gap: 22px;
}
.shell h1 {
  font-size: 32px;
  font-weight: 800;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.card h2 {
  font-size: 20px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
}
.summary-line > :last-child {
  white-space: nowrap;
  flex: none;
}
.cart-item-actions span {
  white-space: nowrap;
}
.summary-line.total {
  font-size: 18px;
  font-weight: 800;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-2);
}
.status-pill.ok {
  background: color-mix(in srgb, var(--accent-2) 22%, var(--surface));
  color: var(--accent-2);
}
.status-pill.warn {
  background: color-mix(in srgb, #f5b700 22%, var(--surface));
  color: #f5d77a;
}
.status-pill.bad {
  background: color-mix(in srgb, var(--danger) 22%, var(--surface));
  color: var(--danger);
}
.delivery {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px dashed var(--accent-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  word-break: break-all;
}
.pay-methods {
  display: grid;
  gap: 10px;
}
.pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  text-align: left;
}
.pay-method:hover {
  border-color: var(--accent);
}
.notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid var(--border);
  font-size: 14px;
  color: color-mix(in srgb, var(--text) 85%, var(--muted));
}
.notice.warn {
  background: color-mix(in srgb, #f5b700 12%, var(--surface));
}
.form-error {
  color: var(--danger);
  font-size: 14px;
  min-height: 18px;
}
.loading {
  color: var(--muted);
  padding: 30px 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.toast.error {
  border-color: var(--danger);
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding: 40px 0 28px;
}
.footer-brand p {
  margin: 14px 0 0;
  max-width: 360px;
  line-height: 1.6;
}
.footer-brand .footer-note {
  font-size: 12px;
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.pay-badges span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-col strong {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.footer-bottom a:hover {
  color: var(--accent);
}
.made-on {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .facets {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .product {
    grid-template-columns: 1fr;
  }
  .product-media {
    position: static;
    max-width: 360px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
  }
  .site-search {
    grid-column: 1 / -1;
    order: 3;
    max-width: none;
  }
  .site-nav {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .p-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .buy-row {
    flex-direction: column;
    align-items: stretch;
  }
  .buy-price {
    margin: 0;
  }
  .wrap {
    width: min(1240px, 100% - 20px);
  }
}

/* ---------------------------------------------------------------- demo -- */
.demo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  font-size: 13px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 35%, var(--surface)),
    var(--surface)
  );
  border-bottom: 1px solid var(--border);
}
.btn-sm {
  min-height: 34px;
  padding: 6px 14px;
  font-size: 13px;
}
.demo-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 14, 0.7);
  backdrop-filter: blur(6px);
}
.demo-gate-card {
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.demo-gate-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.demo-gate-card p {
  color: var(--muted);
  margin: 0 0 18px;
}
.demo-gate-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------ partner landing -- */
.pl-section {
  padding: 48px 0 8px;
}
.pl-hero {
  padding-top: 40px;
}
.pl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pl-card h3 {
  font-size: 18px;
}
.pl-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  flex: 1;
}
.pl-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}
.pl-ico svg {
  width: 22px;
  height: 22px;
}
.pl-status {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
}
.pl-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.pl-steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.pl-steps h3 {
  font-size: 17px;
  margin: 12px 0 8px;
}
.pl-steps p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.pl-step-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}
.pl-flow {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.pl-flow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.pl-flow svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.pl-earn {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.pl-models {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pl-model {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
}
.pl-model:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.pl-model input {
  margin-top: 4px;
  accent-color: var(--accent);
}
.pl-model strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.pl-model small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.pl-range {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pl-range input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.pl-calc .field {
  margin-bottom: 14px;
}
.pl-demo {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.pl-demo-form .field {
  margin-bottom: 16px;
}
.pl-demo-form .field > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pl-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pl-preset {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 13px;
}
.pl-preset input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.pl-preset.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.pl-preset small {
  color: var(--muted);
  font-size: 11px;
}
.pl-swatch {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--sw-bg) 55%, var(--sw) 55%);
  border: 1px solid var(--border);
}
.pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
}
.pl-chip small {
  color: var(--muted);
}
.pl-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pl-chip.active small {
  color: rgba(255, 255, 255, 0.75);
}
.pl-pricing {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pl-pricing .check-label,
.pl-toggles .check-label {
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}
.pl-pricing .check-label input,
.pl-toggles .check-label input {
  margin: 0;
  accent-color: var(--accent);
}
.pl-pricing .check-label:has(input:checked),
.pl-toggles .check-label:has(input:checked) {
  border-color: var(--accent);
}
.pl-demo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 12px;
}
.pl-preview-wrap {
  position: sticky;
  top: 84px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.pl-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.pl-preview-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.pl-preview-url {
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface);
  flex: 1;
}
.pl-preview {
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--bg);
  display: block;
}
.pl-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.pl-faq summary {
  cursor: pointer;
  font-weight: 700;
}
.pl-faq p {
  color: var(--muted);
  margin: 10px 0 0;
}
.pl-final {
  text-align: center;
  padding: 60px 0 70px;
}
.pl-final h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.pl-final p {
  color: var(--muted);
  margin: 12px auto 22px;
  max-width: 520px;
}
.pl-final .hero-cta {
  justify-content: center;
}
@media (max-width: 960px) {
  .pl-grid,
  .pl-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pl-earn,
  .pl-demo {
    grid-template-columns: 1fr;
  }
  .pl-preview-wrap {
    position: static;
  }
  .pl-preview {
    height: 560px;
  }
}
@media (max-width: 600px) {
  .pl-grid,
  .pl-steps,
  .pl-presets {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------- business pages -- */
.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  padding: 20px 0 60px;
}
.biz .crumbs,
.biz-head {
  grid-column: 1 / -1;
}
.biz-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 10px 0 12px;
}
.biz-head .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 820px;
  margin: 0;
}
.biz-body {
  display: grid;
  gap: 14px;
}
.biz-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.biz-section h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.biz-section p,
.biz-section li {
  color: var(--muted);
  line-height: 1.65;
}
.biz-section p {
  margin: 0 0 10px;
}
.biz-section p:last-child {
  margin-bottom: 0;
}
.biz-section ul {
  margin: 0;
  padding-left: 20px;
}
.biz-section a {
  color: var(--accent);
}
.biz-section a.btn {
  color: #fff;
}
.biz-aside {
  position: sticky;
  top: 90px;
  align-self: start;
}
.biz-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
}
.biz-nav strong {
  margin: 8px 0 2px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.biz-nav strong:first-child {
  margin-top: 0;
}
.biz-nav a:hover {
  color: var(--accent);
}
@media (max-width: 860px) {
  .biz {
    grid-template-columns: 1fr;
  }
  .biz-aside {
    position: static;
  }
}

/* ----------------------------------------------------------- buyer account -- */
.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.order-list {
  display: grid;
  gap: 10px;
}
.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.order-row:hover {
  border-color: var(--accent);
}
.order-row strong {
  display: block;
}
.order-row small {
  color: var(--muted);
}
.code-input {
  font-size: 26px;
  letter-spacing: 0.4em;
  text-align: center;
}
.ticket-list {
  display: grid;
  gap: 8px;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  cursor: pointer;
}
.msg {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  margin-bottom: 8px;
}
.msg.staff {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
}
.msg small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.attachment {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}
@media (max-width: 640px) {
  .order-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------- product content -- */
.tab-panel .lead {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.facts li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 13px;
}
.guide {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.guide h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.guide ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}
.guide li {
  position: relative;
  padding-left: 40px;
  line-height: 1.55;
  counter-increment: step;
}
.guide li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.supplier-text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.supplier-text summary {
  cursor: pointer;
  font-weight: 600;
}
.supplier-text .guide {
  margin-top: 10px;
}
.tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  margin-left: 6px;
}

/* ----------------------------------------------------------------- reviews -- */
.stars {
  color: #ffc857;
  letter-spacing: 2px;
  font-size: 15px;
}
.review-summary {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.review-score {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.review-score strong {
  font-size: 44px;
  line-height: 1;
}
.review-bars {
  display: grid;
  gap: 6px;
}
.review-bar {
  display: grid;
  grid-template-columns: 14px 1fr 30px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.review-bar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.review-bar b {
  display: block;
  height: 100%;
  background: #ffc857;
}
.review-empty {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.review-empty p {
  margin: 6px 0 0;
}
.review-list {
  display: grid;
  gap: 12px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.review p {
  margin: 0 0 8px;
  line-height: 1.55;
}
.review-product {
  font-size: 13px;
  margin-bottom: 6px;
}
.review-badge {
  font-size: 12px;
  color: var(--accent-2);
}
.home-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 12px;
}
.rating-line strong {
  color: var(--text);
}
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
  font-size: 30px;
  line-height: 1;
}
.star-input input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.star-input label {
  cursor: pointer;
  color: var(--border);
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
  color: #ffc857;
}
.review-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .review-summary,
  .home-reviews {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------- landing social proof -- */
.pl-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pl-proof-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.pl-proof-col h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.pl-proof-col .review {
  padding: 12px 14px;
}
.pl-top,
.pl-deals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pl-top li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pl-top a {
  display: grid;
}
.pl-top small,
.pl-deals small {
  color: var(--muted);
  font-size: 12px;
}
.pl-rank {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 13px;
  flex: none;
}
.pl-deals li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pl-deals strong,
.pl-top strong {
  display: block;
  line-height: 1.35;
}
.pl-deal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 7px;
  flex: none;
}
@media (max-width: 960px) {
  .pl-proof {
    grid-template-columns: 1fr;
  }
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}
.review-actions .muted {
  font-size: 13px;
}

/* Inline icons inherit no size from SVG markup: pin them so they never jump. */
.hero-points svg,
.assurances svg,
.pl-flow svg,
.section-head svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.p-media .brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pl-hero .hero-points {
  gap: 18px 28px;
}

/* ---------------------------------------------------------- search suggest -- */
.site-search {
  position: relative;
}
.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: grid;
  gap: 4px;
  max-height: 70vh;
  overflow: auto;
}
.suggest-group {
  padding: 8px 10px 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
}
.suggest-item:hover,
.suggest-item.active {
  background: var(--surface-2);
}
.suggest-item img,
.suggest-item .brand-fallback {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  font-size: 14px;
  flex: none;
}
.suggest-item small {
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.suggest-empty {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------- catalog hub -- */
.hub {
  display: grid;
  gap: 44px;
  padding: 16px 0 40px;
}
.hub-head {
  display: grid;
  gap: 18px;
}
.hub-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 8px;
}
.hub-head .lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 760px;
  margin: 0;
}
.hub-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-jump a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
}
.hub-jump a:hover {
  border-color: var(--accent);
}
.hub-group {
  display: grid;
  gap: 16px;
  padding-top: 8px;
  scroll-margin-top: 90px;
}
.hub-group .section-head {
  align-items: flex-start;
  margin-bottom: 0;
}
.hub-group .section-head p {
  margin: 4px 0 0;
  font-size: 14px;
}
.hub-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-brands {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  .hub-brands {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------- support -- */
.support {
  display: grid;
  gap: 36px;
  padding: 20px 0 50px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text);
}
a.support-card:hover {
  border-color: var(--accent);
}
.support-card h3 {
  font-size: 18px;
}
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  line-height: 1.55;
}
.support-card p a {
  color: var(--accent);
}
.support-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent);
}
.support-faq h2,
.support-links h2 {
  font-size: 24px;
  margin-bottom: 14px;
}
.support-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.support-faq summary {
  cursor: pointer;
  font-weight: 700;
}
.support-faq p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.6;
}
.support-faq p a {
  color: var(--accent);
}
@media (max-width: 860px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------- landing: live proof -- */
.pl-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.pl-stat {
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent) 22%, var(--surface)),
    var(--surface)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.pl-stat strong {
  display: block;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.pl-stat span {
  color: var(--muted);
  font-size: 14px;
}
.pl-live {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}
.pl-feed {
  display: grid;
  gap: 8px;
}
.pl-feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.pl-feed-item .brand-img,
.pl-feed-item .brand-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  flex: none;
}
.pl-feed-item strong {
  display: block;
  font-size: 14px;
}
.pl-feed-item small {
  color: var(--muted);
}
.pl-feed-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--accent-2);
  white-space: nowrap;
}
.pl-live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}
.pl-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 60%, transparent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 60%, transparent);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@media (max-width: 960px) {
  .pl-stats,
  .pl-live {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------- reviews page -- */
.rv-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.rv-score-card {
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent) 22%, var(--surface)),
    var(--surface)
  );
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.rv-score-big {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}
.rv-score-card .review-bars {
  margin-top: 12px;
}
.rv-hero-text h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
}
.rv-hero-text .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
  margin: 0 0 18px;
}
.rv-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.rv-facts div {
  display: grid;
}
.rv-facts strong {
  font-size: 26px;
  font-weight: 800;
}
.rv-facts span {
  color: var(--muted);
  font-size: 13px;
}
.rv-panel {
  padding-top: 6px;
}
.rv-grid {
  columns: 3 280px;
  column-gap: 14px;
}
.rv-card {
  break-inside: avoid;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 10px;
}
.rv-card:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
}
.rv-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rv-head > div {
  display: grid;
  flex: 1;
}
.rv-head small {
  color: var(--muted);
}
.rv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: hsl(var(--hue) 70% 50%);
  flex: none;
}
.rv-product {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  width: fit-content;
}
.rv-product svg {
  width: 14px;
  height: 14px;
}
.rv-card p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}
@media (max-width: 860px) {
  .rv-hero {
    grid-template-columns: 1fr;
  }
}
.rv-panel {
  max-width: none;
}

/* ----------------------------------------------------- product specs & faq -- */
.specs-title {
  font-size: 16px;
  margin: 18px 0 8px;
}
.kv.specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
}
.kv.specs dt {
  color: var(--muted);
}
.kv.specs dd {
  margin: 0;
}
.sold-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
}

/* -------------------------------------------------------------------- eSIM -- */
.esim {
  display: grid;
  gap: 40px;
  padding: 16px 0 40px;
}
.esim-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 10px;
}
.esim-hero .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
  margin: 0 0 20px;
}
.esim-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.esim-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.esim-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.esim-tile:hover {
  border-color: var(--accent);
}
.esim-tile strong {
  display: block;
  font-size: 14px;
}
.esim-tile small {
  color: var(--muted);
  font-size: 12px;
}
.esim-flag {
  font-size: 26px;
  line-height: 1;
}
.esim-continent {
  font-size: 18px;
  margin: 18px 0 10px;
}
.esim-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.esim-alpha a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}
.esim-letter {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.esim-letter-mark {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.esim-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
}
.esim-links a:hover {
  color: var(--accent);
}
.tag.age {
  background: color-mix(in srgb, var(--amber, #ffc857) 18%, transparent);
  color: #ffc857;
  font-weight: 800;
}
@media (max-width: 1100px) {
  .esim-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .esim-grid,
  .esim-steps {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ guides -- */
.guides {
  display: grid;
  gap: 28px;
  padding: 16px 0 40px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.guide-card:hover {
  border-color: var(--accent);
}
.guide-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.guide-aside {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.guide-products {
  display: grid;
  gap: 8px;
}
.guide-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  background: var(--surface-2);
}
.guide-product .brand-img,
.guide-product .brand-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  flex: none;
}
.guide-product strong {
  display: block;
  font-size: 13px;
}
.guide-product small {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 900px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-aside {
    position: static;
  }
}

/* ------------------------------------------------------------- eSIM plans -- */
.option-row.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.opt.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  min-height: 92px;
  text-align: left;
}
.opt.plan .plan-data {
  font-size: 17px;
  font-weight: 800;
}
.opt.plan .plan-days {
  color: var(--muted);
  font-size: 13px;
}
.opt.plan .plan-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}
.opt.plan strong {
  margin-top: auto;
  font-size: 15px;
}
@media (max-width: 640px) {
  .option-row.plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.plan-head {
  margin: 12px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.option-group h3 + .plan-head {
  margin-top: 0;
}

/* ===================================================================== */
/* Store style variants. Values come from the store theme as data-attributes
   on <html>; the partner builder and the landing demo switch them live.   */
/* ===================================================================== */

/* ---- backdrop ---- */
html[data-backdrop="solid"] body {
  background: var(--bg);
}
html[data-backdrop="gradient"] body {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent) 16%, var(--bg)) 0,
      var(--bg) 520px
    ),
    var(--bg);
}
html[data-backdrop="mesh"] body {
  background:
    radial-gradient(
      700px 420px at 12% 8%,
      color-mix(in srgb, var(--accent) 28%, transparent),
      transparent 70%
    ),
    radial-gradient(
      620px 380px at 88% 18%,
      color-mix(in srgb, var(--accent-2) 22%, transparent),
      transparent 70%
    ),
    radial-gradient(
      900px 500px at 50% 110%,
      color-mix(in srgb, var(--accent) 14%, transparent),
      transparent 70%
    ),
    var(--bg);
}
html[data-backdrop="dots"] body {
  background:
    radial-gradient(
        color-mix(in srgb, var(--text) 12%, transparent) 1px,
        transparent 1.5px
      )
      0 0 / 22px 22px,
    var(--bg);
}
html[data-backdrop="grid"] body {
  background:
    linear-gradient(
        color-mix(in srgb, var(--text) 8%, transparent) 1px,
        transparent 1px
      )
      0 0 / 40px 40px,
    linear-gradient(
        90deg,
        color-mix(in srgb, var(--text) 8%, transparent) 1px,
        transparent 1px
      )
      0 0 / 40px 40px,
    var(--bg);
}
html[data-backdrop="stripes"] body {
  background:
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--accent) 6%, transparent) 0 14px,
      transparent 14px 28px
    ),
    var(--bg);
}

/* ---- shadows ---- */
html[data-shadows="none"] {
  --shadow: none;
}
html[data-shadows="none"] .btn-primary {
  box-shadow: none;
}
html[data-shadows="hard"] {
  --shadow: 6px 6px 0 color-mix(in srgb, var(--text) 85%, transparent);
}
html[data-shadows="hard"] .btn-primary {
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--text) 85%, transparent);
}
html[data-shadows="hard"] .p-card,
html[data-shadows="hard"] .hero-tile,
html[data-shadows="hard"] .cat-chip,
html[data-shadows="hard"] .brand-tile {
  border-color: color-mix(in srgb, var(--text) 70%, transparent);
}

/* ---- buttons ---- */
html[data-buttons="pill"] .btn,
html[data-buttons="pill"] .site-search input,
html[data-buttons="pill"] .cat-chip,
html[data-buttons="pill"] .country-chip,
html[data-buttons="pill"] .opt {
  border-radius: 999px;
}
html[data-buttons="square"] .btn,
html[data-buttons="square"] .site-search input,
html[data-buttons="square"] .icon-btn,
html[data-buttons="square"] .cat-chip,
html[data-buttons="square"] .opt,
html[data-buttons="square"] .opt.plan {
  border-radius: 3px;
}
html[data-buttons="soft"] .btn,
html[data-buttons="soft"] .icon-btn {
  border-radius: 10px;
}
html[data-buttons="square"] .btn-primary,
html[data-buttons="pill"] .btn-primary {
  background: var(--accent);
}

/* ---- density ---- */
html[data-density="compact"] .site-main {
  padding: 16px 0 40px;
  gap: 28px;
}
html[data-density="compact"] .p-grid {
  gap: 10px;
}
html[data-density="compact"] .p-body {
  padding: 10px 12px 12px;
}
html[data-density="compact"] .header-row {
  min-height: 56px;
}
html[data-density="compact"] .hero h1 {
  font-size: clamp(26px, 4vw, 40px);
}

/* ---- header ---- */
html[data-header="centered"] .header-row {
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "nav logo actions"
    "search search search";
  row-gap: 0;
}
html[data-header="centered"] .site-logo {
  grid-area: logo;
  justify-self: center;
}
html[data-header="centered"] .site-nav {
  grid-area: nav;
}
html[data-header="centered"] .header-actions {
  grid-area: actions;
  justify-self: end;
}
html[data-header="centered"] .site-search {
  grid-area: search;
  max-width: 720px;
  justify-self: center;
  margin-bottom: 12px;
}
html[data-header="centered"] .header-row.no-search {
  grid-template-areas: "nav logo actions";
}
html[data-header="minimal"] .header-row {
  grid-template-columns: auto 1fr auto;
  min-height: 60px;
}
html[data-header="minimal"] .site-nav {
  display: none;
}
html[data-header="minimal"] .site-search {
  max-width: 420px;
  justify-self: end;
}
html[data-header="minimal"] .site-search input {
  height: 38px;
}
html[data-header="minimal"] .site-header {
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  position: static;
}
html[data-header="split"] .header-row {
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "logo nav actions"
    "search search search";
}
html[data-header="split"] .site-logo {
  grid-area: logo;
}
html[data-header="split"] .site-nav {
  grid-area: nav;
  justify-self: center;
  gap: 26px;
}
html[data-header="split"] .header-actions {
  grid-area: actions;
}
html[data-header="split"] .site-search {
  grid-area: search;
  max-width: none;
  margin-bottom: 12px;
}
html[data-header="split"] .header-row.no-search {
  grid-template-areas: "logo nav actions";
}
html[data-header="bar"] .site-header {
  border-bottom: 3px solid var(--accent);
}
html[data-header="bar"] .header-row {
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "logo search actions"
    "nav nav nav";
  min-height: 0;
  padding-top: 12px;
}
html[data-header="bar"] .site-logo {
  grid-area: logo;
  font-size: 26px;
}
html[data-header="bar"] .site-search {
  grid-area: search;
  max-width: none;
}
html[data-header="bar"] .header-actions {
  grid-area: actions;
}
html[data-header="bar"] .site-nav {
  grid-area: nav;
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}
html[data-header="bar"] .site-nav a {
  padding: 10px 16px 10px 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
html[data-header="bar"] .header-row.no-search {
  grid-template-areas:
    "logo logo actions"
    "nav nav nav";
}

/* ---- hero variants ---- */
.hero-minimal {
  grid-template-columns: 1fr;
  padding: 24px 0 0;
}
.hero-minimal h1 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 820px;
}
.hero-minimal p {
  max-width: 640px;
}
.hero-banner {
  grid-template-columns: 1fr;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(
      600px 300px at 90% 10%,
      color-mix(in srgb, var(--accent-2) 45%, transparent),
      transparent 70%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent) 80%, var(--bg)),
      color-mix(in srgb, var(--accent) 35%, var(--bg))
    );
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-banner .hero-text {
  max-width: 760px;
  margin-inline: auto;
}
.hero-banner .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.hero-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
}
.hero-banner .hero-cta,
.hero-banner .hero-points {
  justify-content: center;
}
.hero-banner .hero-points {
  color: rgba(255, 255, 255, 0.8);
}
.hero-banner .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.hero-banner .btn-primary,
html[data-buttons] .hero-banner .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}
html[data-theme="light"] .sim-strip {
  background: #fff3c4;
  color: #7a5a00;
}
.hero-split {
  grid-template-columns: 1.1fr 0.9fr;
}
.hero-feature {
  position: relative;
  display: block;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-feature-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  display: grid;
}
.hero-feature-text small {
  opacity: 0.85;
}
html[data-hero="banner"] .site-main,
html[data-hero="minimal"] .site-main {
  padding-top: 20px;
}

/* ---- cards ---- */
html[data-cards="flat"] .p-card {
  background: transparent;
  border-color: transparent;
}
html[data-cards="flat"] .p-card:hover {
  box-shadow: none;
  border-color: transparent;
}
html[data-cards="flat"] .p-media {
  border-radius: var(--radius);
  background: var(--surface-2);
}
html[data-cards="outline"] .p-card {
  background: transparent;
  border-width: 2px;
}
html[data-cards="outline"] .p-media {
  background: transparent;
}
html[data-cards="poster"] .p-card {
  position: relative;
  grid-template-rows: 1fr;
  min-height: 250px;
}
html[data-cards="poster"] .p-media {
  aspect-ratio: auto;
  position: absolute;
  inset: 0;
  padding: 0;
  place-items: stretch;
}
html[data-cards="poster"] .p-media .brand-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.85);
}
html[data-cards="poster"] .p-media .brand-fallback {
  margin: auto;
}
html[data-cards="poster"] .p-media .p-flag {
  z-index: 2;
}
html[data-cards="poster"] .p-body {
  position: relative;
  z-index: 1;
  align-self: end;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82) 60%);
  color: #fff;
  padding-top: 60px;
}
html[data-cards="poster"] .p-body .p-brand,
html[data-cards="poster"] .p-body .p-meta,
html[data-cards="poster"] .p-body .p-price {
  color: rgba(255, 255, 255, 0.85);
}
html[data-cards="poster"] .p-body .p-price strong {
  color: #fff;
}
html[data-cards="list"] .p-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-cards="list"] .p-card {
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto;
  align-items: center;
}
html[data-cards="list"] .p-media {
  aspect-ratio: 1;
  padding: 12px;
}
@media (max-width: 720px) {
  html[data-cards="list"] .p-grid {
    grid-template-columns: 1fr;
  }
  .hero-split {
    grid-template-columns: 1fr;
  }
}

/* ---- footer variants ---- */
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-minimal .footer-bottom {
  border-top: 0;
  padding: 22px 0 26px;
}

/* ------------------------------------------------------ landing builder -- */
.pl-demo-lead {
  color: var(--muted);
  max-width: 760px;
  margin: -8px 0 18px;
}
.pl-demo {
  grid-template-columns: 460px minmax(0, 1fr);
}
.pl-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-2);
  margin-bottom: 16px;
}
.pl-tab {
  flex: 1;
  padding: 8px 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.pl-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.pl-pane {
  display: none;
}
.pl-pane.active {
  display: block;
}
.pl-field {
  display: block;
}
.pl-field > span {
  align-items: center;
}
.pl-field select,
.pl-field input[type="text"],
.pl-field input:not([type]),
.pl-field textarea {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}
.pl-field textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}
.pl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pl-presets {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pl-preset {
  padding: 8px;
}
.pl-preset strong {
  font-size: 12px;
}
.pl-preset small {
  display: none;
}
.pl-swatch {
  height: 28px;
}
.pl-link {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}
.pl-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pl-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--c);
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.pl-color.active {
  border-color: var(--text);
}
.pl-color-custom {
  position: relative;
  background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red);
  overflow: hidden;
  cursor: pointer;
}
.pl-color-custom input {
  position: absolute;
  inset: -8px;
  width: 200%;
  height: 200%;
  opacity: 0;
  cursor: pointer;
}
.pl-optional {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: 40px;
  margin: 0;
  font-weight: 400;
}
.pl-optional input[type="color"] {
  width: 44px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 2px;
}
.pl-optional input[type="color"]:disabled {
  opacity: 0.35;
}
.pl-optional input[type="checkbox"] {
  accent-color: var(--accent);
  margin: 0;
}
.pl-range-inline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 40px;
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
.pl-range-inline input {
  flex: 1;
  accent-color: var(--accent);
}
.pl-toggles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pl-hint {
  font-size: 13px;
}
.pl-preview-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pl-tool {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}
.pl-tool svg {
  width: 16px;
  height: 16px;
}
.pl-tool.active {
  background: var(--surface);
  color: var(--text);
}
.pl-tool-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 4px;
}
.pl-preview-stage {
  background: var(--bg);
  display: flex;
  justify-content: center;
}
.pl-preview-stage.mobile {
  padding: 18px 0;
  background: var(--surface-2);
}
.pl-preview-stage.mobile .pl-preview {
  width: 390px;
  height: 760px;
  border-radius: 28px;
  border: 8px solid #111;
  box-shadow: var(--shadow);
}
@media (max-width: 1100px) {
  .pl-demo {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pl-row,
  .pl-toggles {
    grid-template-columns: 1fr;
  }
  .pl-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pl-preview-tools {
    display: none;
  }
}

/* ------------------------------------------------------------ API section -- */
.pl-api {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}
.pl-api-lead {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 720px;
}
.pl-api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pl-api-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
}
.pl-api-item span {
  color: var(--muted);
}
.pl-api-form h3 {
  margin-bottom: 14px;
}
.pl-api-form .pl-field {
  margin-bottom: 12px;
}
.pl-api-form .pl-field > span {
  margin-bottom: 6px;
}
.pl-api-form input[type="email"] {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}
.pl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.pl-api-result {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.pl-api-result.ok {
  background: color-mix(in srgb, var(--accent-2) 18%, var(--surface));
  color: var(--text);
}
.pl-api-result.error {
  background: color-mix(in srgb, var(--danger) 18%, var(--surface));
  color: var(--text);
}
.pl-status-link {
  color: var(--accent);
}
.pl-status-link svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}
@media (max-width: 1000px) {
  .pl-api {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pl-api-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------- open amounts -- */
.amount-box {
  display: grid;
  gap: 10px;
}
.amount-chips {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.amount-chip {
  justify-items: center;
  text-align: center;
  padding: 10px 6px;
  min-width: 0;
  font-weight: 700;
}
.amount-chip.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.amount-input {
  position: relative;
}
.amount-input input {
  width: 100%;
  height: 48px;
  padding: 0 64px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}
.amount-input input:focus {
  outline: none;
  border-color: var(--accent);
}
.amount-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 700;
}
.fields-host .field small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.opt.custom-range small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 640px) {
  .amount-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.region-segment {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.region-chip {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}
.region-chip .region-flag {
  grid-row: 1 / span 2;
  font-size: 24px;
  line-height: 1;
}
.region-chip strong {
  font-size: 15px;
  text-align: left;
}
.region-chip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
}
.region-chip.active {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}
@media (max-width: 640px) {
  .region-segment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.region-note {
  margin: 10px 0 0;
  font-size: 13px;
}

/* ------------------------------------------------------- featured banner -- */
.feature-banner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(
      500px 200px at 100% 0,
      color-mix(in srgb, var(--accent) 30%, transparent),
      transparent 70%
    ),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
}
.feature-banner:hover {
  border-color: var(--accent);
}
.feature-art {
  display: grid;
  place-items: center;
}
.feature-art .brand-img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
}
.feature-text h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 4px 0 8px;
}
.feature-text p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}
.feature-text .eyebrow {
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .feature-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-art .brand-img {
    max-height: 90px;
  }
}

/* ---------------------------------------------------------- brand marks -- */
.cat-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  vertical-align: middle;
  flex: none;
}
.cat-mark.round {
  border-radius: 50%;
}
.cat-mark svg {
  width: 22px;
  height: 22px;
  display: block;
}
.facet-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-emoji {
  display: inline-block;
  width: 22px;
  text-align: center;
}

/* ------------------------------------------------------ game denominations -- */
.option-row.denoms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.opt.denom {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.denom-ico svg {
  width: 44px;
  height: 44px;
  display: block;
}
.denom-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.denom-label {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.denom-bonus {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #ff5c3a;
  border-radius: 999px;
  padding: 1px 6px;
}
.denom-text small {
  color: var(--muted);
  font-size: 11px;
}
.denom-text strong {
  font-size: 14px;
}
@media (max-width: 1100px) {
  .option-row.denoms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .option-row.denoms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
