/**
 * File: calcwood_promo_offer.css
 * Verze a aktuální datum: 21-10-26 v_1.6
 */
.th-offer-overlay:not([hidden]) {
    display: flex;
}

.th-offer-overlay[hidden],
.th-offer-overlay [hidden] {
    display: none !important;
}

html.th-offer-open {
    overflow: hidden;
}

.th-offer-close {
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
}

.th-offer-loading {
    padding: 18px 0;
}

.th-offer-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(249, 195, 67, 0.25);
    border-top-color: #f9c343;
    border-radius: 50%;
    animation: th-offer-spin 0.8s linear infinite;
}

@keyframes th-offer-spin {
    to { transform: rotate(360deg); }
}

.th-offer-title {
    margin: 0 0 15px;
    line-height: 1.35;
    text-wrap: balance;
}

.th-offer-countdown-wrap {
    margin: 14px 0 0;
}

.th-offer-countdown-label {
    margin-bottom: 8px;
    color: #f9c343;
    font-size: 14px;
    font-weight: bold;
}

.th-offer-countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.th-offer-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    padding: 8px 4px 6px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #111;
}

.th-offer-cd-unit strong {
    color: #f9c343;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.th-offer-cd-unit small {
    margin-top: 4px;
    color: #aaa;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.th-offer-until {
    margin-top: 10px;
    color: #aaa;
    font-size: 12px;
}

@media (max-width: 600px) {
    .th-offer-cd-unit {
        min-width: 48px;
    }

    .th-offer-cd-unit strong {
        font-size: 20px;
    }
}

.th-offer-save {
    margin-top: 6px;
    color: #7bd88f;
    font-size: 14px;
    font-weight: bold;
}

.th-offer-benefits {
    margin: 16px auto 0;
    padding: 0;
    max-width: 340px;
    list-style: none;
    text-align: left;
}

.th-offer-benefits li {
    position: relative;
    margin: 6px 0;
    padding-left: 26px;
    color: #ddd;
    font-size: 14px;
    line-height: 1.4;
}

.th-offer-benefits li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #f9c343;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.th-offer-proof:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    width: fit-content;
    max-width: 100%;
    margin: 18px auto 0;
    padding: 9px 18px;
    border-radius: 24px;
    border: 1px solid #333;
    background: #111;
    color: #e6e6e6;
    font-size: 15px;
    font-weight: bold;
}

.th-offer-star {
    width: 20px;
    height: 20px;
}

.th-offer-proof-rating:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Popup MAGIC20 v2 (pro_purchase_block.php) – dva cenové boxy vedle sebe */
.th-promo-v2-box {
    max-width: 560px;
    width: 95%;
}

.th-promo-v2-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 18px;
}

.th-promo-v2-box .th-offer-countdown-label {
    margin-top: 4px;
}

.th-offer-trust {
    margin: 10px 0 0;
    color: #aaa;
    font-size: 12px;
}

.th-modal-box:focus {
    outline: none;
}

.th-offer-form {
    margin: 18px 0 0;
    text-align: left;
}

.th-offer-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #bbb;
    cursor: pointer;
}

.th-offer-terms input {
    margin-top: 2px;
    accent-color: #f9c343;
    flex: 0 0 auto;
}

.th-offer-terms a {
    color: #f9c343;
}

.th-offer-error {
    margin: 8px 0 0;
    color: #ff8a80;
    font-size: 13px;
}

.th-offer-cta.is-loading {
    opacity: 0.7;
    cursor: wait;
}
