/*
Theme Name: Digistrela
Theme URI: https://digistrela.com
Description: Storefront theme for Digistrela. Dark store with one orange accent, product pictures first. RU + EN.
Version: 6.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: digistrela
*/

/* ---------- Tokens ---------- */
:root {
  --bg: #0e1014;
  --surface: #171a21;
  --surface-2: #1e222b;
  --raise: #272c37;
  --text: #eef0f4;
  --text-2: #c5cad4;
  --muted: #8a91a0;
  --faint: #626a79;
  --line: #232730;
  --line-2: #333947;
  --accent: #ff7a1a;
  --accent-2: #ff9442;
  --accent-soft: rgba(255, 122, 26, .13);
  --accent-line: rgba(255, 122, 26, .5);
  --on-accent: #0e1014;
  --ok: #34d27b;
  --warn: #f5b93a;
  --err: #ff6b6b;
  --r: 14px;
  --r-sm: 10px;
  --sh: 0 10px 30px rgba(0, 0, 0, .35);
  --sh-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --ring: 0 0 0 3px rgba(255, 122, 26, .28);
  --pad: clamp(16px, 4vw, 32px);
  --wrap: 1280px;
  --shot: 616 / 353;
  --font: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.035em; }
h3 { font-size: 18px; letter-spacing: -.015em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.mono { font-family: var(--mono); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #1fb56b; display: inline-block; flex-shrink: 0; }
.dot--amber { background: #f0a31b; }
.dot--red { background: var(--err); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--text-2); white-space: nowrap; }
.chip--ok { background: rgba(52, 210, 123, .14); color: #6fe3a5; }
.chip--accent { background: var(--accent-soft); color: var(--accent); }

/* ---------- Buttons and links ---------- */
.btn, .button, button.button, a.button, input.button, #place_order, .checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14.5px; line-height: 1;
  text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover, .button:hover, #place_order:hover, .checkout-button:hover { background: var(--accent-2); color: var(--on-accent); }
.btn:active, .button:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn--ghost, .pdp-actions form.cart .button { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover, .pdp-actions form.cart .button:hover { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--soft, a.button.wc-backward, .woocommerce-message .button, .woocommerce-info .button, .woocommerce-Button--previous, .woocommerce-Button--next, .coupon .button, td.actions > .button, form.checkout_coupon .button, .woocommerce-orders-table .button, .woocommerce-table .button, .order-again .button { background: var(--surface-2); color: var(--text); }
.btn--soft:hover, a.button.wc-backward:hover, .woocommerce-message .button:hover, .woocommerce-info .button:hover, .coupon .button:hover, td.actions > .button:hover, form.checkout_coupon .button:hover, .woocommerce-orders-table .button:hover, .woocommerce-table .button:hover, .order-again .button:hover { background: var(--raise); color: var(--text); }
.btn--sm { min-height: 36px; padding: 0 15px; font-size: 13.5px; }
.btn--lg { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }
.btn[aria-disabled="true"], .button.disabled, .button:disabled, button:disabled { background: var(--surface-2) !important; color: var(--faint) !important; cursor: not-allowed; box-shadow: none !important; transform: none !important; }
.go { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.go svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
.go:hover svg { transform: translateX(3px); }

/* ---------- Product pictures ---------- */
.shot { position: relative; display: block; overflow: hidden; aspect-ratio: var(--shot); background: var(--surface-2); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Stand-in for a product without a picture: icon, optional short label, soft orange light. */
.cover { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: inline-size; background: #14171d; color: #fff; --x: 28%; --y: 24%; --x2: 78%; --y2: 82%; }
.cover::before { content: ""; position: absolute; inset: -25%; z-index: -1; background: radial-gradient(34% 44% at var(--x) var(--y), rgba(255, 122, 26, .5), transparent 70%), radial-gradient(40% 50% at var(--x2) var(--y2), rgba(255, 255, 255, .16), transparent 72%); filter: blur(20px); }
.cover-glyph { position: absolute; right: 2%; bottom: -24%; width: 44%; aspect-ratio: 1; transform: rotate(-12deg); opacity: .9; }
.cover-glyph svg { width: 100%; height: 100%; }
.cover-glyph svg * { vector-effect: non-scaling-stroke; stroke-width: 1.3px; }
.cover-label { position: absolute; left: 6cqw; top: 5cqw; font-size: 40px; font-size: 14cqw; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.tag { position: absolute; right: 10px; top: 10px; z-index: 1; padding: 5px 8px; border-radius: 7px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 800; line-height: 1; }
.tag--sale { background: var(--err); }
.mini { position: relative; display: grid; place-items: center; width: 64px; aspect-ratio: var(--shot); flex-shrink: 0; border-radius: 8px; background: var(--surface-2); color: var(--accent); overflow: hidden; }
.mini svg { width: 18px; height: 18px; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 100; background: rgba(14, 16, 20, .9); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }
.top-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; margin-right: 6px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.035em; color: var(--text); }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex-shrink: 0; }
.brand-mark svg { width: 17px; height: 17px; }
.search { position: relative; flex: 1; max-width: 680px; }
.search svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input[type="search"] { width: 100%; height: 42px; min-height: 0; padding: 0 14px 0 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font-size: 14.5px; }
.search input[type="search"]:focus { border-color: var(--accent); box-shadow: var(--ring); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tools { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.tool { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text-2); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s; }
.tool:hover, .switch.open > .tool { background: var(--surface-2); color: var(--text); }
.tool svg { width: 19px; height: 19px; }
.tool--cart { margin-left: 6px; padding: 0 14px; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.tool--cart:hover { background: var(--accent-2); color: var(--on-accent); }
.cart-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: var(--on-accent); color: var(--accent); font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; }
.switch { position: relative; }
.pop { position: absolute; right: 0; top: calc(100% + 10px); display: none; min-width: 180px; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--sh-lg); z-index: 5; }
.switch.open > .pop { display: block; }
.pop a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 8px; font-size: 14px; text-decoration: none; }
.pop a:hover { background: var(--surface-2); }
.pop a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.pop a span { color: var(--faint); font-size: 13px; }
.pop a[aria-current="true"] span { color: inherit; }
.tabs { background: var(--bg); border-bottom: 1px solid var(--line); }
/* The category list scrolls sideways when it does not fit; the help links at the right always stay in view. */
.tabs-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tabs ul { list-style: none; display: flex; flex: 1 1 auto; min-width: 0; margin: 0 0 -1px -12px; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs ul.util { flex: 0 0 auto; margin: 0 -12px -1px 0; overflow: visible; }
.tabs a { display: block; padding: 13px 12px 11px; border-bottom: 2px solid transparent; color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .15s, border-color .15s; }
.tabs a:hover { color: var(--text); }
.tabs a.on, .tabs .current-menu-item > a { color: #fff; border-color: var(--accent); }
.tabs ul.util a { color: var(--muted); font-weight: 500; }
.tabs ul.util a:hover { color: var(--text); }
@media (max-width: 1180px) {
  .tabs-in { gap: 8px; }
  .tabs a { padding-left: 9px; padding-right: 9px; font-size: 13.5px; }
  /* A soft fade at the right edge shows that the list goes on. */
  .tabs ul:first-child { margin-left: -9px; padding-right: 24px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
  .tabs ul.util { margin-right: -9px; }
}
.burger, .search-toggle, .msearch { display: none; }
.sheet { display: none; }
@media (max-width: 900px) {
  .top-in { height: 56px; gap: 6px; }
  .top .search, .tools .hide-m, .tabs ul.util { display: none; }
  /* Phone search: the magnifier opens a search row under the bar */
  .search-toggle { display: inline-flex; padding: 0 14px; background: var(--accent); color: var(--on-accent); }
  .search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--accent-2); color: var(--on-accent); }
  .msearch { display: block; padding: 0 0 10px; }
  .top .msearch .search { display: block; max-width: none; }
  .msearch .search input[type="search"] { height: 44px; font-size: 16px; }
  .burger { display: inline-flex; margin-left: -8px; }
  .brand { margin-right: auto; }
  .sheet { position: fixed; inset: 57px 0 0 0; z-index: 99; padding: 16px var(--pad) 40px; background: var(--bg); overflow-y: auto; }
  .admin-bar .sheet { top: 103px; }
  body.nav-open .sheet { display: block; }
  body.nav-open { overflow: hidden; }
  .sheet .search { max-width: none; margin: 0 0 8px; }
  .sheet .search input[type="search"] { height: 48px; font-size: 16px; }
  .sheet ul { list-style: none; }
  .sheet-cats a, .sheet .menu a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; text-decoration: none; }
  .sheet-cats a svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
  .sheet .menu a { color: var(--text-2); font-weight: 500; }
  .sheet-rows { margin-top: 18px; display: grid; gap: 12px; }
  .sheet-rows > a { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; text-decoration: none; }
  .sheet-rows > a svg { width: 19px; height: 19px; }
  .sheet-pair { display: flex; flex-wrap: wrap; gap: 8px; }
  .sheet-pair a { padding: 9px 15px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 14px; font-weight: 600; text-decoration: none; }
  .sheet-pair a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }
}
@media (min-width: 783px) and (max-width: 900px) { .admin-bar .sheet { top: 89px; } }
@media (max-width: 600px) { .admin-bar .sheet { top: 57px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(26px, 5vw, 60px) 0 clamp(26px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 75% at 90% -10%, rgba(255, 122, 26, .2), transparent 70%), radial-gradient(40% 60% at -5% 110%, rgba(255, 122, 26, .08), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 60px); letter-spacing: -.045em; line-height: 1.03; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin: 16px 0 24px; max-width: 480px; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.5; color: var(--muted); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 13.5px; color: var(--text-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.feat-main { position: relative; display: block; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; text-decoration: none; }
.feat-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(8, 9, 12, .94)); pointer-events: none; }
.feat-main .shot img { transition: transform .6s; }
.feat-main:hover .shot img { transform: scale(1.04); }
.feat-info { position: absolute; left: clamp(12px, 2vw, 20px); right: clamp(12px, 2vw, 20px); bottom: clamp(12px, 2vw, 18px); z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.feat-info b { display: block; font-size: clamp(16px, 2vw, 22px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.feat-info small { display: block; margin-top: 3px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.feat-price { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(16px, 1.8vw, 20px); font-weight: 800; white-space: nowrap; }
.feat-price i { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-size: 13.5px; font-style: normal; }
.feat-thumbs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.feat-thumbs a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; opacity: .82; transition: opacity .2s, border-color .2s; }
.feat-thumbs a:hover { opacity: 1; border-color: var(--accent-line); }
@media (max-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero-cta .btn { flex: 1; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(34px, 5vw, 64px) 0 0; }
main > .sec:last-child { padding-bottom: clamp(48px, 6vw, 80px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head > div { min-width: 0; }
.sec-head p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.sec-head .go { padding-bottom: 3px; }

/* ---------- Category tiles ---------- */
.cats { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color .15s, background-color .15s, transform .15s; }
.cat:hover { border-color: var(--accent-line); background: var(--surface-2); transform: translateY(-2px); }
.cat svg { width: 26px; height: 26px; margin-bottom: 14px; color: var(--accent); }
.cat b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.cat small { margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
/* Seven or more tiles on a medium screen: two rows, and a shorter second row stretches to the full width. */
@media (min-width: 761px) and (max-width: 1240px) { .cats--many { display: flex; flex-wrap: wrap; } .cats--many > li { flex: 1 1 calc((100% - (var(--m, 4) - 1) * 12px) / var(--m, 4) - .1px); min-width: 0; } }
@media (max-width: 1100px) { .cats { grid-template-columns: repeat(var(--m, 3), minmax(0, 1fr)); } }
@media (max-width: 760px) { .cats--many { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cats--many li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cats li:last-child:nth-child(odd) { grid-column: 1 / -1; } .cat { flex-direction: row; align-items: center; gap: 10px; padding: 12px; } .cat svg { width: 22px; height: 22px; margin: 0; flex-shrink: 0; } .cat b { font-size: 14px; } .cat small { display: none; } }

/* ---------- Product cards ---------- */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--sh); }
.pcard .shot img { transition: transform .5s; }
.pcard:hover .shot img { transform: scale(1.045); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.pcard-title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.pcard-title a { text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; }
.pcard:hover .pcard-title a { color: var(--accent); }
.pcard-stock { display: flex; align-items: center; gap: 7px; margin: 5px 0 12px; font-size: 12.5px; color: var(--muted); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pcard-price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.pcard-price del { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 500; color: var(--faint); }
.pcard-price ins { text-decoration: none; }
.pcard-foot .btn { position: relative; z-index: 1; }
@media (max-width: 1100px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-body { padding: 10px 10px 11px; }
  .pcard-title { font-size: 14px; }
  .pcard-stock { margin-bottom: 10px; font-size: 12px; }
  .pcard-price { font-size: 16.5px; }
  .pcard-foot .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .tag { right: 8px; top: 8px; }
}
@media (max-width: 330px) { ul.products { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero showcase: two tilted cards that face each other, with a slow shine ---------- */
.hero--show { padding: clamp(22px, 3vw, 32px) 0 clamp(24px, 3vw, 36px); }
.hero--show::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(34% 60% at 24% 38%, rgba(255, 70, 190, .2), transparent 70%), radial-gradient(34% 60% at 76% 38%, rgba(90, 160, 255, .16), transparent 70%); }
.hero--show .hero-in { z-index: 1; gap: clamp(24px, 3.4vw, 44px); align-items: start; }
.sp { position: relative; min-width: 0; }
.sp-stage { position: relative; padding: 10px 24px 30px 10px; perspective: 1300px; }
.sp--r .sp-stage { padding: 10px 10px 30px 24px; }
.sp-card { position: relative; display: block; overflow: hidden; border: 2px solid rgba(255, 255, 255, .24); border-radius: 20px; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sp-card > img, .sp-card .shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sp--l .sp-card { transform: rotateY(-13deg) rotateX(6deg) rotate(-2deg); box-shadow: 0 40px 90px rgba(0, 0, 0, .66), 0 0 70px rgba(255, 80, 190, .38); }
.sp--r .sp-card { transform: rotateY(13deg) rotateX(6deg) rotate(2deg); box-shadow: 0 40px 90px rgba(0, 0, 0, .66), 0 0 70px rgba(110, 170, 255, .32); }
.sp--l .sp-card:hover { transform: rotateY(-7deg) rotateX(3deg) rotate(-1deg); }
.sp--r .sp-card:hover { transform: rotateY(7deg) rotateX(3deg) rotate(1deg); }
.sp-badge { position: absolute; width: 78px; height: 78px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .28); border-radius: 21px; box-shadow: 0 18px 40px rgba(0, 0, 0, .62); pointer-events: none; }
.sp-badge img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp--l .sp-badge--a { left: -8px; top: -10px; transform: rotate(-12deg); }
.sp--l .sp-badge--b { right: 4px; bottom: 10px; transform: rotate(10deg); }
.sp--r .sp-badge--a { right: -8px; top: -10px; transform: rotate(12deg); }
.sp-price { position: absolute; left: 2px; bottom: 8px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(12, 13, 18, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); transform: rotate(-5deg); color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1; text-decoration: none; transition: transform .2s; }
.sp-price:hover { transform: rotate(-5deg) scale(1.04); color: #fff; }
.sp-price i { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 11px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-style: normal; font-weight: 800; }
.sp del { margin-right: 6px; font-size: .62em; font-weight: 600; opacity: .6; }
.sp ins { text-decoration: none; }
.sp-t { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-height: 38px; margin-bottom: 12px; }   /* above the card's shadow, which would grey the title */
.sp-t h2 { overflow: hidden; margin: 0; color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.sp-tag { flex-shrink: 0; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 800; letter-spacing: .03em; line-height: 1.3; white-space: nowrap; }
.sp-tag--o { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12); color: #fff; }
.sp-b { position: relative; z-index: 1; display: grid; gap: 10px; }
.sp-b--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-b--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-btn { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 70px; padding: 12px 15px 12px 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; background: rgba(12, 13, 18, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; text-decoration: none; transition: transform .2s, border-color .2s; }
.sp-btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .42); color: #fff; }
.sp-btn > img, .sp-btn > .mini { flex-shrink: 0; width: 44px; height: 44px; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.sp-btn > span { min-width: 0; }
.sp-btn b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.sp-btn small { display: block; font-size: 12px; color: rgba(255, 255, 255, .72); }
.sp-btn strong { margin-left: auto; font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.sp-btn--xbox { box-shadow: 0 0 0 1px rgba(40, 190, 40, .4), 0 12px 34px rgba(16, 140, 16, .42); }
.sp-btn--playstation { box-shadow: 0 0 0 1px rgba(40, 120, 255, .5), 0 12px 34px rgba(0, 80, 217, .48); }
.sp-btn--steam { box-shadow: 0 0 0 1px rgba(102, 192, 244, .42), 0 12px 34px rgba(27, 60, 100, .5); }
.sp-btn--m { gap: 10px; padding: 9px 12px 9px 9px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.sp-btn--m > img, .sp-btn--m > .mini { width: 50px; height: 50px; }
.sp-btn--m b { display: -webkit-box; overflow: hidden; font-size: 12.5px; font-weight: 700; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sp-btn--m small { margin-top: 2px; color: var(--accent-2); font-size: 14px; font-weight: 800; }
/* The shine: a soft band of light that crosses each piece slowly, then rests. */
.sp-shine::after { content: ""; position: absolute; top: -25%; bottom: -25%; left: 0; width: 38%; background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, 0) 80%, transparent 100%); filter: blur(3px); mix-blend-mode: screen; pointer-events: none; transform: translateX(-140%) skewX(-14deg); animation: sp-shine 11s cubic-bezier(.45, .05, .3, 1) infinite; }
.sp-badge.sp-shine::after { animation-delay: .5s; }
.sp-badge--b.sp-shine::after { animation-delay: 1.9s; }
.sp-btn.sp-shine::after { animation-delay: 2.3s; }
.sp-btn.sp-shine:nth-child(2)::after { animation-delay: 2.7s; }
.sp-btn.sp-shine:nth-child(3)::after { animation-delay: 3.1s; }
.sp--r .sp-card.sp-shine::after { animation-delay: 1.2s; }
@keyframes sp-shine { 0% { transform: translateX(-140%) skewX(-14deg); } 46%, 100% { transform: translateX(340%) skewX(-14deg); } }   /* about five seconds to cross, then a rest */
@media (prefers-reduced-motion: reduce) { .sp-shine::after { display: none; animation: none; } .sp-card, .sp-btn, .sp-price { transition: none; } }
/* Small laptops and tablets keep the two cards side by side; their buttons take the compact cut that phones use. */
@media (min-width: 701px) { .hero--show .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 1180px) {
  .sp-badge { width: 60px; height: 60px; border-radius: 17px; }
  .sp-price { gap: 9px; padding: 6px 6px 6px 12px; border-radius: 13px; font-size: 18px; }
  .sp-price i { height: 32px; padding: 0 12px; font-size: 13px; }
  .sp-t { gap: 9px; margin-bottom: 10px; }
  .sp-t h2 { font-size: 22px; }
  .sp-btn { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 9px; align-items: center; min-height: 58px; padding: 9px 10px 9px 9px; border-radius: 14px; }
  .sp-btn > img, .sp-btn > .mini { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 10px; }
  .sp-btn b { font-size: 13.5px; }
  .sp-btn small { display: none; }
  .sp-btn strong { grid-column: 2; margin: 0; font-size: 15px; }
  .sp-btn--m { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-height: 0; padding: 7px 7px 9px; }
  .sp-btn--m > img, .sp-btn--m > .mini { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .sp-btn--m b { font-size: 12px; }
  .sp-btn--m small { display: block; font-size: 13px; }
}
@media (max-width: 700px) {
  .hero--show .hero-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sp { width: 100%; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .sp-stage { padding: 6px 16px 20px 8px; }
  .sp--r .sp-stage { padding: 6px 8px 20px 16px; }
  .sp-card { border-radius: 16px; }
  .sp--l .sp-card, .sp--l .sp-card:hover { transform: rotateY(-9deg) rotateX(5deg) rotate(-1.5deg); }
  .sp--r .sp-card, .sp--r .sp-card:hover { transform: rotateY(9deg) rotateX(5deg) rotate(1.5deg); }
  .sp-badge { width: 52px; height: 52px; border-radius: 15px; }
  .sp-price { font-size: 17px; }
  .sp-t { min-height: 0; }
  .sp-t h2 { display: -webkit-box; font-size: 21px; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}

/* ---------- Top-ups: two calculators and the way to the other top-ups ---------- */
.tups-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tups-g--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tups-g--1 { grid-template-columns: minmax(0, 420px); }
.tq { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 18px; border-radius: 20px; overflow: hidden; background: #15181e; color: #fff; }
.tq::before { content: ""; position: absolute; inset: -90px; z-index: -1; background: var(--img, linear-gradient(160deg, #2a2e39, #101216)) center / cover; filter: blur(64px) brightness(.52) saturate(1.6); }
.tq-h { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.tq-ic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.tq-ic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tq-t { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tq-h p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.tq-p { border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(9, 11, 14, .62); transition: border-color .15s; }
.tq-p:focus-within { border-color: var(--accent-line); }
.tq.bad .tq-p { border-color: #ff8f7d; }
.tq-r { position: relative; display: block; margin: 0; padding: 12px 15px; cursor: text; }
.tq-r + .tq-r { border-top: 1px solid rgba(255, 255, 255, .13); cursor: default; }
.tq-lab { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .68); }
.tq-v { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 1px; }
.tq-v i { flex-shrink: 0; font-style: normal; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .72); }
.tq .tq-in, .tq-out { flex: 1; min-width: 0; width: 100%; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tq .tq-in:focus { border: 0; box-shadow: none; outline: 0; }
.tq .tq-in { caret-color: var(--accent); }
.tq-out { color: var(--accent-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tq-sw { position: absolute; right: 15px; top: -15px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #0e1014; }
.tq-sw svg { width: 15px; height: 15px; transform: rotate(90deg); }
.tq-c { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 4px; }
.tq-c button { padding: 5px 11px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.35; cursor: pointer; transition: background-color .15s; }
.tq-c button:hover { background: rgba(255, 255, 255, .26); }
.tq-c button.on { background: #fff; color: #0e1014; }
.tq-fee { display: flex; justify-content: space-between; gap: 12px; margin: 8px 2px 10px; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.tq-fee b { font-weight: 600; }
.tq-err { margin: 0 2px 10px; font-size: 12.5px; font-weight: 600; color: #ffb4a8; }
.tq-note { display: flex; align-items: center; gap: 8px; margin: 0 2px 15px; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.tq-note svg { width: 15px; height: 15px; flex-shrink: 0; }
.tq .btn { width: 100%; margin-top: auto; }
.tq .btn:disabled { opacity: .55; cursor: not-allowed; }
/* The wide calculator at the top of its own category page: the same parts in one row. */
.tups-top { margin-top: 28px; }
.rest-h { margin: 34px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.rest-h + .shop-bar { margin-top: 12px; }
@media (min-width: 701px) {
  .tq--wide { display: grid; align-items: center; column-gap: 22px; padding: 22px 24px; }
  /* Spread over a wide card, the icon's light logo would turn into a grey patch: use one corner of the icon, which is pure brand colour. */
  .tq--wide::before { background-size: 320% auto; background-position: 100% 0; filter: blur(64px) brightness(.5) saturate(1.5); }
  .tq--wide .tq-h { grid-area: head; margin: 0; }
  .tq--wide .tq-ic { flex-basis: 64px; width: 64px; height: 64px; border-radius: 16px; }
  .tq--wide .tq-t { font-size: 24px; }
  .tq--wide .tq-h p { font-size: 14px; }
  .tq--wide .tq-p { grid-area: panel; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tq--wide .tq-r { padding: 14px 18px; }
  .tq--wide .tq-r + .tq-r { padding-left: 30px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .13); }
  .tq--wide .tq-sw { top: 50%; right: auto; left: -15px; margin-top: -15px; }
  .tq--wide .tq-sw svg { transform: none; }
  .tq--wide .tq-c { grid-area: chips; margin: 12px 0 0; }
  .tq--wide .tq-fee { grid-area: fee; margin: 12px 2px 0; }
  .tq--wide .tq-err { grid-area: err; margin: 10px 2px 0; }
  .tq--wide .tq-note { grid-area: note; margin: 12px 0 0; }
  .tq--wide .btn { grid-area: btn; margin: 0; min-height: 56px; font-size: 16px; }
}
@media (min-width: 1260px) {
  .tq--wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr) minmax(200px, .7fr); grid-template-areas: "head panel panel btn" "note chips chips fee" ". err err ."; }
  .tq--wide .tq-note { align-self: start; }
  .tq--wide .tq-fee { flex-wrap: wrap; justify-content: center; gap: 2px 6px; }   /* reads as a caption under the button */
}
@media (min-width: 701px) and (max-width: 1259px) {
  .tq--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "panel panel" "chips fee" "err err" "note btn"; column-gap: 16px; }
  .tq--wide .tq-p { margin-top: 16px; }
  .tq--wide .tq-note, .tq--wide .btn { margin-top: 16px; }
}
.tm { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--accent-line); border-radius: 20px; background: linear-gradient(165deg, #4a2a0d 0%, #1c1510 58%, #14110e); color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tm:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.tm-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tm-g > span { display: flex; flex-direction: column; min-width: 0; }
.tm-plus { grid-column: span var(--s3, 1); }
.tm-g img, .tm-plus b { display: block; width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 6px; border-radius: 16px; }
.tm-g img { object-fit: cover; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.tm-plus b { display: grid; place-items: center; flex: 1; width: auto; min-height: 52px; aspect-ratio: auto; border: 1px dashed rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .1); font-size: 28px; font-weight: 600; }
.tm-g i { display: block; min-height: 2.5em; text-align: center; font-style: normal; font-size: 11.5px; font-weight: 600; line-height: 1.25; color: rgba(255, 255, 255, .86); }
.tm-t { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tm-s { margin: 4px 0 14px; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.tm-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: auto; border-radius: var(--r-sm); background: #fff; color: #0e1014; font-size: 15px; font-weight: 700; transition: background-color .15s; }
.tm-cta svg { width: 17px; height: 17px; }
.tm:hover .tm-cta { background: var(--accent); }
.pdp-topup { max-width: 440px; margin: 22px 0 24px; }
.from { font-size: .62em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
@media (min-width: 1101px) {
  .tups-g--3 > .tm .tm-g { gap: 8px 10px; margin-bottom: 12px; }
  .tups-g--3 > .tm .tm-g img { width: 70%; margin-inline: auto; }
  .tups-g--3 > .tm .tm-plus b { width: 70%; margin-inline: auto; flex: 0 0 auto; aspect-ratio: 1; }
  .tups-g--3 > .tm .tm-g i { min-height: 0; }
  .tups-g--3 > .tq { padding: 20px; }
  .tups-g--3 > .tq .tq-h { margin-bottom: 18px; }
  .tups-g--3 > .tq .tq-r { padding: 15px 17px; }
  .tups-g--3 > .tq .tq-in, .tups-g--3 > .tq .tq-out { font-size: 32px; }
  .tups-g--3 > .tq .tq-c { margin: 14px 0 6px; }
  .tups-g--3 > .tq .tq-c button { padding: 6px 13px; font-size: 13px; }
  .tups-g--3 > .tq .tq-fee { margin: 12px 2px 12px; font-size: 13px; }
  .tups-g--3 > .tq .tq-note { margin-bottom: 18px; font-size: 13px; }
  .tups-g--3 > .tq .btn { min-height: 54px; font-size: 16px; }
}
@media (max-width: 1100px) {
  .tups-g--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tups-g--3 > .tm { grid-column: 1 / -1; }
  .tups-g--3 > .tm .tm-g { grid-template-columns: repeat(var(--t, 6), minmax(0, 1fr)); }
  .tups-g--3 > .tm .tm-plus { grid-column: auto; }
  .tups-g--3 > .tm .tm-g i { font-size: 11px; }
}
@media (max-width: 700px) {
  .tups-g--2 { grid-template-columns: minmax(0, 1fr); }
  .tq .tq-in, .tq-out { font-size: 26px; }
}
/* Phones: the two calculators stay side by side, each narrower and a little taller, and "More top-ups" sits under them. */
@media (max-width: 560px) {
  .tups-g--3 { gap: 10px; }
  .tups-g--3 > .tq { padding: 12px; border-radius: 16px; }
  .tups-g--3 > .tq .tq-h { gap: 9px; margin-bottom: 10px; }   /* the title stays beside the logo, on two lines when it has to */
  .tups-g--3 > .tq .tq-ic { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
  .tups-g--3 > .tq .tq-t { font-size: 15px; line-height: 1.15; }
  .tups-g--3 > .tq .tq-h p { display: none; }
  .tups-g--3 > .tq .tq-p { border-radius: 12px; }
  .tups-g--3 > .tq .tq-r { padding: 9px 11px; }
  .tups-g--3 > .tq .tq-lab { font-size: 11.5px; }
  .tups-g--3 > .tq .tq-in, .tups-g--3 > .tq .tq-out { font-size: 22px; }
  .tups-g--3 > .tq .tq-v { gap: 6px; }
  .tups-g--3 > .tq .tq-v i { font-size: 11px; }
  .tups-g--3 > .tq .tq-sw { top: -12px; right: 11px; width: 24px; height: 24px; }
  .tups-g--3 > .tq .tq-sw svg { width: 12px; height: 12px; }
  .tups-g--3 > .tq .tq-c { flex-wrap: nowrap; overflow-x: auto; margin: 9px -12px 2px; padding: 0 12px; scrollbar-width: none; }
  .tups-g--3 > .tq .tq-c::-webkit-scrollbar { display: none; }
  .tups-g--3 > .tq .tq-c button { flex-shrink: 0; padding: 5px 9px; font-size: 12px; }
  .tups-g--3 > .tq .tq-fee { flex-direction: column; gap: 1px; margin: 7px 2px 8px; font-size: 11.5px; }
  .tups-g--3 > .tq .tq-err { font-size: 11.5px; }
  .tups-g--3 > .tq .tq-note { align-items: flex-start; gap: 6px; margin: 0 2px 11px; font-size: 11.5px; }
  .tups-g--3 > .tq .tq-note svg { width: 13px; height: 13px; margin-top: 1px; }
  .tups-g--3 > .tq .btn { min-height: 44px; padding: 0 8px; font-size: 14px; }
  .tups-g--3 > .tm { padding: 14px; border-radius: 16px; }
  .tups-g--3 > .tm .tm-g { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
  .tups-g--3 > .tm .tm-plus { grid-column: span var(--s5, 1); }
  .tups-g--3 > .tm .tm-g img, .tups-g--3 > .tm .tm-plus b { margin-bottom: 0; border-radius: 12px; }
  .tups-g--3 > .tm .tm-plus b { font-size: 20px; }
  .tups-g--3 > .tm .tm-g i { display: none; }   /* five small icons a row: the names would not fit */
  .tups-g--3 > .tm .tm-t { font-size: 19px; }
  .tups-g--3 > .tm .tm-s { margin-bottom: 12px; }
  .tups-g--3 > .tm .tm-cta { height: 44px; }
}
@media (max-width: 345px) {   /* the narrowest phones */
  .tups-g--3 { gap: 8px; }
  .tups-g--3 > .tq { padding: 10px; }
  .tups-g--3 > .tq .tq-h { gap: 7px; }
  .tups-g--3 > .tq .tq-ic { flex-basis: 30px; width: 30px; height: 30px; border-radius: 9px; }
  .tups-g--3 > .tq .tq-t { font-size: 13.5px; }
  .tups-g--3 > .tq .tq-in, .tups-g--3 > .tq .tq-out { font-size: 20px; }
  .tups-g--3 > .tq .btn { padding: 0 4px; font-size: 12.5px; }
}

/* ---------- AI companies: posters that take the colours of their picture ---------- */
.cmps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cmps > li { display: flex; min-width: 0; }
.cmp { position: relative; isolation: isolate; display: flex; flex-direction: column; flex: 1; min-width: 0; overflow: hidden; border-radius: 20px; background: #15181e; color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cmp::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--img, linear-gradient(160deg, #2a2e39, #101216)) center / cover; filter: blur(26px) brightness(.55) saturate(1.2); }
.cmp:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.cmp-pic { position: relative; flex: 0 0 auto; margin: 14px 14px 0; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0b0c0f; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.cmp-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-pic--sq img { object-position: 50% 28%; }   /* a square picture: keep its upper part, where the face or the logo is */
.cmp-pic--logo { background: rgba(9, 11, 14, .42); }
.cmp-pic--logo img { inset: 0; width: auto; height: 52%; margin: auto; aspect-ratio: 1; border-radius: 22%; object-fit: cover; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
/* Tinted by its logo: one corner of the logo is pure brand colour, the middle would blur into grey. */
.cmp--tint::before { background-size: 800% auto; background-position: 0 0; filter: blur(30px) brightness(.6) saturate(1.4); }
.cmp-pic--logo svg { position: absolute; inset: 0; width: 56px; height: 56px; margin: auto; color: var(--accent); }
.cmp-body { position: relative; display: flex; flex-direction: column; flex: 1; margin-top: -26px; padding: 0 18px 18px; }
.cmp-logo { display: block; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 14px; overflow: hidden; background: #23262f; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.cmp-logo img { width: 100%; height: 100%; object-fit: cover; }
.cmp-logo svg { display: block; width: 52%; height: 52%; margin: 24%; color: var(--accent); }
.cmp-name { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cmp-sub { margin: 5px 0 14px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 27px; margin-bottom: 16px; }
.cmp-chips i { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-style: normal; font-weight: 600; line-height: 1.35; }
.cmp-cta { display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; margin-top: auto; border-radius: var(--r-sm); background: #fff; color: #0e1014; font-size: 14px; font-weight: 700; transition: background-color .15s; }
.cmp-cta svg { width: 16px; height: 16px; }
.cmp:hover .cmp-cta { background: var(--accent); }
.cmp--soon .cmp-cta, .cmp--soon:hover .cmp-cta { background: rgba(255, 255, 255, .16); color: #fff; }
/* Five or six cards share one row and get a tighter cut. */
@media (min-width: 1101px) {
  .cmps--many { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 14px; }
  .cmps--many .cmp-pic { margin: 12px 12px 0; aspect-ratio: 16 / 10; }
  .cmps--many .cmp-body { padding: 0 14px 14px; }
  .cmps--many .cmp-name { font-size: 20px; }
  .cmps--many .cmp-cta { font-size: 13.5px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .cmps.cmps--many { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cmps--many .cmp-pic { margin: 12px 12px 0; aspect-ratio: 16 / 10; }
  .cmps--many .cmp-body { padding: 0 14px 14px; }
  .cmps--many .cmp-name { font-size: 19px; }
  .cmps--many .cmp-cta { font-size: 13.5px; }
}
@media (min-width: 641px) and (max-width: 760px) { .cmps.cmps--many { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cmp-h1 { display: flex; align-items: center; gap: 14px; }
.cmp-h1 .cmp-logo { width: 56px; height: 56px; margin: 0; flex-shrink: 0; }
@media (max-width: 1100px) { .cmps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  /* Phones: every company or game at once, as small tiles (logo, name, price), instead of one big card and a row to swipe. */
  .cmps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cmps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .cmps .cmp { padding: 12px 6px 11px; border-radius: 14px; }
  .cmps .cmp:hover { transform: none; box-shadow: none; }
  .cmps .cmp-pic, .cmps .cmp-chips, .cmps .cmp-cta { display: none; }
  .cmps .cmp-body { align-items: center; margin: 0; padding: 0; text-align: center; }
  .cmps .cmp-logo { width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 15px; }
  .cmps .cmp-name { font-size: 13px; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
  .cmps .cmp-sub { margin: 3px 0 0; font-size: 11.5px; }
  .cmps--four .cmp { padding: 11px 4px 10px; }
  .cmps--four .cmp-logo { width: 50px; height: 50px; border-radius: 13px; }
  .cmps--four .cmp-name { font-size: 12.5px; }
  .cmps--four .cmp-sub { font-size: 11px; }
  .cmp-h1 .cmp-logo { width: 44px; height: 44px; border-radius: 12px; }
}

/* ---------- Plan cards (AI section and company pages) ---------- */
.pl { display: flex; flex-direction: column; min-width: 0; padding: 24px 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, transform .2s; }
.pl:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pl-logo { display: grid; place-items: center; height: 112px; margin-bottom: 14px; }
.pl-logo img { width: 88px; height: 88px; border-radius: 21px; object-fit: cover; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.pl-logo .mini { width: 88px; aspect-ratio: 1; border-radius: 21px; }
.pl-logo .mini svg { width: 36px; height: 36px; }
.pl-tag { min-height: 18px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.pl-brand { font-size: 14.5px; color: var(--muted); }
.pl-name { margin: 1px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.pl-name a { text-decoration: none; }
.pl-name a:hover { color: var(--accent); }
.pl-desc { margin: 0; min-height: 2.9em; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.pl-price { margin: 16px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pl-price del { margin-right: 8px; font-size: 15px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.pl-price ins { text-decoration: none; }
.pl-price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pl-feats { list-style: none; display: grid; gap: 9px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.35; color: var(--text-2); }
.pl-feats li { display: flex; align-items: flex-start; gap: 9px; }
.pl-feats svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.pl-stock { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--muted); }
.pl .btn { display: flex; width: 100%; margin-top: 12px; border-radius: 999px; }
.pl-more { margin-top: 11px; text-align: center; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.pl-more:hover { text-decoration: underline; }
@media (max-width: 900px) { ul.products.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
/* A company with exactly three plans fills the row with three wide cards instead of leaving a gap. */
@media (min-width: 761px) { ul.products.plans:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { ul.products.plans { grid-template-columns: minmax(0, 1fr); } .pl-logo { height: 96px; } .pl-logo img, .pl-logo .mini { width: 76px; height: 76px; } }

/* ---------- Before you buy: steps on a line, questions ---------- */
.bb-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.bb-sub h3 { font-size: 18px; }
.bb-sub .go { font-size: 13.5px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: s; margin-bottom: 34px; border-top: 1px solid var(--line-2); }
.steps li { position: relative; counter-increment: s; padding: 20px 28px 0 0; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 8px; font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.steps li::after { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.steps h3 { margin-bottom: 7px; font-size: 16.5px; }
.steps p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.faq { display: grid; gap: 8px; }
.bb .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 16px 16px 18px; font-size: 16px; font-weight: 650; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2) center/13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.5v11M1.5 7h11' fill='none' stroke='%23ff7a1a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 56px 18px 18px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.bb-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; margin: 22px 0 0; color: var(--text-2); }
.bb-foot b { font-size: 16px; font-weight: 650; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); margin: 0 0 28px 4px; border-top: 0; border-left: 1px solid var(--line-2); }
  .steps li { padding: 0 0 22px 22px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { font-size: 32px; margin-bottom: 6px; }
  .steps li::after { left: -5px; top: 10px; }
  .bb .faq { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 15px; }
  .faq details > div { padding: 0 16px 16px 18px; }
}

/* ---------- Page headers, prose ---------- */
.page-head { padding: 34px 0 4px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); }
.page-head .lead { margin: 10px 0 0; max-width: 640px; font-size: 17.5px; color: var(--muted); }
.crumbs, .woocommerce-breadcrumb { display: block; margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--faint); }
.crumbs a, .woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
.crumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--accent); }
.page-body { padding: 28px 0 88px; }
.prose { max-width: 740px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.prose h2 { font-size: 24px; margin: 1.9em 0 .55em; }
.prose h3 { font-size: 19px; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration-color: var(--accent-line); }
.callout { padding: 15px 18px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--text); font-size: 15px; }

/* ---------- Forms ---------- */
label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
label .required, label abbr { color: var(--err); text-decoration: none; border: 0; }
label .optional { font-weight: 400; color: var(--faint); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; line-height: 1.3; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23c5cad4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 0 9px 0 0; accent-color: var(--accent); vertical-align: -3px; flex-shrink: 0; }
.form-row { margin: 0 0 16px; }
.form-row .description, .form-row small, form .woocommerce-form-row em { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--muted); }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid textarea { border-color: var(--err); }
.checkout-inline-error-message { margin: 6px 0 0; font-size: 13px; color: var(--err); }
.woocommerce-form__label-for-checkbox, label.checkbox { display: flex; align-items: flex-start; font-weight: 400; font-size: 14.5px; color: var(--text-2); }
.woocommerce-form__label-for-checkbox input, label.checkbox input { margin-top: 2px; }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a91a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.show-password-input:hover { background-color: var(--surface-2); }
.woocommerce-password-strength { margin-top: 8px; padding: 8px 12px; border-radius: 9px; font-size: 13px; background: var(--surface-2); }
.woocommerce-password-strength.strong, .woocommerce-password-strength.good { background: rgba(52, 210, 123, .14); color: #6fe3a5; }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { background: rgba(255, 107, 107, .14); color: var(--err); }
.woocommerce-password-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Quantity stepper */
.quantity { display: inline-flex; align-items: center; height: 46px; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); overflow: hidden; }
.quantity .qty { width: 44px; min-height: 0; height: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-size: 15px; font-weight: 600; -moz-appearance: textfield; box-shadow: none; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty:focus { box-shadow: none; }
.quantity button { width: 38px; height: 46px; padding: 0; border: 0; background: none; font-size: 19px; line-height: 1; color: var(--text-2); }
.quantity button:hover { background: var(--accent-soft); color: var(--accent); }
.quantity:has(input[type="hidden"]) { display: none; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { list-style: none; margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); font-size: 15px; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.woocommerce-message { border-color: rgba(52, 210, 123, .35); background: rgba(52, 210, 123, .1); color: #8fe9b9; }
.woocommerce-error { border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .1); color: #ffb3b3; display: grid; justify-content: stretch; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; background: var(--surface); color: var(--accent); }
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus { outline: none; }

/* ---------- Shop archive ---------- */
.chips { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 550; text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.chips a.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.chips a span { font-size: 12px; font-weight: 600; color: var(--faint); }
.chips a.on span { color: rgba(14, 16, 20, .6); }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 26px 0 16px; }
.woocommerce-result-count { margin: 0; font-size: 13.5px; color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 40px; padding: 6px 36px 6px 13px; font-size: 14px; border-radius: 10px; width: auto; }
.woocommerce-pagination { margin-top: 34px; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 600; text-decoration: none; }
.woocommerce-pagination span.current { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.woocommerce-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.empty { padding: 56px 22px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 640px) { .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } }

/* ---------- Product page ---------- */
/* Two columns: picture with the description under it | name, price, buttons, promises.
   The second row is as tall as what the right column still needs, so a long description
   stops level with the last box at the right and opens with "Show more" (site.js). */
.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "media info" "more info"; gap: 26px clamp(22px, 4vw, 52px); align-items: start; padding: 8px 0 0; }
.pdp-media { grid-area: media; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
/* Several pictures: small ones under the main picture; a click shows that one large (site.js) */
.pdp-media--g { border: 0; border-radius: 0; overflow: visible; }
.pdp-frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pdp-thumb { position: relative; aspect-ratio: var(--shot); padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.pdp-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .15s; }
.pdp-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .15s; pointer-events: none; }
.pdp-thumb:hover img, .pdp-thumb.on img { opacity: 1; }
.pdp-thumb.on::after { box-shadow: inset 0 0 0 2px var(--accent); }
@media (max-width: 560px) { .pdp-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }
.pdp-info { grid-area: info; padding: 2px 0 0; }
.pdp-more { grid-area: more; align-self: stretch; min-width: 0; }
.pdp-more-in > h2 { font-size: clamp(19px, 2vw, 22px); margin-bottom: 12px; }
.pdp-more-clip { position: relative; }
.js .pdp-more:not(.fit):not(.open) .pdp-more-clip { overflow: hidden; }
.pdp-more.cut:not(.open) .pdp-more-clip::after { content: ""; position: absolute; inset: auto 0 0; height: 56px; background: linear-gradient(to bottom, rgba(14, 16, 20, 0), var(--bg)); pointer-events: none; }
.pdp-more-btn { display: inline-flex; flex: none; align-self: flex-start; align-items: center; gap: 6px; min-height: 40px; margin-top: 12px; padding: 0 13px 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: box-shadow .15s; }
.pdp-more-btn:hover { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.pdp-more-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.pdp-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pdp-more-l, .pdp-more-btn[aria-expanded="true"] .pdp-more-m { display: none; }
.pdp-more-btn[aria-expanded="true"] .pdp-more-l { display: inline; }
@media (min-width: 861px) {
  .js .pdp-more { position: relative; min-height: 210px; }
  .js .pdp-more:not(.fit):not(.open) .pdp-more-in { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .js .pdp-more:not(.fit):not(.open) .pdp-more-clip { flex: 1 1 auto; min-height: 0; }
}
.pdp-cat { font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.pdp-cat:hover { text-decoration: underline; }
.pdp-info h1 { margin-top: 8px; font-size: clamp(26px, 3.4vw, 42px); }
.pdp-lead { margin: 14px 0 0; font-size: clamp(15.5px, 1.3vw, 17.5px); line-height: 1.5; color: var(--muted); }
.pdp-lead p:last-child { margin: 0; }
.pdp-price { margin: 24px 0 8px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pdp-price del { font-size: 17px; font-weight: 500; color: var(--faint); margin-right: 8px; letter-spacing: 0; }
.pdp-price ins { text-decoration: none; }
.pdp-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 22px; }
/* Product options (platform, edition): a row of buttons per option */
.pdp-actions--var, .pdp-actions--var form.cart { display: block; }
.variations, .variations tbody, .variations tr, .variations th, .variations td { display: block; width: auto; padding: 0; border: 0; background: none; text-align: left; }
.variations { margin: 0; }
.variations tr + tr { margin-top: 16px; }
.variations th.label label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.has-opts .variations select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); opacity: 0; pointer-events: none; }
form:not(.has-opts) .opts { display: none; }   /* without the script the plain select does the job */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--text); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: box-shadow .15s, background-color .15s; }
.opt:has(img) { padding-left: 10px; }
.opt img { width: 28px; height: 28px; border-radius: 8px; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.opt.on { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); color: #fff; }
.opt:disabled { opacity: .4; cursor: not-allowed; }
.single_variation_wrap { margin-top: 20px; }
.woocommerce-variation-price { display: none; }                /* the page's own price line shows it */
.woocommerce-variation-description, .woocommerce-variation-availability { margin-bottom: 10px; font-size: 13.5px; color: var(--muted); }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pdp-actions--var .single_add_to_cart_button.disabled { opacity: .5; }
.opts.need .opt { box-shadow: inset 0 0 0 1.5px var(--accent); }
.opts.need { animation: opts-need .32s ease-in-out 2; }
.opts-need { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
@keyframes opts-need { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .opts.need { animation: none; } }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pdp-actions form.cart { display: contents; }
.pdp-actions .btn, .pdp-actions form.cart .button { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
.pdp-actions .quantity, .pdp-actions .quantity .qty, .pdp-actions .quantity button { height: 50px; }
.pdp-buy { order: 3; }
.pdp-out { padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--muted); font-size: 15px; }
.facts { list-style: none; margin: 28px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.facts li { display: flex; gap: 14px; padding: 15px 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.facts li + li { border-top: 1px solid var(--line); }
.facts svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.facts strong { display: block; color: var(--text); font-weight: 650; }
.pdp-related { padding: clamp(36px, 5vw, 64px) 0 0; }
.pdp-related > h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "media" "info" "more"; row-gap: 22px; }
  .pdp-more { margin-top: 10px; }
  .js .pdp-more:not(.fit):not(.open) .pdp-more-clip { max-height: 300px; }
  .pdp-buy { flex: 1; }
}

/* ---------- Tables ---------- */
table { border-collapse: separate; border-spacing: 0; width: 100%; }
.shop_table { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; font-size: 15px; }
.shop_table th, .shop_table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.shop_table thead th { background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.shop_table tr:last-child > td, .shop_table tr:last-child > th { border-bottom: 0; }
.shop_table tfoot th { font-weight: 400; color: var(--muted); }
.shop_table tr.order-total th, .shop_table tr.order-total td { font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--text); }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details th:last-child { text-align: right; }
.woocommerce-table--order-details tfoot th { text-align: left; }
.order-again { margin: 16px 0 26px; }
.wc-item-meta { list-style: none; margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.wc-item-meta p { display: inline; margin: 0; }
.shop_table .product-name a { font-weight: 600; text-decoration: none; }
.shop_table .product-name a:hover { color: var(--accent); }
.shop_table .product-thumbnail { width: 96px; padding-right: 0; }
.shop_table .product-thumbnail .mini { width: 76px; }

.shop_table .product-remove { width: 44px; padding-right: 0; }
a.remove { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--muted) !important; font-size: 18px; line-height: 1; text-decoration: none; }
a.remove:hover { background: var(--err); color: var(--on-accent) !important; }
.shop_table td.actions { padding: 16px 20px; background: var(--surface-2); }
.coupon { display: flex; gap: 8px; max-width: 420px; float: left; }
.coupon label { display: none; }
.coupon .input-text { min-height: 46px; }
td.actions > .button { float: right; }
.cart-collaterals { margin-top: 22px; display: flex; justify-content: flex-end; }
.cart_totals { width: min(100%, 420px); }
.cart_totals h2 { font-size: 22px; margin-bottom: 14px; }
.wc-proceed-to-checkout { margin-top: 14px; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 52px; font-size: 16px; }
.wc-empty-cart-message .cart-empty { justify-content: center; padding: 44px 20px 8px; margin: 0; border: 0; background: none; font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -.03em; }
.return-to-shop { text-align: center; margin: 10px 0 30px; }
@media (max-width: 700px) {
  .shop_table.cart thead { display: none; }
  .shop_table.cart tr.cart_item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px; border-bottom: 1px solid var(--line); align-items: center; }
  .shop_table.cart tr.cart_item td { padding: 0; border: 0; }
  .shop_table.cart .product-thumbnail { grid-column: 1; grid-row: 1 / span 2; width: auto; }
  .shop_table.cart .product-remove { grid-column: 3; grid-row: 1; width: auto; }
  .shop_table.cart .product-name { grid-column: 2; grid-row: 1; }
  .shop_table.cart .product-price { display: none; }
  .shop_table.cart .product-quantity { grid-column: 2; grid-row: 2; }
  .shop_table.cart .product-subtotal { grid-column: 3; grid-row: 2; font-weight: 700; }
  .shop_table.cart td.actions { display: block; }
  .coupon { max-width: none; float: none; }
  td.actions > .button { float: none; margin-top: 10px; width: 100%; }
}

/* ---------- Checkout ---------- */
.woocommerce-form-coupon-toggle .woocommerce-info { border: 0; background: none; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--muted); justify-content: flex-start; gap: 5px; }
.woocommerce-form-coupon-toggle a { color: var(--accent); }
form.checkout_coupon { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; max-width: 480px; margin: 0 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
form.checkout_coupon p { margin: 0; flex: 1; min-width: 160px; }
form.checkout_coupon p:first-child { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 30px; align-items: start; }
.co-head h1 { font-size: clamp(30px, 3.8vw, 42px); }
.co-head p { margin: 12px 0 26px; font-size: 17px; color: var(--muted); max-width: 540px; }
.co-block { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 26px; margin-bottom: 14px; }
.co-block > h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 20px; }
.co-block > h2 b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0; }
#customer_details h3 { display: none; }
.woocommerce-billing-fields__field-wrapper .form-row:last-child, .woocommerce-additional-fields__field-wrapper .form-row:last-child { margin-bottom: 0; }
.woocommerce-account-fields { margin-top: 16px; }
.woocommerce-account-fields .form-row { margin: 0; }
.woocommerce-additional-fields { margin-top: 16px; }
.co-side { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px 26px 26px; box-shadow: var(--sh); }
.co-side > h2 { font-size: 18px; margin-bottom: 6px; }
.co-side .shop_table { border: 0; border-radius: 0; background: none; }
.co-side .shop_table th, .co-side .shop_table td { padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-side .shop_table thead { display: none; }
.co-side .shop_table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.co-side .shop_table tr.order-total td { font-size: 24px; font-weight: 800; }
.co-side .shop_table tr.order-total th, .co-side .shop_table tr.order-total td { border-bottom: 0; padding-bottom: 0; }
.co-side .cart_item td.product-name { display: flex; gap: 12px; align-items: center; font-weight: 600; line-height: 1.3; }
.co-side .cart_item .product-quantity { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.co-item-name { flex: 1; }
/* Notes under a product name, such as "You will get: $20.00" (cart, checkout, order) */
dl.variation { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 4px 0 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--muted); }
dl.variation dt { font-weight: 500; }
dl.variation dd { margin: 0; font-weight: 600; color: var(--text-2); }
dl.variation dd p { margin: 0; }
.co-side .cart_item td.product-name { flex-wrap: wrap; }
.co-side .cart_item dl.variation { flex: 0 0 100%; margin: -6px 0 0; padding-left: 76px; }
.co-note { margin: 20px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.co-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
#payment ul.payment_methods { list-style: none; display: grid; gap: 10px; }
#payment .wc_payment_method > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
#payment .wc_payment_method > label { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 54px 14px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; transition: box-shadow .15s, background-color .15s; }
#payment .wc_payment_method > label:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
#payment .wc_payment_method > label::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--surface-2) center/12px no-repeat; }
#payment .wc_payment_method > input:checked + label { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
#payment .wc_payment_method > input:checked + label::after { box-shadow: none; background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.4 2.4 4.6-5' fill='none' stroke='%230e1014' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
#payment .wc_payment_method > input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.coin { order: -1; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 700; line-height: 1; }
.coin--usdt { background: #1f9a75; }
.coin--binance { background: #f0b90b; color: #1e2026; }
.coin--wm { background: #0a6fb5; font-size: 12px; }
#payment .payment_box { padding: 10px 4px 2px; font-size: 14px; color: var(--muted); }
#payment .payment_box p { margin: 0; }
#payment ul.payment_methods > li.woocommerce-info, #payment > .woocommerce-info { margin: 0; }
.ds-usd-note { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.place-order { margin: 20px 0 0; padding: 0; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.woocommerce-terms-and-conditions-wrapper a { color: var(--accent); }
.woocommerce-privacy-policy-text p { margin: 0 0 12px; }
.woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; }
#place_order { width: 100%; min-height: 54px; font-size: 16.5px; }
.blockUI.blockOverlay { background: rgba(14, 16, 20, .6) !important; border-radius: var(--r); }
@media (max-width: 960px) { .co { grid-template-columns: minmax(0, 1fr); gap: 14px; } .co-main { display: contents; } .co-head { order: 1; } .co-head p { margin-bottom: 4px; } .co-side { position: static; order: 2; } .co-block { order: 3; margin-bottom: 0; padding: 22px 20px; } }

/* ---------- Order received, order view, payment box ---------- */
.woocommerce-thankyou-order-received { margin: 0 0 20px; border: 0; padding: 0; background: none; font-size: 18px; color: var(--muted); }
.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; padding: 22px 26px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.woocommerce-order-overview li { font-size: 13px; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; margin-top: 5px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--text); overflow-wrap: anywhere; }
.ds-pay { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; padding: 28px; margin: 0 0 22px; border: 1.5px solid var(--accent-line); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh); }
.ds-pay-head { grid-column: 1 / -1; }
.ds-pay-head h2 { font-size: 26px; }
.ds-pay-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 600px; }
.ds-pay dl { margin: 0; border-top: 1px solid var(--line); }
.ds-pay dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ds-pay dt { font-size: 13.5px; color: var(--muted); flex-shrink: 0; }
.ds-pay dd { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; text-align: right; }
.ds-pay dd span { overflow-wrap: anywhere; }
.ds-pay .mono { font-size: 14px; font-weight: 500; }
.ds-amount { font: 700 22px/1 var(--mono); color: var(--accent); }
.copy { flex-shrink: 0; height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.copy:hover { background: rgba(255, 122, 26, .24); }
.ds-qr { width: 168px; height: 168px; padding: 10px; border-radius: 14px; background: #fff; align-self: start; }
.ds-qr svg, .ds-qr img { width: 100%; height: 100%; }
.ds-pay-form { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.ds-pay-form input { flex: 1; min-width: 220px; font-family: var(--mono); font-size: 14.5px; }
.ds-pay-form .button { min-height: 48px; }
.ds-pay-done { grid-column: 1 / -1; margin: 0; }
.woocommerce-order-details, .woocommerce-customer-details { margin: 0 0 22px; }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-order-downloads__title, .woocommerce-order h2, .woocommerce-order h3, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-size: 20px; margin: 26px 0 14px; }
.ds-pay .ds-pay-head h2 { font-size: 26px; margin: 0; }
code { font-family: var(--mono); font-size: .92em; }
.lmfwc-myaccount-license-key, .lmfwc-license-key, td > code { display: inline-block; padding: 8px 12px; border: 1px dashed var(--accent-line); border-radius: 10px; background: var(--accent-soft); font: 600 14.5px var(--mono); letter-spacing: .03em; user-select: all; }
mark { background: none; color: inherit; font-weight: 600; }
@media (max-width: 720px) { .ds-pay { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; } .ds-qr { justify-self: start; } .ds-pay dl > div { flex-wrap: wrap; gap: 5px 16px; } .ds-pay dd { text-align: left; } }

/* ---------- Account ---------- */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 34px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: grid; gap: 3px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 11px; font-size: 15px; font-weight: 550; color: var(--text-2); text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--surface-2); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--accent-soft); color: var(--accent); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p { font-size: 16px; color: var(--text-2); }
.woocommerce-MyAccount-content a:not(.button) { color: var(--accent); }
.woocommerce-MyAccount-content form, .woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, form.track_order { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 26px; max-width: 520px; }
.woocommerce-MyAccount-content fieldset { border: 0; padding: 0; margin: 24px 0 0; }
.woocommerce-MyAccount-content legend { font-size: 17px; font-weight: 700; margin-bottom: 12px; padding: 0; }
.u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.u-columns h2, .woocommerce > h2 { font-size: 22px; margin-bottom: 14px; }
.woocommerce-form-login .form-row:last-of-type, .woocommerce-form-register .form-row:last-of-type, form.track_order .form-row:last-of-type { margin-bottom: 0; }
.woocommerce-form-login__rememberme { margin: 0 0 14px; }
.woocommerce-LostPassword { margin: 14px 0 0; font-size: 14px; }
.woocommerce-LostPassword a { color: var(--accent); }
.woocommerce-orders-table .button, .woocommerce-table .button { min-height: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 9px; }
.woocommerce-Addresses { display: grid; gap: 20px; }
form.track_order > p:first-child { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) {
  .woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation a { white-space: nowrap; background: var(--surface-2); padding: 9px 14px; font-size: 14px; }
  .u-columns { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tr { display: grid; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .woocommerce-orders-table td, .woocommerce-orders-table th { padding: 0; border: 0; }
}

/* ---------- Footer ---------- */
.foot { margin-top: 0; border-top: 1px solid var(--line); background: #0a0c0f; color: var(--muted); padding: clamp(36px, 5vw, 56px) 0 26px; font-size: 14px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); padding-bottom: 32px; }
.foot .brand { color: var(--text); }
.foot-about { margin: 16px 0 14px; max-width: 320px; line-height: 1.55; }
.foot-mail { font-weight: 600; color: var(--accent) !important; }
.foot h4 { margin-bottom: 13px; font-size: 13.5px; font-weight: 700; letter-spacing: 0; color: var(--text); }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.foot-pay span { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.foot-notes { padding: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.foot-notes p { margin: 0 0 6px; max-width: 880px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.foot-langs a + a { margin-left: 14px; }
.foot-langs a[aria-current="true"] { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Admin preview flag ---------- */
.ds-flag { position: fixed; left: 14px; bottom: 14px; z-index: 90; padding: 8px 13px; border-radius: 9px; background: var(--raise); color: var(--text); font-size: 12px; font-weight: 600; box-shadow: var(--sh); }
