/* ============================================
   Shop module v1.4.0 — full redesign
   S2 Catalog · PD-MIX-V2 Product · C1 Cart+Checkout
   PR2+ Profile · AD3 Admin Dashboard
   ============================================ */

:root {
    --shop-accent: var(--accent, #3b82f6);
    --shop-accent-br: var(--accent-bright, #60a5fa);
    --shop-green: #22c55e;
    --shop-green-br: #4ade80;
    --shop-yellow: #eab308;
    --shop-yellow-br: #fde047;
    --shop-red: #ef4444;
    --shop-red-br: #fca5a5;
    --shop-gold: rgba(234,179,8,0.22);
    --shop-gold-br: rgba(234,179,8,0.4);
}

.shop-page { padding: 40px 24px 80px; max-width: 1280px; margin: 0 auto; font-family: var(--font-body); }
.shop-page.narrow { max-width: 860px; }

/* Alerts */
.shop-alert { padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 18px; }
.shop-alert.success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); color: var(--shop-green-br); }
.shop-alert.error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); color: var(--shop-red-br); }
.shop-alert.warning { background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.3); color: var(--shop-yellow-br); }

/* Back link */
.shop-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); text-decoration: none; font-size: 0.85rem; margin-bottom: 18px; font-family: var(--font-mono); }
.shop-back:hover { color: var(--shop-accent-br); }

/* ============================================
   S2 — Catalog (Hero + Spotlight)
   ============================================ */
.shop-hero {
    height: 240px;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 28px;
    background:
        linear-gradient(135deg, rgba(59,130,246,0.25), rgba(139,92,246,0.15)),
        linear-gradient(135deg, #1a2332 0%, #2d1f3d 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.shop-hero::before {
    content: '';
    position: absolute; right: -80px; top: -40px;
    width: 360px; height: 360px;
    background: radial-gradient(ellipse, rgba(139,92,246,0.2), transparent 60%);
}
.shop-hero-eyebrow { font-family: var(--font-mono); font-size: 0.78rem; color: var(--shop-accent-br); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; position: relative; }
.shop-hero h1 { font-family: var(--font-display); font-size: 2.4rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05; margin-bottom: 10px; position: relative; max-width: 640px; }
.shop-hero p { color: rgba(255,255,255,0.75); font-size: 0.98rem; max-width: 560px; line-height: 1.5; margin-bottom: 18px; position: relative; }
.shop-hero-actions { display: flex; gap: 10px; position: relative; }
.shop-hero-btn { padding: 10px 18px; border-radius: 9px; text-decoration: none; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.15s; }
.shop-hero-btn.primary { background: var(--shop-accent); color: #fff; }
.shop-hero-btn.primary:hover { background: var(--shop-accent-br); }
.shop-hero-btn.ghost { background: rgba(255,255,255,0.08); color: var(--text-hi); backdrop-filter: blur(8px); }
.shop-hero-btn.ghost:hover { background: rgba(255,255,255,0.14); }
.shop-hero-cart-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); border-radius: 7px; color: var(--text-hi); font-size: 0.82rem; margin-left: 4px; font-family: var(--font-mono); }
.shop-hero-cart-badge .cnt { background: var(--shop-accent); color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 0.7rem; }

/* Featured Spotlight */
.shop-spotlight {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: minmax(160px, auto);
    gap: 14px;
    margin-bottom: 40px;
}
.shop-spotlight-head {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-display); font-size: 1.1rem;
    color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em;
    padding-bottom: 10px; border-bottom: 1px solid var(--line);
    margin-bottom: -2px;
}
.shop-spotlight-head .ico { width: 28px; height: 28px; border-radius: 7px; background: rgba(234,179,8,0.18); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.shop-spotlight-head .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); font-weight: 400; text-transform: none; letter-spacing: 0; }

