/* ==========================================================================
   Lifetime offer page (offer.html). Builds on sub_style.css: same card,
   buttons and payment steps; only the price box and the coupon are new.
   ========================================================================== */

a.btn-primary {
    text-decoration: none;
}

/* ---- Price ---- */
.offer-box {
    background: var(--primary-tint);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 14px 16px 12px;
    margin-bottom: 12px;
    text-align: center;
}

.offer-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.offer-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
}

.offer-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    line-height: 1.1;
}

.price-now {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--ink);
}

.price-cur {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink-2);
}

.price-old {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-3);
    text-decoration-thickness: 2px;
}

.price-usd {
    margin-top: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink-2);
}

.offer-note {
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-3);
}

/* ---- Coupon ---- */
.coupon {
    margin-bottom: 14px;
    text-align: center;
}

.coupon-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.coupon-toggle:hover {
    text-decoration: underline;
}

.coupon-form {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.coupon-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--bg-card);
    text-align: center;
}

.coupon-input::placeholder {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    color: var(--ink-3);
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary);
}

.coupon-apply {
    flex-shrink: 0;
    height: 46px;
    padding: 0 20px;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    color: var(--primary-dark);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.coupon-apply:hover {
    background: var(--primary-tint);
}

.coupon-msg {
    min-height: 0;
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink-3);
}

.coupon-msg:empty {
    display: none;
}

.coupon-msg.ok {
    color: var(--green-dark);
}

/* Applied coupon: a small chip with a remove button */
.coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-tint);
    color: var(--green-dark);
    border-radius: var(--radius-pill);
    padding: 4px 6px 4px 14px;
    font-size: 0.9rem;
    font-weight: 800;
}

.coupon-chip button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(4, 120, 87, 0.12);
    color: var(--green-dark);
    cursor: pointer;
    font-size: 0.75rem;
}

@media (max-height: 600px) {
    .offer-box {
        padding: 10px 14px 8px;
    }
    .price-now {
        font-size: 1.9rem;
    }
    .offer-note {
        font-size: 0.82rem;
    }
}
