/* =========================================================
   Kaupan komponentit (etusivu, tuotekortit, napit, footer).
   Värit tulevat style.css:n :root-muuttujista.
   ========================================================= */
:root {
  --h-card: var(--card);
  --h-card-2: var(--card-2);
  --h-line: var(--line);
  --h-line-2: var(--line-3);
  --h-text: var(--text);
  --h-muted: var(--muted);
  --h-blue: var(--cta);
  --h-blue-hover: var(--cta-hover);
  --h-blue-soft: var(--accent-soft);
  --h-discord-bg: var(--discord-bg);
  --h-discord-line: var(--discord-line);
  --h-green: #22c55e;
  --h-star: var(--accent);
}

.home { position: relative; overflow: hidden; }
.home > section { position: relative; z-index: 1; }
.h-wrap { width: min(1152px, 100% - 48px); margin-inline: auto; }

/* ---------- Napit ---------- */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 700; font-size: 14.5px;
  transition: background .2s, border-color .2s, transform .2s, opacity .2s; white-space: nowrap;
}
.h-btn svg { width: 17px; height: 17px; }
.h-btn:active { transform: scale(.98); }
.h-btn:disabled { opacity: .6; cursor: wait; }
.h-btn-lg { height: 54px; padding: 0 22px; font-size: 16px; }
.h-btn-blue { background: var(--h-blue); color: var(--cta-text); }
.h-btn-blue:hover { background: var(--h-blue-hover); }
.h-btn-soft { height: 48px; padding: 0 28px; }
.h-btn-discord { background: var(--h-discord-bg); border: 1px solid var(--h-discord-line); color: #fff; border-radius: 10px; }
.h-btn-discord:hover { background: #38436a; }
.h-btn-square { width: 44px; padding: 0; background: var(--h-card-2); border: 1px solid var(--h-line); color: var(--h-text); }
.h-btn-square:hover { border-color: var(--h-line-2); background: var(--card-2); }
.h-btn.in-cart { background: rgba(34,197,94,.14); color: #4ade80; box-shadow: inset 0 0 0 1px rgba(34,197,94,.4); }
.h-textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
.h-textlink svg { width: 15px; height: 15px; transition: transform .2s; }
.h-textlink:hover { text-decoration-color: #fff; }
.h-textlink:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.h-hero { padding: 72px 0 40px; }
.h-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; min-height: 560px; }
.h-hero h1 { font-family: var(--display); font-size: clamp(42px, 5vw, 64px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; max-width: 540px; }
.h-hero h1 u { text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: rgba(255,255,255,.9); }
.h-hero p { color: var(--h-muted); font-size: 18px; line-height: 1.6; max-width: 470px; margin-top: 22px; }
.h-hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }

/* Tuotekuvat kiertävät ympyrää (paikka tulee pages.js:stä) */
.h-collage { position: relative; height: 560px; animation: fadein 1s var(--ease) both .15s; }
.h-shot {
  --x: 0px; --y: 0px; --s: 1; --b: 1;
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(var(--s)); filter: brightness(var(--b));
  box-shadow: 0 24px 50px -12px rgba(0,0,0,.85); border: 1px solid rgba(255,255,255,.08); background: var(--bg-2);
  will-change: transform; transition: filter .25s, border-color .25s;
}
.h-shot:hover, .h-shot:focus-visible { filter: none; border-color: rgba(255,255,255,.4); z-index: 20 !important; }
.h-collage.single .h-shot { width: 94%; }
.h-shot > img, .h-shot > .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.h-shot .cover-fallback span { font-size: 16px; }
.h-shot-info { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.88)); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.h-shot-info strong { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-shot-info small { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--text-2); }
.h-shot:hover .h-shot-info, .h-shot:focus-visible .h-shot-info { opacity: 1; transform: none; }
@media (hover: none) { .h-shot-info { opacity: 1; transform: none; } }

/* ---------- Osiot ---------- */
.h-section { padding: 64px 0; }
.h-tight { padding: 24px 0; }
.h-title { font-family: var(--display); text-align: center; font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 32px; }
.h-center { display: flex; justify-content: center; margin-top: 32px; }

/* Ominaisuusrivi */
.h-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-feature { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 11px; background: var(--h-card); border: 1px solid var(--h-line); }
.h-feature strong { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 2px; }
.h-feature div span { color: var(--h-muted); font-size: 13px; line-height: 1.45; display: block; }
.h-ico { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: rgba(251,139,30,.22); border: 1px solid rgba(251,146,60,.3); color: #fdba74; }
.h-ico svg { width: 18px; height: 18px; stroke-width: 2.2; }

/* Viimeisimmät ostot */
.h-recent { border-block: 1px solid var(--h-line); background: var(--bg-2); }
.h-recent-row { display: flex; align-items: center; gap: 22px; min-height: 68px; padding: 12px 0; }
.h-recent-label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.h-recent-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--h-green); animation: hpulse 2s infinite; }
.h-recent-list { flex: 1; min-width: 0; display: flex; gap: 10px; overflow: hidden; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.h-buyer { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 6px 12px 6px 7px; border-radius: 10px; background: var(--h-card); border: 1px solid var(--h-line); }
.h-avatar { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 12px; font-weight: 700; background: var(--card-2); color: var(--text-2); }
.h-avatar img { width: 100%; height: 100%; object-fit: cover; }
.h-buyer strong, .h-top strong { display: block; font-size: 13px; line-height: 1.25; }
.h-buyer small, .h-top small { display: block; color: var(--h-muted); font-size: 11.5px; white-space: nowrap; }
.h-recent-empty { color: var(--h-muted); font-size: 13.5px; }
.h-top { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-left: 22px; border-left: 1px solid var(--h-line); }
.h-top .h-avatar { box-shadow: 0 0 0 2px var(--accent); }
/* Tuotekortit */
.h-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-product { position: relative; border-radius: 12px; background: var(--h-card); border: 1px solid var(--h-line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .25s; }
.h-product:hover { border-color: var(--h-line-2); transform: translateY(-3px); }
.h-product-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.h-product-img > img, .h-product-img > .cover-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.h-product:hover .h-product-img > :first-child { transform: scale(1.04); }
.h-badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; background: rgba(30,30,30,.8); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.h-product-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.h-product-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex: 1; }
.h-product-top h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.h-product-top h3 a::after { content: ""; position: absolute; inset: 0; }
.h-price { text-align: right; flex-shrink: 0; }
.h-price small { display: block; color: var(--h-muted); font-size: 11.5px; }
.h-price strong { font-size: 15px; font-weight: 700; }
.h-product-actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.h-product-actions .h-btn-blue { flex: 1; }

/* Alennusbanneri */
.h-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 12px; background: var(--h-card); border: 1px solid var(--h-line); }
.h-banner h3 { font-size: 26px; font-weight: 700; letter-spacing: -.015em; }
.h-banner p { color: var(--h-muted); font-size: 14px; margin-top: 6px; }

/* Uusin tuote */
.h-latest { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.h-latest > * { min-width: 0; }
.h-latest h3, .h-latest p, .h-product-top h3, .h-faq p { overflow-wrap: anywhere; }
.h-latest-img { display: block; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--h-line); background: var(--bg-2); }
.h-latest-img > * { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.h-latest-img:hover > * { transform: scale(1.03); }
.h-latest h3 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.h-latest .h-latest-price { color: var(--h-blue-soft); font-weight: 700; font-size: 18px; margin-top: 4px; }
.h-latest p { color: var(--h-muted); font-size: 15px; margin: 18px 0 24px; line-height: 1.6; max-width: 460px; }

/* Tilastot */
.h-stats { padding: 56px 32px 40px; border-radius: 12px; background: var(--h-card); border: 1px solid var(--h-line); text-align: center; }
.h-stats-row { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
.h-stat { flex: none; }
.h-stat strong { display: inline-flex; align-items: center; gap: 12px; font-size: 76px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.h-stat:first-child strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--h-green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: hpulse 2s infinite; }
@keyframes hpulse { to { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }
.h-stat span { display: block; color: var(--h-muted); font-size: 15px; margin-top: 10px; }
.h-stats-note { color: var(--h-muted); font-size: 13px; margin-top: 36px; }

/* FAQ & tuki */
.h-faq-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.h-faq { border-radius: 12px; background: var(--h-card); border: 1px solid var(--h-line); overflow: hidden; }
.h-faq details + details { border-top: 1px solid var(--h-line); }
.h-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 15px; transition: background .2s; }
.h-faq summary:hover { background: rgba(255,255,255,.02); }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary svg { width: 16px; height: 16px; color: var(--h-muted); transition: transform .25s; }
.h-faq details[open] summary svg { transform: rotate(180deg); }
.h-faq details p { padding: 0 20px 18px; color: var(--h-muted); font-size: 14px; line-height: 1.6; }
.h-support { padding: 48px 28px; border-radius: 12px; background: var(--h-card); border: 1px solid var(--h-line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.h-support h3 { font-size: 26px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; }
.h-support small { color: var(--h-muted); font-size: 12.5px; }
#emailBlock { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.h-or { color: var(--h-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; margin-top: 4px; }
.h-mail { padding: 8px 16px; border-radius: 8px; background: var(--h-card-2); border: 1px solid var(--h-line); font-size: 14px; transition: border-color .2s; }
.h-mail:hover { border-color: var(--h-line-2); }

/* Skeleton */
.h-skel { border-radius: 12px; height: 330px; background: linear-gradient(90deg, #0f0f0f, #181818, #0f0f0f); background-size: 200% 100%; animation: shimmer 1.4s infinite; }

/* ---------- Footer (etusivu) ---------- */
.footer { border-top: 1px solid var(--h-line); margin-top: 48px; padding: 48px 0 32px; text-align: center; }
.footer-top { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 28px 88px; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
.footer-brand p { display: none; }
.footer-brand .socials { margin-top: 14px; }
.footer-col { align-items: center; gap: 8px; }
.footer-col h4 { color: var(--h-text); font-size: 13.5px; }
.footer-col a { color: var(--h-muted); font-size: 13.5px; }
.footer-bottom { flex-direction: column; align-items: center; gap: 6px; margin-top: 36px; border: 0; padding: 0; color: #6b6b6b; font-size: 12px; max-width: 720px; margin-inline: auto; }
.footer-bottom::after { content: "Not affiliated with or endorsed by Rockstar North, Take-Two Interactive or other rights holders. Checkout is operated by Tebex Limited, who handle product fulfilment, billing support and refunds."; line-height: 1.6; }
.footer-bottom a { margin-left: 8px; }
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}

/* ---------- Mobiili ---------- */
@media (max-width: 980px) {
  .h-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .h-collage { height: 440px; max-width: 640px; width: 100%; margin: 0 auto; }
  .h-features { grid-template-columns: 1fr 1fr; }
  .h-products { grid-template-columns: 1fr 1fr; }
  .h-latest, .h-faq-grid { grid-template-columns: 1fr; }
  .h-stat strong { font-size: 60px; }
}
@media (max-width: 640px) {
  .h-wrap { width: min(1152px, 100% - 32px); }
  .h-hero { padding: 44px 0 20px; }
  .h-hero h1 { font-size: 42px; }
  .h-hero p { font-size: 16px; }
  .h-hero-cta .h-btn { width: 100%; }
  .h-collage { height: 260px; }
  .h-products { grid-template-columns: 1fr; }
  .h-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .h-feature { flex-direction: column; gap: 10px; padding: 14px; }
  .h-feature div span { font-size: 12.5px; }
  .h-section { padding: 48px 0; }
  .h-banner { flex-direction: column; align-items: flex-start; padding: 24px; }
  .h-banner h3 { font-size: 22px; }
  .h-banner .h-btn { width: 100%; }
  .h-recent-row { flex-wrap: wrap; gap: 10px 16px; }
  .h-recent-list { flex-basis: 100%; order: 3; overflow-x: auto; }
  .h-top { padding-left: 0; border: 0; margin-left: auto; }
  .h-latest h3 { font-size: 24px; }
  .h-stats { padding: 40px 20px 28px; }
  .h-stats-row { gap: 32px; }
  .h-stat strong { font-size: 48px; }
  .h-support { padding: 36px 20px; }
}


/* =========================================================
   VIIMEISTELY: pehmeät siirtymät koko sivustolle
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.nav { view-transition-name: site-nav; }

html { scrollbar-color: #2c2c2c var(--bg); interpolate-size: allow-keywords; }

/* Kuvat häivytetään esiin vasta kun ne ovat latautuneet */
.fade-img { opacity: 0; transition: opacity .45s ease; }
.fade-img.ready { opacity: 1; }
.h-product-img > img, .h-latest-img > img { transition: transform .6s var(--ease), opacity .45s ease; }

/* Napit */
.h-btn, .btn { transition: transform .22s var(--ease), background .2s, box-shadow .25s, border-color .2s, color .2s, opacity .2s; }
.h-btn:active, .btn:active { transform: scale(.975); }
.h-btn.in-cart:hover, .btn.in-cart:hover { box-shadow: inset 0 0 0 1px rgba(34,197,94,.4); }

.h-product.reveal, .sb-product.reveal { transition: opacity .8s var(--ease), transform .45s var(--ease), border-color .25s, box-shadow .35s; }
.h-product.reveal.in:hover, .sb-product.reveal.in:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 44px -24px #000; }
.h-feature { transition: border-color .25s, transform .3s var(--ease); }
.h-feature.reveal { transition: opacity .8s var(--ease), transform .45s var(--ease), border-color .25s; }
.h-feature.reveal.in:hover { transform: translateY(-3px); border-color: var(--line-3); }

/* Sisään tulevat osiot */
.reveal { transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.h-hero-text > * { animation: rise .8s var(--ease) both; }
.h-hero-text > :nth-child(2) { animation-delay: .08s; }
.h-hero-text > :nth-child(3) { animation-delay: .16s; }

/* Avattavat osiot aukeavat pehmeästi */
details::details-content { height: 0; overflow: clip; transition: height .32s var(--ease), content-visibility .32s allow-discrete; }
details[open]::details-content { height: auto; }

/* Valikot ja linkit */
.nav-links a, .footer-col a, .mega-item { transition: color .2s, background .2s; }
.login-row { transition: border-color .2s; }
.login-row:hover { border-color: var(--line-3); }
.sb-plan { transition: border-color .2s, transform .2s var(--ease), background .2s; }
.sb-plan:hover { transform: translateY(-1px); }
.pd-row { transition: border-color .2s, background .2s; }
a.pd-row:hover { background: var(--card-2); }

@media (prefers-reduced-motion: reduce) {
  .h-hero-text > *, .h-collage { animation: none; }
  details::details-content { transition: none; }
}

/* ---------- Yläpalkki ---------- */
.nav-inner { width: min(1200px, 100% - 32px); }
.nav-actions { gap: 6px; }
.nav-actions .icon-btn { border: 0; }
.nav-social { display: flex; align-items: center; gap: 2px; padding-right: 8px; margin-right: 4px; border-right: 1px solid var(--line-2); }
.nav-social a { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--text-2); transition: color .2s, background .2s, transform .2s var(--ease); }
.nav-social a:hover { color: #fff; background: rgba(255,255,255,.07); transform: translateY(-1px); }
.nav-social svg { width: 18px; height: 18px; }
#loginBtn { border-radius: 10px; background: var(--card-2); }
@media (max-width: 1100px) { .nav-social { display: none; } }

/* ---------- Kirjautumisikkuna ---------- */
.login-modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); animation: fadein .2s ease; }
.login-box { position: relative; width: min(400px, 100%); border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -20px #000; animation: pop .28s var(--ease); }
.login-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.5); transition: background .2s; }
.login-close:hover { background: rgba(0,0,0,.8); }
.login-close svg { width: 15px; height: 15px; }
.login-hero { height: 130px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; font-size: 40px; font-weight: 500; letter-spacing: -.01em; }
.login-hero svg { width: 52px; height: 52px; }
.login-body { padding: 22px 22px 20px; text-align: center; }
.login-body h3 { font-family: var(--display); font-size: 21px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 8px; }
.login-body > p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-bottom: 18px; }
.login-body .h-btn { height: 42px; font-size: 14px; }
.login-body .h-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.login-check { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; text-align: left; color: var(--muted); font-size: 12px; line-height: 1.45; cursor: pointer; }
.login-check input { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.login-check a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.login-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 10px; border-radius: 10px; text-align: left; background: var(--bg-2); border: 1px solid var(--line); }
.login-row small { display: block; color: var(--muted); font-size: 11.5px; }
.login-row strong { display: block; font-size: 14px; }
.login-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.login-ico.discord { background: #5865f2; }
.login-ico.fivem { background: var(--accent); }
#logoutBtn { margin-top: 8px; }

/* ---------- Arvostelut ---------- */
.rv-title { font-family: var(--display); font-size: clamp(30px, 3.8vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 30px; }
.rv-title em { color: var(--muted); font-weight: 800; }
.rv-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s; }
.rv-card:hover { border-color: rgba(251,139,30,.35); }
.rv-top { display: flex; justify-content: space-between; align-items: center; }
.rv-stars { color: #fff; letter-spacing: 2px; font-size: 13px; }
.rv-top time { color: var(--muted); font-size: 11.5px; }
.rv-product { color: var(--accent); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.rv-card blockquote { flex: 1; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.rv-card figcaption { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.rv-card figcaption strong { display: block; font-size: 13px; }
.rv-verified { display: inline-block; padding: 1px 7px; margin-bottom: 2px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; }
.rv-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.rv-nav > button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-3); transition: border-color .2s, background .2s, opacity .2s; }
.rv-nav > button:hover:not(:disabled) { border-color: #fff; background: rgba(255,255,255,.06); }
.rv-nav > button:disabled { opacity: .35; cursor: default; }
.rv-dots { display: flex; gap: 6px; }
.rv-dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .2s, width .25s var(--ease); }
.rv-dots button.active { width: 18px; border-radius: 4px; background: #fff; }
.rv-more { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 980px) { .rv-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .rv-card { flex-basis: 100%; } }

/* ---------- Hieman lisää väriä ---------- */
body::after { content: ""; position: fixed; inset: 0 0 auto; height: 2px; z-index: 100; pointer-events: none; background: linear-gradient(90deg, transparent, var(--accent) 30%, #fbbf24 60%, transparent); opacity: .85; }
.h-hero h1 u { text-decoration: none; color: var(--accent); }
.nav-links a.active { color: var(--accent-soft); background: rgba(251,139,30,.12); }
.h-product:hover, .sb-product:hover { border-color: rgba(251,139,30,.4); }
.h-feature.reveal.in:hover { border-color: rgba(251,139,30,.4); }
.h-faq summary:hover { color: var(--accent-soft); }
.footer-col a:hover { color: var(--accent-soft); }
.h-badge { background: rgba(251,139,30,.9); border-color: transparent; color: #140900; }

/* Alennushinnat */
.old-price { margin-right: 6px; color: var(--muted); font-size: .8em; font-weight: 500; text-decoration: line-through; }
.sale-tag { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 800; line-height: 1.3; background: #ef2b3c; }
.h-off { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; background: #ef2b3c; }
.ct-price { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; flex-shrink: 0; max-width: 45%; }
.ct-price .sale-tag { margin-left: 8px; }
@media (max-width: 560px) {
  .ct-row { flex-wrap: wrap; gap: 10px; }
  .ct-thumb { width: 72px; }
  .ct-info { flex: 1 1 calc(100% - 130px); }
  .ct-price { order: 3; max-width: none; flex: 1; justify-content: flex-start; }
}
