html[data-theme="dark"] .shop-page { --bg:#101214; --surface:#191b1f; --text:#f1f2f5; --muted:#b8bbc3; --line:#34373d; --accent:#2879f4; --accent-hover:#438bfa; --accent-soft:#162a47; --accent-ink:#fff; --soft:#202328; --control-surface:#191b1f; --control-text:#f1f2f5; --control-line:#41454c; --focus:#79aaff; --shadow:0 10px 24px rgba(0,0,0,.14); }
html[data-theme="light"] .shop-page { --bg:#f3f4f6; --surface:#fff; --text:#17191d; --muted:#5c6068; --line:#d9dce1; --accent:#176be8; --accent-hover:#075bd3; --accent-soft:#e5efff; --accent-ink:#fff; --soft:#eaecf0; --control-surface:#fff; --control-text:#17191d; --control-line:#d0d4dc; --focus:#347fe6; --shadow:0 8px 20px rgba(20,30,50,.06); }
.shop-page { background:var(--bg); }
.shop-home .shop-main { width:100%; }
.shop-hero { display:grid; place-items:center; padding:58px 24px 0; color:var(--text); text-align:center; }
.shop-hero-content { max-width:760px; }
.shop-intro { margin:0 0 10px; color:var(--muted); font-size:14px; }
.shop-hero h1 { margin:0; color:#f5f5f5; font-size:34px; font-weight:700; line-height:1.3; }
.shop-hero-content > p:last-child { margin:24px auto 0; color:#f0f0f0; font-size:20px; font-weight:600; line-height:1.5; }
.shop-products { position:relative; width:min(1120px,calc(100% - 48px)); margin:56px auto 0; padding-bottom:80px; }
.shop-page .legal-main { padding-top:36px; }
.shop-page .footer-top { padding-bottom:20px; }
.shop-page .footer-bottom { padding-top:12px; }
.shop-page::before { display:none; }
.shop-page:not(.shop-home) .footer-links { display:none; }
.shop-home .product-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:stretch; }
.product { min-width:0; padding:40px; border:1px solid var(--line); border-radius:18px; background:var(--surface); box-shadow:var(--shadow); }
.product--monthly { border-color:var(--line); background:var(--bg); color:var(--text); }
.product--lifetime { position:relative; border-color:#2879f4; background:#2879f4; color:#fff; }
.product-copy { display:flex; height:100%; flex-direction:column; align-items:flex-start; }
.product-tag { display:inline-block; margin-bottom:22px; padding:5px 9px; border:1px solid var(--line); border-radius:6px; color:var(--muted); font-size:var(--font-xs); }
.product--lifetime .product-tag { border-color:transparent; background:var(--accent-soft); color:var(--accent); }
.product h2 { font-size:28px; font-weight:600; line-height:1.35; }
.home-price { margin:3px 0 6px; font-size:38px; font-weight:600; line-height:1.3; }
.description { max-width:500px; min-height:56px; margin-bottom:0; color:var(--muted); font-size:16px; line-height:1.65; }
.product--lifetime .description { color:#e5efff; }
.features { display:grid; gap:16px; margin:8px 0 30px; padding-left:22px; list-style:disc; }
.features li { display:list-item; font-size:16px; }
.features svg { width:17px; height:17px; color:var(--accent); }
.product--lifetime .features { color:#fff; }
.purchase-row { display:block; width:100%; margin-top:auto; padding:0; border-top:0; }
.price-block span { display:block; color:var(--muted); font-size:var(--font-xs); }
.price-block strong { font-size:38px; font-weight:600; }
.buy-button { display:flex; min-height:50px; align-items:center; justify-content:center; gap:16px; padding:12px 22px; border:0; border-radius:8px; background:var(--accent); color:var(--accent-ink); font-size:16px; font-weight:600; }
.buy-button:hover { background:var(--accent-hover); }
.product--monthly .buy-button { background:#2879f4; color:#fff; }
.product--monthly .buy-button:hover { background:#438bfa; }
.product--lifetime .buy-button { background:#fff; color:#176be8; }
.product--lifetime .buy-button:hover { background:#eaf2ff; }
.buy-button svg { width:18px; height:18px; }
.shop-help { margin-top:50px; }
.footer-icons { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.footer-icons a { display:grid; width:44px; height:44px; place-items:center; border:1px solid var(--line); border-radius:8px; background:var(--soft); color:var(--text); }
.footer-icons img { width:42px; height:42px; border-radius:7px; }
.footer-icons svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; }
.footer-icons a[aria-disabled] { cursor:default; }
.footer-icons a:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.payment-links { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:24px; }
.payment-link { display:inline-flex; align-items:center; gap:12px; color:var(--text); font-size:var(--font-sm); }
.payment-link img { width:42px; height:42px; border-radius:8px; background:#fff; object-fit:contain; }
.social-placeholders { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.social-placeholder { padding:9px 12px; border:1px solid var(--line); border-radius:6px; color:var(--muted); font-size:var(--font-xs); }
.social-placeholder:hover { background:var(--soft); color:var(--text); }
.modal-backdrop { position:fixed; z-index:50; inset:0; display:flex; overflow:auto; align-items:center; justify-content:center; padding:24px; background:rgba(8,10,14,.78); backdrop-filter:blur(8px); }
.modal { position:relative; width:100%; max-width:470px; max-height:calc(100svh - 48px); overflow:auto; padding:32px; border:1px solid var(--line); border-radius:8px; background:var(--surface); box-shadow:var(--shadow); }
.modal-close { position:absolute; top:14px; right:14px; display:grid; width:36px; height:36px; place-items:center; border:0; border-radius:6px; background:var(--soft); }
.modal-icon { display:grid; width:48px; height:48px; place-items:center; margin-bottom:22px; border-radius:8px; background:var(--accent-soft); color:var(--accent); }
.modal h2 { margin-bottom:12px; font-size:var(--font-h3); }
.modal p { color:var(--muted); font-size:var(--font-sm); line-height:1.7; }
.modal form { margin-top:24px; }
.modal label { display:block; margin-bottom:8px; font-size:var(--font-sm); }
.modal input { width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--line); border-radius:6px; background:var(--bg); color:var(--text); }
.modal input.invalid { border-color:#d76a68; }
.modal input:focus { border-color:var(--accent); outline:2px solid var(--focus); outline-offset:0; }
.modal input + label { margin-top:18px; }
.field-hint { display:block; margin:9px 0 20px; color:var(--muted); font-size:var(--font-xs); }
.field-hint.error { color:#d96e6a; }
[data-theme="light"] .field-hint.error { color:#a82724; }
.modal button[type="submit"] { width:100%; min-height:48px; border:0; border-radius:6px; background:var(--accent); color:var(--accent-ink); font-size:var(--font-sm); font-weight:600; }
@media(max-width:760px) {
  .shop-page .page-main { padding-top:24px; }
  .shop-page .legal-main { padding-top:24px; }
  .shop-hero { padding:42px 22px 0; }
  .shop-hero h1 { font-size:28px; }
  .shop-hero-content > p:last-child { margin-top:18px; font-size:17px; }
  .shop-products { width:min(100% - 32px,520px); margin-top:34px; padding-bottom:52px; }
  .shop-home .product-list { grid-template-columns:1fr; gap:20px; }
  .product { padding:28px; border-radius:14px; }
  .product h2 { font-size:24px; }
  .price-block strong { font-size:34px; }
  .description { min-height:0; }
  .modal { padding:28px 22px; }
  .price-block strong { font-size:30px; }
}