.shop-feat-big {
    grid-row: span 2;
    background: var(--surface);
    border: 1px solid var(--shop-gold-br);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.1s;
    position: relative;
}
.shop-feat-big:hover { border-color: var(--shop-yellow); transform: translateY(-2px); }
.shop-feat-big .cover {
    flex: 1;
    min-height: 220px;
    background: linear-gradient(135deg, #2a2418, #1f1a28);
    display: flex; align-items: center; justify-content: center;
    font-size: 9rem;
    position: relative;
    overflow: hidden;
}
.shop-feat-big .cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-feat-big .cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(234,179,8,0.18), transparent 60%); }
.shop-feat-big .cover .badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; background: var(--shop-gold); border: 1px solid var(--shop-gold-br); color: var(--shop-yellow-br); border-radius: 7px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.shop-feat-big .body { padding: 16px 20px; }
.shop-feat-big .body h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 6px; }
.shop-feat-big .body .meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.shop-feat-big .body .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.shop-feat-big .body .price { font-family: var(--font-display); font-size: 1.4rem; color: var(--shop-accent-br); font-weight: 700; }
.shop-feat-big .body .cta { padding: 7px 14px; background: var(--shop-accent); color: #fff; border-radius: 8px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; }

.shop-feat-small {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    transition: border-color 0.15s, transform 0.1s;
}
.shop-feat-small:hover { border-color: var(--shop-accent); transform: translateY(-2px); }
.shop-feat-small .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, #1f2a26, #2a2620); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; position: relative; }
.shop-feat-small .cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-feat-small .cover .badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; background: var(--shop-gold); border: 1px solid var(--shop-gold-br); color: var(--shop-yellow-br); border-radius: 5px; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; text-transform: uppercase; }
.shop-feat-small .body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.shop-feat-small .body h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.02em; }
.shop-feat-small .body .meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.shop-feat-small .foot { padding: 9px 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.shop-feat-small .foot .price { font-family: var(--font-display); font-size: 1rem; color: var(--shop-accent-br); font-weight: 600; }
.shop-feat-small .foot .arrow { color: var(--text-dim); }

/* Category block (below spotlight) */
.shop-category-block { margin-bottom: 40px; }
.shop-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.shop-cat-head .ico { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; background: rgba(59,130,246,0.1); }
.shop-cat-head h2 { flex: 1; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }
.shop-cat-head .cnt { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* Product card */
.shop-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, transform 0.1s;
    text-decoration: none;
    color: inherit;
}
.shop-card:hover { border-color: var(--shop-accent); transform: translateY(-2px); }
.shop-card.featured { border-color: var(--shop-gold-br); }
.shop-card-cover {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1f2a26, #2a2620);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem;
    position: relative;
    overflow: hidden;
}
.shop-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-badge {
    position: absolute; top: 8px; left: 8px;
    padding: 3px 8px; border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 0.62rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    background: rgba(0,0,0,0.6); color: var(--text-hi);
    backdrop-filter: blur(6px);
}
.shop-card-badge.featured { background: var(--shop-gold); color: var(--shop-yellow-br); border: 1px solid var(--shop-gold-br); }
.shop-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.shop-card-title { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-hi); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3; }
.shop-card-type { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.shop-card-foot { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.shop-card-price { font-family: var(--font-display); font-size: 1.05rem; color: var(--shop-accent-br); font-weight: 600; }
.shop-card-cta { padding: 5px 11px; background: var(--surface-2); color: var(--text-dim); border-radius: 7px; font-family: var(--font-mono); font-size: 0.68rem; transition: all 0.15s; }
.shop-card:hover .shop-card-cta { background: var(--shop-accent); color: #fff; }

.shop-empty { padding: 60px 30px; text-align: center; color: var(--text-dim); background: var(--surface); border: 1px dashed var(--line-2); border-radius: 12px; }
.shop-empty .em { font-size: 3rem; display: block; margin-bottom: 12px; opacity: 0.6; }

/* ============================================
   PD-MIX-V2 — Product detail (Split + Bento)
   ============================================ */
.shop-pd { }
.shop-pd-breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin-bottom: 18px; }
.shop-pd-breadcrumb a { color: var(--text); text-decoration: none; }
.shop-pd-breadcrumb a:hover { color: var(--shop-accent-br); }
.shop-pd-breadcrumb .sep { margin: 0 6px; }
.shop-pd-breadcrumb .current { color: var(--text-hi); }

.shop-pd-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 28px;
}
@media (max-width: 900px) { .shop-pd-hero { grid-template-columns: 1fr; } }

.shop-pd-cover {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #2a3026 0%, #1a1f18 100%);
    border-radius: 14px;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-size: 9rem;
    position: relative;
    overflow: hidden;
}
.shop-pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-pd-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(234,179,8,0.14), transparent 60%); }
.shop-pd-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.shop-pd-badge { padding: 5px 11px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; backdrop-filter: blur(8px); }
.shop-pd-badge.pop { background: var(--shop-gold); border: 1px solid var(--shop-gold-br); color: var(--shop-yellow-br); }

