/* =====================================================
   WISEGROUP PAYTICKET
   BUYER EXPERIENCE — PHASE 2A
   Product and Checkout
===================================================== */

.wg-buyer {
    max-width: 980px;
    margin: 0 auto 40px;
}

.wg-buyer * {
    box-sizing: border-box;
}

/* Progress indicator */

.wg-buyer-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 25px;
    flex-wrap: wrap;
}

.wg-buyer-progress span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #64748b;
    background: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
}

.wg-buyer-progress span.active {
    background: #2563eb;
    color: white;
}

.wg-buyer-progress span.complete {
    background: #dcfce7;
    color: #166534;
}

/* Product presentation */

.wg-product-shell {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.wg-product-heading {
    margin-bottom: 22px;
}

.wg-product-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.wg-product-shell h1 {
    font-size: clamp(29px,5vw,43px);
    line-height: 1.14;
    margin: 0 0 16px;
}

.wg-product-shell h2 {
    margin: 28px 0 14px;
}

.wg-product-description {
    color: #475569;
    font-size: 16px;
    line-height: 1.85;
}

.wg-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.wg-meta-card {
    flex: 1 1 180px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px;
}

.wg-meta-card strong {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 5px;
}

.wg-meta-card span {
    display: block;
    color: #0f172a;
    font-weight: 700;
}

/* Currency selection */

.wg-currency-options {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%,220px),1fr)
    );
    gap: 12px;
}

.wg-currency-options .price {
    margin: 0;
    min-height: 76px;
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    padding: 19px;
    background: white;
    color: #1d4ed8;
    font-size: 17px;
    font-weight: 800;
    transition:
        border-color .15s,
        background .15s,
        transform .15s;
}

.wg-currency-options .price:hover {
    background: #eff6ff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.wg-currency-options .price:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

.wg-product-security {
    margin-top: 24px;
    padding: 17px;
    border-radius: 13px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 13px;
    line-height: 1.8;
}

/* Checkout */

.wg-checkout-shell {
    max-width: 650px;
    margin: 0 auto;
}

.wg-checkout-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
}

.wg-checkout-card h1 {
    margin-bottom: 8px;
    font-size: clamp(27px,5vw,35px);
}

.wg-checkout-intro {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 22px;
}

.wg-order-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 21px;
    margin: 22px 0 27px;
}

.wg-order-summary-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.wg-order-product {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.wg-order-price {
    font-size: clamp(29px,5vw,38px);
    font-weight: 800;
    letter-spacing: -.04em;
    color: #1d4ed8;
}

.wg-checkout-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 18px 0;
}

.wg-checkout-form input {
    display: block;
    width: 100%;
    min-height: 53px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 16px;
    background: white;
}

.wg-checkout-form input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}

.wg-checkout-form button {
    width: 100%;
    min-height: 54px;
    background: #2563eb;
    color: white;
    border-radius: 12px;
    font-weight: 800;
    margin-top: 12px;
}

.wg-checkout-form button:hover {
    background: #1d4ed8;
}

.wg-checkout-footnote {
    margin-top: 18px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

/* Small screens */

@media (max-width: 650px) {

    .wg-product-shell,
    .wg-checkout-card {
        padding: 23px;
        border-radius: 18px;
    }

    .wg-product-shell h1 {
        font-size: 31px;
    }

    .wg-product-meta {
        flex-direction: column;
    }

    .wg-meta-card {
        flex: 1 1 auto;
    }

    .wg-buyer-progress {
        gap: 5px;
    }

    .wg-buyer-progress span {
        padding: 7px 9px;
        font-size: 11px;
    }

    .wg-currency-options {
        grid-template-columns: 1fr;
    }

    .wg-currency-options .price {
        min-height: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wg-currency-options .price {
        transition: none;
    }

    .wg-currency-options .price:hover {
        transform: none;
    }
}