/* Compliance / legal styles for VFD Design (2026) */

.legal-page {
    color: #2b2b2b;
    font-size: 15px;
    line-height: 1.65;
}

.legal-page h2 {
    margin: 28px 0 12px;
    font-size: 21px;
    line-height: 1.3;
    color: #1d1d1d;
}

.legal-page h3 {
    margin: 20px 0 10px;
    font-size: 17px;
    line-height: 1.35;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
    margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 22px;
}

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

.legal-page table {
    width: 100%;
    margin: 14px 0 20px;
    border-collapse: collapse;
}

.legal-page table th,
.legal-page table td {
    padding: 9px 12px;
    border: 1px solid #dcdcdc;
    vertical-align: top;
}

.legal-page table th {
    background: #f5f3ef;
    font-weight: 600;
}

.legal-page a {
    color: #8a6d3b;
    text-decoration: underline;
}

.legal-page a:hover {
    color: #5f4a27;
}

/* Footer legal block */
.rm-footer-legal {
    margin-top: 26px;
    padding: 22px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #d8d8d8;
    font-size: 13px;
    line-height: 1.6;
}

.rm-footer-legal .rm-footer-legal-title {
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.rm-footer-legal a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.rm-footer-legal a:hover {
    color: #e8c98d;
    border-bottom-color: #e8c98d;
}

.rm-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-bottom: 12px;
}

.rm-footer-legal-links a {
    border-bottom: none;
}

.rm-footer-legal-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.rm-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 26px;
    padding: 0 8px;
    border-radius: 4px;
    background: #fff;
    color: #1d1d1d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1;
}

.rm-pay-badge.sbp {
    background: #5b2be0;
    color: #fff;
}

.rm-pay-badge.mir {
    background: #0f8a3c;
    color: #fff;
}

.rm-pay-badge.visa {
    color: #1a1f71;
}

.rm-pay-badge.mastercard {
    color: #eb001b;
}

.rm-footer-legal-note {
    color: #bfbfbf;
    font-size: 12px;
    line-height: 1.5;
}

.rm-footer-credits {
    margin-top: 10px;
    color: #bfbfbf;
    font-size: 12px;
}

/* Consent checkbox */
.rm-pd-consent {
    margin: 12px 0 14px;
    font-size: 13px;
    line-height: 1.5;
}

.rm-pd-consent a {
    text-decoration: underline;
}

.rm-pd-consent .rm-form-checkbox-input.error_style + .check-box {
    outline: 2px solid #d9534f;
}

/* Contact page requisites */
.rm-contact-requisites {
    margin: 30px 0;
    padding: 24px;
    border: 1px solid #e4ded4;
    border-radius: 6px;
    background: #fbf9f5;
}

.rm-contact-requisites h2 {
    margin-top: 0;
    font-size: 22px;
}

.rm-contact-requisites table {
    width: 100%;
    margin: 12px 0 16px;
    border-collapse: collapse;
}

.rm-contact-requisites th,
.rm-contact-requisites td {
    padding: 7px 10px;
    border-bottom: 1px solid #e4ded4;
    vertical-align: top;
    text-align: left;
}

.rm-contact-requisites th {
    width: 32%;
    font-weight: 600;
    color: #5c5346;
}

.rm-contact-requisites .rm-btn {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .legal-page {
        font-size: 14px;
    }

    .legal-page h2 {
        font-size: 19px;
    }

    .legal-page table {
        display: block;
        overflow-x: auto;
    }

    .rm-footer-legal {
        text-align: center;
    }

    .rm-footer-legal-links,
    .rm-footer-legal-pay {
        justify-content: center;
    }

    .rm-contact-requisites {
        padding: 18px 14px;
    }

    .rm-contact-requisites th,
    .rm-contact-requisites td {
        display: block;
        width: 100%;
    }
}

/* Honeypot and compact consent */
.hdnobm {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.rm-pd-consent--compact {
    margin: 8px 0 10px;
    font-size: 11px;
    line-height: 1.35;
}

.rm-pd-consent--compact label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    cursor: pointer;
}

.rm-pd-consent--compact .check-box {
    flex: 0 0 auto;
}

.rm-payment-note {
    margin: 14px 0;
    padding: 10px 14px;
    border-left: 3px solid #b08d57;
    background: #faf7f1;
    color: #4a4a4a;
    font-size: 13px;
    line-height: 1.5;
}

.rm-contact-map {
    margin: 30px 0;
}

.rm-contact-map h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.rm-contact-map iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #eee;
}
