/* The shop page on top of style.css */
.shop-page main { display: grid; gap: 0; }
.shop-hero { min-height: 460px; padding: 0; display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 20px; color: #fff; margin-top: 10px; --c: var(--gold); }
.shop-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: -2; animation: kb 22s ease-out forwards; }
.shop-hero::before { opacity: 1 !important; background: linear-gradient(90deg, rgba(8, 6, 16, .92) 0%, rgba(8, 6, 16, .55) 50%, rgba(8, 6, 16, .1) 100%); }
.shop-hero .body { padding: 40px; max-width: 640px; }
.shop-hero h1 { font-size: clamp(36px, 5.5vw, 66px); margin: 10px 0 14px; }
.shop-hero .lead { color: rgba(255, 255, 255, .82); font-size: 18px; max-width: 520px; }
.shop-hero .kicker { color: rgba(255, 255, 255, .8); }
.shop-hero .trust { margin-top: 22px; }
.shop-hero .trust .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); cursor: default; }
.shop-hero .who { padding: 24px; align-self: center; }
.who-card { min-height: 0; background: var(--glass); backdrop-filter: blur(16px); color: var(--text); }
.who-card.ok { border-color: rgba(52, 224, 140, .4); }
.who-card .idline { font-size: 26px; margin: 2px 0 2px; }
.who-card .btn { margin-top: 14px; align-self: flex-start; }
@media (max-width: 860px) { .shop-hero { grid-template-columns: 1fr; } .shop-hero .body { padding: 26px 22px 0; } .shop-hero .who { padding: 0 16px 16px; } .shop-hero::before { background: linear-gradient(180deg, rgba(8, 6, 16, .5), rgba(8, 6, 16, .92)); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { min-height: 0; }
.step b { position: absolute; right: 22px; top: 14px; font: 700 64px/1 var(--display); opacity: .1; }
.step img { width: 52px; height: 52px; margin-bottom: 12px; }
.step h3 { margin-bottom: 6px; }

.daily.free { flex-direction: row; align-items: center; gap: 24px; min-height: 0; margin-bottom: 8px; }
.daily.free .gift { width: 120px; margin: 0; }
.daily.free .act { margin-left: auto; }
@media (max-width: 760px) { .daily.free { flex-direction: column; align-items: flex-start; } .daily.free .gift { align-self: center; } .daily.free .act { margin: 0; } }

.page-head .h { font-size: clamp(28px, 3.6vw, 42px); margin-top: 6px; }
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .packs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr 1fr; gap: 12px; } }
.pack-card { align-items: center; text-align: center; min-height: 0; padding: 22px 16px 18px; }
.pack-card .tier { width: 82%; aspect-ratio: 1; object-fit: contain; margin: 4px auto 6px; transition: transform .6s var(--spring); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .35)); }
.pack-card:hover .tier { transform: translateY(-8px) scale(1.06) rotate(-3deg); }
.pack-card .amount { display: flex; align-items: center; gap: 6px; font: 700 30px var(--display); }
.pack-card .amount img { width: 30px; height: 30px; }
.pack-card .soft { font-size: 13px; margin-bottom: 14px; }
.pack-card .btn { width: 100%; margin-top: auto; }
.pack-card .tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #ffd25a, #ff9f1a); color: #2b1600; font-size: 12px; font-weight: 800; white-space: nowrap; z-index: 2; }
.picked { outline: 3px solid var(--gold); outline-offset: 3px; animation: picked 1.6s ease-in-out 3; }
@keyframes picked { 50% { outline-color: transparent; } }

