/* Schuurmachine.eu cookie consent */
.cookie-consent[hidden],
.cookie-consent__banner[hidden],
.cookie-consent__modal[hidden],
.cookie-consent__backdrop[hidden] {
    display: none !important;
}

.cookie-consent__banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 10050;
    width: min(920px, calc(100% - 32px));
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #d9e2dc;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(18, 45, 32, .18);
}

.cookie-consent__content {
    padding: 24px;
}

.cookie-consent__content h2,
.cookie-consent__modal h2 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
}

.cookie-consent__content p,
.cookie-consent__option p {
    margin: 0 0 12px;
    line-height: 1.55;
}

.cookie-consent__eyebrow {
    margin: 0 0 6px !important;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #236a45;
}

.cookie-consent__small {
    font-size: .92rem;
    color: #4f5f56;
}

.cookie-consent__small a {
    text-decoration: underline;
}

.cookie-consent__actions,
.cookie-consent__modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cookie-consent__button {
    appearance: none;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #236a45;
    border-radius: 10px;
    background: #fff;
    color: #184c32;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    background: #eef6f1;
}

.cookie-consent__button:focus-visible,
.cookie-consent__close:focus-visible,
.cookie-settings-link:focus-visible {
    outline: 3px solid rgba(35, 106, 69, .28);
    outline-offset: 2px;
}

.cookie-consent__backdrop {
    position: fixed;
    inset: 0;
    z-index: 10055;
    background: rgba(15, 25, 20, .48);
}

.cookie-consent__modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10060;
    width: min(680px, calc(100% - 32px));
    max-height: min(760px, calc(100vh - 32px));
    overflow: auto;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .24);
    padding: 24px;
}

.cookie-consent__modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.cookie-consent__close {
    appearance: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #d9e2dc;
    border-radius: 10px;
    background: #fff;
    color: #1c2c23;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-consent__option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-top: 1px solid #e7ece9;
}

.cookie-consent__option strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-consent__option p {
    margin-bottom: 0;
    color: #526158;
    font-size: .94rem;
}

.cookie-consent__switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-size: .9rem;
    font-weight: 700;
}

.cookie-consent__switch input {
    width: 20px;
    height: 20px;
    accent-color: #236a45;
}

.cookie-settings-link {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

html.cookie-consent-open {
    overflow: hidden;
}

@media (max-width: 680px) {
    .cookie-consent__banner {
        bottom: 12px;
        width: calc(100% - 20px);
        border-radius: 14px;
    }

    .cookie-consent__content,
    .cookie-consent__modal {
        padding: 18px;
    }

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

    .cookie-consent__button {
        width: 100%;
    }

    .cookie-consent__option {
        display: block;
    }

    .cookie-consent__switch {
        margin-top: 12px;
    }
}
