.d6-sale-announcement {
    --d6-sale-cream: #fff3dd;
    --d6-sale-wire: #141c16;
    --d6-sale-sag: 14px;
    --d6-sale-inset: max(24px, calc((100vw - 1200px) / 2 + 25px));
    position: relative;
    left: 50%;
    width: 100vw;
    margin: 0 0 0 -50vw;
    background: #164f40;
    color: var(--d6-sale-cream);
}

.d6-sale-announcement a {
    display: block;
    color: inherit;
    text-decoration: none;
    line-height: 1.4;
}

.d6-sale-announcement a:hover { color: inherit; text-decoration: none; }
.d6-sale-announcement a:focus-visible { outline: 3px solid var(--d6-sale-cream); outline-offset: -3px; }

.d6-sale-announcement-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
    min-height: 52px;
    padding: 3px var(--d6-sale-inset) 9px;
    box-sizing: border-box;
}

.d6-sale-announcement-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 13px; }
.d6-sale-announcement-copy strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: clamp(16px, 2.4vw, 23px);
    font-weight: 800;
    letter-spacing: .055em;
}
.d6-sale-announcement-copy > span { font-size: 15px; font-weight: 600; }

.d6-sale-announcement-cta {
    padding: 8px 13px;
    border: 1px solid #f3a496;
    border-radius: 4px;
    background: #a62640;
    color: var(--d6-sale-cream);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}
.d6-sale-announcement a:hover .d6-sale-announcement-cta { background: #841b32; }

.d6-sale-lights {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(var(--d6-sale-sag) + 15px);
    padding: 0 14px;
    overflow: hidden;
    pointer-events: none;
}
.d6-sale-light-arc { position: relative; }
.d6-sale-light-arc::before {
    content: "";
    position: absolute;
    inset: calc(3px - var(--d6-sale-sag)) 0 auto;
    box-sizing: border-box;
    height: calc(var(--d6-sale-sag) * 2);
    border-bottom: 2px solid var(--d6-sale-wire);
    border-radius: 50%;
}
.d6-sale-light-arc::after, .d6-sale-lights::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 1px;
    left: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--d6-sale-wire);
}
.d6-sale-lights::after { left: auto; right: 12px; }

.d6-sale-bulb {
    position: absolute;
    z-index: 2;
    top: calc(3px + var(--d6-sale-sag) * var(--hang));
    left: var(--position);
    width: 7px;
    height: 10px;
    transform: translateX(-50%) rotate(var(--tilt));
    transform-origin: center top;
    border-radius: 38% 38% 60% 60%;
    background: radial-gradient(ellipse at 36% 30%, #fff9 2%, transparent 45%), var(--bulb);
    box-shadow: 0 0 6px color-mix(in srgb, var(--bulb) 60%, transparent);
}
.d6-sale-bulb::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 1px;
    width: 5px;
    height: 4px;
    border-radius: 1px;
    background: var(--d6-sale-wire);
}
.d6-sale-bulb:nth-child(1) { --position: 12%; --hang: .64; --tilt: 24deg; }
.d6-sale-bulb:nth-child(2) { --position: 31%; --hang: .92; --tilt: 12deg; }
.d6-sale-bulb:nth-child(3) { --position: 50%; --hang: 1; --tilt: 0deg; }
.d6-sale-bulb:nth-child(4) { --position: 69%; --hang: .92; --tilt: -12deg; }
.d6-sale-bulb:nth-child(5) { --position: 88%; --hang: .64; --tilt: -24deg; }
.d6-sale-bulb-0 { --bulb: #ff7270; }
.d6-sale-bulb-1 { --bulb: #79e5a9; }
.d6-sale-bulb-2 { --bulb: #78caff; }
.d6-sale-bulb-3 { --bulb: #ffdc83; }
.d6-sale-bulb-4 { --bulb: #e5a8f5; }

.d6-sale-tree { position: relative; flex: none; width: 30px; height: 38px; }
.d6-sale-tree::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translateX(-50%);
    background: #ffe286;
    clip-path: polygon(50% 0%, 63% 35%, 100% 38%, 71% 64%, 81% 100%, 50% 79%, 19% 100%, 29% 64%, 0 38%, 37% 35%);
}
.d6-sale-tree::after {
    content: "";
    position: absolute;
    inset: 8px 0 0;
    clip-path: polygon(50% 0%, 72% 28%, 63% 28%, 85% 54%, 73% 54%, 100% 88%, 58% 88%, 58% 100%, 42% 100%, 42% 88%, 0 88%, 27% 54%, 15% 54%, 37% 28%, 28% 28%);
    background:
        radial-gradient(circle at 48% 24%, #ffe286 1.6px, transparent 2.1px),
        radial-gradient(circle at 37% 47%, #ff7c72 1.6px, transparent 2.1px),
        radial-gradient(circle at 64% 49%, #88dcff 1.6px, transparent 2.1px),
        radial-gradient(circle at 27% 73%, #ffe286 1.6px, transparent 2.1px),
        radial-gradient(circle at 51% 67%, #ffc7ea 1.6px, transparent 2.1px),
        radial-gradient(circle at 72% 76%, #ff7c72 1.6px, transparent 2.1px),
        linear-gradient(115deg, #71b987, #328053);
}

@media (max-width: 600px) {
    .d6-sale-announcement-content { justify-content: center; flex-wrap: wrap; padding: 4px 12px 11px; gap: 6px 12px; }
    .d6-sale-announcement-copy { justify-content: center; gap: 2px 7px; text-align: center; }
    .d6-sale-announcement-copy > span { font-size: 13px; }
    .d6-sale-announcement-cta { padding: 5px 10px; }
    .d6-sale-lights { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 9px; }
    .d6-sale-lights::after { right: 7px; }
    .d6-sale-light-arc:nth-child(n+3) { display: none; }
    .d6-sale-tree { width: 23px; height: 32px; }
}
