/* Eco store (Eco home, /shop/, categories): design A "Arena" in CSS only. Photos instead of 3D; every motion is transform or
   opacity (compositor work), the background is one fixed layer, so scrolling stays cheap on weak phones. */
body[data-page="store"] { --st-bg:#07090d; --st-card:#111319; --st-card2:#0c0e13; --st-line:#ffffff14; --st-line2:#ffffff2b; --st-ink:#eef1f6;
  --st-muted:#98a1b1; --st-grad:linear-gradient(90deg,#FBE335 0%,#F05666 38%,#D04BB4 70%,#6C4BB4 100%);
  background:var(--st-bg); color:var(--st-ink); }
body[data-page="store"]::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(60% 45% at 50% 18%, #f0566624, transparent 70%), radial-gradient(40% 35% at 85% 60%, #6c4bb41c, transparent 70%),
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0/48px 48px, linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0/48px 48px;
  -webkit-mask-image:linear-gradient(#000 0%, #000 60%, transparent 100%); mask-image:linear-gradient(#000 0%, #000 60%, transparent 100%); }
body[data-page="store"] main { max-width:1240px; }
body[data-page="store"] main a { color:inherit; }
body[data-page="store"] h1, body[data-page="store"] h2 { color:#fff; }
body[data-page="store"] .content { color:var(--st-muted); }
body[data-page="store"] .msg { background:#14301f; color:#d6f5e2; } body[data-page="store"] .msg.error { background:#3a1219; color:#ffd9de; } body[data-page="store"] .msg.warning { background:#3a2c0d; color:#ffe9b0; } body[data-page="store"] .msg.info { background:#10264a; color:#cfe0ff; }
body[data-page="store"] footer { background:var(--st-card2); border-top-color:var(--st-line); }
body[data-page="store"] footer .bar a { color:var(--st-muted); }
body[data-page="store"] footer .bar a:hover { color:#fff; }

/* hero */
.eco-hero { position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; padding:28px 0 8px; }
.eco-hero h1 { margin:0; font-size:clamp(34px,6.4vw,68px); font-weight:900; line-height:1.25; letter-spacing:-.01em; }
.eco-hero h1 em { font-style:normal; background:var(--st-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.eco-hero p { max-width:560px; margin:12px auto 0; color:var(--st-muted); font-size:clamp(14px,1.6vw,17px); }
.eco-cta { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:22px; }
.eco-btn { display:inline-flex; align-items:center; min-height:44px; padding:0 20px; border-radius:12px; font-weight:800; font-size:14px;
  color:#16080c !important; background:var(--st-grad); box-shadow:0 10px 30px -10px #f05666aa; transition:transform .2s, box-shadow .2s; }
.eco-btn:hover { transform:translateY(-2px); box-shadow:0 16px 36px -10px #f05666cc; }
.eco-btn.line { color:var(--st-ink) !important; background:#ffffff08; box-shadow:none; border:1px solid var(--st-line2); }
.eco-btn.line:hover { border-color:#ffffff66; }
.eco-stage { position:relative; width:min(760px,100%); height:clamp(220px,34vw,340px); margin:18px auto 0; }
.eco-device { position:absolute; bottom:14%; height:auto; max-height:86%; object-fit:contain; filter:drop-shadow(0 26px 22px #000c); animation:eco-float 6s ease-in-out infinite; will-change:transform; }
.eco-device.d1 { width:38%; right:14%; }
.eco-device.d2 { width:34%; left:16%; bottom:16%; animation-delay:-3s; }
@keyframes eco-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
.eco-trust { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; margin:10px 0 0; padding:0; list-style:none; color:var(--st-muted); font-size:13px; }
.eco-trust li::before { content:""; display:inline-block; width:7px; height:7px; margin-inline-end:8px; border-radius:2px; background:#F05666; vertical-align:1px; }

/* list */
.eco-list { margin-top:46px; scroll-margin-top:100px; }
.eco-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:12px 20px; margin-bottom:18px; }
.eco-head h1, .eco-head h2 { margin:0; font-size:clamp(24px,3vw,32px); }
.eco-head p { margin:4px 0 0; color:var(--st-muted); font-size:14px; }
body[data-page="store"] .store-chips { margin:0; }
body[data-page="store"] .store-chips a { background:#ffffff08; border-color:var(--st-line2); color:var(--st-ink); padding:6px 16px; }
body[data-page="store"] .store-chips a:hover { border-color:#ffffff66; color:#fff; }
body[data-page="store"] .store-chips a[aria-current="page"] { background:#fff; color:#0a0b10; border-color:#fff; }
body[data-page="store"] .store-grid { grid-template-columns:repeat(auto-fill,minmax(232px,1fr)); gap:16px; }
body[data-page="store"] .sc { position:relative; border:1px solid var(--st-line); border-radius:20px; background:linear-gradient(180deg, var(--st-card), var(--st-card2));
  color:var(--st-ink); transition:transform .25s ease, border-color .25s, box-shadow .25s; }
body[data-page="store"] .sc:hover { transform:translateY(-4px); border-color:var(--st-line2); box-shadow:0 22px 44px -18px #000, 0 0 0 1px #ffffff10; }
body[data-page="store"] .sc.hot { border:1px solid transparent; background:linear-gradient(180deg, var(--st-card), var(--st-card2)) padding-box, var(--st-grad) border-box; }
.sc-media { position:relative; display:block; aspect-ratio:1; overflow:hidden; --glow:#f0566633; }
.sc:nth-child(4n+2) .sc-media { --glow:#3fd1c62e; } .sc:nth-child(4n+3) .sc-media { --glow:#8b6bff33; } .sc:nth-child(4n) .sc-media { --glow:#fbe33526; }
.sc-media::before { content:""; position:absolute; inset:8%; border-radius:50%; background:radial-gradient(closest-side, var(--glow), transparent); transition:opacity .3s, transform .3s; }
.sc-media::after { content:""; position:absolute; left:22%; right:22%; bottom:9%; height:9%; border-radius:50%; background:radial-gradient(closest-side, #000a, transparent); }
body[data-page="store"] .sc img { position:relative; z-index:1; width:100%; height:100%; padding:11%; box-sizing:border-box; aspect-ratio:auto; background:none;
  object-fit:contain; filter:drop-shadow(0 14px 14px #0009); transition:transform .35s cubic-bezier(.2,.7,.2,1); }
body[data-page="store"] .sc:hover img { transform:translateY(-7px) scale(1.04); }
.sc:hover .sc-media::before { transform:scale(1.12); }
.sc.is-out img { filter:grayscale(.45) drop-shadow(0 14px 14px #0009); opacity:.82; }
body[data-page="store"] .sc-body { gap:3px; padding:4px 16px 14px; }
body[data-page="store"] .sc-badge { position:absolute; top:12px; inset-inline-start:12px; z-index:2; background:var(--st-grad); color:#16080c; }
.sc-kind { color:var(--st-muted); font-size:11.5px; }
body[data-page="store"] .sc h3 { margin:0; font-size:15px; line-height:1.6; color:#fff; }
body[data-page="store"] .sc p { color:var(--st-muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sc-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; padding-top:10px; border-top:1px solid var(--st-line); }
body[data-page="store"] .sc-price { margin:0; font-weight:800; font-size:15px; font-variant-numeric:tabular-nums; color:#fff; }
body[data-page="store"] .sc-price.out { color:var(--st-muted); font-weight:700; font-size:14px; }
.sc-go { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; border:1px solid var(--st-line2); color:var(--st-ink); transition:background .2s, color .2s, border-color .2s; }
.sc-go .ic { width:16px; height:16px; transform:scaleX(-1); }
.sc:hover .sc-go { background:var(--st-grad); color:#16080c; border-color:transparent; }
.sc.hot .sc-go { background:var(--st-grad); color:#16080c; border-color:transparent; }
.sc:focus-visible, .sc-link:focus-visible { outline:2px solid #F05666; outline-offset:3px; }

/* checkpoint 4 cards (docs/70-storefront-redesign.md): the link holds the picture and the text, the foot holds the price and the
   actions («خبرم کن», the «compare» box). Three short facts instead of the description. */
body[data-page="store"] [hidden] { display:none !important; }
.sc-link { display:flex; flex-direction:column; flex:1; min-width:0; color:inherit; border-radius:20px 20px 0 0; }
body[data-page="store"] .sc > .sc-foot { margin:0 16px 14px; }
body[data-page="store"] .sc-body { padding-bottom:0; }
.sc-ph { position:relative; z-index:1; display:grid; place-items:center; height:100%; }
.sc-ph .ic { width:28%; height:auto; color:#ffffff2e; stroke-width:1.2; }
.sc-chips { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.sc-chips span { padding:1px 8px; border-radius:7px; background:#ffffff0b; border:1px solid var(--st-line); color:#d3d9e3; font-size:11.5px; line-height:1.9; white-space:nowrap; }
.sc-text { color:var(--st-muted); font-size:12.5px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sc-rate { margin-top:4px; font-size:12px; color:var(--st-muted); font-variant-numeric:tabular-nums; }
.sc-rate b { color:#f7c948; font-weight:400; }
.sc-rate small { font-size:11px; }
/* units sold (storefront.sold_units): only once something sold */
.sc-sold { margin-top:3px; font-size:11.5px; color:#9fe0c0; font-variant-numeric:tabular-nums; }
.sc-foot { flex-wrap:wrap; }
.sc-acts { display:flex; flex-wrap:wrap; gap:6px; margin-inline-start:auto; }
.sc-alert, .sc-cmp { position:relative; z-index:2; display:inline-flex; align-items:center; gap:5px; min-height:32px; padding:0 10px; border-radius:10px;
  font-size:12.5px; font-weight:700; white-space:nowrap; cursor:pointer; transition:background .2s, border-color .2s, color .2s, transform .15s; }
.sc-alert { color:#ffc2c9 !important; background:#f056661a; border:1px solid #f0566650; }
.sc-alert:hover { background:#f056662e; border-color:#f05666; }
.sc-alert .ic { width:14px; height:14px; }
.sc-cmp { color:var(--st-ink); border:1px solid var(--st-line2); background:#ffffff06; }
.sc-cmp:hover { border-color:#ffffff66; }
.sc-cmp input { width:15px; height:15px; margin:0; accent-color:#F05666; color-scheme:dark; cursor:pointer; }
.sc-cmp:has(input:checked) { border-color:#F05666; background:#f056661f; color:#fff; }
.sc-cmp:has(input:focus-visible) { outline:2px solid #F05666; outline-offset:2px; }
.sc-cmp:has(input:disabled) { opacity:.45; cursor:not-allowed; }
.sc-alert:active, .sc-cmp:active { transform:scale(.96); }
@media (pointer:coarse) { .sc-alert::after, .sc-cmp::after { content:""; position:absolute; inset:-4px 0; } } /* ~40px tap area, same look */

/* the head of a shop page: count, categories, compare */
.st-count { font-variant-numeric:tabular-nums; }
body[data-page="store"] .store-chips a.sub { color:var(--st-muted); background:none; border-style:dashed; font-size:13px; }
body[data-page="store"] .store-chips a.cmp { display:inline-flex; align-items:center; gap:6px; }
.store-chips .cmp .ic { width:15px; height:15px; color:#F05666; }

/* filters beside the grid; a bar above it on a phone */
.st-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:22px; align-items:start; }
.st-side { position:sticky; top:calc(var(--site-nav-height) + 16px); display:grid; gap:14px; max-height:calc(100vh - var(--site-nav-height) - 32px);
  overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#ffffff22 transparent; }
.st-main { min-width:0; }
.st-filters { display:grid; gap:14px; padding:16px; border-radius:18px; border:1px solid var(--st-line); background:linear-gradient(180deg, var(--st-card), var(--st-card2)); }
.st-sort { display:grid; gap:4px; }
.st-sort label { font-size:12.5px; color:var(--st-muted); }
body[data-page="store"] .st-sort select { width:100%; min-height:42px; padding:0 12px; border-radius:11px; border:1px solid var(--st-line2); background:#0c0e13;
  color:var(--st-ink); color-scheme:dark; font-size:14px; cursor:pointer; }
.st-sort select:focus-visible { outline:2px solid #F05666; outline-offset:1px; }
.st-fd > summary { display:flex; align-items:center; gap:8px; min-height:36px; list-style:none; cursor:pointer; font-weight:800; color:#fff; font-size:15px; }
.st-fd > summary::-webkit-details-marker { display:none; }
.st-fd > summary .ic { width:17px; height:17px; color:#F05666; }
.st-fd > summary::after { content:""; width:8px; height:8px; margin-inline-start:auto; border:solid var(--st-muted); border-width:0 0 2px 2px; transform:rotate(-45deg) translateY(-2px);
  transition:transform .2s; }
.st-fd[open] > summary::after { transform:rotate(135deg) translate(-2px, 0); }
.st-fd > summary:focus-visible { outline:2px solid #F05666; outline-offset:2px; border-radius:8px; }
#st-fn { color:#F05666; font-variant-numeric:tabular-nums; }
.st-facet { min-width:0; margin:12px 0 0; padding:12px 0 0; border:0; border-top:1px solid var(--st-line); }
.st-facet legend { float:right; width:100%; padding:0; margin:0 0 6px; font-size:13px; font-weight:800; color:#fff; }
.st-facet legend + * { clear:both; }
.st-opt { display:flex; align-items:center; gap:10px; min-height:38px; padding:0 8px; margin-inline:-8px; border-radius:10px; cursor:pointer; font-size:14px; color:var(--st-ink);
  transition:background .15s, opacity .15s; }
.st-opt:hover { background:#ffffff08; }
.st-opt input { flex:none; width:18px; height:18px; margin:0; accent-color:#F05666; color-scheme:dark; cursor:pointer; }
.st-opt small { margin-inline-start:auto; min-width:22px; padding:0 6px; border-radius:7px; background:#ffffff0b; text-align:center; color:var(--st-muted); font-size:12px;
  font-variant-numeric:tabular-nums; }
.st-opt:has(input:checked) small { background:#f0566633; color:#fff; }
.st-opt.is-zero:not(:has(input:checked)) { opacity:.45; }
.st-fbtns { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.st-fbtns .eco-btn { border:0; font-family:inherit; cursor:pointer; justify-content:center; flex:1; }
.st-clear { font-size:13px; color:#ff8a96 !important; border-bottom:1px dashed #ff8a9688; }
.st-finder { display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:18px; border:1px solid transparent;
  background:linear-gradient(135deg, #1a1018, #0d0f16 60%, #16131f) padding-box, linear-gradient(135deg, #f0566699, #ffffff12 45%, #6c4bb499) border-box;
  transition:transform .2s; }
.st-finder:hover { transform:translateY(-2px); }
.st-finder > .ic { flex:none; width:30px; height:30px; padding:7px; border-radius:11px; background:var(--st-grad); color:#16080c; box-sizing:content-box; }
.st-finder b { display:block; color:#fff; font-size:14.5px; }
.st-finder small { display:block; color:var(--st-muted); font-size:12.5px; }
.st-none { padding:44px 16px; border:1px dashed var(--st-line2); border-radius:18px; text-align:center; color:var(--st-muted); }
.st-none a { color:#ff8a96 !important; border-bottom:1px dashed #ff8a9688; }
.st-layout.no-filters { grid-template-columns:minmax(0,1fr); }
.st-layout.no-filters .st-side { position:static; max-height:none; overflow:visible; display:flex; flex-wrap:wrap; gap:12px; }
.st-layout.no-filters .st-filters { flex:0 1 320px; padding:10px 14px; }
.st-layout.no-filters .st-sort { display:flex; align-items:center; gap:10px; } .st-layout.no-filters .st-sort label { flex:none; }
.st-layout.no-filters .st-finder { flex:0 1 340px; }

/* the compare tray: a plain form at the end of the list without script; with script a bar that rises when a box is ticked */
.st-tray { margin:22px 0 0; }
.st-tray-in { max-width:1240px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; padding:12px 14px; border-radius:18px; box-sizing:border-box;
  border:1px solid var(--st-line2); background:#111319f2; box-shadow:0 -12px 40px -8px #000c; }
#st-tray-n { flex:1 1 220px; margin:0; font-size:13.5px; color:var(--st-ink); }
.st-tray-pics { display:flex; gap:6px; margin:0; padding:0; list-style:none; }
.st-tray-pics li { width:42px; height:42px; border-radius:11px; background:#ffffff0b; border:1px solid var(--st-line); overflow:hidden; }
.st-tray-pics img { width:100%; height:100%; object-fit:contain; padding:3px; box-sizing:border-box; }
.st-tray-clear { min-height:40px; padding:0 6px; border:0; background:none; color:#ff8a96; font:inherit; font-size:13px; cursor:pointer; }
.st-tray .eco-btn { gap:8px; border:0; font-family:inherit; cursor:pointer; }
.st-tray .eco-btn .ic { width:16px; height:16px; }
.st-tray.live { position:fixed; inset:auto 0 0; z-index:80; margin:0; padding:0 16px calc(12px + env(safe-area-inset-bottom)); pointer-events:none;
  transform:translateY(130%); transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.st-tray.live:not(.on) { visibility:hidden; transition:transform .3s cubic-bezier(.2,.7,.2,1), visibility 0s .3s; }
.st-tray.live.on { transform:none; }
.st-tray.live.on .st-tray-in { pointer-events:auto; }
body.st-tray-on footer { padding-bottom:96px; }

/* GamerKhaan OS band (Eco home) */
.eco-os { display:grid; grid-template-columns:1.1fr 1fr; gap:22px; align-items:center; margin-top:56px; padding:28px; border-radius:24px; border:1px solid transparent;
  background:linear-gradient(135deg, #1a1018, #0d0f16 60%, #16131f) padding-box, linear-gradient(135deg, #f0566680, #ffffff10 40%, #6c4bb480) border-box; }
.eco-kicker { font-size:12px; letter-spacing:.2em; color:#F05666; font-weight:700; }
.eco-os h2 { margin:6px 0 8px; font-size:clamp(22px,3vw,30px); }
.eco-os p { margin:0; color:var(--st-muted); }
.eco-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; counter-reset:st; }
.eco-steps li { counter-increment:st; padding:14px; border-radius:14px; background:#ffffff07; border:1px solid var(--st-line); }
.eco-steps b { display:block; color:#fff; font-size:14.5px; }
.eco-steps b::before { content:counter(st, persian) ". "; color:#F05666; }
.eco-steps span { display:block; margin-top:4px; color:var(--st-muted); font-size:12.5px; line-height:1.7; }

/* cards rise in as they enter: scroll-driven where the browser has it (compositor), plain elsewhere */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body[data-page="store"] .sc { animation:eco-rise linear both; animation-timeline:view(); animation-range:entry 0% entry 45%; }
    @keyframes eco-rise { from { opacity:.15; transform:translateY(26px) scale(.97); } to { opacity:1; transform:none; } }
  }
}
@media (prefers-reduced-motion: reduce) { .eco-device { animation:none; } body[data-page="store"] .sc, body[data-page="store"] .sc img, .st-tray.live, .st-finder { transition:none; } }
@media (max-width:860px) {
  .eco-os { grid-template-columns:1fr; padding:20px; }
  .st-layout { grid-template-columns:minmax(0,1fr); gap:14px; }
  .st-side { position:static; max-height:none; overflow:visible; }
  .st-filters { padding:10px 12px; gap:10px; }
  .st-sort { display:flex; align-items:center; gap:10px; } .st-sort label { flex:none; }
  .st-fd > summary { min-height:42px; }
  .st-fbody { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:0 18px; }
  .st-finder { padding:12px 14px; }
}
@media (max-width:520px) {
  .eco-hero { padding-top:6px; }
  .eco-cta { flex-wrap:nowrap; gap:8px; margin-top:16px; }
  .eco-btn { min-height:40px; padding:0 12px; font-size:12.5px; }
  .eco-stage { height:170px; margin-top:8px; }
  .eco-trust { font-size:12px; gap:4px 14px; }
  .eco-list { margin-top:30px; }
  .eco-steps { grid-template-columns:1fr; }
  body[data-page="store"] .store-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  body[data-page="store"] .sc-body { padding:2px 10px 10px; }
  body[data-page="store"] .sc h3 { font-size:13px; }
  body[data-page="store"] .sc p { display:none; }
  body[data-page="store"] .sc-price { font-size:13px; }
  .sc-go { width:30px; height:30px; }
  body[data-page="store"] .sc > .sc-foot { margin:0 10px 10px; gap:8px; }
  .sc-chips { gap:4px; } .sc-chips span { font-size:11.5px; padding:0 6px; }
  .sc-acts { flex:1 1 100%; margin:0; gap:6px; }
  .sc-acts > * { flex:1; justify-content:center; padding:0 6px; font-size:12px; }
  .st-tray.live { padding:0 8px calc(8px + env(safe-area-inset-bottom)); }
  .st-tray-in { gap:8px 10px; padding:10px 12px; }
  #st-tray-n { flex-basis:100%; font-size:13px; }
  .st-tray-pics li { width:36px; height:36px; }
  .st-tray .eco-btn { margin-inline-start:auto; }
  body[data-page="store"] .sc-badge { font-size:11px; padding:1px 8px; top:8px; inset-inline-start:8px; }
}
/* «Buy it with a router from us» (docs/82): on /os/ and on the OS product pages */
.os-offer { display:grid; grid-template-columns:112px minmax(0,1fr) auto; column-gap:26px; align-items:center; margin-top:32px; padding:22px;
  grid-template-areas:"img head act" "img body act" "img tags act"; border-radius:20px; background:var(--st-card); }
.os-offer:not(:has(.os-offer-img)) { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"head act" "body act" "tags act"; }
.os-offer-img { grid-area:img; justify-self:center; width:100%; max-width:128px; height:auto; filter:drop-shadow(0 18px 24px #000a); }
.os-offer-text { display:contents; }
body[data-page="store"] .os-offer h2 { grid-area:head; align-self:end; margin:0 0 6px; color:#fff; font-size:20px; font-weight:900; line-height:1.45; text-wrap:balance; }
.os-offer-line { grid-area:body; margin:0; color:var(--st-muted); font-size:15px; line-height:1.85; }
.os-offer-tags { grid-area:tags; align-self:start; display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 0; padding:0; list-style:none; }
.os-offer-tags li { padding:4px 12px; border-radius:999px; background:#ffffff0d; color:var(--st-ink); font-size:13px; }
.os-offer-act { grid-area:act; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 18px; min-width:0; }
.os-offer-act p { display:grid; margin:0; } .os-offer-act small { color:var(--st-muted); font-size:13px; }
.os-offer-act b { color:#fff; font-size:20px; font-weight:900; font-variant-numeric:tabular-nums; }
.os-offer-act .eco-btn { gap:8px; } .os-offer-act .eco-btn .ic { width:18px; height:18px; }
@media (max-width:640px) {
  .os-offer, .os-offer:not(:has(.os-offer-img)) { grid-template-columns:minmax(0,1fr) 88px; grid-template-areas:"head img" "body body" "tags tags" "act act";
    padding:18px; }
  .os-offer:not(:has(.os-offer-img)) { grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "body" "tags" "act"; }
  .os-offer-line { margin-top:4px; }
  .os-offer-act { margin-top:16px; }
  .os-offer-act .eco-btn { flex:1 1 auto; justify-content:center; }
}


/* The OS product's card (owner 2026-10-28 10:18 UTC): the GamerKhaan logo turning in 3D (_os_logo3d.html) and «GAMERKHAAN OS» under the name,
   GAMERKHAAN in the logo's red, OS in its purple. CSS only: the face, its silhouette stacked behind it as the thickness, the face again on the
   back; one transform turns the stack, so it costs the compositor, not the page. */
.gk3d { position:relative; z-index:1; display:grid; place-items:center; width:100%; height:100%; perspective:900px; container-type:inline-size; }
.gk3d-defs { position:absolute; width:0; height:0; overflow:hidden; }
.gk3d-spin { position:relative; width:56%; aspect-ratio:2192/2168; transform-style:preserve-3d; transform:rotateX(6deg) rotateY(-24deg); }
.gk3d-spin > svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.gk3d-l { fill:url(#gk3d-side); transform:translateZ(calc(var(--i) * -.3cqi)); }
.gk3d-front { backface-visibility:hidden; -webkit-backface-visibility:hidden; transform:translateZ(.2cqi); }
.gk3d-back { backface-visibility:hidden; -webkit-backface-visibility:hidden; transform:translateZ(-6.9cqi) rotateY(180deg); }
.sc.sc-os .sc-media { --glow:#a8399140; }
.sc-osword { display:block; margin-top:-2px; font:400 15px/1.2 Anton,Arial,sans-serif; letter-spacing:.06em; text-align:start; }
.sc-osword b { font-weight:400; color:#F05666; }
.sc-osword i { font-style:normal; color:#B455C6; }
@media (prefers-reduced-motion: no-preference) {
  .gk3d-spin { animation:gk3d-turn 9s linear infinite; }
  .sc-os:hover .gk3d-spin { animation-duration:4.5s; }
  @keyframes gk3d-turn { from { transform:rotateX(6deg) rotateY(0deg); } to { transform:rotateX(6deg) rotateY(360deg); } }
}
.gk-ltr-code { display:inline-block; direction:ltr; unicode-bidi:isolate; white-space:nowrap; }
