.cookie-banner-consent {
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 24px 0;
    box-shadow: 0 -5px 25px 0 rgba(0, 0, 0, 0.10);
    background-color: #ffffff;
    font-family: inherit;
    z-index: 99999;
}

.cookie-banner-inner-container {
    width: min(1550px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    display: grid;
    column-gap: 20px;
    grid-template-columns: auto 240px;
}

.cookie-banner-inner-container .consent-text {
    max-width: 850px;
    margin-bottom: 7px;
    line-height: 1.55;
    text-align: left;
    font-size: 15px;
}

.cookie-banner-inner-container .link-to-explanation a {
    color: #098abb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.button-cookie {
    width: 100%;
    cursor: pointer;
    padding: 12px;
    text-align: center;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.button-cookie.button-cookie-filled {
    background-color: #009090;
    color: #ffffff;
    border: solid 1px transparent;
}

.button-cookie.button-cookie-filled:hover {
    background-color: transparent;
    border: solid 1px #009090;
    color: #009090;
}

.button-cookie.button-cookie-outlined {
    background-color: transparent;
    color: #009090;
    border: solid 1px #009090;
}

.button-cookie.button-cookie-outlined:hover {
    background-color: #009090;
    color: #ffffff;
}

.button-cookie-group button:not(:last-child) {
    margin-bottom: 15px;
}

.cookie-banner-options {
    width: 100%;
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-banner-options .switch-option {

}

.cookie-banner-options div:not(:last-child){
    margin-right: 25px;
}

.cookie-banner-options .switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 15px;
}

.cookie-banner-options .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-banner-options .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie-banner-options .slider:before {
    position: absolute;
    background-color: #000000;
    content: "";
    height: 20px;
    width: 20px;
    left: 0px;
    bottom: -2px;
    -webkit-transition: .4s;
    transition: .4s;
}

.cookie-banner-options input:checked + .slider {
    background-color: rgba(0, 144, 144, 0.4);
}

.cookie-banner-options input:focus +  .slider {
    box-shadow: 0 0 1px #2196F3;
}

.cookie-banner-options input:checked + .slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
    background: #009090;
}

.cookie-banner-options .slider.round {
    border-radius: 34px;
}

.cookie-banner-options .slider.round:before {
    border-radius: 50%;
}

@media only screen and (max-width: 1250px) {
    .cookie-banner-inner-container {
        width: calc(100% - 40px);
    }
}

@media only screen and (max-width: 800px) {
    .cookie-banner-inner-container {
        row-gap: 15px;
        grid-template-columns: auto ;
    }
}
/* MedDenS visual theme */
.cookie-banner-consent {
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(7, 7, 7, 0.12);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    font-family: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    animation: cookie-banner-enter 320ms ease-out both;
}

body .cookie-banner-consent {
    background: #f7f3ee;
    color: #070707;
}

.cookie-banner-consent::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: #fb8926;
    content: "";
}

.cookie-banner-inner-container {
    width: 100%;
    max-width: 1400px;
    padding: 30px 34px 28px;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 44px;
}

.cookie-banner-inner-container .consent-text {
    max-width: 900px;
    margin: 0 0 8px;
    color: #070707;
    font-size: 16px;
    font-weight: 350;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

.cookie-banner-consent .cookie-banner-inner-container .link-to-explanation a {
    color: #d96808;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 160ms ease;
}

.cookie-banner-consent .cookie-banner-inner-container .link-to-explanation a:hover,
.cookie-banner-consent .cookie-banner-inner-container .link-to-explanation a:focus-visible {
    color: #070707;
}

.button-cookie-group {
    display: grid;
    gap: 10px;
}

.button-cookie-group button:not(:last-child) {
    margin-bottom: 0;
}

.button-cookie {
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.2px;
    text-transform: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cookie-banner-consent .button-cookie.button-cookie-filled {
    border-color: #fb8926;
    background: #fb8926;
    color: #ffffff;
}

.cookie-banner-consent .button-cookie.button-cookie-filled:hover,
.cookie-banner-consent .button-cookie.button-cookie-filled:focus-visible {
    border-color: #070707;
    background: #070707;
    color: #ffffff;
    transform: translateY(-2px);
}

.cookie-banner-consent .button-cookie.button-cookie-outlined {
    border-color: #070707;
    background: transparent;
    color: #070707;
}

.cookie-banner-consent .button-cookie.button-cookie-outlined:hover,
.cookie-banner-consent .button-cookie.button-cookie-outlined:focus-visible {
    border-color: #070707;
    background: #070707;
    color: #ffffff;
    transform: translateY(-2px);
}

.button-cookie:focus-visible,
.cookie-banner-inner-container a:focus-visible {
    outline: 2px solid #fb8926;
    outline-offset: 3px;
}

.cookie-banner-options {
    margin-top: 20px;
    align-items: center;
    gap: 12px 30px;
}

.cookie-banner-options .switch-option {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cookie-banner-options div:not(:last-child) {
    margin-right: 0;
}

.cookie-banner-options .label-title {
    color: #353535;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
}

.cookie-banner-options .switch {
    width: 44px;
    height: 24px;
    flex: 0 0 44px;
}

.cookie-banner-options .switch input {
    width: 1px;
    height: 1px;
    margin: 0;
}

.cookie-banner-consent .cookie-banner-options .slider {
    inset: 0;
    border-radius: 34px;
    background: #c7c1ba;
    transition: background-color 180ms ease;
}

.cookie-banner-consent .cookie-banner-options .slider::before {
    bottom: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    transition: transform 180ms ease;
}

.cookie-banner-consent .cookie-banner-options input:checked + .slider {
    background: #fb8926;
}

.cookie-banner-consent .cookie-banner-options input:checked + .slider::before {
    background: #ffffff;
    transform: translateX(20px);
}

.cookie-banner-consent .cookie-banner-options input:focus-visible + .slider {
    outline: 2px solid #070707;
    outline-offset: 3px;
}

.cookie-banner-consent .cookie-banner-options input:disabled + .slider {
    background: #ddd7d0;
    cursor: not-allowed;
}

.cookie-banner-consent .cookie-banner-options input:disabled:checked + .slider {
    background: rgba(251, 137, 38, 0.58);
}

.cookie-banner-consent .cookie-banner-options input:disabled + .slider::before {
    background: #ffffff;
}

@keyframes cookie-banner-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .cookie-banner-inner-container {
        width: 100%;
        padding: 28px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .button-cookie-group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .cookie-banner-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        border-radius: 18px;
    }

    .cookie-banner-inner-container {
        padding: 26px 18px 20px;
        gap: 20px;
    }

    .cookie-banner-inner-container .consent-text {
        font-size: 15px;
    }

    .cookie-banner-options {
        margin-top: 18px;
        display: grid;
        gap: 14px;
    }

    .cookie-banner-options .switch-option {
        width: 100%;
        justify-content: space-between;
    }

    .button-cookie-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .button-cookie {
        min-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-consent {
        animation: none;
    }

    .button-cookie,
    .cookie-banner-options .slider,
    .cookie-banner-options .slider::before {
        transition: none;
    }
}

