.scn-cookie-notice[hidden] {
    display: none !important;
}

.scn-cookie-notice {
    --scn-cream: #f4efe7;
    --scn-ink: #2a241d;
    --scn-text: #4a443c;
    --scn-gold: #b08a4f;
    --scn-gold-dark: #94703a;
    --scn-dark: #1a1512;
    --scn-radius: 10px;

    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    box-sizing: border-box;
    width: 100%;
    border-top: 1px solid rgba(42, 36, 29, 0.12);
    background: var(--scn-cream);
    color: var(--scn-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.scn-cookie-notice *,
.scn-cookie-notice *::before,
.scn-cookie-notice *::after {
    box-sizing: border-box;
}

.scn-cookie-notice__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 20px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}

.scn-cookie-notice__text {
    margin: 0;
    max-width: 56rem;
    color: inherit;
}

.scn-cookie-notice__text a {
    color: var(--scn-gold-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.scn-cookie-notice__text a:hover,
.scn-cookie-notice__text a:focus {
    color: var(--scn-ink);
}

.scn-cookie-notice__button {
    flex: 0 0 auto;
    min-width: 112px;
    margin: 0;
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: var(--scn-radius);
    background: var(--scn-gold);
    box-shadow: none;
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.scn-cookie-notice__button:hover,
.scn-cookie-notice__button:focus {
    border-color: transparent;
    background: var(--scn-gold-dark);
    color: #fff;
    transform: translateY(-1px);
}

.scn-cookie-notice__button:focus-visible {
    outline: 2px solid var(--scn-gold);
    outline-offset: 3px;
}

@media screen and (max-width: 767px) {
    .scn-cookie-notice {
        font-size: 13px;
    }

    .scn-cookie-notice__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 16px;
        padding-right: 16px;
        padding-left: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .scn-cookie-notice__button {
        width: 100%;
        min-height: 44px;
        transform: none;
    }

    .scn-cookie-notice__button:hover,
    .scn-cookie-notice__button:focus {
        transform: none;
    }
}