.shop-pd-info { display: flex; flex-direction: column; }
.shop-pd-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; color: var(--shop-accent-br); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 10px; }
.shop-pd-info h1 { font-family: var(--font-display); font-size: 2.2rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; margin-bottom: 14px; }
.shop-pd-lead { color: var(--text); font-size: 0.95rem; line-height: 1.65; margin-bottom: 20px; }
.shop-pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.shop-pd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 7px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text); }
.shop-pd-chip strong { color: var(--shop-accent-br); }

.shop-pd-buy {
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: auto;
}
.shop-pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.shop-pd-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--shop-accent-br); font-weight: 700; line-height: 1; }
.shop-pd-price-sub { color: var(--text-dim); font-size: 0.82rem; font-family: var(--font-mono); margin-bottom: 16px; }
.shop-pd-actions { display: grid; gap: 10px; margin-bottom: 16px; }
.shop-pd-btn {
    padding: 13px 18px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s;
    text-decoration: none;
}
.shop-pd-btn.primary { background: var(--shop-accent); color: #fff; }
.shop-pd-btn.primary:hover { background: var(--shop-accent-br); }
.shop-pd-btn.ghost { background: transparent; color: var(--shop-accent-br); border: 1px solid var(--shop-accent); }
.shop-pd-btn.ghost:hover { background: rgba(59,130,246,0.08); }
.shop-pd-btn.steam-login { background: linear-gradient(135deg, #1b2838, #2a475e); color: #fff; }
.shop-pd-btn.steam-login:hover { filter: brightness(1.1); }
.shop-pd-trust { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--text-dim); font-family: var(--font-mono); }
.shop-pd-trust div { display: flex; align-items: center; gap: 6px; }
.shop-pd-trust .ok { color: var(--shop-green-br); }

/* PD Bento */
.shop-pd-bento {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}
@media (max-width: 900px) { .shop-pd-bento { grid-template-columns: 1fr; } }

.shop-pd-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 24px;
}
.shop-pd-card-head {
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.shop-pd-card-head::before { content: ''; width: 4px; height: 14px; background: var(--shop-accent); border-radius: 2px; }
.shop-pd-card.features .matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-pd-card.features .f {
    padding: 12px 14px;
    background: var(--surface-2);
    border-radius: 10px;
    display: flex; gap: 12px; align-items: center;
}
.shop-pd-card.features .f .ic {
    font-size: 1.4rem;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.08);
    border-radius: 8px; flex-shrink: 0;
}
.shop-pd-card.features .f .tx { font-size: 0.86rem; color: var(--text-hi); line-height: 1.35; }

.shop-pd-card.stats .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-pd-card.stats .stat { padding: 12px 14px; background: var(--surface-2); border-radius: 10px; }
.shop-pd-card.stats .stat .v { font-family: var(--font-display); font-size: 1.35rem; color: var(--text-hi); font-weight: 600; line-height: 1.1; }
.shop-pd-card.stats .stat .v.accent { color: var(--shop-accent-br); }
.shop-pd-card.stats .stat .l { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

.shop-pd-card.desc p { line-height: 1.75; font-size: 0.93rem; color: var(--text); margin-bottom: 12px; }
.shop-pd-card.desc p:last-child { margin-bottom: 0; }
.shop-pd-card.desc strong { color: var(--text-hi); }

.shop-pd-card.servers .srv {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; background: var(--surface-2);
    border-radius: 10px; font-size: 0.84rem; margin-bottom: 8px;
}
.shop-pd-card.servers .srv:last-child { margin-bottom: 0; }
.shop-pd-card.servers .srv .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--shop-green-br); box-shadow: 0 0 6px rgba(74,222,128,0.6); flex-shrink: 0; }
.shop-pd-card.servers .srv .name { color: var(--text-hi); }

.shop-pd-related-head { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

/* ============================================
   C1 — Cart + Checkout (Two-Page Classic)
   ============================================ */
.shop-page-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.shop-page-title .count { padding: 2px 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim); border-radius: 6px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 400; }

.shop-section { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; }
.shop-section-head { font-family: var(--font-display); font-size: 0.9rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.shop-section-head::before { content: ''; width: 4px; height: 14px; background: var(--shop-accent); border-radius: 2px; }
.shop-section-head .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); font-weight: 400; letter-spacing: 0; text-transform: none; }

/* Cart line */
.shop-cart-line { display: grid; grid-template-columns: 48px 1fr auto 32px; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.shop-cart-line:last-of-type { margin-bottom: 0; }
.shop-cart-line .ic { width: 48px; height: 48px; background: linear-gradient(135deg, #2a2418, #1f1a28); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; overflow: hidden; }
.shop-cart-line .ic img { width: 100%; height: 100%; object-fit: cover; }
.shop-cart-line .t { color: var(--text-hi); font-family: var(--font-display); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }
.shop-cart-line .m { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); margin-top: 2px; }
.shop-cart-line .price { font-family: var(--font-display); color: var(--shop-accent-br); font-weight: 600; font-size: 1rem; min-width: 80px; text-align: right; }
.shop-cart-line .rm { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 6px; font-size: 0.9rem; border-radius: 6px; }
.shop-cart-line .rm:hover { color: var(--shop-red-br); background: rgba(239,68,68,0.1); }

/* Summary */
.shop-summary { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 18px; margin-top: 14px; }
.shop-summary .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.88rem; color: var(--text); }
.shop-summary .row.sub { color: var(--text-dim); font-size: 0.82rem; }
.shop-summary .row.sub .v { font-family: var(--font-mono); }
.shop-summary .row.discount { color: var(--shop-green-br); }
.shop-summary .total { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: baseline; }
.shop-summary .total .l { font-family: var(--font-display); color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.88rem; }
.shop-summary .total .v { font-family: var(--font-display); font-size: 1.9rem; color: var(--shop-accent-br); font-weight: 700; }

/* Promo */
.shop-promo-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.shop-promo-form input { padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text-hi); font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; }
.shop-promo-form input:focus { outline: none; border-color: var(--shop-accent); }
.shop-promo-form button { padding: 10px 16px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-hi); border-radius: 8px; font-family: var(--font-body); font-size: 0.84rem; cursor: pointer; white-space: nowrap; }
.shop-promo-form button:hover { border-color: var(--shop-accent); color: var(--shop-accent-br); }
.shop-promo-active { padding: 10px 14px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); border-radius: 8px; display: flex; align-items: center; gap: 8px; font-size: 0.86rem; }
.shop-promo-active .ok { color: var(--shop-green-br); }
.shop-promo-active .lbl { flex: 1; }
.shop-promo-active code { color: var(--shop-accent-br); background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.8rem; }
.shop-promo-active .rm { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 0.82rem; }
.shop-promo-active .rm:hover { color: var(--shop-red-br); }

/* Cart/Checkout footer actions */
.shop-cart-actions { display: flex; gap: 10px; margin-top: 14px; }
.shop-cart-actions .flex-1 { flex: 1; }
.shop-cart-actions .flex-13 { flex: 1.3; }
.shop-cart-btn {
    padding: 13px 18px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; text-align: center;
    transition: all 0.15s;
}
.shop-cart-btn.primary { background: var(--shop-accent); color: #fff; }
.shop-cart-btn.primary:hover { background: var(--shop-accent-br); }
.shop-cart-btn.ghost { background: transparent; color: var(--shop-accent-br); border: 1px solid var(--shop-accent); }
.shop-cart-btn.ghost:hover { background: rgba(59,130,246,0.08); }
.shop-cart-btn.muted { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.shop-cart-btn.muted:hover { border-color: var(--shop-accent); color: var(--shop-accent-br); }
.shop-cart-btn.full { width: 100%; }

/* Steam-row */
.shop-steam-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.shop-steam-row .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1b2838, #2a475e); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 2px solid rgba(59,130,246,0.3); overflow: hidden; }
.shop-steam-row .avatar img { width: 100%; height: 100%; object-fit: cover; }
.shop-steam-row .lbl { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.shop-steam-row .val { color: var(--text-hi); font-size: 0.92rem; }
.shop-steam-row .steam-id { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); margin-top: 2px; }
.shop-steam-row .verified { padding: 4px 10px; background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: var(--shop-green-br); border-radius: 6px; font-family: var(--font-mono); font-size: 0.7rem; }

/* Server pills (checkout) */
.shop-server-select { display: flex; gap: 8px; }
.shop-server-pill { flex: 1; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; text-align: center; font-size: 0.84rem; color: var(--text); }
.shop-server-pill.active { border-color: var(--shop-accent); background: rgba(59,130,246,0.06); color: var(--text-hi); }
.shop-server-pill .s-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; }
.shop-server-pill .s-meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); margin-top: 2px; }

/* Gateway list */
.shop-gateway-list { display: grid; gap: 8px; }
.shop-gateway { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color 0.15s; }
.shop-gateway:hover { border-color: var(--line-2); }
.shop-gateway input[type="radio"] { accent-color: var(--shop-accent); }
.shop-gateway:has(input:checked) { border-color: var(--shop-accent); background: rgba(59,130,246,0.05); }
.shop-gateway .logo { width: 48px; height: 26px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; flex-shrink: 0; color: #fff; }
.shop-gateway .logo.fk { background: #ff6b00; }
.shop-gateway .logo.ym { background: #8b3ffc; }
.shop-gateway .logo.mp { background: #000; border: 1px solid #fff; }
.shop-gateway .name { color: var(--text-hi); font-size: 0.92rem; flex: 1; }
.shop-gateway .hint { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }

.shop-terms-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; font-size: 0.84rem; color: var(--text); }
.shop-terms-row input { accent-color: var(--shop-accent); margin-top: 2px; }
.shop-terms-row a { color: var(--shop-accent-br); }

/* Per-item server select (on checkout) */
.shop-item-server-select { margin-top: 6px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.shop-item-server-select select { background: var(--surface); border: 1px solid var(--line); color: var(--text-hi); padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; margin-left: 6px; }

/* ============================================
   PR2+ — Profile (Tabs + rich header + grouped subs)
   ============================================ */
.shop-profile-head {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(59,130,246,0.04) 100%);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    margin-bottom: 18px;
}
.shop-profile-head .avatar-xl {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b2838, #2a475e);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    border: 2px solid rgba(59,130,246,0.4);
    box-shadow: 0 0 24px rgba(59,130,246,0.15);
    overflow: hidden;
}
.shop-profile-head .avatar-xl img { width: 100%; height: 100%; object-fit: cover; }
.shop-profile-head .name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.shop-profile-head .name { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.03em; }
.shop-profile-head .tier { padding: 4px 10px; background: var(--shop-gold); border: 1px solid var(--shop-gold-br); color: var(--shop-yellow-br); border-radius: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.shop-profile-head .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-dim); }
.shop-profile-head .meta .dot-sep { opacity: 0.5; }
.shop-profile-head .stats { display: flex; gap: 4px; }
.shop-profile-head .hs { padding: 8px 16px; border-left: 1px solid var(--line); text-align: right; min-width: 80px; }
.shop-profile-head .hs:first-child { border-left: 0; }
.shop-profile-head .hs .v { font-family: var(--font-display); font-size: 1.4rem; color: var(--shop-accent-br); font-weight: 700; line-height: 1; }
.shop-profile-head .hs .v.warn { color: var(--shop-yellow-br); }
.shop-profile-head .hs .v .rub { font-size: 0.7em; color: var(--text-dim); margin-left: 2px; }
.shop-profile-head .hs .l { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 5px; }

/* Tabs */
.shop-tabs { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.shop-tabs a { flex: 1; padding: 10px 14px; text-align: center; border-radius: 7px; font-family: var(--font-display); font-size: 0.82rem; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.shop-tabs a:hover { color: var(--text-hi); }
.shop-tabs a.active { background: var(--shop-accent); color: #fff; }
.shop-tabs a .tab-badge { padding: 1px 7px; background: rgba(255,255,255,0.15); border-radius: 10px; font-size: 0.68rem; font-family: var(--font-mono); }
.shop-tabs a.active .tab-badge { background: rgba(255,255,255,0.25); }

/* Warning bar */
.shop-warn-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(234,179,8,0.1) 0%, rgba(234,179,8,0.03) 100%);
    border: 1px solid rgba(234,179,8,0.3);
    border-left: 3px solid var(--shop-yellow);
    border-radius: 10px;
    margin-bottom: 18px;
}
.shop-warn-bar .ic { font-size: 1.4rem; line-height: 1; }
.shop-warn-bar .txt { color: var(--text); font-size: 0.88rem; line-height: 1.5; }
.shop-warn-bar .txt strong { color: var(--text-hi); }
.shop-warn-bar .btn { padding: 9px 16px; background: var(--shop-yellow); color: #000; border: none; border-radius: 8px; font-family: var(--font-body); font-size: 0.84rem; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; }
.shop-warn-bar .btn:hover { background: var(--shop-yellow-br); }

/* Group header */
.shop-sub-group-head { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; padding: 0 2px; }
.shop-sub-group-head .ico { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }
.shop-sub-group-head .ico.warn { background: rgba(234,179,8,0.15); color: var(--shop-yellow-br); }
.shop-sub-group-head .ico.ok { background: rgba(34,197,94,0.15); color: var(--shop-green-br); }
.shop-sub-group-head .ico.expired { background: rgba(100,100,100,0.1); color: var(--text-dim); }
.shop-sub-group-head .t { font-family: var(--font-display); font-size: 0.88rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; }
.shop-sub-group-head .cnt { padding: 2px 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim); border-radius: 10px; font-family: var(--font-mono); font-size: 0.7rem; }
.shop-sub-group-head.collapsed .t, .shop-sub-group-head.collapsed .ico { opacity: 0.65; }

/* Rich sub card */
.shop-sub-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 18px;
    align-items: center;
}
.shop-sub-card.expired { opacity: 0.65; }
.shop-sub-card .main { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: flex-start; }
.shop-sub-card .ic { width: 44px; height: 44px; background: linear-gradient(135deg, #2a2418, #1f1a28); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.shop-sub-card .body { min-width: 0; }
.shop-sub-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.shop-sub-card .top .t { color: var(--text-hi); font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.shop-sub-card .m { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin-bottom: 10px; }
.shop-sub-card .progress { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.shop-sub-card .progress-fill { height: 100%; border-radius: 3px; }
.shop-sub-card .progress-fill.ok { background: linear-gradient(90deg, var(--shop-green), var(--shop-green-br)); box-shadow: 0 0 8px rgba(74,222,128,0.4); }
.shop-sub-card .progress-fill.warn { background: linear-gradient(90deg, var(--shop-yellow), var(--shop-yellow-br)); box-shadow: 0 0 8px rgba(234,179,8,0.4); }
.shop-sub-card .progress-lbl { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.shop-sub-card .actions { display: flex; flex-direction: column; gap: 8px; }
.shop-sub-card .renew { padding: 9px 14px; background: var(--shop-accent); color: #fff; border: none; border-radius: 8px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.shop-sub-card .renew:hover { background: var(--shop-accent-br); }
.shop-sub-card .renew.ghost { background: transparent; color: var(--shop-accent-br); border: 1px solid var(--shop-accent); }
.shop-sub-card .renew.ghost:hover { background: rgba(59,130,246,0.08); }
.shop-sub-card .renew.again { background: var(--surface-3, #222); color: var(--text-hi); border: 1px solid var(--line-2); }
.shop-sub-card .renew.again:hover { background: var(--shop-accent); color: #fff; border-color: var(--shop-accent); }
.shop-sub-card .status { padding: 4px 10px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; }
.shop-sub-card .status.active { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: var(--shop-green-br); }
.shop-sub-card .status.expiring { background: rgba(234,179,8,0.12); border: 1px solid rgba(234,179,8,0.3); color: var(--shop-yellow-br); }
.shop-sub-card .status.expired { background: rgba(100,100,100,0.1); border: 1px solid var(--line); color: var(--text-dim); }

/* Orders in profile */
.shop-order-row { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; text-decoration: none; display: block; transition: border-color 0.15s; }
.shop-order-row:hover { border-color: var(--shop-accent); }
.shop-order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.shop-order-num { font-family: var(--font-mono); color: var(--text-dim); font-size: 0.78rem; }
.shop-order-num strong { color: var(--text-hi); }
.shop-order-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.shop-order-items { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.shop-order-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; font-size: 0.76rem; color: var(--text-hi); }
.shop-order-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.shop-order-status { padding: 3px 10px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; }
.shop-order-total { font-family: var(--font-display); color: var(--shop-accent-br); font-weight: 600; font-size: 1.05rem; }

/* Email prefs */
.shop-email-form { display: flex; gap: 8px; }
.shop-email-form input { flex: 1; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text-hi); font-family: var(--font-body); font-size: 0.88rem; }
.shop-email-form input:focus { outline: none; border-color: var(--shop-accent); }
.shop-email-form button { padding: 10px 18px; background: var(--shop-accent); color: #fff; border: none; border-radius: 8px; font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.shop-email-form button:hover { background: var(--shop-accent-br); }

/* Status pills (shared) */
.shop-status-pill { display: inline-block; padding: 3px 9px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; }

/* ============================================
   AD3 — Admin Dashboard (KPI + Action-first Split)
   ============================================ */
.adm-shop { font-family: var(--font-body); }
.adm-shop-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.adm-shop-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.03em; }
.adm-shop-subtitle { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }
.adm-shop-period { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.adm-shop-period a { padding: 5px 12px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); border-radius: 5px; text-decoration: none; }
.adm-shop-period a.active { background: var(--shop-accent); color: #fff; }

/* Split */
.adm-shop-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 20px; }
@media (max-width: 1000px) { .adm-shop-split { grid-template-columns: 1fr; } }

/* KPI */
.adm-shop-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.adm-shop-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; position: relative; overflow: hidden; }
.adm-shop-kpi.accent { background: linear-gradient(135deg, var(--surface) 0%, rgba(59,130,246,0.08) 100%); border-color: rgba(59,130,246,0.25); }
.adm-shop-kpi.warn { background: linear-gradient(135deg, var(--surface) 0%, rgba(239,68,68,0.06) 100%); border-color: rgba(239,68,68,0.25); }
.adm-shop-kpi .lbl { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.adm-shop-kpi .val { font-family: var(--font-display); font-size: 1.8rem; color: var(--text-hi); font-weight: 700; line-height: 1; margin-bottom: 4px; }
.adm-shop-kpi .val.warn-color { color: var(--shop-red-br); }
.adm-shop-kpi .val .rub { font-size: 0.55em; color: var(--text-dim); margin-left: 2px; }
.adm-shop-kpi .sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }
.adm-shop-kpi .sub.up { color: var(--shop-green-br); }
.adm-shop-kpi .sub.down { color: var(--shop-red-br); }
.adm-shop-kpi .spark { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: flex-end; gap: 2px; height: 24px; }
.adm-shop-kpi .spark span { width: 4px; background: var(--shop-accent); opacity: 0.4; border-radius: 1px; }
.adm-shop-kpi.warn .spark span { background: var(--shop-red); }

/* Revenue strip (30-day bar chart) */
.adm-shop-revenue-strip { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.adm-shop-revenue-strip .head { font-family: var(--font-display); font-size: 0.88rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.adm-shop-revenue-strip .head .total { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-dim); font-weight: 400; text-transform: none; letter-spacing: 0; }
.adm-shop-revenue-strip .chart { height: 80px; display: flex; align-items: flex-end; gap: 3px; }
.adm-shop-revenue-strip .bar { flex: 1; background: linear-gradient(180deg, var(--shop-accent-br), var(--shop-accent)); border-radius: 2px 2px 0 0; opacity: 0.7; min-height: 3px; }
.adm-shop-revenue-strip .bar.today { background: linear-gradient(180deg, var(--shop-green-br), var(--shop-green)); opacity: 1; }

/* Action panel */
.adm-shop-action-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.adm-shop-action-panel .head { font-family: var(--font-display); font-size: 0.88rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.adm-shop-action-panel .head .count { padding: 2px 8px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: var(--shop-red-br); border-radius: 10px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; }
.adm-shop-action-panel .head .count.zero { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: var(--shop-green-br); }
.adm-shop-action-item { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }
.adm-shop-action-item:last-child { margin-bottom: 0; }
.adm-shop-action-item .ic { width: 32px; height: 32px; border-radius: 7px; background: rgba(239,68,68,0.15); color: var(--shop-red-br); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.adm-shop-action-item .t { font-size: 0.84rem; color: var(--text-hi); }
.adm-shop-action-item .t strong { color: var(--shop-accent-br); }
.adm-shop-action-item .d { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-dim); margin-top: 2px; }
.adm-shop-action-item .btn { padding: 5px 10px; background: var(--shop-accent); color: #fff; border: none; border-radius: 6px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.adm-shop-action-item .btn:hover { background: var(--shop-accent-br); }
.adm-shop-action-item .btn.fix { background: var(--shop-red); }
.adm-shop-action-item .btn.fix:hover { background: var(--shop-red-br); }
.adm-shop-empty { padding: 20px; text-align: center; color: var(--text-dim); font-size: 0.84rem; font-family: var(--font-mono); }

/* Live feed */
.adm-shop-live-feed { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.adm-shop-live-feed .head { font-family: var(--font-display); font-size: 0.88rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.adm-shop-live-feed .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--shop-green-br); box-shadow: 0 0 6px rgba(74,222,128,0.5); animation: adm-shop-pulse 2s infinite; }
@keyframes adm-shop-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.adm-shop-feed-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; text-decoration: none; color: inherit; }
.adm-shop-feed-item:last-child { border-bottom: 0; }
.adm-shop-feed-item .t { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.adm-shop-feed-item .txt { color: var(--text); }
.adm-shop-feed-item .txt strong { color: var(--text-hi); }
.adm-shop-feed-item .val { font-family: var(--font-display); color: var(--shop-accent-br); font-weight: 600; }
.adm-shop-feed-item.fail .val { color: var(--shop-red-br); }
.adm-shop-feed-item.wait .val { color: var(--shop-yellow-br); }

/* Admin buttons/chrome shared */
.adm-shop-btn { padding: 8px 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 9px; color: var(--text-hi); font-size: 0.82rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.adm-shop-btn.primary { background: var(--shop-accent); border-color: var(--shop-accent); color: #fff; }
.adm-shop-btn.danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: var(--shop-red-br); }
.adm-shop-btn.sm { padding: 6px 10px; font-size: 0.72rem; }

.adm-shop-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.adm-shop-card h3 { font-family: var(--font-display); font-size: 0.95rem; color: var(--text-hi); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.adm-shop-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.adm-shop-row:last-child { border-bottom: none; }
.adm-shop-row .mt { flex: 1; min-width: 0; }
.adm-shop-row .t { color: var(--text-hi); font-size: 0.86rem; }
.adm-shop-row .d { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); margin-top: 2px; }
.adm-shop-pill { display: inline-block; padding: 3px 9px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; }

/* Stats row (used on subscriptions/orders/products admin pages) */
.adm-shop-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 20px; }
.adm-shop-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.adm-shop-stat-k { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.adm-shop-stat-v { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-hi); font-weight: 600; margin-top: 2px; }
.adm-shop-stat-v.accent { color: var(--shop-accent-br); }
.adm-shop-stat-v.green { color: var(--shop-green-br); }
.adm-shop-stat-v.red { color: var(--shop-red-br); }
.adm-shop-stat-v.yellow { color: var(--shop-yellow-br); }

/* Admin actions row (buttons alignment) */
.adm-shop-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.adm-shop-nav { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.adm-shop-navlink { padding: 9px 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 9px; color: var(--text); text-decoration: none; font-size: 0.82rem; }
.adm-shop-navlink.active, .adm-shop-navlink:hover { background: var(--shop-accent); border-color: var(--shop-accent); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
    .shop-spotlight { grid-template-columns: 1fr 1fr; }
    .shop-feat-big { grid-row: auto; grid-column: 1 / -1; }
    .shop-pd-hero { grid-template-columns: 1fr; }
    .shop-profile-head { grid-template-columns: 60px 1fr; }
    .shop-profile-head .stats { grid-column: 1 / -1; justify-content: space-between; }
    .shop-sub-card { grid-template-columns: 1fr; }
    .shop-tabs { flex-wrap: wrap; }
    .adm-shop-kpi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .shop-spotlight { grid-template-columns: 1fr; }
    .shop-hero { height: auto; padding: 24px; }
    .shop-hero h1 { font-size: 1.8rem; }
    .shop-cart-line { grid-template-columns: 40px 1fr; gap: 10px; }
    .shop-cart-line .price { grid-column: 2; text-align: left; }
    .shop-cart-line .rm { grid-column: 2; justify-self: start; }
}
