#sidepromo-root[hidden] {
    display: none !important;
}

#sidepromo-root {
    --sp-width: 180px;
    --sp-gap: 24px;
    --sp-max-height: 75vh;
    position: static;
    font-family: inherit;
}

body.sidepromo-layout-active {
    min-width: 0;
}

#sidepromo-root .sp-slot {
    position: fixed;
    width: var(--sp-width);
    z-index: 1025;
    font-family: inherit;
}

#sidepromo-root .sp-left {
    left: var(--sp-gap);
}

#sidepromo-root .sp-right {
    right: var(--sp-gap);
}

#sidepromo-root .sp-v-top {
    top: var(--sp-gap);
}

#sidepromo-root .sp-v-center {
    top: 50%;
    transform: translateY(-50%);
}

#sidepromo-root .sp-v-bottom {
    bottom: var(--sp-gap);
}

#sidepromo-root .sp-link,
#sidepromo-root .sp-static {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(31, 35, 40, .22);
    overflow: visible;
    outline: 0;
}

#sidepromo-root .sp-link:focus-visible {
    box-shadow:
        0 0 0 4px rgba(244, 124, 0, .35),
        0 18px 46px rgba(31, 35, 40, .22);
}

#sidepromo-root .sp-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: var(--sp-max-height);
    object-fit: contain;
    border-radius: 16px;
}

#sidepromo-root .sp-close {
    position: absolute;
    top: -11px;
    right: -11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #1f2328;
    color: #fff;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(31, 35, 40, .28);
}

#sidepromo-root .sp-close:hover,
#sidepromo-root .sp-close:focus-visible {
    background: #f47c00;
}

#sidepromo-root .sp-mobile-bottom {
    position: fixed;
    top: auto;
    right: auto;
    bottom: 14px;
    left: 50%;
    width: min(calc(100vw - 28px), 520px);
    transform: translateX(-50%);
}

#sidepromo-root .sp-mobile-bottom .sp-image {
    max-height: min(26vh, 180px);
    object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
    #sidepromo-root:not([hidden]) .sp-slot {
        animation: sp-in .24s ease-out both;
    }

    @keyframes sp-in {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

@media print {
    #sidepromo-root {
        display: none !important;
    }

    body.sidepromo-layout-active {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
