/* EZ sale look: Black Friday (html.ez-bf) and Cyber Monday (html.ez-cm). Every rule sits under html.ez-sale, which the script
   only adds on a sale day, so nothing shows on any other day, even on a cached page. Homepage rules are under body.home. ===== */
html.ez-bf { --sa: #F5C451; --sa2: #C8922E; --sb1: #0A0A0B; --sb2: #221C10; --sink: #1A1200; --sglow: rgba(245,196,81,.30); }
html.ez-cm { --sa: #58DBFF; --sa2: #7C5CFF; --sb1: #060918; --sb2: #17153F; --sink: #04121A; --sglow: rgba(88,219,255,.30); }
/* announcement bar, every page */
html.ez-sale body .ezbo { background: #0B0B0C; color: #FFFFFF; border-bottom: 1px solid var(--sa); }
html.ez-sale body .ezbo:hover { background: #17171A; }
html.ez-sale body .ezbo u { color: var(--sa); }
html.ez-sale body .ezbo .ezbo-dot { background: var(--sa); box-shadow: 0 0 0 3px var(--sglow); }
/* menu bar, every page: a thin line of the sale color under it */
html.ez-sale body.ez4-on .ez4-pill { position: relative; }
html.ez-sale body.ez4-on .ez4-pill::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--sa) 20%, var(--sa2) 50%, var(--sa) 80%, transparent); }
/* homepage hero */
html.ez-sale.ez-season-ready body.home.ez4-on .ezh section.ezh-hero { /* waits for the page's own styles, so a refresh never flashes the color full-screen */ background: radial-gradient(90% 70% at 85% 0%, var(--sglow), transparent 62%), radial-gradient(70% 60% at 0% 100%, var(--sglow), transparent 65%), linear-gradient(135deg, var(--sb1) 0%, var(--sb2) 100%) !important; }
html.ez-sale .ezh .ez-sale-tag { display: flex; width: max-content; align-items: center; gap: 6px; margin: 0 auto 10px; padding: 5px 13px; border-radius: 999px; background: linear-gradient(180deg, var(--sa), var(--sa2)); color: var(--sink); font: 700 12px/1.3 'IBM Plex Sans', sans-serif; letter-spacing: .07em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 2px 8px var(--sglow); }
html.ez-sale .ez-sale-tag::before { content: "✦"; font-size: 11px; }
html.ez-sale .ezh .ez-sale-deal { display: block; margin: 12px auto 0; padding: 9px 16px; width: max-content; max-width: 100%; text-wrap: balance; border-radius: 14px; background: #0B0B0C; color: #FFFFFF; font: 400 14px/1.4 'IBM Plex Sans', sans-serif; box-shadow: inset 0 0 0 1px var(--sa); }
html.ez-sale .ez-sale-deal b { color: var(--sa); font-weight: 700; }
/* section headings: a small mark in the sale color */
html.ez-sale body.home .ezh .ezh-sec .ezh-h2::after { content: "✦"; display: inline-block; margin-left: .35em; font-size: .62em; vertical-align: .18em; color: var(--sa2); }
/* the four question boxes */
html.ez-sale body.home .ezh .ezh-tiles .ezh-tile-q { background: #0F0F11 !important; color: #E9E9E6 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
html.ez-sale body.home .ezh .ezh-tiles .ezh-tile-q:nth-child(even) { background: #1A1A1D !important; }
html.ez-sale body.home .ezh .ezh-tiles .ezh-tile-q small { color: var(--sa) !important; }
html.ez-sale body.home .ezh .ezh-tiles .ezh-tile-q p { color: #E9E9E6 !important; }
/* sparkles in the hero */
html.ez-sale .ez-sale-sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.ez-sale-sparks i { position: absolute; top: -20px; width: var(--s); height: var(--s); background: var(--sa); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .85; animation: sale-drop linear infinite; }
@keyframes sale-drop { 0% { transform: translate3d(0,-10px,0) rotate(0) scale(.6); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate3d(18px, 620px, 0) rotate(160deg) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ez-sale-sparks i { animation: none; top: 30%; } }

/* ---- phone: smaller tag and deal strip ---- */

/* ---- pieces falling down the whole page (stays in view as you scroll, never blocks a tap) ---- */
.ez-sale-page { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.ez-sale-page i { position: absolute; top: -40px; width: var(--s); height: var(--s); background: var(--sa); opacity: .9; animation: sale-fall linear infinite; will-change: transform; }
@keyframes sale-fall { 0% { transform: translate3d(0,0,0) rotate(0); } 100% { transform: translate3d(var(--dx), calc(100vh + 80px), 0) rotate(var(--r)); } }
/* only price tags fall: black with the sale color, and a few the other way round */
html.ez-sale .ez-sale-page i { background: none; width: calc(var(--s) * 1.6); height: calc(var(--s) * 1.6); }
html.ez-bf .ez-sale-page i { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M17 3h10a2 2 0 0 1 2 2v10L16 28a2 2 0 0 1-2.800 0L4 18.800a2 2 0 0 1 0-2.800z' fill='%23111111' stroke='%23F5C451' stroke-width='2'/%3E%3Ccircle cx='23' cy='9' r='2.200' fill='%23F5C451'/%3E%3Cpath d='M12 20l7-7' stroke='%23F5C451' stroke-width='1.800' stroke-linecap='round'/%3E%3Ccircle cx='12.500' cy='14.500' r='1.300' fill='%23F5C451'/%3E%3Ccircle cx='18.500' cy='19' r='1.300' fill='%23F5C451'/%3E%3C/svg%3E") center / contain no-repeat; }
html.ez-bf .ez-sale-page i.b { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M17 3h10a2 2 0 0 1 2 2v10L16 28a2 2 0 0 1-2.800 0L4 18.800a2 2 0 0 1 0-2.800z' fill='%23F5C451' stroke='%23111111' stroke-width='2'/%3E%3Ccircle cx='23' cy='9' r='2.200' fill='%23111111'/%3E%3Cpath d='M12 20l7-7' stroke='%23111111' stroke-width='1.800' stroke-linecap='round'/%3E%3Ccircle cx='12.500' cy='14.500' r='1.300' fill='%23111111'/%3E%3Ccircle cx='18.500' cy='19' r='1.300' fill='%23111111'/%3E%3C/svg%3E") center / contain no-repeat; }
html.ez-cm .ez-sale-page i { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M17 3h10a2 2 0 0 1 2 2v10L16 28a2 2 0 0 1-2.800 0L4 18.800a2 2 0 0 1 0-2.800z' fill='%23060918' stroke='%2358DBFF' stroke-width='2'/%3E%3Ccircle cx='23' cy='9' r='2.200' fill='%2358DBFF'/%3E%3Cpath d='M12 20l7-7' stroke='%2358DBFF' stroke-width='1.800' stroke-linecap='round'/%3E%3Ccircle cx='12.500' cy='14.500' r='1.300' fill='%2358DBFF'/%3E%3Ccircle cx='18.500' cy='19' r='1.300' fill='%2358DBFF'/%3E%3C/svg%3E") center / contain no-repeat; }
html.ez-cm .ez-sale-page i.b { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M17 3h10a2 2 0 0 1 2 2v10L16 28a2 2 0 0 1-2.800 0L4 18.800a2 2 0 0 1 0-2.800z' fill='%237C5CFF' stroke='%23FFFFFF' stroke-width='2'/%3E%3Ccircle cx='23' cy='9' r='2.200' fill='%23FFFFFF'/%3E%3Cpath d='M12 20l7-7' stroke='%23FFFFFF' stroke-width='1.800' stroke-linecap='round'/%3E%3Ccircle cx='12.500' cy='14.500' r='1.300' fill='%23FFFFFF'/%3E%3Ccircle cx='18.500' cy='19' r='1.300' fill='%23FFFFFF'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .ez-sale-page i { animation: none; top: var(--rest); } }

@media (max-width: 899px) {
  html.ez-sale .ez-sale-sparks i:nth-child(2n) { display: none; }
  html.ez-sale .ez-sale-tag { margin-bottom: 7px; padding: 3px 10px; font-size: 10px; letter-spacing: .06em; gap: 4px; }
  html.ez-sale .ez-sale-tag::before { font-size: 9px; }
  html.ez-sale .ez-sale-deal { margin-top: 9px; padding: 6px 12px; font-size: 12px; line-height: 1.35; border-radius: 12px; }
  html.ez-sale .ez-sale-page i:nth-child(3n) { display: none; }
}

/* Thanksgiving: the fall look stays; the headline card gets a warm tag and the deal line */
html.ez-tg .ezh .ez-sale-tag { display: flex; width: max-content; align-items: center; gap: 6px; margin: 0 auto 10px; padding: 5px 13px; border-radius: 999px; background: linear-gradient(180deg, #FFD9A0, #F5A742); color: #5A2E00; font: 700 12px/1.3 'IBM Plex Sans', sans-serif; letter-spacing: .07em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 2px 8px rgba(214,120,20,.28); }
html.ez-tg .ez-sale-tag::before { content: "\2726"; font-size: 11px; }
html.ez-tg .ezh .ez-sale-deal { display: block; margin: 12px auto 0; padding: 9px 16px; width: max-content; max-width: 100%; text-wrap: balance; border-radius: 14px; background: #FFF3DE; color: #3A2400; font: 400 14px/1.4 'IBM Plex Sans', sans-serif; box-shadow: inset 0 0 0 1px #F0B866; }
html.ez-tg .ez-sale-deal b { color: #B4530A; font-weight: 700; }
@media (max-width: 899px) {
  html.ez-tg .ezh .ez-sale-tag { margin-bottom: 7px; padding: 3px 10px; font-size: 10px; letter-spacing: .06em; gap: 4px; }
  html.ez-tg .ez-sale-tag::before { font-size: 9px; }
  html.ez-tg .ezh .ez-sale-deal { margin-top: 9px; padding: 6px 12px; font-size: 12px; line-height: 1.35; border-radius: 12px; }
}

/* an ordinary day: the deal line alone, in the site's own quiet colors */
html.ez-deal .ezh .ez-sale-deal { display: block; margin: 12px auto 0; padding: 9px 16px; width: max-content; max-width: 100%; text-wrap: balance; border-radius: 14px; background: #F1F1EE; color: #3A3A3A; font: 400 14px/1.4 'IBM Plex Sans', sans-serif; box-shadow: inset 0 0 0 1px #DCDCD6; }
html.ez-deal .ez-sale-deal b { color: #141414; font-weight: 700; }
@media (max-width: 899px) { html.ez-deal .ezh .ez-sale-deal { margin-top: 9px; padding: 6px 12px; font-size: 12px; line-height: 1.35; border-radius: 12px; } }

/* the holidays: the winter look stays; the headline card gets an icy tag and the deal line */
html.ez-hd .ezh .ez-sale-tag { display: flex; width: max-content; align-items: center; gap: 6px; margin: 0 auto 10px; padding: 5px 13px; border-radius: 999px; background: linear-gradient(180deg, #DCEBFF, #A9CCFF); color: #0E3F8A; font: 700 12px/1.3 'IBM Plex Sans', sans-serif; letter-spacing: .07em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 8px rgba(40,110,210,.25); }
html.ez-hd .ez-sale-tag::before { content: "\2744"; font-size: 11px; }
html.ez-hd .ezh .ez-sale-deal { display: block; margin: 12px auto 0; padding: 9px 16px; width: max-content; max-width: 100%; text-wrap: balance; border-radius: 14px; background: #EEF5FF; color: #1D2B44; font: 400 14px/1.4 'IBM Plex Sans', sans-serif; box-shadow: inset 0 0 0 1px #A9CCFF; }
html.ez-hd .ez-sale-deal b { color: #0E3F8A; font-weight: 700; }
@media (max-width: 899px) {
  html.ez-hd .ezh .ez-sale-tag { margin-bottom: 7px; padding: 3px 10px; font-size: 10px; letter-spacing: .06em; gap: 4px; }
  html.ez-hd .ez-sale-tag::before { font-size: 9px; }
  html.ez-hd .ezh .ez-sale-deal { margin-top: 9px; padding: 6px 12px; font-size: 12px; line-height: 1.35; border-radius: 12px; }
}
