.december-promo {
    position: relative;
    isolation: isolate;
    padding-block: clamp(32px, 3.7vw, 58px);
    color: #182638;
    font-family: "Proxima Nova", Arial, sans-serif;
    background:
        radial-gradient(ellipse at 29% 76%, #faf8f2 5%, transparent 57%),
        linear-gradient(112deg, #e4eff2, #eef5f6 57%, #dfecef);
}

.december-promo .protech-neuro-promo__form {
    border-color: #d9e3e8;
    box-shadow: 0 15px 44px -18px rgba(47, 79, 91, .23);
}

.december-promo .protech-neuro-promo__container {
    position: relative;
    z-index: 1;
    padding-inline: 0;
}

.december-promo__lights,
.december-promo__lights::before,
.december-promo__lights::after,
.december-promo::after {
    position: absolute;
    pointer-events: none;
}

.december-promo__lights {
    inset: 0;
    overflow: hidden;
}

.december-promo__lights::before,
.december-promo__lights::after {
    content: "";
    inset: -10px;
    background-repeat: no-repeat;
    animation: december-window-light 9s ease-in-out infinite alternate;
}

.december-promo__lights::before {
    background-image:
        radial-gradient(circle at 2% 43%, #fffef4 0 5px, #fff1c5aa 9px, transparent 22px),
        radial-gradient(circle at 14% 94%, #fffdf4 0 3px, #ffdf9c77 9px, transparent 24px),
        radial-gradient(circle at 33% 8%, #fffef4ee 0 4px, #ffeac277 11px, transparent 28px),
        radial-gradient(circle at 54% 60%, #fffdf0 0 6px, #f9deb18c 15px, transparent 31px),
        radial-gradient(circle at 73% 96%, #fffef2 0 4px, #fff0c2aa 8px, transparent 20px),
        radial-gradient(circle at 96% 75%, #fffdf1 0 6px, #ffe6adda 10px, transparent 28px);
}

.december-promo__lights::after {
    animation-direction: alternate-reverse;
    animation-duration: 12s;
    background-image:
        radial-gradient(circle at 5% 82%, #fffbe9 0 3px, #f7dcad88 7px, transparent 15px),
        radial-gradient(circle at 24% 54%, #fffdf6ee 0 5px, #fff1d066 10px, transparent 24px),
        radial-gradient(circle at 44% 92%, #fffdf5 0 4px, #ffe8bcaa 9px, transparent 17px),
        radial-gradient(circle at 62% 11%, #fffef3 0 4px, #ffdf9b88 10px, transparent 23px),
        radial-gradient(circle at 86% 36%, #fffcef 0 7px, #ffdfa288 14px, transparent 30px),
        radial-gradient(circle at 99% 55%, #fffdf2 0 3px, #ffdfa288 7px, transparent 16px);
}

@keyframes december-window-light {
    from { opacity: .57; transform: translate(-3px, 3px); }
    to   { opacity: .95; transform: translate(4px, -3px); }
}

.december-promo::after {
    content: "";
    top: -8px;
    right: -6px;
    z-index: 0;
    width: min(64%, 970px);
    aspect-ratio: 3 / 1;
    background: url("../images/promo_december_canopy.webp") top right / contain no-repeat;
}

.december-promo--classic::before,
.december-promo--classic .december-art::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: min(65%, 1240px);
    aspect-ratio: 1240 / 394;
    background: url("../images/promo_december_ribbon.webp") bottom left / contain no-repeat;
    pointer-events: none;
}
.december-promo--classic .december-art::after { display: none; }

.december-promo--classic {
    box-sizing: border-box;
    width: min(1240px, calc(100% - 48px));
    margin: clamp(24px, 3vw, 48px) auto;
    padding-inline: clamp(28px, 5vw, 72px);
    border-radius: 24px;
}

.december-art {
    width: 100%;
    max-width: 690px;
    container-type: inline-size;
}

.december-art__month,
.december-art__title {
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: inherit;
}

.december-art__month {
    margin-bottom: 12px;
    color: #39594e;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .13em;
}

.december-art__title {
    color: #182638;
    font-size: clamp(27px, 6.95cqw, 48px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
}

.december-art__title span {
    display: block;
    color: #315447;
    font-weight: 600;
}

.december-art__subtitle {
    max-width: 50ch;
    margin: 14px 0 0;
    color: #334657;
    font-size: clamp(16px, 3.25cqw, 21px);
    font-weight: 400;
    line-height: 1.35;
    text-wrap: pretty;
}

.december-art__scene {
    position: relative;
    container-type: inline-size;
    margin-top: 10px;
}

.december-art__product {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 1440 / 750;
}

.december-art__photo {
    display: block;
    width: 100%;
    height: 100%;
}

.december-art__sticker {
    position: absolute;
    top: 0;
    right: 3%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    width: clamp(78px, 8.2vw, 116px);
    aspect-ratio: 1;
    transform: rotate(7deg);
    border: 1px solid #b69350;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6b375 4%, #f8e7ba 30%, #e8cb8e 54%, #d2ad69 83%, #e5c78c);
    box-shadow: inset 0 0 0 3px #eed397, inset 0 0 0 4px #ab884b, 0 4px 9px #56492324;
    color: #182638;
    line-height: 1;
    user-select: text;
}

.december-art__sticker span {
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
}

.december-art__sticker strong {
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 700;
    letter-spacing: -.055em;
}

.december-art__sticker small {
    margin-left: 1px;
    font-size: .64em;
}

.december-art__confetti {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.december-art__confetti i {
    position: absolute;
    left: var(--start);
    top: var(--height);
    width: 5px;
    height: 10px;
    border-radius: 1px;
    background: linear-gradient(100deg, #a57938, #e6ce90);
    opacity: 0;
    animation: december-paper .9s ease-out both;
}

.december-art__confetti i:nth-child(3n) {
    background: #477464;
}

@keyframes december-paper {
    0% { opacity: 0; transform: translate(0, 0) rotate(8deg); }
    12% { opacity: 1; }
    50% { opacity: 1; transform: translate(var(--arc-x), var(--rise)) rotate(var(--turn)) scaleX(.7); }
    100% { opacity: 0; transform: translate(var(--end-x), 16px) rotate(calc(var(--turn) * 2)) scaleX(.45); }
}

@media (min-width: 801px) {
    .december-promo--classic {
        padding-right: clamp(44px, 7.5vw, 108px);
        padding-bottom: clamp(34px, 4.2vw, 68px);
    }
}

@media (min-width: 801px) and (max-width: 1400px) {
    .december-promo::after { width: min(56%, 660px); }
}

@media (max-width: 800px) {
    .december-promo--classic {
        width: calc(100% - 32px);
        padding-top: clamp(66px, 17.5vw, 84px);
        padding-inline: 20px;
    }
    .december-promo .protech-neuro-promo__container { max-width: 570px; gap: 20px; }
    .december-promo .protech-neuro-promo__form { max-width: none; }
    .december-promo::after {
        top: 0;
        right: 0;
        width: min(100%, 430px);
    }
    .december-art__sticker {
        box-sizing: border-box;
        top: -4px;
        width: 96px;
        gap: 1px;
        padding: 4px 10px 0;
    }
    .december-art__sticker span { white-space: nowrap; }
    .december-art__sticker strong { font-size: 30px; }
    .december-promo--classic::before { display: none; }
    .december-promo--classic .december-art::after {
        display: block;
        left: -16px;
        bottom: -8px;
        width: 86%;
    }
}

@media (max-width: 480px) {
    .december-promo--classic {
        width: calc(100% - 24px);
        padding-inline: 14px;
        padding-bottom: 16px;
        border-radius: 18px;
    }
    .december-art__month { margin-bottom: 10px; }
    .december-art__scene { margin-top: 14px; }
}

@media (max-width: 479px) {
    .protech-neuro-promo__art {
        padding-bottom: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .december-promo__lights::before,
    .december-promo__lights::after { animation: none; opacity: .75; }
    .december-art__confetti { display: none; }
    .december-art__confetti i { animation: none; }
}
