/* Shared storefront building blocks.
   Also used by /buy/merch.html — don't drop .option-card, .step-container,
   .btn, .main-content, or .tos-container without updating that page. */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.main-content h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.main-content p#page-subtitle {
    font-size: 1.1rem;
    color: #9aa6b2;
    margin-bottom: 28px;
    text-align: center;
    width: 100%;
}

/* ---------- TOS checkbox ---------- */
.tos-container {
    margin: 16px 0;
    font-size: 0.9rem;
    color: #9aa6b2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tos-container input[type="checkbox"] {
    cursor: pointer;
    accent-color: #4fc3ff;
    width: 18px;
    height: 18px;
}

.tos-container a {
    color: #4fc3ff;
    text-decoration: none;
}

.tos-container a:hover {
    text-decoration: underline;
}

/* ---------- Shared grids (legacy; merch.html uses .step-container) ---------- */
.step-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* ---------- Legacy card used by merch.html ---------- */
.option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 280px;
    min-height: 240px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 195, 255, 0.35);
    background: rgba(79, 195, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.option-card h3 {
    font-size: 1.15rem;
    margin-top: 12px;
    color: #fff;
    font-weight: 600;
}

.option-card p {
    font-size: 0.9rem;
    color: #9aa6b2;
    margin-top: 4px;
}

.card-icon {
    font-size: 36px;
}

.card-icon-sm {
    font-size: 28px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    margin-top: 16px;
    font-weight: 500;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #e8edf2;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    color: #4fc3ff;
    border-color: #4fc3ff;
    background: rgba(79, 195, 255, 0.08);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.back-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.hidden {
    display: none !important;
}

/* ---------- Warning banners ---------- */
.shipment-warning {
    margin-top: 15px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ffb3b3;
    font-size: 0.9rem;
}

.shipment-warning a {
    color: #4fc3ff;
}
