/* Express Překlady – zakázky (front-end). Barvy navazují na šablonu, ale fungují i samostatně. */
.epz { --epz-teal: #0f4e65; --epz-orange: #f39321; --epz-orange-d: #d97c0d; --epz-line: #d9e3e7; --epz-muted: #5b6b72; --epz-bg: #f4f8f9; color: #1d2a30; font-size: 15px; }
.epz *, .epz *::before, .epz *::after { box-sizing: border-box; }
.epz a { color: var(--epz-teal); }

/* Formulář */
.epz-form { display: grid; gap: 16px; text-align: left; }
.epz-row { display: grid; gap: 14px; }
.epz-row--2 { grid-template-columns: 1fr 1fr; align-items: end; }
.epz-row--city { grid-template-columns: 2fr 1fr; }
@media (max-width: 560px) { .epz-row--2, .epz-row--city { grid-template-columns: 1fr; } }
.epz-field { display: grid; gap: 6px; margin: 0; }
.epz-label { font-weight: 500; font-size: .9rem; color: var(--epz-teal); }
.epz-label em, .epz-check em { color: var(--epz-orange-d); font-style: normal; }
.epz input[type=text], .epz input[type=email], .epz input[type=tel], .epz input[type=date], .epz input[type=number], .epz input[type=password], .epz select, .epz textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9cbd2; border-radius: 6px; background: #fff; font: inherit; color: inherit;
}
.epz textarea { min-height: 96px; resize: vertical; }
.epz input:focus, .epz select:focus, .epz textarea:focus { outline: none; border-color: var(--epz-teal); box-shadow: 0 0 0 3px rgba(15, 78, 101, .15); }
.epz input:disabled { background: var(--epz-bg); color: var(--epz-muted); }
.epz-help { font-size: .85rem; color: var(--epz-muted); margin: 0; }
.epz-center { text-align: center; }

