.legal-summary,
.legal-section,
.privacy-layer,
.cookie-banner,
.external-service-card,
.price-note {
    background: rgba(16, 16, 16, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.legal-summary,
.legal-section,
.privacy-layer,
.external-service-card {
    padding: 24px;
    margin-bottom: 24px;
}

.legal-summary h1,
.legal-section h2,
.privacy-layer h4,
.external-service-card h4 {
    margin-top: 0;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}

.legal-nav a,
.legal-links-inline a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(242, 56, 39, 0.14);
    color: #f7f7f7;
}

.legal-summary__meta {
    margin: 18px 0 0;
}

.legal-summary__meta dt {
    color: #f23827;
}

.legal-summary__meta dd {
    margin: 0 0 10px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
}

.legal-table th,
.legal-table td {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.legal-table th {
    background: rgba(242, 56, 39, 0.14);
    color: #fff;
    font-weight: 700;
}

.legal-table td {
    color: #d6d6d6;
}

.legal-list,
.legal-checklist,
.policy-links {
    padding-left: 18px;
}

.policy-links li,
.legal-checklist li,
.legal-list li {
    margin-bottom: 8px;
}

.privacy-layer {
    margin-top: 20px;
}

.privacy-layer__items {
    margin: 0;
    padding-left: 18px;
}

.privacy-layer__items li {
    margin-bottom: 8px;
}

.consent-field {
    display: block;
    margin-bottom: 12px;
    line-height: 1.5;
}

.consent-field input {
    margin-right: 8px;
}

.consent-help {
    font-size: 13px;
    color: #cfcfcf;
}

.field-errors {
    margin-bottom: 18px;
    padding-left: 18px;
    color: #ffb3aa;
}

.newsletter-privacy {
    margin-top: 14px;
    font-size: 13px;
    color: #d5d5d5;
}

.newsletter-privacy p {
    margin-bottom: 10px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-legal-links a,
.footer-legal-links button {
    border: 0;
    background: transparent;
    color: #d8d8d8;
    padding: 0;
}

.footer-legal-links button:hover,
.footer-legal-links a:hover {
    color: #f23827;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 100000;
    padding: 20px 22px;
}

.cookie-banner[hidden],
.cookie-settings[hidden] {
    display: none !important;
}

.cookie-banner__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cookie-banner__text {
    flex: 1 1 420px;
}

.cookie-banner__actions,
.cookie-settings__actions,
.map-placeholder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-action {
    min-width: 155px;
    font-weight: 700;
}

.cookie-settings {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100001;
}

.cookie-settings__backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.72);
}

.cookie-settings__dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100vw - 28px);
    max-width: 760px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    padding: 28px;
    background: rgba(16, 16, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.cookie-settings__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
}

.cookie-settings__notice {
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(242, 56, 39, 0.16);
    color: #fff;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.cookie-category h3 {
    margin-top: 0;
}

.cookie-category__list {
    margin-bottom: 0;
    padding-left: 18px;
}

.cookie-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 132px;
    color: #fff;
    font-weight: 700;
}

.cookie-switch input {
    margin: 0;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    padding: 24px;
    text-align: center;
}

.map-placeholder p {
    max-width: 560px;
    margin: 0 auto 14px;
}

.cover-legal-links {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.cover-legal-links a {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 999px;
}

.price-note {
    margin-top: 18px;
    padding: 12px 14px;
    color: #d9d9d9;
    font-size: 13px;
}

.price-note--stock {
    margin: 0 0 18px;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    border-left: 3px solid #f23827;
    border-radius: 0;
    box-shadow: none;
    color: #cfcfcf;
}

@media only screen and (max-width: 767px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-action {
        width: 100%;
    }

    .cookie-settings__dialog {
        padding: 22px 18px;
    }

    .cookie-category {
        display: block;
    }

    .cookie-switch {
        margin-top: 12px;
    }

    .legal-summary,
    .legal-section,
    .privacy-layer,
    .external-service-card {
        padding: 18px;
    }

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

    .cover-legal-links {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: center;
    }
}
