#nomoraConsent,
#nomoraConsent *,
.nomora-consent-footer-fallback,
.nomora-consent-footer-fallback * {
    box-sizing: border-box;
}

#nomoraConsent[hidden] {
    display: none !important;
}

#nomoraConsent[data-state="settings"] {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    overflow: auto;
    padding: 24px;
    place-items: center;
    background: rgba(17, 24, 39, 0.38);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: nomora-consent-fade 180ms ease-out;
}

.nomora-consent {
    width: min(880px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.2), 0 2px 8px rgba(17, 24, 39, 0.06);
    color: #202124;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.nomora-consent--banner {
    position: fixed;
    z-index: 100000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    margin: 0 auto;
    padding: 18px;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    animation: nomora-consent-rise 220ms ease-out;
}

.nomora-consent--settings {
    position: relative;
    width: min(620px, calc(100vw - 48px));
    padding: 24px;
    animation: nomora-consent-scale 180ms ease-out;
}

.nomora-consent__intro {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
}

.nomora-consent--settings .nomora-consent__intro {
    align-items: flex-start;
}

.nomora-consent__mark {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    place-items: center;
    background: linear-gradient(145deg, #ff6b70, #e84046);
    box-shadow: 0 8px 20px rgba(232, 64, 70, 0.24);
    color: #fff;
}

.nomora-consent__mark svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.nomora-consent__mark circle {
    fill: currentColor;
    stroke: none;
}

.nomora-consent__copy {
    min-width: 0;
}

.nomora-consent__copy h2 {
    margin: 0 0 5px;
    color: #191a1d;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.nomora-consent--settings .nomora-consent__copy h2 {
    font-size: 20px;
}

.nomora-consent__copy p {
    margin: 0;
    color: #60646c;
    font-size: 13px;
    line-height: 1.5;
}

.nomora-consent a {
    color: #a9292e;
    font-weight: 650;
    text-decoration: none;
    text-underline-offset: 3px;
}

.nomora-consent a:hover,
.nomora-consent a:focus-visible {
    text-decoration: underline;
}

.nomora-consent__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.nomora-consent--settings .nomora-consent__actions {
    margin-top: 18px;
}

.nomora-consent__button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font: 650 13px/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.nomora-consent__button:hover {
    transform: translateY(-1px);
}

.nomora-consent__button:active {
    transform: translateY(0);
}

.nomora-consent__button:focus-visible,
.nomora-consent-footer-link:focus-visible {
    outline: 3px solid rgba(255, 90, 95, 0.28);
    outline-offset: 2px;
}

.nomora-consent__button--primary {
    background: linear-gradient(135deg, #ff6268, #eb454b);
    box-shadow: 0 7px 18px rgba(235, 69, 75, 0.2);
    color: #fff;
}

.nomora-consent__button--secondary {
    border-color: #24262b;
    background: #24262b;
    box-shadow: 0 7px 18px rgba(36, 38, 43, 0.12);
    color: #fff;
}

.nomora-consent__button--text {
    border-color: #e2e4e8;
    background: #fff;
    color: #555a63;
}

.nomora-consent__categories {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}

.nomora-consent__category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid #e8e9ec;
    border-radius: 15px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease;
}

.nomora-consent__category:hover {
    border-color: #d5d7dc;
    background: #fff;
}

.nomora-consent__category span {
    display: grid;
    gap: 3px;
}

.nomora-consent__category .nomora-consent__category-control {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: flex-end;
}

.nomora-consent__category strong {
    color: #292b30;
    font-size: 13px;
}

.nomora-consent__category small {
    color: #777b83;
    font-size: 11.5px;
    line-height: 1.4;
}

.nomora-consent__category em {
    color: #8b8f96;
    font-size: 10.5px;
    font-style: normal;
}

.nomora-consent__category input {
    position: relative;
    width: 40px;
    height: 23px;
    margin: 0;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #cfd2d7;
    cursor: pointer;
    transition: background 160ms ease;
}

.nomora-consent__category input::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.22);
    content: "";
    transition: transform 160ms ease;
}

.nomora-consent__category input:checked {
    background: #ef4f55;
}

.nomora-consent__category input:checked::after {
    transform: translateX(17px);
}

.nomora-consent__category input:focus-visible {
    outline: 3px solid rgba(255, 90, 95, 0.28);
    outline-offset: 2px;
}

.nomora-consent__category input:disabled {
    background: #aeb2b9;
    cursor: default;
    opacity: 0.72;
}

.nomora-consent-footer-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

.nomora-consent-footer-link:hover {
    color: inherit;
    text-decoration: underline;
}

.footer-links .nomora-consent-footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-links .nomora-consent-footer-link:hover {
    color: #fff;
}

.menu-footer__inner .nomora-consent-footer-link {
    margin-left: 5px;
    padding-left: 9px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.nomora-consent-footer-fallback {
    display: flex;
    padding: 14px 20px;
    justify-content: center;
    background: #f7f7f8;
    color: #686c73;
    font: 500 12px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes nomora-consent-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes nomora-consent-scale {
    from { opacity: 0; transform: scale(0.985); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes nomora-consent-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 760px) {
    .nomora-consent--banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: block;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 16px;
        border-radius: 19px;
    }

    .nomora-consent__mark {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .nomora-consent__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        margin-top: 15px;
    }

    .nomora-consent__button {
        width: 100%;
        padding-inline: 12px;
    }

    .nomora-consent--banner .nomora-consent__button--text {
        grid-column: auto;
        min-height: 42px;
    }

    #nomoraConsent[data-state="settings"] {
        padding: 12px;
        place-items: end center;
    }

    .nomora-consent--settings {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 18px;
        border-radius: 20px;
    }

    .nomora-consent--settings .nomora-consent__actions {
        grid-template-columns: 1fr 1fr;
    }

    .nomora-consent--settings .nomora-consent__button--primary,
    .nomora-consent--settings .nomora-consent__button--secondary {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #nomoraConsent[data-state="settings"],
    .nomora-consent--banner,
    .nomora-consent--settings {
        animation: none;
    }

    .nomora-consent__button,
    .nomora-consent__category,
    .nomora-consent__category input,
    .nomora-consent__category input::after {
        transition: none;
    }
}
