/* Gift voucher / buy-coupons pages */
.voucher-page {
    padding: 3rem 0 4rem;
    min-height: 60vh;
}

.voucher-page .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.voucher-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.voucher-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #2e4573);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.voucher-hero p {
    font-size: 1.1rem;
    color: var(--text-light, #718096);
    line-height: 1.6;
}

/* Value selection cards */
.voucher-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .voucher-options {
        grid-template-columns: 1fr;
    }
}

.voucher-option {
    position: relative;
    background: #fff;
    border: 2px solid var(--border, #d4dceb);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.voucher-option:hover {
    border-color: var(--primary-light, #3d5a8f);
    box-shadow: 0 8px 24px rgba(46, 69, 115, 0.12);
}

.voucher-option.selected {
    border-color: var(--primary, #2e4573);
    background: var(--primary-tint, #e8ecf4);
    box-shadow: 0 4px 16px rgba(46, 69, 115, 0.15);
}

.voucher-option-form {
    margin: 0;
}

.voucher-option-btn {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    border: 2px solid var(--border, #d4dceb);
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    display: block;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.voucher-option-btn:hover {
    border-color: var(--primary-light, #3d5a8f);
    box-shadow: 0 8px 24px rgba(46, 69, 115, 0.12);
}

.voucher-option-btn .cta {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary, #2e4573);
}

.voucher-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.voucher-option .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #2e4573);
    margin-bottom: 0.25rem;
}

.voucher-option .label {
    font-size: 0.9rem;
    color: var(--text-light, #718096);
}

.voucher-actions {
    text-align: center;
    margin-top: 2rem;
}

.voucher-actions .btn-voucher {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: var(--secondary, #b8922e);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}

.voucher-actions .btn-voucher:hover {
    background: var(--secondary-dark, #9a7a20);
    color: #fff;
}

.voucher-actions .btn-voucher:active {
    transform: scale(0.98);
}

.voucher-actions .btn-voucher.btn-voucher-secondary {
    background: transparent;
    color: var(--primary, #2e4573);
    border: 2px solid var(--primary);
    margin-left: 0.75rem;
}

.voucher-actions .btn-voucher.btn-voucher-secondary:hover {
    background: var(--primary-tint, #e8ecf4);
}

.voucher-back {
    margin-top: 2rem;
    font-size: 0.95rem;
}

.voucher-back a {
    color: var(--primary, #2e4573);
    text-decoration: none;
}

.voucher-back a:hover {
    text-decoration: underline;
}

/* Payment step */
.voucher-pay-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.voucher-pay-card h2 {
    font-size: 1.35rem;
    color: var(--primary, #2e4573);
    margin-bottom: 0.5rem;
}

.voucher-pay-card .amount-display {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text, #1a202c);
    margin-bottom: 1.5rem;
}

/* Success step */
.voucher-success-card {
    background: linear-gradient(135deg, var(--primary-tint, #e8ecf4) 0%, #fff 100%);
    border-radius: 16px;
    border: 1px solid var(--primary-border, #b8c6dc);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.voucher-success-card .code-box {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 2px dashed var(--primary, #2e4573);
    border-radius: 12px;
    margin: 1rem 0;
    color: var(--primary, #2e4573);
}

.voucher-success-card .code-hint {
    font-size: 0.95rem;
    color: var(--text-light, #718096);
    margin-top: 1rem;
    line-height: 1.6;
}

.voucher-success-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Alerts */
.voucher-alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.voucher-alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
