/* Online odstoupení od smlouvy (modules/withdrawal.php), allivictus.cz */
.withdrawal { color: #444; }
.withdrawal p, .withdrawal li, .withdrawal label, .withdrawal legend { font-size: 14px; line-height: 1.6; }
.withdrawal .wd-lead { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.withdrawal .wd-form { margin-bottom: 20px; }
.withdrawal .wd-form label { font-weight: bold; color: #333; margin-top: 12px; }
.withdrawal .wd-form input[type=text], .withdrawal .wd-form input[type=email], .withdrawal .wd-form textarea { min-height: 40px; font-size: 14px; box-sizing: border-box; margin-bottom: 4px; }
.withdrawal .wd-form textarea { min-height: 80px; }
.withdrawal .wd-form input:focus, .withdrawal .wd-form textarea:focus { outline: 3px solid #85be58; outline-offset: 1px; }

/* tlačítka: zelené jako „dokončit objednávku“ */
.withdrawal .wd-btn { min-height: 44px; min-width: 44px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; font-size: 14px; font-weight: bold; text-decoration: none; border-radius: 40px; cursor: pointer; margin: 0; }
.withdrawal .button.wd-btn { color: #fff; text-shadow: 0 1px 0 #5f7213; border: 1px solid #588a01; background: #85be58; background: linear-gradient(to bottom, #aed491 0%, #85be58 100%); box-shadow: inset 0 1px 2px 0 #dbe4b7, 0 1px 1px 0 #999; }
.withdrawal .button.wd-btn:hover, .withdrawal .button.wd-btn:focus { background: linear-gradient(to top, #aed491 0%, #85be58 100%); color: #fff; }
.withdrawal .button.wd-btn:focus-visible { outline: 3px solid #2e2e2e; outline-offset: 2px; }
.withdrawal .wd-btn--back { border: 1px solid #c8c8c8; color: #444; background: #fff; }
.withdrawal .wd-btn--back::before { content: "\2190"; margin-right: 8px; font-weight: normal; }
.withdrawal .wd-btn--back:hover, .withdrawal .wd-btn--back:focus { border-color: #2e2e2e; background: #2e2e2e; color: #fff; }
.withdrawal .wd-btn[disabled] { opacity: .7; cursor: progress; }
.withdrawal .wd-form > .wd-btn { margin-top: 16px; }
.withdrawal .wd-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

.withdrawal .wd-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* položky a počet kusů */
.withdrawal .wd-items { border: 0; padding: 0; margin: 0 0 16px; }
.withdrawal .wd-items legend { font-size: 15px; font-weight: bold; color: #333; padding: 0; }
.withdrawal .wd-items ul { list-style: none; padding: 0; margin: 0; }
.withdrawal .wd-hint { color: #555; margin: 0 0 8px; }
.withdrawal .wd-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; margin: 0; border-bottom: 1px solid #e3e3e3; }
.withdrawal .wd-item:first-child { border-top: 1px solid #e3e3e3; }
.withdrawal .wd-item .wd-item__name { flex: 1 1 auto; font-weight: normal; margin: 0; color: #333; }
.withdrawal .wd-of { color: #666; white-space: nowrap; }
.withdrawal .wd-qty { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.withdrawal .wd-qty__btn { width: 40px; height: 40px; padding: 0; margin: 0; border: 1px solid #c8c8c8; background: #fff; border-radius: 50%; font-size: 20px; line-height: 1; color: #222; cursor: pointer; box-shadow: none; text-shadow: none; }
.withdrawal .wd-qty__btn:hover:not([disabled]) { border-color: #588a01; color: #588a01; background: #fff; }
.withdrawal .wd-qty__btn:focus-visible { outline: 3px solid #85be58; outline-offset: 1px; }
.withdrawal .wd-qty__btn[disabled] { opacity: .35; cursor: default; }
.withdrawal input.wd-qty__input { width: 52px; height: 40px; margin: 0; padding: 0; text-align: center; border: 1px solid #c8c8c8; border-radius: 3px; font-size: 15px; -moz-appearance: textfield; }
.withdrawal .wd-qty__input::-webkit-outer-spin-button, .withdrawal .wd-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.withdrawal .wd-qty__unit { color: #666; white-space: nowrap; min-width: 52px; }
.withdrawal .wd-item.is-zero .wd-item__name { color: #999; text-decoration: line-through; }

/* hlášky */
.withdrawal .wd-error { color: #b00020; margin: 2px 0 8px; font-weight: bold; }
.withdrawal [aria-invalid=true] { border-color: #b00020 !important; }
.withdrawal .wd-alert { padding: 12px 15px; margin-bottom: 16px; border-left: 4px solid; background: #f6f6f6; }
.withdrawal .wd-alert--error, .withdrawal .wd-alert--warning { border-color: #b00020; background: #fdecee; color: #6b0011; }
.withdrawal .wd-alert--info { border-color: #588a01; background: #f1f8ea; color: #2f4a06; }
.withdrawal .wd-note { color: #555; }
.withdrawal .wd-note a, .withdrawal .wd-lead a { text-decoration: underline; }
.withdrawal .wd-order { font-size: 15px; }

/* stránka „Odstoupení přijato“ */
.withdrawal .wd-success { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0 20px; border-bottom: 1px solid #e3e3e3; margin-bottom: 8px; }
.withdrawal .wd-success__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #588a01; position: relative; box-sizing: border-box; }
.withdrawal .wd-success__icon::after { content: ""; position: absolute; left: 15px; top: 7px; width: 11px; height: 20px; border: solid #588a01; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.withdrawal .wd-success__title { font-size: 20px; font-weight: bold; margin: 2px 0 4px; color: #222; }
.withdrawal .wd-success__text { margin: 0; color: #444; }
.withdrawal h3.wd-section { font-size: 15px; font-weight: bold; margin: 24px 0 6px; padding: 0; text-align: left; text-transform: none; color: #222; }
.withdrawal .wd-rows { list-style: none; padding: 0; margin: 0; }
.withdrawal .wd-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; margin: 0; border-bottom: 1px solid #e3e3e3; }
.withdrawal .wd-row:first-child { border-top: 1px solid #e3e3e3; }
.withdrawal .wd-row__label { color: #333; }
.withdrawal .wd-row__value { color: #333; text-align: right; white-space: nowrap; }
.withdrawal .wd-steps { list-style: none; counter-reset: wd-step; padding: 0; margin: 0; }
.withdrawal .wd-steps li { counter-increment: wd-step; display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; margin: 0; }
.withdrawal .wd-steps li::before { content: counter(wd-step); flex: 0 0 32px; height: 32px; border-radius: 50%; border: 2px solid #588a01; color: #588a01; font-weight: bold; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.withdrawal .wd-steps__text { padding-top: 4px; color: #333; }
.withdrawal .wd-legal { margin-top: 24px; }

@media only screen and (max-width: 767px) {
    .withdrawal .ten.columns.offset-by-three { margin-left: 10px; }
    .withdrawal .wd-item { flex-wrap: wrap; }
    .withdrawal .wd-qty { margin-left: auto; }
    .withdrawal .wd-row { flex-direction: column; gap: 2px; }
    .withdrawal .wd-row__value { text-align: left; white-space: normal; }
    .withdrawal .wd-actions { flex-direction: column-reverse; align-items: stretch; }
    .withdrawal .wd-btn { width: 100%; }
}
@media print {
    #control, footer, #newsletter, .wd-print-hide, .wd-legal, .fb-like-box { display: none !important; }
    .withdrawal { color: #000; }
    .withdrawal .wd-success__icon, .withdrawal .wd-steps li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* řádek nad tlačítkem objednávky (E6) */
.withdrawal-info { display: inline-block; margin-top: 4px; }
.withdrawal-info a { text-decoration: underline; }
