:root {
    --shotune-cookie-navy: #102a43;
    --shotune-cookie-deep-navy: #081d31;
    --shotune-cookie-ivory: #f7f5ef;
    --shotune-cookie-gold: #c9a65a;
    --shotune-cookie-gold-light: #e1c982;
    --shotune-cookie-white: #ffffff;
    --shotune-cookie-shadow: rgba(4, 20, 35, 0.28);
}

.shotune-cookie-acknowledgement[hidden] {
    display: none !important;
}

.shotune-cookie-acknowledgement {
    position: fixed;
    z-index: 999999;
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    color: var(--shotune-cookie-ivory);
    font-family: Inter, Arial, sans-serif;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.shotune-cookie-acknowledgement.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.shotune-cookie-acknowledgement.is-dismissing {
    opacity: 0;
    transform: translateY(12px);
}

.shotune-cookie-acknowledgement__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid rgba(225, 201, 130, 0.58);
    border-top: 3px solid var(--shotune-cookie-gold);
    border-radius: 6px;
    background:
        linear-gradient(
            135deg,
            var(--shotune-cookie-deep-navy) 0%,
            var(--shotune-cookie-navy) 100%
        );
    box-shadow:
        0 20px 55px var(--shotune-cookie-shadow),
        0 4px 14px rgba(4, 20, 35, 0.2);
}

.shotune-cookie-acknowledgement__copy {
    min-width: 0;
}

.shotune-cookie-acknowledgement__eyebrow {
    margin: 0 0 5px;
    color: var(--shotune-cookie-gold-light);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.shotune-cookie-acknowledgement__message {
    margin: 0;
    color: var(--shotune-cookie-ivory);
    font-size: 14px;
    font-weight: 450;
    line-height: 1.65;
}

.shotune-cookie-acknowledgement__link {
    display: inline;
    margin-left: 4px;
    color: var(--shotune-cookie-gold-light);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.shotune-cookie-acknowledgement__link:hover,
.shotune-cookie-acknowledgement__link:focus-visible {
    color: var(--shotune-cookie-white);
}

.shotune-cookie-acknowledgement__link:focus-visible {
    border-radius: 2px;
    outline: 3px solid var(--shotune-cookie-white);
    outline-offset: 4px;
}

.shotune-cookie-acknowledgement__button {
    display: inline-flex;
    min-width: 132px;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border: 2px solid var(--shotune-cookie-gold-light);
    border-radius: 4px;
    background: var(--shotune-cookie-gold-light);
    color: var(--shotune-cookie-deep-navy);
    cursor: pointer;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.2;
    text-transform: uppercase;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.shotune-cookie-acknowledgement__button:hover {
    border-color: var(--shotune-cookie-white);
    background: var(--shotune-cookie-white);
    color: var(--shotune-cookie-deep-navy);
    transform: translateY(-1px);
}

.shotune-cookie-acknowledgement__button:focus-visible {
    border-color: var(--shotune-cookie-white);
    outline: 3px solid var(--shotune-cookie-white);
    outline-offset: 4px;
}

@media only screen and (max-width: 680px) {
    .shotune-cookie-acknowledgement {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
    }

    .shotune-cookie-acknowledgement__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
        padding: 20px;
    }

    .shotune-cookie-acknowledgement__button {
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {
    .shotune-cookie-acknowledgement__inner {
        padding: 18px;
    }

    .shotune-cookie-acknowledgement__message {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shotune-cookie-acknowledgement,
    .shotune-cookie-acknowledgement__button {
        transition: none;
    }

    .shotune-cookie-acknowledgement__button:hover {
        transform: none;
    }
}
