.pw-better-price-modal-open {
    overflow: hidden;
}

/* Blok na detailu produktu */
.pw-better-price-box {
    width: 100%;
    margin: 14px 0 0;
}

.pw-better-price-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    background: #fff;
    color: #111;
    text-align: left;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.pw-better-price-trigger:hover {
    border-color: #aaa;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.pw-better-price-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 17px;
    font-weight: 700;
}

.pw-better-price-copy {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
}

.pw-better-price-title {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.pw-better-price-arrow {
    flex: 0 0 auto;
    margin-left: 12px;
    color: #777;
    font-size: 23px;
    line-height: 1;
}

/* Vyskakovací okno */
.pw-better-price-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pw-better-price-modal.is-visible {
    display: flex;
}

.pw-better-price-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.pw-better-price-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 32px;
    background: #fff;
    color: #111;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.pw-better-price-dialog h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.2;
}

.pw-better-price-dialog p {
    margin: 0 0 16px;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
}

.pw-better-price-dialog .pw-better-price-note {
    margin-bottom: 24px;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.pw-better-price-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    color: #111;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.pw-better-price-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.pw-better-price-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    text-decoration: none !important;
    cursor: pointer;
}

.pw-better-price-email {
    background: #111;
    color: #fff !important;
}

.pw-better-price-cancel {
    border: 0;
}

@media (max-width: 767px) {
    .pw-better-price-box {
        margin-top: 12px;
    }

    .pw-better-price-trigger {
        min-height: 52px;
        padding: 9px 11px;
    }

    /*
     * Na úzkém mobilním sloupci procentní ikonu skryjeme.
     * Díky tomu zůstane nadpis v jednom řádku.
     */
    .pw-better-price-icon {
        display: none;
    }

    .pw-better-price-title {
        white-space: nowrap;
        font-size: 13px;
    }

    .pw-better-price-arrow {
        margin-left: auto;
        padding-left: 8px;
        font-size: 21px;
    }

    .pw-better-price-dialog {
        padding: 28px 20px 22px;
    }

    .pw-better-price-actions {
        flex-direction: column;
    }

    .pw-better-price-actions .btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .pw-better-price-title {
        font-size: 12px;
    }
}
