.cookie-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    border: 0;
    border-top: 4px solid #FF671D;
    background: #FFFFFF;
    box-shadow: 0 -6px 20px rgba(37, 40, 36, 0.12);
}

.cookie-consent-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(100%, 76rem);
    margin: 0 auto;
    padding: 1.25rem 1rem;
}

.cookie-consent-banner__copy {
    max-width: 52rem;
}

.cookie-consent-banner h2 {
    margin: 0 0 .35rem;
    color: #252824;
    font-size: 1.25rem;
    line-height: 1.2;
}

.cookie-consent-banner p {
    margin: 0;
    color: #373A36;
    font-size: .9375rem;
    line-height: 1.45;
}

.cookie-consent-banner__link {
    display: inline-block;
    margin-top: .5rem;
    color: #0A4F34;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-consent-banner__actions {
    display: flex;
    flex-direction: column-reverse;
    gap: .625rem;
}

.cookie-consent-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .75rem 1rem;
    border: 2px solid #FF671D;
    border-radius: 2px;
    font-family: "BrothersOT", sans-serif;
    font-size: .875rem;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: background-color .2s, border-color .2s, color .2s;
}

.cookie-consent-banner__button--primary {
    background: #FF671D;
    color: #FFFFFF;
}

.cookie-consent-banner__button--primary:hover,
.cookie-consent-banner__button--primary:focus {
    border-color: #D7480F;
    background: #D7480F;
    color: #FFFFFF;
}

.cookie-consent-banner__button--secondary {
    background: #FFFFFF;
    color: #0A4F34;
}

.cookie-consent-banner__button--secondary:hover,
.cookie-consent-banner__button--secondary:focus {
    background: #F7F7F8;
    color: #0A4F34;
}

body.cookie-preferences-open {
    overflow: hidden;
}

.cookie-preference-panel {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.cookie-preference-panel[aria-hidden="false"] {
    display: block;
}

.cookie-preference-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 40, 36, .62);
}

.cookie-preference-panel__dialog {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    color: #373A36;
    border-top: 4px solid #FF671D;
}

.cookie-preference-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #E5E5E5;
    background: #F7F7F8;
}

.cookie-preference-panel__brand {
    color: #0A4F34;
    font-family: "BrothersOT", sans-serif;
    font-size: 1.125rem;
    line-height: 1;
    text-transform: uppercase;
}

.cookie-preference-panel__close {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: #0A4F34;
    font-size: 2rem;
    line-height: 1;
}

.cookie-preference-panel__close:hover,
.cookie-preference-panel__close:focus {
    color: #FF671D;
}

.cookie-preference-panel__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.5rem;
}

.cookie-preference-panel h2 {
    margin: 0 0 2rem;
    color: #0A4F34;
    font-size: 2rem;
    line-height: 1.15;
}

.cookie-preference-panel h3 {
    margin: 2rem 0 1rem;
    color: #6F933D;
    font-family: "Work Sans", sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
}

.cookie-preference-panel__allow-all,
.cookie-preference-panel__confirm,
.cookie-preference-panel__reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.5rem;
    padding: .875rem 1.25rem;
    border: 2px solid #FF671D;
    border-radius: 9999px;
    font-family: "BrothersOT", sans-serif;
    font-size: .875rem;
    letter-spacing: .18em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.cookie-preference-panel__allow-all,
.cookie-preference-panel__confirm {
    background: #FF671D;
    color: #FFFFFF;
}

.cookie-preference-panel__allow-all:hover,
.cookie-preference-panel__allow-all:focus,
.cookie-preference-panel__confirm:hover,
.cookie-preference-panel__confirm:focus {
    border-color: #D7480F;
    background: #D7480F;
    color: #FFFFFF;
}

.cookie-preference-panel__reject {
    background: #FFFFFF;
    color: #0A4F34;
}

.cookie-preference-panel__reject:hover,
.cookie-preference-panel__reject:focus {
    border-color: #0A4F34;
    background: #F7F7F8;
    color: #0A4F34;
}

.cookie-preference-panel__groups {
    border: 1px solid #E0E0E0;
}

.cookie-preference-panel__group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 5.125rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #E0E0E0;
    background: #FFFFFF;
}

.cookie-preference-panel__group:last-child {
    border-bottom: 0;
}

.cookie-preference-panel__group h4 {
    margin: 0;
    color: #0A4F34;
    font-family: "Work Sans", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
    text-transform: none;
}

.cookie-preference-panel__group p {
    margin: .25rem 0 0;
    color: #6B625C;
    font-size: .8125rem;
    line-height: 1.35;
}

.cookie-preference-panel__required {
    color: #6F933D;
    font-weight: 800;
    white-space: nowrap;
}

.cookie-preference-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 4.25rem;
    height: 2.5rem;
    margin: 0;
}

.cookie-preference-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cookie-preference-toggle span:not(.sr-only) {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #BFB7B0;
    transition: background-color .2s;
}

.cookie-preference-toggle span:not(.sr-only):after {
    content: '';
    position: absolute;
    top: .25rem;
    left: .25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(37, 40, 36, .25);
    transition: transform .2s;
}

.cookie-preference-toggle input:checked + span:not(.sr-only) {
    background: #6F933D;
}

.cookie-preference-toggle input:checked + span:not(.sr-only):after {
    transform: translateX(1.75rem);
}

.cookie-preference-toggle input:focus + span:not(.sr-only) {
    box-shadow: 0 0 0 3px rgba(255, 103, 29, .28);
}

.cookie-preference-panel__footer {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #E5E5E5;
    background: #FFFFFF;
}

.cookie-gated-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.5rem;
    border: 1px solid #D8D3CE;
    background: #F7F7F8;
    text-align: center;
}

.cookie-gated-content p {
    margin: 0;
    color: #373A36;
    font-size: .9375rem;
    line-height: 1.4;
}

.cookie-gated-content--inline {
    position: static;
    min-height: 10rem;
}

.cookie-consent-page__content {
    padding-top: 9rem;
}

.cookie-consent-page__content h1 {
    margin-bottom: 1rem;
    color: #0A4F34;
    font-size: 2.5rem;
}

.cookie-consent-page__content > .container > p {
    max-width: 46rem;
    color: #373A36;
}

.cookie-consent-groups {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.cookie-consent-group {
    padding: 1.25rem;
    border: 1px solid #D8D3CE;
    border-radius: 4px;
    background: #FFFFFF;
}

.cookie-consent-group__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-consent-group h2 {
    margin: 0 0 .35rem;
    color: #0A4F34;
    font-size: 1.5rem;
}

.cookie-consent-group p {
    margin: 0;
    color: #373A36;
}

.cookie-consent-group__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
}

.cookie-consent-group__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: .625rem 1rem;
    border: 2px solid #FF671D;
    border-radius: 2px;
    background: #FFFFFF;
    color: #0A4F34;
    font-family: "BrothersOT", sans-serif;
    font-size: .875rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.cookie-consent-group__button--primary {
    background: #FF671D;
    color: #FFFFFF;
}

.cookie-consent-group__status {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    color: #0A4F34;
    font-weight: 600;
}

.cookie-consent-group__table {
    width: 100%;
    margin-top: 1.25rem;
    font-size: .875rem;
}

.cookie-consent-group__table th,
.cookie-consent-group__table td {
    padding: .75rem 0;
    border-top: 1px solid #E5E5E5;
    text-align: left;
    vertical-align: top;
}

.cookie-consent-group__table th {
    color: #252824;
    font-weight: 700;
}

.cookie-consent-group__table span {
    display: block;
    color: #6B625C;
    font-size: .75rem;
}

@media (min-width: 768px) {
    .cookie-consent-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
    }

    .cookie-consent-banner__actions {
        flex: 0 0 auto;
        flex-direction: row;
    }

    .cookie-consent-banner__button {
        min-width: 12rem;
    }

    .cookie-preference-panel__dialog {
        top: 2rem;
        right: auto;
        bottom: auto;
        left: 50%;
        width: min(42rem, calc(100vw - 2rem));
        max-height: calc(100vh - 4rem);
        transform: translateX(-50%);
        box-shadow: 0 16px 48px rgba(37, 40, 36, .28);
    }

    .cookie-preference-panel__body {
        padding: 2rem 2.5rem;
    }

    .cookie-preference-panel__footer {
        padding: 1.5rem 2.5rem 2rem;
    }

    .cookie-consent-group {
        padding: 1.5rem;
    }

    .cookie-consent-group__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}
