/* Магазин и служебные страницы */
body.shop { height: auto; min-height: 100%; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #0b0d12ee; backdrop-filter: blur(8px); z-index: 5; }
.shop-head nav { display: flex; gap: 6px; flex-wrap: wrap; }
.shop-head nav a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid transparent; }
.shop-head nav a:hover, .shop-head nav a.active { color: var(--text); border-color: var(--line); }
.brand a.home { all: unset; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 28px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 20px 0 34px; }
.hero h1 { font-family: Cinzel, serif; font-size: 40px; line-height: 1.1; margin: 0 0 14px; letter-spacing: .03em; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.steps div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 12px; color: var(--muted); }
.steps b { display: block; color: var(--text); font-size: 13px; margin-bottom: 4px; }
.hero-art { aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, #2a1d10, #0b0d12 70%); }
.hero-art iframe, .product-art iframe { width: 100%; height: 100%; border: 0; display: block; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 18px; align-items: center; }
.filters button { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 13px; }
.filters button.active { border-color: var(--accent); color: var(--accent); }
.filters label { margin-left: auto; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.collection { border-radius: 16px; padding: 16px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; position: relative; overflow: hidden; }
.collection::after { content: ''; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--g); opacity: .35; filter: blur(30px); }
.collection h3 { font-family: Cinzel, serif; margin: 0 0 4px; font-size: 17px; }
.collection small { color: var(--muted); }
.collection .price { margin-top: 10px; font-weight: 800; font-size: 18px; color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .coin { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff9 0%, var(--g) 35%, #000 110%); box-shadow: inset 0 0 0 4px #c9952b88, 0 6px 16px #0008; display: grid; place-items: center; font: 800 18px Cinzel, serif; color: #fffd; text-shadow: 0 2px 6px #000; }
.card b { font-size: 13px; }
.card small { color: var(--muted); font-size: 11px; }
.card.sold, .card.reserved { opacity: .45; }
.tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tag.available { color: #4ade80; } .tag.reserved { color: #fbbf24; } .tag.sold { color: var(--muted); }
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 0; width: min(980px, 94vw); max-height: 92vh; }
dialog::backdrop { background: #000c; }
.product { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 520px; }
.product-art { background: #000; min-height: 420px; }
.product-info { padding: 22px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.product-info h2 { font-family: Cinzel, serif; margin: 0; }
.big-price { font-size: 30px; font-weight: 800; color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 10px; }
.form input[type=email], .form input[type=tel], .form input[type=password] { width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; outline: none; }
.notice { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.notice.ok { border-color: #4ade8088; } .notice.warn { border-color: #fbbf2488; } .notice.bad { border-color: #f8717188; }
.close { position: absolute; right: 12px; top: 10px; background: #0008; border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; z-index: 2; }
.panel-box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.panel-box h2 { font-family: Cinzel, serif; margin: 0 0 12px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: 14px; }
.checks li small { grid-column: 2; color: var(--muted); }
.checks .ok::before { content: '✓'; color: #4ade80; font-weight: 800; }
.checks .no::before { content: '✕'; color: #f87171; font-weight: 800; }
.verdict { font-family: Cinzel, serif; font-size: 26px; margin: 0 0 6px; }
.verdict.live { color: #4ade80; } .verdict.stale, .verdict.sleeping { color: #a5b4fc; } .verdict.fake, .verdict.broken { color: #f87171; } .verdict.unsold { color: var(--accent); }
table.orders { width: 100%; border-collapse: collapse; font-size: 13px; }
table.orders th, table.orders td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
code.mono, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.row-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row-inline > * { flex: 1; min-width: 140px; }
footer.foot { color: var(--muted); font-size: 12px; padding: 30px 28px; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer.foot a { color: var(--muted); }
@media (max-width: 860px) { .hero, .product { grid-template-columns: 1fr; } .collections { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } }
