
.cookieConsentBanner {
    position: fixed;
    z-index: 3000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    border: 1px solid #cddac9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 60px rgb(0 0 0 / 22%);
}

.cookieConsentBanner[hidden],
.cookieConsentModal[hidden] {
    display: none !important;
}

.cookieConsentCopy h2 {
    color: #1c221c;
    font-size: 19px;
}

.cookieConsentCopy p {
    max-width: 780px;
    margin-top: 5px;
    color: #596159;
    font-size: 12px;
    line-height: 1.55;
}

.cookieConsentCopy a {
    color: var(--green);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookieConsentActions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.cookieConsentAction {
    min-height: 43px;
    padding: 9px 14px;
    border-radius: 8px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.cookieConsentAccept,
.cookieConsentReject {
    border: 1px solid var(--green);
}

.cookieConsentAccept {
    background: var(--green);
    color: #fff;
    box-shadow: 0 3px 0 var(--green-darker);
}

.cookieConsentReject {
    background: #fff;
    color: var(--green-darker);
    box-shadow: 0 3px 0 #c7d7c3;
}

.cookieConsentManage {
    border: 0;
    background: transparent;
    color: var(--green-darker);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookieConsentModal {
    position: fixed;
    z-index: 3100;
    inset: 0;
    padding: 18px;
    display: grid;
    place-items: center;
}

.cookieConsentBackdrop {
    position: absolute;
    inset: 0;
    background: rgb(16 23 16 / 64%);
}

.cookieConsentPanel {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow-y: auto;
    padding: 26px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
}

.cookieConsentPanelHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookieConsentPanelHeader h2 {
    color: #192019;
    font-size: 26px;
}

.cookieConsentPanelHeader p {
    margin-top: 6px;
    color: #606860;
    font-size: 12px;
    line-height: 1.55;
}

.cookieConsentClose {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 50%;
    background: #eef2ed;
    color: #434b43;
    font: inherit;
    font-size: 23px;
    cursor: pointer;
}

.cookieConsentChoices {
    margin-top: 20px;
    display: grid;
    gap: 11px;
}

.cookieConsentChoice {
    padding: 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    border: 1px solid #dfe5dc;
    border-radius: 10px;
    background: #fbfcfa;
}

.cookieConsentChoice strong {
    display: block;
    color: #242a24;
    font-size: 14px;
}

.cookieConsentChoice p {
    margin-top: 4px;
    color: #626a62;
    font-size: 11px;
    line-height: 1.5;
}

.cookieConsentToggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex: 0 0 48px;
}

.cookieConsentToggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookieConsentToggle span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #aeb6ae;
    cursor: pointer;
    transition: background .16s ease;
}

.cookieConsentToggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 22%);
    transition: transform .16s ease;
}

.cookieConsentToggle input:checked + span {
    background: var(--green);
}

.cookieConsentToggle input:checked + span::after {
    transform: translateX(22px);
}

.cookieConsentToggle input:focus-visible + span {
    outline: 3px solid rgb(39 111 45 / 22%);
    outline-offset: 2px;
}

.cookieConsentToggle input:disabled + span {
    cursor: not-allowed;
    opacity: .75;
}

.cookieConsentPanelActions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.cookieConsentPanelActions button {
    min-height: 45px;
}

.cookieConsentPolicyLink {
    margin-top: 16px;
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.cookieConsentModalOpen {
    overflow: hidden;
}

.footerCookieSettings,
.checkoutSiteFooter .footerCookieSettings,
.confirmationFooter .footerCookieSettings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.footerCookieSettings:hover {
    text-decoration: underline;
}

.linkStyleButton {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green);
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

@media (max-width: 820px) {
    .cookieConsentBanner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cookieConsentActions {
        justify-content: stretch;
    }

    .cookieConsentActions button {
        flex: 1 1 150px;
    }
}

@media (max-width: 520px) {
    .cookieConsentBanner {
        right: 9px;
        bottom: 9px;
        left: 9px;
        padding: 15px;
    }

    .cookieConsentActions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookieConsentActions button {
        width: 100%;
        flex: none;
    }

    .cookieConsentPanel {
        padding: 21px 16px;
    }

    .cookieConsentChoice {
        grid-template-columns: 1fr;
    }

    .cookieConsentPanelActions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookieConsentPanelActions button {
        width: 100%;
    }
}
