/* Shared styles. The home page (GenetiKing.html) also has its own copy of the nav/footer rules. */
:root {
  --red: #e3111b;
  --red-dark: #9c0a10;
  --red-glow: rgba(227, 17, 27, 0.45);
  --black: #050505;
  --panel: rgba(8, 8, 8, 0.3);
  --panel-solid: rgba(14, 14, 14, 0.36);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f2f2;
  --muted: #a9a9a9;
  --steel: linear-gradient(180deg, #ffffff 0%, #d9d9d9 35%, #8f8f8f 55%, #f4f4f4 72%, #6b6b6b 100%);
  --font-head: "Rajdhani", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --velvet-1: #4d0a12;
  --velvet-2: #2c060b;
  --velvet-3: #150305;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--black);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: linear-gradient(180deg, rgba(5,5,5,0.92), rgba(5,5,5,0.7));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__logo img { height: 42px; width: auto; }
.nav__links {
  display: flex; gap: 34px; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav__links a { position: relative; padding: 6px 0; color: #e6e6e6; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--red); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red-glow);
}
.nav__icons { display: flex; gap: 22px; align-items: center; }
.nav__icons svg { width: 22px; height: 22px; stroke: #e6e6e6; fill: none; stroke-width: 1.8; }
.cart { position: relative; cursor: pointer; }
.cart__count {
  position: absolute; top: -8px; right: -10px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center;
}
.nav__burger { display: none; }

.btn {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 34px; border: 1px solid transparent; border-radius: 3px;
  cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red {
  background: linear-gradient(180deg, #ff2a33, var(--red) 55%, var(--red-dark));
  color: #fff; box-shadow: 0 0 22px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--red:hover { box-shadow: 0 0 34px var(--red-glow); }
.btn--ghost { background: rgba(0,0,0,0.35); color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--velvet {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(200, 30, 45, 0.55) 0%, rgba(200,30,45,0) 60%),
    linear-gradient(160deg, #7a101c 0%, #4a0a12 55%, #2c060b 100%);
  border-color: rgba(255, 80, 90, 0.45);
  box-shadow: 0 0 22px rgba(227, 17, 27, 0.28), inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.btn--velvet .btn__sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 1; }
.btn--velvet .btn__label { position: relative; z-index: 1; }
.btn--velvet:hover {
  border-color: rgba(255, 110, 120, 0.8);
  box-shadow: 0 0 34px rgba(227, 17, 27, 0.45), inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(0,0,0,0.5);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(230, 40, 55, 0.65) 0%, rgba(230,40,55,0) 60%),
    linear-gradient(160deg, #8e1320 0%, #560c15 55%, #33070d 100%);
}
.btn--small { padding: 10px 22px; font-size: 13px; }
.btn--block { display: block; width: 100%; }

.container { max-width: 1240px; margin: 0 auto; }
.section { padding: 80px 40px; }
.section__title {
  text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.section__title::after {
  content: ""; display: block; width: 64px; height: 2px; margin: 14px auto 0;
  background: var(--red); box-shadow: 0 0 12px var(--red-glow);
}
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--red);
}
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

.velvet {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 18% 8%, rgba(160, 20, 34, 0.55) 0%, rgba(160,20,34,0) 60%),
    radial-gradient(ellipse 70% 70% at 90% 100%, rgba(120, 12, 24, 0.45) 0%, rgba(120,12,24,0) 60%),
    linear-gradient(160deg, var(--velvet-1) 0%, var(--velvet-2) 48%, var(--velvet-3) 100%);
}
.velvet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.6  0 0 0 0 0.6  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35; mix-blend-mode: soft-light;
}
.velvet::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg,
      rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.48) 5%, rgba(5,5,5,0.32) 12%, rgba(5,5,5,0.12) 24%,
      rgba(5,5,5,0.12) 76%, rgba(5,5,5,0.38) 88%, rgba(5,5,5,0.6) 95%, rgba(5,5,5,0.7) 100%);
}
.velvet--fade-top-only::after {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.32) 12%, rgba(5,5,5,0.12) 24%, rgba(5,5,5,0.12) 100%);
}
.velvet > * { position: relative; z-index: 1; }
.velvet__sparks {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  mix-blend-mode: screen; opacity: 0.75;
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  display: flex; flex-direction: column;
  background: rgba(8, 4, 5, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 18px 18px 22px; text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.product:hover {
  transform: translateY(-4px);
  border-color: rgba(255,80,90,0.55);
  box-shadow: 0 14px 36px rgba(0,0,0,0.6), 0 0 24px rgba(227,17,27,0.2);
}
.product__img {
  display: block; border-radius: 3px; overflow: hidden; background: #f3f3f3;
  aspect-ratio: 1 / 1;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product:hover .product__img img { transform: scale(1.04); }
.product__cat { margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #d98a90; }
.product h3 {
  margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 19px;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.product h3 a:hover { color: #ff7078; }
.product .dose { margin-top: 4px; font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.product .price { margin-top: 8px; font-weight: 700; font-size: 20px; color: #ff3b45; }
.product__actions { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.shop-head {
  padding: 56px 40px 28px;
  background: linear-gradient(180deg, var(--black) 0%, var(--black) 45%, rgba(58, 8, 14, 0.55) 100%);
}
.shop-head h1 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(150,0,0,0.9));
}
.shop-head p { margin-top: 10px; color: var(--muted); max-width: 640px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; color: #ddd;
  transition: all .2s;
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 14px var(--red-glow); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.sort select {
  font: inherit; color: #fff; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px; padding: 8px 12px;
}
.shop-grid { padding: 44px 40px 80px; }
.shop-count { color: #c9a0a4; font-size: 13px; margin-bottom: 18px; letter-spacing: 0.06em; }

.pd { padding: 48px 40px 64px; }
.pd__wrap { display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: 52px; align-items: start; }
.pd__gallery {
  background: #f3f3f3; border-radius: 4px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
}
.pd__gallery img { width: 100%; height: auto; }
.pd__title {
  margin-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.05;
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(150,0,0,0.9));
}
.pd__sub { margin-top: 6px; color: #e0b7bb; font-size: 15px; letter-spacing: 0.04em; }
.pd__dose { margin-top: 10px; font-size: 14px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.pd__price { margin-top: 14px; font-size: 32px; font-weight: 700; color: #ff3b45; }
.pd__short { margin-top: 18px; color: #e6e6e6; line-height: 1.7; max-width: 560px; }
.pd__buy { margin-top: 26px; display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.qty { display: flex; border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; overflow: hidden; background: rgba(0,0,0,0.45); }
.qty button { width: 42px; font-size: 20px; color: #fff; }
.qty button:hover { background: rgba(255,255,255,0.08); }
.qty input {
  width: 56px; text-align: center; font: inherit; font-weight: 700; color: #fff;
  background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,0.2); border-right: 1px solid rgba(255,255,255,0.2);
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd__meta { margin-top: 22px; font-size: 13px; color: var(--muted); display: flex; gap: 22px; flex-wrap: wrap; }
.pd__meta b { color: #fff; font-weight: 600; }
.pd__meta a { color: #ff7078; }
.pd__ruo {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase;
  color: #ff7078; border: 1px solid rgba(255,90,100,0.4); border-radius: 2px; background: rgba(0,0,0,0.4);
}
.pd__ruo svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.pd-desc {
  padding: 64px 40px;
  background: linear-gradient(180deg, rgba(58, 8, 14, 0.6) 0%, var(--black) 26%, var(--black) 74%, rgba(58, 8, 14, 0.6) 100%);
}
.pd-desc__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.pd-desc h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.pd-desc h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 12px; background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.pd-desc p { margin-top: 18px; color: #d6d6d6; line-height: 1.75; }
.pd-desc .disclaimer { margin-top: 22px; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.18em; font-size: 13px; color: #ff7078; }
.specs { margin-top: 22px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.specs div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 12px 16px; font-size: 14px; border-top: 1px solid var(--border); }
.specs div:first-child { border-top: 0; }
.specs div:nth-child(odd) { background: rgba(255,255,255,0.03); }
.specs dt { color: var(--muted); }
.specs dd { color: #fff; }

.related { padding: 64px 0 90px; }
.related .container { padding: 0 40px; }

.marquee {
  margin-top: 40px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; gap: 22px; padding-right: 22px; }
.marquee .product { width: 260px; flex: 0 0 260px; }
.marquee__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(8, 4, 5, 0.75); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
}
.marquee__arrow svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; }
.marquee__arrow:hover { border-color: var(--red); background: rgba(227,17,27,0.25); box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 18px var(--red-glow); }
.marquee__arrow:active { transform: translateY(-50%) scale(0.94); }
.marquee__arrow--prev { left: 18px; }
.marquee__arrow--next { right: 18px; }

.footer {
  background: linear-gradient(180deg, rgba(44, 6, 11, 0.42) 0%, rgba(3,3,3,0.95) 24%, #030303 100%);
  border-top: 0; padding: 60px 40px 0;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__logo img { width: 200px; }
.footer h5 { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer li a:hover { color: var(--red); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.socials a:hover { border-color: var(--red); background: rgba(227,17,27,0.12); }
.socials svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer__bottom .ruo { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #dcdcdc; }
.footer__legal { width: 100%; margin: 0; text-align: center; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 100;
  background: #0b0b0b; border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-drawer__head h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 18px; }
.cart-drawer__close { font-size: 28px; line-height: 1; color: #bbb; padding: 0 6px; }
.cart-drawer__close:hover { color: #fff; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-drawer__empty { color: var(--muted); padding: 30px 0; text-align: center; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; background: #f3f3f3; }
.cart-item__info { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.cart-item__info a { font-weight: 600; color: #fff; }
.cart-item__info a:hover { color: #ff7078; }
.cart-item__info span { color: var(--muted); font-size: 12px; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-item__qty button { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,0.3); border-radius: 3px; color: #fff; }
.cart-item__qty button:hover { border-color: var(--red); color: var(--red); }
.cart-item__line { color: #ff3b45; }
.cart-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--border); }
.cart-drawer__total { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.cart-drawer__total strong { color: #ff3b45; font-size: 18px; }
.cart-drawer__checkout { width: 100%; }
.cart-drawer__note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 110;
  background: #0f0f0f; color: #fff; border: 1px solid rgba(255,80,90,0.5); border-radius: 4px;
  padding: 12px 20px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 18px var(--red-glow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pd__wrap { grid-template-columns: 1fr; gap: 32px; }
  .pd__gallery { max-width: 480px; }
  .pd-desc__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav { padding: 12px 18px; }
  .nav__logo img { height: 34px; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(5,5,5,0.95);
    border-bottom: 1px solid var(--border); padding: 8px 0;
  }
  .nav__links.open { display: flex; }
  .nav__links li a { display: block; padding: 14px 22px; }
  .nav__links a.active::after { display: none; }
  .nav__icons { gap: 18px; }
  .nav__burger { display: block; width: 26px; height: 26px; stroke: #fff; stroke-width: 2; fill: none; cursor: pointer; }
  .section, .shop-head, .shop-grid, .pd, .pd-desc { padding-left: 18px; padding-right: 18px; }
  .related .container { padding: 0 18px; }
  .marquee .product { width: 210px; flex: 0 0 210px; }
  .marquee__arrow { width: 40px; height: 40px; }
  .marquee__arrow--prev { left: 8px; }
  .marquee__arrow--next { right: 8px; }
  .shop-head { padding-top: 36px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 12px 12px 16px; }
  .product h3 { font-size: 16px; }
  .product__actions .btn { padding: 9px 12px; font-size: 12px; }
  .footer { padding: 48px 18px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .pd__buy .btn { flex: 1; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
}

  .legal-head { padding: 64px 40px 72px; text-align: center; }
  .legal-head h1 {
    margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4.5vw, 52px);
    letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 rgba(150,0,0,0.9));
  }
  .legal-head p { margin: 14px auto 0; max-width: 640px; color: #e0b7bb; font-size: 15px; line-height: 1.6; }
  .legal-head .updated { margin-top: 18px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

  .legal { padding: 56px 40px 90px; background: linear-gradient(180deg, rgba(58,8,14,0.5) 0%, var(--black) 18%); }
  .legal__wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
  .toc { position: sticky; top: 92px; }
  .toc h4 { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
  .toc ol { list-style: none; counter-reset: toc; }
  .toc li { counter-increment: toc; margin-bottom: 8px; font-size: 13.5px; }
  .toc li a { color: var(--muted); display: flex; gap: 10px; transition: color .2s; }
  .toc li a::before { content: counter(toc, decimal-leading-zero); color: #7a4b50; font-variant-numeric: tabular-nums; }
  .toc li a:hover { color: #fff; }

  .legal__body { max-width: 760px; }
  .notice {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px 20px; border: 1px solid rgba(255,90,100,0.45); border-radius: 4px;
    background: linear-gradient(135deg, rgba(120,12,24,0.35), rgba(30,4,8,0.6));
    box-shadow: 0 0 24px rgba(227,17,27,0.12);
  }
  .notice svg { flex: 0 0 26px; width: 26px; height: 26px; stroke: #ff5a64; fill: none; stroke-width: 2; margin-top: 2px; }
  .notice strong { display: block; font-family: var(--font-head); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: #ff7078; margin-bottom: 4px; }
  .notice p { color: #f0d6d8; line-height: 1.65; font-size: 14.5px; }

  .legal__body h2 {
    margin-top: 48px; font-family: var(--font-head); font-weight: 700; font-size: 22px;
    letter-spacing: 0.1em; text-transform: uppercase; color: #fff; scroll-margin-top: 92px;
  }
  .legal__body h2::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 10px; background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
  .legal__body p { margin-top: 16px; color: #d6d6d6; line-height: 1.8; }
  .legal__body ul { margin: 14px 0 0 20px; color: #d6d6d6; line-height: 1.8; }
  .legal__body li { margin-bottom: 6px; }
  .legal__body li::marker { color: var(--red); }
  .legal__body strong { color: #fff; }
  .legal__body a:not(.btn) { color: #ff7078; text-decoration: underline; text-underline-offset: 3px; }
  .legal__body .caps { text-transform: uppercase; font-size: 13.5px; letter-spacing: 0.02em; color: #e6e6e6; }
  .ack {
    margin-top: 48px; padding: 24px 26px; border-radius: 4px;
    background: rgba(14,14,14,0.6); border: 1px solid var(--border);
  }
  .ack h3 { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
  .ack p { margin-top: 10px; }
  .ack .btns { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

  @media (max-width: 900px) {
    .legal__wrap { grid-template-columns: 1fr; gap: 28px; }
    .toc { position: static; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
    .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  }
  @media (max-width: 720px) {
    .legal-head, .legal { padding-left: 18px; padding-right: 18px; }
    .toc ol { grid-template-columns: 1fr; }
  }

.faq { margin-top: 28px; }
.faq details { border: 1px solid var(--border); border-radius: 4px; background: rgba(14,14,14,0.6); margin-bottom: 10px; overflow: hidden; }
.faq details[open] { border-color: rgba(255,80,90,0.45); box-shadow: 0 0 18px rgba(227,17,27,0.1); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--red); transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #ff7078; }
.faq .faq__a { padding: 0 20px 20px; color: #d6d6d6; line-height: 1.75; }
.faq .faq__a p + p { margin-top: 10px; }
.faq .faq__a a { color: #ff7078; text-decoration: underline; text-underline-offset: 3px; }
.faq-group { margin-top: 44px; }
.faq-group h2 { scroll-margin-top: 92px; }
