/* ═══════════════════════════════════════
   Shop / Confirm / Status — consolidated
   ═══════════════════════════════════════ */

/* ── Shop page ── */
.shop-hero {
    text-align: center;
    padding: 2rem 0 1rem;
}
.shop-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255,215,0,0.3);
    margin-bottom: 0.5rem;
}
.shop-hero p {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.shop-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.shop-item:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(255,215,0,0.15);
    transform: translateY(-2px);
}
.shop-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
}
.item-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
.item-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.item-desc {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.item-price {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    color: var(--green);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0,255,136,0.3);
}
.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.purchase-form input[type="text"] {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-bright);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}
.purchase-form input[type="text"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.15);
}
.purchase-form input[type="text"]::placeholder {
    color: var(--text-dim);
}
.btn-purchase {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-purchase:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255,215,0,0.4);
}
.btn-purchase:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-vote {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    margin-top: auto;
}
.shop-error {
    background: rgba(255,71,87,0.1);
    border: 1px solid var(--red);
    color: var(--red);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}
.shop-notice {
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
}
.shop-notice strong {
    color: var(--cyan);
}
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.2rem;
}
.terms-row input[type="checkbox"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.terms-row label {
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.5;
    cursor: pointer;
}
.terms-row label a {
    color: var(--gold);
    text-decoration: underline;
}
.qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 1rem;
    transition: border-color 0.2s;
}
.qty-row:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.15);
}
.qty-row label {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    user-select: none;
}
.qty-select {
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    flex: 1;
    padding: 0.15rem 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    padding-right: 1.5rem;
}
.qty-select:focus {
    outline: none;
}
.qty-select option {
    background: #1a1a2e;
    color: var(--text-bright);
}

/* ── Confirm / Success page ── */
.confirm-card {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(255,215,0,0.1);
}
.confirm-card h1 {
    font-family: 'Orbitron', monospace;
    color: var(--gold);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}
.order-summary {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    text-align: left;
}
.order-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.order-row:last-child { border-bottom: none; }
.order-label { color: var(--text-dim); }
.order-value { color: var(--text-bright); font-weight: 600; }
.order-total {
    color: var(--green);
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
}
.order-id-tag {
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.3);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    display: inline-block;
    margin: 1rem 0;
}
.success-message {
    color: var(--text);
    font-size: 1rem;
    margin: 1.5rem 0;
    line-height: 1.7;
}
.success-message strong { color: var(--gold); }
.success-message code {
    background: var(--bg-input);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}
.status-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}
.status-link:hover { text-decoration: underline; }

/* ── Status page ── */
.status-card {
    max-width: 550px;
    margin: 2rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}
.status-card h1 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}
.status-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 1rem 0;
}
.status-pending {
    background: rgba(255,170,0,0.15);
    border: 1px solid rgba(255,170,0,0.5);
    color: #ffaa00;
}
.status-confirmed {
    background: rgba(0,255,136,0.15);
    border: 1px solid rgba(0,255,136,0.5);
    color: var(--green);
}
.status-rejected {
    background: rgba(255,71,87,0.15);
    border: 1px solid rgba(255,71,87,0.5);
    color: var(--red);
}
.order-detail {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
}
.detail-label { color: var(--text-dim); }
.detail-value { color: var(--text-bright); font-weight: 500; }
.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent);
    text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* ── Inline style replacements ── */
.shop-notice-success { border-color: #2ecc71; background: rgba(46,204,113,0.1); color: #2ecc71; font-weight: 600; text-align: center; }
.terms-no-refund { color: var(--red); }
.shop-notice-terms { border-color: rgba(255,215,0,0.3); background: rgba(255,215,0,0.06); }
.terms-heading { color: var(--gold); }
.status-message { margin: 1rem 0; }

/* ── Mobile ── */
@media (max-width: 600px) {
    .shop-hero h1 { font-size: 1.5rem; }
    .shop-hero p { font-size: 0.85rem; }
    .shop-grid { grid-template-columns: 1fr; gap: 1rem; }
    .shop-item { padding: 1.2rem; }
    .item-emoji { font-size: 2.2rem; }
    .item-name { font-size: 1.05rem; }
    .item-desc { font-size: 0.85rem; }
    .item-price { font-size: 1.3rem; }
    .confirm-card { padding: 1.5rem; margin: 1rem; }
    .confirm-card h1 { font-size: 1.2rem; }
    .order-row { font-size: 0.85rem; }
    .status-card { padding: 1.5rem; margin: 1rem; }
    .status-badge { font-size: 0.8rem; padding: 0.4rem 1rem; }
}
