.bsr-info-bar,
.bsr-info-bar *,
.bsr-modal,
.bsr-modal * {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: #2D2D2D;
}

.bsr-info-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #D1C3C3;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 44px 10px 16px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.bsr-info-bar__text {
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    font-weight: 600;
}

.bsr-info-bar__close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #2D2D2D;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    width: 30px;
    height: 30px;
    padding: 0;
}

body.bsr-has-info-bar {
    padding-top: 46px;
}

.bsr-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(45, 45, 45, 0.42);
    display: none;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.bsr-modal-backdrop.is-open {
    display: flex;
}

.bsr-modal {
    position: relative;
    width: min(520px, 100%);
    max-height: min(86vh, 780px);
    overflow-y: auto;
    background: #D1C3C3;
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
    padding: 26px 20px 20px;
    text-align: center;
}

.bsr-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    color: #2D2D2D;
}

.bsr-modal__media {
    margin: 0 auto 12px;
}

.bsr-modal__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}

.bsr-modal__title {
    margin: 8px 0 10px;
    font-size: clamp(22px, 4.4vw, 30px);
    line-height: 1.2;
    font-weight: 700;
    color: #2D2D2D;
}

.bsr-modal__text {
    margin: 0 auto 18px;
    font-size: 16px;
    line-height: 1.5;
    max-width: 92%;
    color: #2D2D2D;
}

.bsr-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    border: 1px solid #2D2D2D;
    background: #2D2D2D;
    color: #D1C3C3;
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.bsr-modal__button:hover,
.bsr-modal__button:focus-visible {
    background: #444;
    border-color: #444;
}

@media (max-width: 640px) {
    .bsr-info-bar {
        padding: 12px 40px 12px 12px;
        min-height: 88px;
    }

    body.bsr-has-info-bar {
        padding-top: 88px;
    }

    .bsr-info-bar__text {
        font-size: 13px;
        line-height: 1.3;
    }

    .bsr-modal {
        padding: 24px 14px 16px;
        border-radius: 14px;
    }

    .bsr-modal__title {
        font-size: 24px;
    }

    .bsr-modal__text {
        font-size: 15px;
        max-width: 100%;
    }
}
