#sp-cookie-consent,
#sp-cookie-consent *,
#sp-cookie-consent *::before,
#sp-cookie-consent *::after {
    box-sizing: border-box;
}

#sp-cookie-consent {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99999;
    width: 460px;
    max-width: calc(100vw - 48px);
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

#sp-cookie-consent.sp-cookie-consent-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

#sp-cookie-consent > div {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: rgba(24, 24, 24, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

#sp-cookie-consent .sp-cookie-consent-content {
    flex: 1 1 auto;
    margin: 0;
    color: inherit;
}

#sp-cookie-consent .sp-cookie-consent-content a,
#sp-cookie-consent .sp-cookie-consent-content a:hover,
#sp-cookie-consent .sp-cookie-consent-content a:focus {
    color: #cf3b00;
    text-decoration: underline;
}

#sp-cookie-consent .sp-cookie-consent-action {
    flex: 0 0 auto;
    margin: 0;
}

#sp-cookie-consent .sp-cookie-allow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: #cf3b00;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

#sp-cookie-consent .sp-cookie-allow:hover,
#sp-cookie-consent .sp-cookie-allow:focus {
    background: #e34d12;
    color: #ffffff;
}

#sp-cookie-consent .sp-cookie-allow:active {
    transform: translateY(1px);
}

#sp-cookie-consent.position-bottom,
#sp-cookie-consent.position-bottom_left,
#sp-cookie-consent.position-bottom_right {
    left: 24px;
    right: auto;
    bottom: 24px;
}

@media (max-width: 767px) {
    #sp-cookie-consent,
    #sp-cookie-consent.position-bottom,
    #sp-cookie-consent.position-bottom_left,
    #sp-cookie-consent.position-bottom_right {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
    }

    #sp-cookie-consent > div {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        border-radius: 18px 18px 0 0;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    }

    #sp-cookie-consent .sp-cookie-consent-content {
        font-size: 14px;
        line-height: 1.5;
    }

    #sp-cookie-consent .sp-cookie-allow {
        width: 100%;
        min-height: 48px;
    }
}