.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.promo-card { min-height: 360px; cursor: pointer; background: radial-gradient(120% 90% at 50% 20%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), var(--tile); }
.promo-card .rays { position: absolute; z-index: -1; left: 50%; top: 40%; width: 420px; height: 420px; margin: -210px 0 0 -210px; opacity: .14;
  background: repeating-conic-gradient(from 0deg, var(--c) 0 10deg, transparent 10deg 30deg); border-radius: 50%; animation: spin 40s linear infinite; mask-image: radial-gradient(circle, #000 20%, transparent 70%); }
.promo-card .top-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.promo-card .deal { padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; }
.promo-card .timer { font-size: 13px; font-weight: 800; color: var(--soft); }
.promo-card h3 { margin: 12px 0 6px; }
.promo-card .goods { position: relative; display: grid; place-items: center; height: 150px; }
.promo-card .goods .main { height: 130px; width: auto; object-fit: contain; transition: transform .6s var(--spring); filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .35)); }
.promo-card .goods .skinart { height: 150px; width: auto; object-fit: contain; }
.promo-card:hover .goods img { transform: scale(1.08) rotate(-3deg); }
.promo-card .goods b { position: absolute; right: 18%; bottom: 8px; font: 700 26px var(--display); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.promo-card .price { margin-top: auto; display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.promo-card .price s { color: var(--mute); font-weight: 800; }
.promo-card .price .btn { flex: 1; }

.info .tile p { color: var(--soft); }
.info .tile p a, .info .tile .kv a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.info .tile { min-height: 0; }

.checkout .items { display: grid; gap: 8px; margin: 6px 0 14px; }
.checkout .item { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 16px; background: var(--tile2); }
.checkout .item img { width: 46px; height: 46px; object-fit: contain; }
.checkout .item small { display: block; color: var(--mute); font-size: 12px; }
.checkout .item span { font-family: var(--display); font-weight: 700; color: var(--text); }
.checkout .sum { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 12px 4px; border-top: 1px solid var(--line); }
.checkout .sum b { text-align: right; color: var(--text); }
.checkout .sum .total { font: 700 22px var(--display); }
.checkout .sum s { color: var(--mute); font-size: 15px; }
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14px; margin-top: 10px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--violet); flex: none; }
.agree a { text-decoration: underline; }
.modal .login { text-align: left; margin-top: 12px; }

/* full documents on the shop page: offer, payment/refund, privacy */
.legal { display: grid; gap: 12px; }
.doc-block { min-height: 0; padding: 0; overflow: hidden; }
.doc-block summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 20px 56px 20px 24px; position: relative; }
.doc-block summary::-webkit-details-marker { display: none; }
.doc-block summary span { font: 700 20px var(--display); color: var(--text); }
.doc-block summary small { color: var(--mute); font-size: 13px; }
.doc-block summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font: 700 28px var(--display); color: var(--soft); transition: rotate .3s var(--spring); }
.doc-block[open] summary::after { rotate: 45deg; }
.doc-block[open] summary { border-bottom: 1px solid var(--line); }
.doc-body { padding: 8px 24px 24px; color: var(--soft); font-size: 15px; line-height: 1.6; max-width: 900px; }
.doc-block[open] .doc-body { animation: docIn .35s ease-out; }
@keyframes docIn { from { opacity: 0; transform: translateY(-6px); } }
.doc-body h4 { margin: 22px 0 8px; font: 700 17px var(--display); color: var(--text); }
.doc-body h5 { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.doc-body p, .doc-body ul, .doc-body ol { margin: 0 0 10px; }
.doc-body ul, .doc-body ol { padding-left: 22px; }
.doc-body b { color: var(--text); }
.doc-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.doc-body .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 10px; }
.doc-body .card { padding: 14px 16px; border-radius: 16px; background: var(--tile2); }
.doc-body .card p { margin: 0; }
.doc-body .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.doc-body .kv b, .doc-body .kv a { overflow-wrap: anywhere; }
@media (max-width: 620px) { .doc-body .grid2 { grid-template-columns: 1fr; } .doc-body { padding: 6px 18px 20px; } .doc-block summary { padding: 18px 48px 18px 18px; } }
.promo-card .what { position: relative; margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--soft); text-align: center; }

/* header: currency (₽ / $) and language */
.support-tile.flat { justify-content: center; }
.seg { position: relative; display: flex; height: 42px; padding: 4px; border-radius: 999px; background: var(--tile); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; min-width: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--soft); font: 800 16px var(--display); cursor: pointer; transition: color .25s, background .35s var(--spring), transform .3s var(--spring); }
.seg button.on { color: #fff; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(192, 77, 255, .7); }
.seg button:not(.on):hover { color: var(--text); transform: translateY(-1px); }
.seg button.on { animation: segPop .4s var(--spring); }
@keyframes segPop { from { transform: scale(.8); } }
.icon-btn.lang { font: 800 14px var(--display); color: var(--text); text-decoration: none; }
@media (max-width: 480px) { header.top { padding-left: 14px; padding-right: 14px; } header.top .brand span { display: none; } }
@media (max-width: 760px) { .seg { height: 38px; } .seg button { min-width: 30px; padding: 0 8px; font-size: 15px; } .icon-btn.lang { width: 38px; height: 38px; } }