.epz-services { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.epz-chip { position: relative; cursor: pointer; }
.epz-chip input { position: absolute; opacity: 0; inset: 0; }
.epz-chip span { display: inline-block; padding: 9px 16px; border: 1px solid #b9cbd2; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--epz-teal); background: #fff; transition: all .15s; }
.epz-chip input:checked + span { background: var(--epz-teal); border-color: var(--epz-teal); color: #fff; }
.epz-chip input:focus-visible + span { outline: 3px solid var(--epz-orange); outline-offset: 2px; }

.epz-drop { position: relative; display: grid; gap: 4px; justify-items: center; padding: 18px; border: 2px dashed #b9cbd2; border-radius: 8px; background: var(--epz-bg); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.epz-drop:hover, .epz-drop.is-over { border-color: var(--epz-orange); background: #fff7ee; }
.epz-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.epz-drop__text strong { color: var(--epz-orange-d); }
.epz-drop__hint { font-size: .8rem; color: var(--epz-muted); }
.epz-filelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.epz-filelist li { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; padding: 6px 10px; background: var(--epz-bg); border-radius: 4px; }
.epz-filelist li.is-bad { background: #fdecea; color: #a12a1a; }

.epz-contact { border: 1px solid var(--epz-line); border-radius: 8px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 14px; }
.epz-contact legend { padding: 0 6px; font-weight: 600; color: var(--epz-teal); }
.epz-company { display: grid; gap: 14px; }
.epz-company[hidden] { display: none; }
.epz-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.epz-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--epz-teal); flex: 0 0 auto; }
.epz-check--inline { min-height: 46px; align-items: center; }
.epz-check--inline input { margin: 0; }
.epz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.epz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7em 1.8em; border: 2px solid var(--epz-orange); border-radius: 999px; background: var(--epz-orange); color: #fff !important; font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.epz-btn:hover { background: var(--epz-orange-d); border-color: var(--epz-orange-d); }
.epz-btn--ghost { background: transparent; color: var(--epz-teal) !important; border-color: #b9cbd2; }
.epz-btn--ghost:hover { background: var(--epz-bg); border-color: var(--epz-teal); }
.epz-btn--block { width: 100%; }

/* Hlášky */
.epz-notice { padding: 14px 16px; border-radius: 8px; border-left: 4px solid; margin: 0 0 16px; }
.epz-notice ul { margin: 6px 0 0; padding-left: 18px; }
.epz-notice p { margin: 8px 0 0; }
.epz-notice--ok { background: #ecf7ef; border-color: #2e8b4f; }
.epz-notice--error { background: #fdecea; border-color: #c0392b; }
.epz-notice--info { background: #eaf3f6; border-color: var(--epz-teal); }

/* Účet */
.epz-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--epz-line); margin-bottom: 24px; }
.epz-tabs a { padding: 10px 16px; text-decoration: none; font-weight: 500; color: var(--epz-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.epz-tabs a:hover { color: var(--epz-teal); }
.epz-tabs a.is-active { color: var(--epz-teal); border-color: var(--epz-orange); }
.epz-tabs a:last-child { margin-left: auto; }
@media (max-width: 560px) { .epz-tabs a { padding: 8px 10px; font-size: .9rem; } .epz-tabs a:last-child { margin-left: 0; } }

.epz-table-wrap { overflow-x: auto; }
.epz-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.epz-table th { text-align: left; font-weight: 600; color: var(--epz-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 2px solid var(--epz-line); }
.epz-table td { padding: 12px 10px; border-bottom: 1px solid var(--epz-line); vertical-align: top; }
@media (max-width: 640px) {
	.epz-table thead { display: none; }
	.epz-table tr { display: block; border: 1px solid var(--epz-line); border-radius: 8px; margin-bottom: 12px; padding: 8px 12px; }
	.epz-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 5px 0; }
	.epz-table td::before { content: attr(data-label); color: var(--epz-muted); font-size: .85rem; }
}

.epz-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #e7edf0; color: #3a4b52; white-space: nowrap; }
.epz-status--nova { background: #fff3e0; color: #a35a00; }
.epz-status--naceneno { background: #fff3e0; color: #a35a00; }
.epz-status--schvaleno, .epz-status--v_burze, .epz-status--v_prekladu { background: #e3f1f6; color: #0f4e65; }
.epz-status--dokonceno { background: #e6f4ea; color: #1e6b3a; }
.epz-status--odmitnuto, .epz-status--storno { background: #f3e5e3; color: #8a2c1f; }

.epz-order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.epz-order-head h2 { margin: 0; }
.epz-offer { border: 2px solid var(--epz-orange); border-radius: 10px; padding: 20px; margin-bottom: 24px; background: #fffaf3; }
.epz-offer h3 { margin-top: 0; }
.epz-offer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.epz-price { font-size: 1.4rem; color: var(--epz-teal); }
.epz-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 24px; }
.epz-dl dt { color: var(--epz-muted); }
.epz-dl dd { margin: 0; }
.epz-files { padding-left: 18px; }
.epz-text summary { cursor: pointer; font-weight: 500; color: var(--epz-teal); }
.epz-text div { margin-top: 10px; padding: 12px; background: var(--epz-bg); border-radius: 6px; max-height: 320px; overflow: auto; }

.epz-login { max-width: 420px; }
.epz-login form p { display: grid; gap: 6px; margin: 0 0 14px; }
.epz-login .login-remember label { display: flex; gap: 8px; align-items: center; }
.epz-login input[type=submit] { min-height: 48px; padding: .7em 1.8em; border: 0; border-radius: 999px; background: var(--epz-orange); color: #fff; font-family: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-transform: uppercase; cursor: pointer; }
.epz-profile { max-width: 640px; }

.epz-billing { display: grid; gap: 14px; }
.epz-row--ico { grid-template-columns: 1fr auto; align-items: end; }
.epz-row--ico .epz-btn { min-height: 46px; padding: .5em 1.1em; font-size: .8rem; }
.epz-ares-msg:empty { display: none; }
.epz-billing-box { background: #fff; border: 1px solid var(--epz-line); border-radius: 8px; padding: 16px; margin-bottom: 16px; display: grid; gap: 10px; }
.epz-billing-box h4 { margin: 0; color: var(--epz-teal); }
.epz-offer__actions { display: block; }
.epz-offer__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.epz-fo-only[hidden], .epz-company-note[hidden] { display: none; }
.epz-status--verified { background: var(--epz-teal); color: #fff; }

/* Datum + čas */
.epz-dt { display: flex; gap: 8px; }
.epz-dt input.epz-date, .epz-dt input[type=date] { flex: 1 1 auto; min-width: 0; }
.epz-dt input[type=time] { flex: 0 0 120px; }

/* Děkovací stránka */
.epz-thanks { max-width: 640px; }
.epz-thanks__icon { width: 64px; height: 64px; border-radius: 50%; background: #e6f4ea; color: #1e6b3a; font-size: 34px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.epz-thanks__num { font-size: 1.1rem; }
.epz-thanks__steps { padding-left: 1.2em; margin: 18px 0 24px; }
.epz-thanks__steps li { margin-bottom: 8px; }
.epz-thanks__steps li::marker { color: var(--epz-orange); font-weight: 700; }
.epz-thanks__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.epz-dt select.epz-time { flex: 0 0 110px; width: 110px; }

/* Povinný termín dodání */
.epz-field-error { color: #c0392b; font-size: .85rem; font-weight: 500; }
.epz-field-error[hidden] { display: none; }
.epz-deadline.is-invalid input, .epz-deadline.is-invalid select { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.epz-file-del { display: inline; margin-left: 8px; }
.epz-file-del__btn { background: none; border: 0; padding: 0; color: #c0392b; cursor: pointer; text-decoration: underline; font: inherit; font-size: .85rem; }
.epz-mode-info { display: block; padding: 10px 0 2px; font-weight: 500; color: var(--epz-teal); }
.epz-inv--uhrazena { background: #e6f4ea; color: #1e6b34; }
.epz-inv--neuhrazena { background: #fff4e0; color: #8a5a00; }
.epz-inv--po_splatnosti { background: #fdecea; color: #b3261e; }
.epz [hidden], .epz-billing [hidden] { display: none !important; }
.epz-eur { font-weight: 600; color: var(--epz-teal); }

/* Překladatelé */
.epz-pairs { display: grid; gap: 8px; margin-bottom: 8px; }
.epz-pair { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.epz-pair select { flex: 1 1 180px; }
.epz-proof { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; }
.epz-check--small span { font-size: .9rem; }
.epz-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--epz-orange, #f39321); color: #fff; font-size: .75rem; text-align: center; }
.epz-langs { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.epz-btn--small { padding: 6px 14px; font-size: .8rem; }
.epz-take { margin: 20px 0; padding: 16px; border: 2px solid var(--epz-orange, #f39321); border-radius: 10px; background: #fff8ef; }
.epz-deliver { margin-top: 12px; }
.epz-ready { margin: 16px 0; padding: 16px 18px; border-radius: 10px; background: #e6f4ea; }
.epz-ready h3 { margin-top: 0; }
.epz-files--ready { list-style: none; padding: 0; display: grid; gap: 8px; }

/* Chat u zakázky */
.epz-chat { margin: 28px 0 8px; padding: 18px; border: 1px solid #dfe8ec; border-radius: 12px; background: #fff; }
.epz-chat h3 { margin-top: 0; }
.epz-chat__list { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; margin: 12px 0; padding: 4px; }
.epz-chat__empty { color: #6b7b82; font-size: .9rem; }
.epz-chat__msg { max-width: 82%; padding: 10px 14px; border-radius: 12px; background: #f1f5f7; align-self: flex-start; }
.epz-chat__msg.is-mine { align-self: flex-end; background: #e7f1f5; }
.epz-chat__msg--admin { background: #fff4e5; }
.epz-chat__msg.is-new { box-shadow: 0 0 0 2px var(--epz-orange, #f39321); }
.epz-chat__meta { font-size: .78rem; color: #5b6b72; margin-bottom: 4px; }
.epz-chat__new { color: #fff; background: var(--epz-orange, #f39321); border-radius: 8px; padding: 0 6px; font-size: .7rem; }
.epz-chat__text { white-space: normal; overflow-wrap: anywhere; }
.epz-chat__form { display: grid; gap: 8px; }
.epz-chat__form textarea { width: 100%; }
.epz-chat__form .epz-btn { justify-self: end; }
.epz-chat-badge { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 10px; background: var(--epz-orange, #f39321); color: #fff !important; font-size: .75rem; text-decoration: none; }

/* Přihlášení a heslo */
.epz-login-form, .epz-password .epz-form { max-width: 460px; }
.epz-pass { position: relative; display: block; }
.epz-pass input { width: 100%; padding-right: 44px; }
.epz-pass__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; font-size: 18px; opacity: .6; }
.epz-pass__toggle:hover { opacity: 1; }
.epz-password h2 { margin-top: 0; }

/* Platba předem / doplatek */
.epz .epz-pay{border:2px solid #f39321;border-radius:12px;padding:18px 20px;margin:18px 0;background:#fffaf3}
.epz .epz-pay h3{margin:0 0 6px;color:#0f4e65}
.epz .epz-pay__grid{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;margin:12px 0}
.epz .epz-pay__qr{display:flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border:1px solid #e3eaed;border-radius:10px;padding:10px}
.epz .epz-pay__qr svg{width:170px;height:170px;display:block}
.epz .epz-pay__data{flex:1 1 240px;margin:0}
.epz .epz-pay__online{margin-top:10px;max-width:420px}
.epz .epz-paypal{margin-top:6px}
@media (max-width:560px){.epz .epz-pay{padding:14px}.epz .epz-pay__qr{width:100%}}

/* Chat – přílohy */
.epz-chat__file{margin-top:6px;font-size:14px}
.epz-chat__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:8px}
.epz-chat__attach{font-size:13px;color:#5b6b72}
.epz-chat__attach input{font-size:13px;max-width:100%}
.epz-chat__privacy{margin:6px 0 0;font-size:12px}
.epz .epz-vies-msg.is-ok{color:#1e7e34}
.epz .epz-vies-msg.is-error{color:#b32d2e}
.epz-status--ceka_platba, .epz-status--ceka_doplatek { background: #fff3e0; color: #a35a00; }

/* Ceník [ep_cenik] – vzhled podle původního webu */
body:has(.epz-prices) { overflow-x: clip; }
/* Úzký sloupec obsahu se kolem sekce roztáhne, aby šla přes celou šířku; ostatní bloky zůstanou úzké. */
.content:has(> .epz-prices) { max-width: none; }
.content:has(> .epz-prices) > :not(.epz-prices) { max-width: 820px; }
.epz-prices { width: 100vw; margin: 40px 0 40px calc(50% - 50vw); padding: 40px 0 48px; background: #0f4e65 var(--epz-prices-bg) left top / cover no-repeat; color: #fff; }
.epz-prices__in { max-width: 1170px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.epz-prices__side { position: relative; text-align: right; }
.epz-prices__title { margin: 0 !important; color: #fff !important; font-size: 1.85rem; line-height: 1.15; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.epz-prices__line { position: absolute; right: 60px; top: 108px; height: 280px; border-left: 2px dotted rgba(255,255,255,.75); }
.epz-prices__line::before, .epz-prices__line::after { content: ""; position: absolute; left: -7px; width: 12px; height: 12px; border-radius: 50%; background: #f39321; }
.epz-prices__line::before { top: -6px; } .epz-prices__line::after { top: 150px; }
.epz-prices__lead { margin: 4px 0 18px; font-size: .95rem; line-height: 1.5; font-style: italic; color: #fff; }
.epz-prices__lead strong { font-style: normal; }
.epz-cenik { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.epz-tile { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; background: #07435f; border-radius: 2px; color: #fff !important; text-decoration: none !important; text-align: right; transition: background-color .15s; }
.epz-tile:hover, .epz-tile:focus-visible { background: #f39321; }
.epz-tile:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.epz-tile__flag { flex: 0 0 32px; width: 32px; height: 24px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15); margin-right: auto; }
.epz-tile__lang { font-size: 1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epz-tile__price { flex: none; font-size: .72rem; font-style: italic; white-space: nowrap; }
.epz-tile__price strong { font-weight: 700; }
.epz-prices__notes { margin-top: 26px; }
.epz-prices__notes p { margin: 0 0 14px; font-weight: 700; font-size: .95rem; color: #fff; }
.epz-prices__btn { display: inline-block; margin-top: 10px; padding: 14px 26px; background: #f39321; border: 2px solid #fff; color: #fff !important; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; text-decoration: none !important; transition: background-color .15s; }
.epz-prices__btn:hover { background: #d97c0d; }
@media (max-width: 900px) {
	.epz-prices__in { grid-template-columns: 1fr; gap: 10px; }
	.epz-prices__side { text-align: left; } .epz-prices__title br { display: none; } .epz-prices__line { display: none; }
	.epz-cenik { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .epz-cenik { grid-template-columns: 1fr; } }

/* Poptávka – kroky (UX 2026-10) */
.epz-step { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.epz-step__title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; font-weight: 700; font-size: 1.02rem; color: var(--epz-teal); }
.epz-step__n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--epz-orange); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.epz-drop--main { padding: 22px 16px; gap: 8px; border-color: var(--epz-orange); background: #fff7ee; }
.epz-drop__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; background: var(--epz-orange); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.epz-drop__btn::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20h14v-2H5v2zm7-18-6.5 6.5 1.4 1.4L11 6.8V16h2V6.8l4.1 4.1 1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20h14v-2H5v2zm7-18-6.5 6.5 1.4 1.4L11 6.8V16h2V6.8l4.1 4.1 1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.epz-drop--main:hover .epz-drop__btn { background: var(--epz-orange-d); }
.epz-paste summary { cursor: pointer; font-weight: 500; color: var(--epz-teal); font-size: .92rem; }
.epz-paste[open] summary { margin-bottom: 8px; }
.epz-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.epz-svc__opt { position: relative; cursor: pointer; }
.epz-svc__opt input { position: absolute; opacity: 0; inset: 0; }
.epz-svc__opt span { display: grid; gap: 4px; height: 100%; padding: 12px 14px; border: 2px solid #b9cbd2; border-radius: 10px; background: #fff; transition: border-color .15s, background .15s; }
.epz-svc__opt strong { color: var(--epz-teal); font-size: .98rem; }
.epz-svc__opt small { color: var(--epz-muted); font-size: .8rem; line-height: 1.35; }
.epz-svc__opt input:checked + span { border-color: var(--epz-orange); background: #fff7ee; box-shadow: inset 0 0 0 1px var(--epz-orange); }
.epz-svc__opt input:focus-visible + span { outline: 3px solid var(--epz-orange); outline-offset: 2px; }
.epz-svc-info { padding: 12px 14px; border-left: 3px solid var(--epz-orange); background: var(--epz-bg); border-radius: 0 8px 8px 0; font-size: .88rem; line-height: 1.5; }
.epz-svc-info a { display: inline-block; margin-top: 4px; font-weight: 600; }
.epz-deadline__date { max-width: 360px; }
.epz-deadline__hint { margin-top: -4px; }
.epz-label small { font-weight: 400; color: var(--epz-muted); }
.epz-promise { color: var(--epz-ink, #1d2a30); }
.epz-promise strong { color: var(--epz-teal); }
.epz-alt { margin-top: -6px; }
.epz-thanks__urgent { background: #fff7ee; border-radius: 8px; padding: 10px 14px; }
@media (max-width: 560px) { .epz-svc { grid-template-columns: 1fr; } .epz-svc__opt span { padding: 10px 12px; } }

/* Ceník – výhody, jednotka, kalkulačka, příplatky */
.epz-tile__price small { font-size: .62rem; opacity: .8; }
.epz-perks { list-style: none; margin: 0 0 18px; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.epz-perk { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 6px; font-weight: 700; font-size: .88rem; line-height: 1.3; color: #fff; }
.epz-perk__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f39321; position: relative; }
.epz-perk__ico::after { content: ""; position: absolute; inset: 8px; background: #fff; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.epz-perk--shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4z'/%3E%3C/svg%3E"); }
.epz-perk--percent { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 11a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zm9 9a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7zM5.4 20 4 18.6 18.6 4 20 5.4z'/%3E%3C/svg%3E"); }
.epz-perk--card { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 14H4v-6h16zm0-10H4V6h16z'/%3E%3C/svg%3E"); }
.epz-prices__unit { margin: 16px 0 0; font-size: .88rem; line-height: 1.55; color: #d4e5eb; }
.epz-calc { margin-top: 22px; padding: 18px; background: #fff; color: #1d2a30; border-radius: 6px; }
.epz-calc__title { margin: 0 0 10px !important; font-size: 1.05rem; color: #0f4e65 !important; }
.epz-calc__row { display: grid; grid-template-columns: 1.3fr .9fr 1fr auto; gap: 12px; align-items: end; }
.epz-calc label, .epz-calc__res { display: grid; gap: 4px; font-size: .8rem; color: #5b6b72; }
.epz-calc select, .epz-calc input { min-height: 44px; padding: 8px 10px; border: 1px solid #b9cbd2; border-radius: 4px; font: inherit; font-size: .95rem; color: #1d2a30; background: #fff; width: 100%; }
.epz-calc__sum { font-size: 1.35rem; color: #0f4e65; line-height: 44px; white-space: nowrap; }
.epz-calc__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: #f39321; color: #fff !important; font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; text-decoration: none !important; white-space: nowrap; }
.epz-calc__btn:hover { background: #d97c0d; }
.epz-calc__note { margin: 10px 0 0; font-size: .8rem; color: #5b6b72; }
.epz-prices__extra { margin-top: 22px; }
.epz-prices__extra h3 { margin: 0 0 8px !important; color: #fff !important; font-size: 1.05rem; }
.epz-prices__extra ul { margin: 0; padding-left: 1.2em; font-size: .9rem; line-height: 1.7; }
.epz-prices__extra li::marker { color: #f39321; }
@media (max-width: 900px) { .epz-perks { grid-template-columns: 1fr; } .epz-calc__row { grid-template-columns: 1fr 1fr; } .epz-calc__btn { justify-content: center; } }
@media (max-width: 480px) { .epz-calc__row { grid-template-columns: 1fr; } }

/* Ceník – přepínač služeb */
.epz-prices [hidden] { display: none !important; }
.epz-svc-tabs { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 0 0 16px; border: 2px solid #f39321; border-radius: 4px; overflow: hidden; }
.epz-svc-tab { appearance: none; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: .9rem; padding: 10px 18px; cursor: pointer; transition: background-color .15s; }
.epz-svc-tab + .epz-svc-tab { border-left: 2px solid #f39321; }
.epz-svc-tab:hover { background: rgba(243, 147, 33, .25); }
.epz-svc-tab[aria-selected="true"] { background: #f39321; }
.epz-svc-tab:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.epz-calc__svc { font-weight: 500; color: #5b6b72; font-size: .9rem; }
.epz-calc__empty { margin: 0; font-size: .9rem; }
.epz-calc__note strong { color: #0f4e65; }
.epz-calc__what { margin-top: 8px; font-size: .85rem; color: #1d2a30; }
.epz-calc__what summary { cursor: pointer; font-weight: 600; color: #d97c0d; }
.epz-calc__what p { margin: 8px 0 0; line-height: 1.55; }
@media (max-width: 560px) { .epz-svc-tabs { display: flex; } .epz-svc-tab { flex: 1 1 auto; padding: 10px 8px; font-size: .82rem; } }

/* Odkazy na jazykové stránky [ep_jazykove_stranky] */
.epz-langlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 16px 0; }
.epz-langlink { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d9e3e7; border-radius: 8px; background: #fff; color: #0f4e65 !important; text-decoration: none !important; font-weight: 500; font-size: .92rem; transition: border-color .15s; }
.epz-langlink:hover { border-color: #f39321; }
.epz-langlink img { width: 24px; height: 18px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* Tabulky a poznámky ve vstupních stránkách (např. Typické ceny a termíny). */
.wp-block-table.ep-table { margin: 18px 0 22px; overflow-x: auto; }
.wp-block-table.ep-table table { width: 100%; border-collapse: collapse; font-size: .95rem; table-layout: auto; }
.wp-block-table.ep-table th { background: var(--teal, #0f4e65); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; border: 0; }
.wp-block-table.ep-table td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line, #d9e3e7); vertical-align: top; }
.wp-block-table.ep-table tr:nth-child(even) td { background: #f2f8f8; }
.wp-block-table.ep-table td:nth-child(3) { white-space: nowrap; }
.wp-block-table.ep-facts { max-width: 640px; display: flex; flex-direction: column-reverse; }
.wp-block-table.ep-facts td:first-child { font-weight: 600; width: 40%; color: var(--teal, #0f4e65); }
.wp-block-table.ep-facts figcaption { text-align: left; font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; color: var(--teal, #0f4e65); }
.ep-note { background: #fff6ec; border-left: 4px solid var(--orange, #f39321); padding: 12px 16px; border-radius: 6px; }
@media (max-width: 640px) {
	.wp-block-table.ep-table thead { display: none; }
	.wp-block-table.ep-table tr { display: block; border-bottom: 1px solid var(--line, #d9e3e7); padding: 8px 0; }
	.wp-block-table.ep-table td { display: block; border: 0; padding: 2px 4px; background: none !important; }
	.wp-block-table.ep-table td:first-child { font-weight: 700; }
	.wp-block-table.ep-table td:nth-child(3) { white-space: normal; }
}

/* Dlaždice měst ([ep_mesta]). */
.epz-cities__kraj { font-size: 1.05rem; margin: 26px 0 4px; color: var(--teal, #0f4e65); }
.epz-cities .epz-langlink svg { flex: none; color: var(--orange, #f39321); }
.epz-deadline__date > .epz-label { display: block; margin-bottom: 6px; }
.epz-deadline__date { margin-top: 10px; }
