/* 152-FZ Cookie Consent Banner (desktop bottom-right + mobile compact card) */
.cookie-info {
    position: fixed;
    z-index: 100001;
    right: 20px;
    left: auto;
    bottom: 16px;
    width: auto;
    max-width: min(820px, calc(100vw - 290px));
    padding: 10px 14px 10px 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #d7dadf;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(29, 33, 42, 0.14);
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    line-height: 1.38;
    color: #1d212a;
    box-sizing: border-box;
}

.cookie-info * {
    box-sizing: border-box;
}

.cookie-info__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cookie-info__text {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.38;
    color: #363c48;
}

.cookie-info__text a {
    color: #008bd2 !important;
    border-bottom: 1px solid rgba(0, 139, 210, 0.35);
    text-decoration: none !important;
}

.cookie-info__text a:hover,
.cookie-info__text a:focus {
    color: #006da6 !important;
    border-bottom-color: #006da6;
}

.cookie-info__btns {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    flex-shrink: 0;
}

.cookie-info .btn.cookie-info__btn-agree,
.cookie-info .btn.cookie-info__btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 30px;
    padding: 6px 14px !important;
    margin: 0;
    border-radius: 3px;
    background: #008bd2 !important;
    border: 1px solid #008bd2 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
}

.cookie-info .btn.cookie-info__btn-agree:hover,
.cookie-info .btn.cookie-info__btn-agree:focus,
.cookie-info .btn.cookie-info__btn-save:hover,
.cookie-info .btn.cookie-info__btn-save:focus {
    background: #0072ad !important;
    border-color: #0072ad !important;
    color: #fff !important;
}

.cookie-info__btn-decline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px !important;
    margin: 0;
    border-radius: 3px !important;
    background: #eef1f8 !important;
    border: 1px solid #d0d5e0 !important;
    color: #1d212a !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.cookie-info__btn-decline:hover,
.cookie-info__btn-decline:focus {
    background: #e1e6f0 !important;
    border-color: #b7c0d1 !important;
    color: #1d212a !important;
}

.cookie-info__btn-options {
    background: none !important;
    border: none !important;
    border-bottom: 1px dashed rgba(29, 33, 42, 0.45) !important;
    border-radius: 0 !important;
    padding: 2px 0 !important;
    margin: 0;
    color: #5b6475 !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.cookie-info__btn-options:hover,
.cookie-info__btn-options:focus {
    color: #1d212a !important;
    border-bottom-color: #1d212a !important;
}

.cookie-info__close {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 2px;
    font-size: 20px;
    line-height: 1;
    color: #727f95 !important;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: color 0.18s ease;
}

.cookie-info__close:hover,
.cookie-info__close:focus {
    color: #1d212a !important;
}

.cookie-info__options {
    display: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e6eaf2;
}

.cookie-info.cookie-info_expanded .cookie-info__options {
    display: block;
}

.cookie-info__checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 10px;
}

.cookie-info__options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #1d212a;
    cursor: pointer;
    position: static;
    padding: 0;
}

.cookie-info__options input[type="checkbox"] {
    position: static !important;
    display: inline-block !important;
    opacity: 1 !important;
    width: 14px;
    height: 14px;
    margin: 0 !important;
    accent-color: #008bd2;
    cursor: pointer;
}

.cookie-info__options-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop footer legal links */
.footer .footer-legal {
    position: absolute;
    right: 380px;
    top: 30px;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.footer .footer-legal a {
    color: #727f95 !important;
    text-decoration: none !important;
    border-bottom: 1px solid;
}

.footer .footer-legal a:hover {
    color: #1d212a !important;
}

.footer .footer-legal__sep {
    color: #b4bccb;
    margin: 0 7px;
}

@media (max-width: 1500px) {
    .footer .footer-legal {
        position: static;
        display: block;
        margin-top: 8px;
        white-space: normal;
    }
}

/* Mobile footer legal links */
.footer-legal-mobile {
    padding: 0 15px 12px;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    color: #727f95;
}

.footer-legal-mobile a {
    color: #5b6475 !important;
    text-decoration: underline !important;
    margin: 0 6px;
    white-space: nowrap;
}

/* Form agreement checkbox styling across Call, Cart, Signup, Profile */
.form-agreement {
    margin-bottom: 15px;
    text-align: left;
}

.form-agreement.text-center {
    text-align: center;
}

.form-agreement .checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

.form-agreement label {
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
    color: #4a5160;
    cursor: pointer;
}

.form-agreement a {
    color: #008bd2 !important;
    text-decoration: underline !important;
}

.form-agreement a:hover {
    color: #006da6 !important;
}

.form-agreement .help-block,
.form-agreement .help-block-error {
    color: #c9302c;
    font-size: 12px;
    margin: 4px 0 0;
}

/* Legal document pages (/politika-konfidencialnosti, /soglasie-na-obrabotku-pd, /fajly-cookie) */
.legal-doc {
    line-height: 1.65;
    color: #242933;
}

.legal-doc__meta {
    font-size: 13px;
    color: #6b7485;
    margin-bottom: 20px;
}

.legal-doc h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 26px 0 12px;
    color: #1d212a;
    text-transform: none;
    letter-spacing: 0;
}

.legal-doc p {
    margin: 0 0 12px;
}

.legal-doc ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.legal-doc li {
    margin-bottom: 6px;
}

.legal-doc a {
    color: #008bd2;
    text-decoration: underline;
}

.legal-doc__table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 14px 0 18px;
}

.legal-doc__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
}

.legal-doc__table th,
.legal-doc__table td {
    border: 1px solid #d7dadf;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
}

.legal-doc__table th {
    background: #f3f5fb;
    font-weight: 700;
    color: #1d212a;
}

@media (max-width: 1023px) {
    .cookie-info {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .cookie-info {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 10px 12px;
        font-size: 12px;
    }

    .cookie-info__row {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .cookie-info__text {
        font-size: 12px;
        line-height: 1.35;
        padding-right: 24px;
    }

    .cookie-info__btns {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cookie-info__close {
        position: absolute;
        top: -2px;
        right: -2px;
        margin-left: 0;
    }

    .cookie-info .btn.cookie-info__btn-agree,
    .cookie-info .btn.cookie-info__btn-save,
    .cookie-info__btn-decline {
        min-height: 28px;
        padding: 5px 11px !important;
        font-size: 11px;
    }
}
