/* Gift voucher page (/darcekove-poukazy) */
.voucher-page { padding-top: 40px; padding-bottom: 60px; }
.voucher-page h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; margin: 32px 0 16px; }
.voucher-intro { font-size: 1.1rem; text-align: center; margin-bottom: 24px; }

.voucher-types { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.voucher-type { border: 1px solid #333; border-top: 4px solid #C9BC4A; border-radius: 3px; padding: 18px; width: 260px; text-align: center; cursor: pointer; user-select: none; transition: box-shadow 0.15s, background-color 0.15s; }
.voucher-type:hover, .voucher-type:focus { box-shadow: 0 0 0 2px #C9BC4A; outline: none; }
.voucher-type.is-selected { background: #f4edc3; border-color: #C9BC4A; box-shadow: 0 0 0 2px #C9BC4A; }
.voucher-type-name { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; }
.voucher-type-price { margin: 6px 0 4px; }
.voucher-type-desc { color: #666; font-size: 0.9rem; margin-bottom: 10px; }
.voucher-qty { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.voucher-qty button { width: 38px; height: 38px; border: 1px solid #333; border-radius: 50%; background: #fff; color: #000; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0; }
.voucher-qty button:hover:not(:disabled) { background: #C9BC4A; border-color: #C9BC4A; }
.voucher-qty button:disabled { opacity: 0.3; cursor: default; }
.voucher-qty .js-count { min-width: 24px; font-size: 1.3rem; font-weight: 700; }

.voucher-form label { letter-spacing: 0.05em; display: block; margin-bottom: 4px; }
.voucher-form input[type=text], .voucher-form input[type=email], .voucher-form input[type=tel] {
    width: 100%; border: 1px solid #333; color: dimgrey; padding: 9px 12px; border-radius: 3px; font-size: 1rem; margin-bottom: 14px; box-sizing: border-box;
}
.voucher-form .voucher-consent { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 18px; }
.voucher-form .voucher-consent input { margin-top: 5px; }
/* hidden from people, bots fill it in */
.voucher-form .voucher-website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.voucher-total { font-size: 1.2rem; text-align: right; margin: 8px 0 16px; }
.voucher-button { width: 100%; background: #C9BC4A; color: #000; border: none; padding: 11px; font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 3px; cursor: pointer; }
.voucher-button:disabled { opacity: 0.6; cursor: default; }
.voucher-error { display: none; color: #e05050; margin-bottom: 12px; }

.voucher-result { display: none; }
.voucher-page h3.voucher-thanks { color: #b12516; text-align: center; }
.voucher-result #voucher-again { margin-top: 8px; }
.voucher-result table { width: 100%; margin-bottom: 16px; }
.voucher-result td { padding: 4px 8px 4px 0; vertical-align: top; }
.voucher-result td:first-child { color: #666; white-space: nowrap; }
.voucher-result .voucher-qr { text-align: center; margin: 16px 0; }
.voucher-result .voucher-qr img { width: 220px; max-width: 100%; image-rendering: pixelated; }

.voucher-terms { color: #444; font-size: 0.95rem; padding-left: 20px; }
.voucher-terms li { margin-bottom: 6px; }
.voucher-terms-link { text-align: center; margin-top: 32px; }

/* terms popup */
.voucher-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, 0.6); align-items: center; justify-content: center; padding: 16px; }
.voucher-modal-box { position: relative; background: #fff; color: #222; border-top: 4px solid #C9BC4A; border-radius: 3px; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 28px 24px 24px; }
.voucher-modal-box h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 30px 16px 0; }
.voucher-modal-box a { color: #8a7f1f; }
.voucher-modal-close { position: absolute; top: 8px; right: 12px; border: none; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: #666; }
body.voucher-modal-open { overflow: hidden; }
.voucher-page a { color: #C9BC4A; }
