[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100000;
    width: min(560px, calc(100vw - 40px));
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: #332a24;
    box-shadow: 0 20px 55px rgba(34, 28, 24, 0.35);
    color: #fff;
    font-family: var(--primary-font, "Urbanist", Arial, sans-serif);
}

.cookie-consent__title {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--alt-font, "Marcellus", Georgia, serif);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.cookie-consent__text {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.5;
}

.cookie-consent a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    background: #fff;
    color: #332a24;
}

.cookie-consent__button:focus-visible,
.cookie-settings-button:focus-visible,
.cookie-external-placeholder__button:focus-visible {
    outline: 3px solid #e5c6bd;
    outline-offset: 3px;
}

.cookie-consent__settings {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-consent__choice {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    margin-bottom: 14px;
}

.cookie-consent__choice input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #c5a099;
}

.cookie-consent__choice strong,
.cookie-consent__choice span {
    display: block;
}

.cookie-consent__choice span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.4;
}

.cookie-settings-button {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
    background: transparent;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-navbar .cookie-settings-button {
    padding: 0.5rem 1rem;
    color: var(--white);
}

.footer-navbar li:last-child .cookie-settings-button {
    padding-right: 0;
}

.footer-navbar .cookie-settings-button:hover,
.footer-navbar .cookie-settings-button:focus-visible {
    color: var(--base-color);
    text-decoration: none;
}

.cookie-external-embed {
    position: relative;
    width: 100%;
    background: #f4efec;
}

.cookie-external-embed--map {
    min-height: 550px;
}

.cookie-external-embed--video {
    aspect-ratio: 348 / 618;
}

.cookie-external-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
}

.cookie-external-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: inherit;
    padding: 30px;
    background: linear-gradient(135deg, #f7f2ef, #e8d9d2);
    color: #332a24;
    text-align: center;
}

.cookie-external-placeholder--video {
    min-height: 100%;
    border-radius: 8px;
}

.cookie-external-placeholder p {
    max-width: 440px;
    margin: 0 0 16px;
    color: #332a24;
    line-height: 1.5;
}

.cookie-external-placeholder__button {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #332a24;
    border-radius: 6px;
    background: #332a24;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-external-placeholder__button:hover,
.cookie-external-placeholder__button:focus-visible {
    background: #fff;
    color: #332a24;
}

@media (max-width: 767px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 20px;
        overflow-y: auto;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent__button {
        width: 100%;
    }

    .cookie-external-embed--map {
        min-height: 350px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent {
        scroll-behavior: auto;
    }
}
