/**
 * Aries — Poukaz ZP UI on the product detail page.
 * Shows the eligibility badge, SÚKL/coverage/doplatek info, the secondary
 * "UHRADIT POUKAZEM ZP" button, and the modal that asks for the voucher code.
 */
.aries-voucher-zp {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #333;
}

.aries-voucher-zp-badge {
    display: inline-block;
    background: #b30c5b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.aries-voucher-zp-info {
    margin: 8px 0 10px;
}
.aries-voucher-zp-info > div {
    padding: 2px 0;
}
.aries-voucher-zp-info span {
    color: #555;
    margin-right: 4px;
}
.aries-voucher-zp-info strong {
    color: #222;
    font-weight: 700;
}
.aries-voucher-zp-doplatek strong {
    color: #b30c5b !important;
}

.aries-voucher-zp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #888;
    color: #fff;
    border: none;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    border-radius: 2px;
    margin: 8px 0;
    line-height: 1;
}
.aries-voucher-zp-btn:hover {
    background: #6e6e6e;
}

/* Modal */
.aries-voucher-zp-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aries-voucher-zp-modal[hidden] { display: none; }
.aries-voucher-zp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}
.aries-voucher-zp-modal-box {
    position: relative;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    width: 95%;
    max-width: 440px;
    padding: 22px 26px 24px;
    z-index: 1;
}
.aries-voucher-zp-modal-close {
    position: absolute;
    top: 8px; right: 12px;
    background: transparent; border: none;
    font-size: 26px; line-height: 1;
    color: #888; cursor: pointer;
    padding: 4px 8px;
}
.aries-voucher-zp-modal-close:hover { color: #333; }

.aries-voucher-zp-modal h2 {
    margin: 0 0 12px;
    color: var(--orange, #e98300);
    font-size: 18px;
}
.aries-voucher-zp-modal p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
}
.aries-voucher-zp-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #444;
}
.aries-voucher-zp-form input[type=text] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 14px;
    box-sizing: border-box;
}
.aries-voucher-zp-form input[type=text]:focus {
    outline: 2px solid var(--orange, #e98300);
    border-color: var(--orange, #e98300);
}
.aries-voucher-zp-modal-hint {
    margin: 8px 0 16px !important;
    color: #777;
    font-size: 12px !important;
    font-style: italic;
}
.aries-voucher-zp-modal-actions {
    display: flex; justify-content: space-between; gap: 12px;
    margin-top: 8px;
}
.aries-voucher-zp-modal-cancel {
    background: #c4c4c4; color: #fff;
    border: none; padding: 10px 18px; border-radius: 2px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    text-transform: uppercase;
}
.aries-voucher-zp-modal-cancel:hover { background: #aaa; }
.aries-voucher-zp-modal-submit {
    background: var(--orange, #e98300); color: #fff;
    border: none; padding: 10px 18px; border-radius: 2px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    text-transform: uppercase;
    flex: 1;
}
.aries-voucher-zp-modal-submit:hover { background: #cc7300; }

/* Počet kusů v okně poukazu — užší než pole pro kód, ať je zřejmé,
   že jde o číslo, ne o další text. */
.aries-voucher-zp-qty {
    width: 90px;
    text-align: center;
}
