/* Shared storefront announcement bar, with a native modal for the full Classic offer. */
html:has(#cw .cw-classic-promo[open]) { overflow: hidden; }

#cw .cw-classic-promo {
  position: fixed;
  inset: 0;
  width: min(52rem, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: var(--cw-radius);
  background: var(--cw-cream);
  box-shadow: var(--cw-shadow);
  color: var(--cw-brown);
}

#cw .cw-classic-promo:not([open]) { display: none; }
#cw .cw-classic-promo::backdrop { background: rgb(44 26 12 / 52%); }

#cw .cw-classic-promo__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#cw .cw-classic-promo__art {
  position: relative;
  min-width: 0;
  display: grid;
  overflow: hidden;
  background: var(--cw-tile);
}

#cw .cw-classic-promo__copy { align-self: center; min-width: 0; padding: 46px 32px 32px; }
#cw .cw-classic-promo h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}
#cw .cw-classic-promo h2 + p { margin-top: 10px; color: var(--cw-brown-soft); }
#cw .cw-classic-promo__prices { margin: 20px 0; }
#cw .cw-classic-promo__prices div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--cw-line);
}
#cw .cw-classic-promo__prices div:last-child { border-bottom: 1px solid var(--cw-line); }
#cw .cw-classic-promo__prices dd { font-size: 21px; font-weight: 700; line-height: 1.3; }
#cw .cw-classic-promo__prices small { font-size: 14px; font-weight: 400; color: var(--cw-brown-soft); }
#cw .cw-classic-promo__shop { width: 100%; gap: 10px; background: var(--cw-amber); color: var(--cw-brown); }
#cw .cw-classic-promo__shop:hover { background: var(--cw-amber-deep); }
#cw .cw-classic-promo__terms { margin-top: 14px; font-size: 13px; line-height: 1.4; color: var(--cw-brown-soft); }
#cw .cw-classic-promo__close {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cw-cream);
  color: var(--cw-brown);
}
#cw .cw-classic-promo :is(a, button):focus-visible { outline: 2px solid var(--cw-navy); outline-offset: -4px; }

@media (max-width: 640px) {
  #cw .cw-classic-promo { width: min(26rem, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
  #cw .cw-classic-promo__panel { grid-template-columns: 1fr; }
  #cw .cw-classic-promo__art { height: clamp(112px, 24dvh, 196px); }
  #cw .cw-classic-promo__close { left: 6px; right: auto; }
  #cw .cw-classic-promo__copy { padding: 16px 22px 20px; }
  #cw .cw-classic-promo__prices { margin-block: 12px; }
  #cw .cw-classic-promo__terms { margin-top: 9px; }
}
