/* =========================================================
   MURO COOKIE CONSENT
   ========================================================= */

.muro-cookie-consent {
    position: relative;
    z-index: 99999;
}

.muro-cookie-consent[hidden],
.muro-cookie-modal[hidden] {
    display: none !important;
}


/* =========================================================
   COOKIE BANNER
   ========================================================= */

.muro-cookie-banner {
    position: fixed;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    max-width: 1380px;
    margin: 0 auto;
    padding: 28px 32px;

    background: #0f1d2a;
    border: 1px solid rgba(200, 149, 61, 0.32);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.muro-cookie-banner__content {
    max-width: 760px;
}

.muro-cookie-banner__eyebrow,
.muro-cookie-modal__eyebrow {
    display: block;
    margin-bottom: 8px;

    color: #c8953d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.24em;
}

.muro-cookie-banner__title {
    margin: 0 0 10px;

    color: #ffffff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.08;
}

.muro-cookie-banner__text {
    margin: 0;

    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.65;
}

.muro-cookie-banner__links {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.34);
    font-size: 12px;
}

.muro-cookie-banner__links a {
    color: #d5a75d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.muro-cookie-banner__links a:hover {
    color: #ffffff;
}

.muro-cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.muro-cookie-button {
    min-height: 46px;
    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 0;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;

    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.muro-cookie-button--primary {
    background: #c8953d;
    border-color: #c8953d;
    color: #ffffff;
}

.muro-cookie-button--primary:hover {
    background: #b78431;
    border-color: #b78431;
}

.muro-cookie-button--secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.38);
    color: #ffffff;
}

.muro-cookie-button--secondary:hover {
    border-color: #c8953d;
    color: #d5a75d;
}

.muro-cookie-button--text {
    min-height: 42px;
    padding-right: 8px;
    padding-left: 8px;

    background: transparent;
    color: rgba(255, 255, 255, 0.76);
}

.muro-cookie-button--text:hover {
    color: #ffffff;
}


/* =========================================================
   SETTINGS MODAL
   ========================================================= */

.muro-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.muro-cookie-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(5, 13, 21, 0.72);
    backdrop-filter: blur(4px);
}

.muro-cookie-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.muro-cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding: 30px 32px 24px;

    background: #0f1d2a;
}

.muro-cookie-modal__title {
    margin: 0;

    color: #ffffff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
}

.muro-cookie-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    padding: 0;

    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #ffffff;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.muro-cookie-modal__close:hover {
    border-color: #c8953d;
    color: #c8953d;
}

.muro-cookie-modal__body {
    padding: 28px 32px 10px;
}

.muro-cookie-modal__intro {
    margin: 0 0 24px;

    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   COOKIE CATEGORIES
   ========================================================= */

.muro-cookie-category {
    padding: 22px 0;
    border-top: 1px solid #e5e7eb;
}

.muro-cookie-category__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.muro-cookie-category__top > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.muro-cookie-category h3 {
    margin: 0;

    color: #172235;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.2;
}

.muro-cookie-category__status {
    display: inline-flex;
    align-items: center;

    padding: 5px 8px;

    background: #f5f1ea;

    color: #8a642c;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.muro-cookie-category__status--required {
    background: #eef5f1;
    color: #50725f;
}

.muro-cookie-category p {
    max-width: 530px;
    margin: 12px 0 0;

    color: #667085;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   SWITCH
   ========================================================= */

.muro-cookie-switch {
    position: relative;

    display: inline-flex;
    flex: 0 0 auto;

    width: 48px;
    height: 26px;

    cursor: pointer;
}

.muro-cookie-switch input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.muro-cookie-switch__slider {
    position: absolute;
    inset: 0;

    background: #d7dce2;
    border-radius: 30px;

    transition: background-color 0.2s ease;
}

.muro-cookie-switch__slider::before {
    content: "";

    position: absolute;
    top: 4px;
    left: 4px;

    width: 18px;
    height: 18px;

    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);

    transition: transform 0.2s ease;
}

.muro-cookie-switch input:checked
+ .muro-cookie-switch__slider {
    background: #c8953d;
}

.muro-cookie-switch input:checked
+ .muro-cookie-switch__slider::before {
    transform: translateX(22px);
}

.muro-cookie-switch--disabled {
    cursor: default;
    opacity: 0.72;
}


/* =========================================================
   MODAL FOOTER
   ========================================================= */

.muro-cookie-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;

    padding: 22px 32px 30px;

    border-top: 1px solid #e5e7eb;
}

.muro-cookie-modal__footer
.muro-cookie-button--secondary {
    border-color: #cfd5dc;
    color: #172235;
}

.muro-cookie-modal__footer
.muro-cookie-button--secondary:hover {
    border-color: #c8953d;
    color: #a9792f;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .muro-cookie-banner {
        align-items: flex-start;
        gap: 24px;
    }

    .muro-cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;

        width: 180px;
    }

    .muro-cookie-button--text {
        text-align: center;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .muro-cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;

        display: block;

        padding: 22px 20px;
    }

    .muro-cookie-banner__title {
        font-size: 26px;
    }

    .muro-cookie-banner__text {
        font-size: 13px;
        line-height: 1.55;
    }

    .muro-cookie-banner__links {
        flex-wrap: wrap;
    }

    .muro-cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;

        width: 100%;
        margin-top: 20px;
    }

    .muro-cookie-banner__actions
    .muro-cookie-button--text {
        grid-column: 1 / -1;
    }

    .muro-cookie-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .muro-cookie-modal__dialog {
        max-height: calc(100vh - 20px);
    }

    .muro-cookie-modal__header {
        padding: 24px 20px 20px;
    }

    .muro-cookie-modal__title {
        font-size: 28px;
    }

    .muro-cookie-modal__body {
        padding: 22px 20px 6px;
    }

    .muro-cookie-category__top {
        gap: 12px;
    }

    .muro-cookie-category__top > div:first-child {
        display: block;
    }

    .muro-cookie-category__status {
        margin-top: 7px;
    }

    .muro-cookie-modal__footer {
        display: grid;
        grid-template-columns: 1fr;

        padding: 18px 20px 22px;
    }

    .muro-cookie-modal__footer
    .muro-cookie-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .muro-cookie-banner__actions {
        grid-template-columns: 1fr;
    }

    .muro-cookie-banner__actions
    .muro-cookie-button--text {
        grid-column: auto;
    }

}