/* ---------- End-of-year sale (partials/sale-banner.html, salebar.html) ---------- */
.salebar { display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap; padding: 9px 16px; background: var(--sun); color: var(--black);
  border-bottom: var(--line-w) solid var(--black); font-size: .95rem; line-height: 1.2; text-decoration: none; }
.salebar__tag { padding: 4px 11px; background: var(--black); color: var(--sun); border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.salebar__offer .deal { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; margin-left: 4px; }
.salebar__offer .deal__was { font-size: .72em; opacity: .55; vertical-align: 0; }
/* the countdown: four tiles ticking every second (hero-demo.js) */
.salebar__clock { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.salebar__clock:empty { display: none; }
.salebar__clock b { display: inline-flex; align-items: baseline; gap: 2px; min-width: 2.6em; justify-content: center; padding: 4px 7px; background: var(--black); color: #fff; border-radius: 8px; font-family: var(--display); font-weight: 800; }
.salebar__clock b i { font: 600 .68em/1 var(--body); color: var(--sun); font-style: normal; }
.salebar__go { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.salebar__go span { display: inline-block; transition: transform .2s var(--ease); }
.salebar:hover .salebar__go span { transform: translateX(4px); }
@media (max-width: 700px) {
  .salebar { gap: 6px 10px; padding: 7px 12px; font-size: .86rem; }
  .salebar__tag, .salebar__go, .salebar__offer .deal__was { display: none; }
  .salebar__clock b { min-width: 2.3em; padding: 3px 5px; font-size: .86rem; }
}

.salebn { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.salebn__card { position: relative; padding: clamp(28px, 4vw, 52px); padding-right: clamp(260px, 36%, 460px); background: var(--sun); color: var(--black);
  border: var(--line-w) solid var(--black); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--black); }
.salebn__tag { display: inline-block; padding: 6px 13px; background: var(--black); color: var(--sun); border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.salebn h2 { color: var(--black); margin: 18px 0 6px; line-height: 1; }
.salebn__what { display: block; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: -.02em; }
/* the price is the poster: the sale price huge, the regular one crossed out beside it */
.salebn__price { display: block; margin-top: 4px; }
.salebn__price .deal { display: inline-flex; flex-direction: row-reverse; align-items: flex-start; gap: .12em; font-size: clamp(5rem, 12vw, 10rem); line-height: .86; letter-spacing: -.05em; }
.salebn__price .deal__was { font-size: .2em; letter-spacing: -.02em; line-height: 1; margin: .5em 0 0; opacity: .6; text-decoration-thickness: 3px; }
.salebn__lead { max-width: 520px; margin-top: 14px; font-size: 1.08rem; color: var(--black); opacity: .82; }
.salebn__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.salebn__link { color: var(--black); font-size: .95rem; }
.salebn__more { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.salebn__more a { display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 16px; background: var(--paper); color: var(--black); text-decoration: none; font-weight: 500;
  border: 2px solid var(--black); border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.salebn__more a:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--black); }
.salebn__more .deal { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.salebn__more .deal__was { font-size: .8em; vertical-align: 0; opacity: .5; }
/* the sale card's picture: two of our sites on phones, overlapping, tilted a little (black outline + hard shadow like the rest of the site) */
.salebn__phones { position: absolute; right: clamp(24px, 4vw, 70px); top: 50%; transform: translateY(-50%); width: clamp(220px, 30%, 380px); aspect-ratio: 1 / 1.25; }
.salebn__phone { position: absolute; width: 58%; height: auto; aspect-ratio: 420 / 910; object-fit: cover; object-position: top; border: 3px solid var(--black); border-radius: 26px; box-shadow: 8px 8px 0 var(--black); background: var(--paper); }
.salebn__phone--back { left: 0; top: 4%; transform: rotate(-6deg); }
.salebn__phone--front { right: 0; top: 0; transform: rotate(5deg); }
@media (max-width: 860px) {
  .salebn__card { padding-right: clamp(20px, 5vw, 28px); padding-left: clamp(20px, 5vw, 28px); }
  .salebn__cta { flex-direction: column; align-items: flex-start; }
  .salebn__more li { flex: 1 1 100%; }
  .salebn__phones { display: none; }
  .salebn__more a { width: 100%; justify-content: space-between; }
}
