/* Black Friday: bold retail type with Pocket Pixel's smoked-glass surfaces. */
#pp-strip {
  min-height: 60px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 44%), #1d1826;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #f3f3f0;
  font: 700 18px/1.25 'PPN Grotesk', sans-serif;
  text-transform: uppercase;
}
#pp-strip .bf-ribbon {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: 100%;
  max-width: 1280px;
  margin: 0;
}
#pp-strip .bf-ribbon__title { font: inherit; }
#pp-strip .bf-ribbon__track, #pp-strip .bf-ribbon__group { display: contents; }
#pp-strip .bf-ribbon__copy { display: none; }
#pp-strip .bf-ribbon__offer b { color: #c4a3ff; font-weight: 700; }
#pp-strip .bf-ribbon__shipping { color: #d1d2d6; font-size: 15px; }
.bf-offer {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'title discount' 'details discount';
  align-items: center;
  column-gap: 28px;
  margin: 0 0 14px;
  padding: 24px 32px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .09), transparent 52%), #24202d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(255, 255, 255, .03);
  color: #f3f3f0;
  font: 500 16px/1.4 var(--pp-text, sans-serif);
}
.bf-offer p { margin: 0; }
.bf-offer[hidden], .bf-ribbon__offer[hidden], [data-menu-sale][hidden], .pp-shop__price[hidden] { display: none !important; }
.bf-offer__main { display: contents; }
.bf-offer__title {
  grid-area: title;
  align-self: end;
  font: 700 34px/1.05 var(--pp-display, 'Space Grotesk', sans-serif);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.bf-offer__details { grid-area: details; align-self: start; padding-top: 9px; color: #d1d2d6; }
.bf-offer__details strong { color: inherit; font-weight: 500; }
.bf-offer__discount { grid-area: discount; }
.bf-offer__upto { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 600; }
.bf-offer__discount strong {
  display: block;
  color: #c4a3ff;
  font: 700 76px/.95 var(--pp-display, 'Space Grotesk', sans-serif);
  letter-spacing: -.065em;
  white-space: nowrap;
}
.bf-offer__discount strong span { font-size: .48em; letter-spacing: -.04em; }
.bf-offer:has(.bf-countdown:not([hidden])) {
  grid-template-areas: 'title discount' 'details discount' 'countdown discount';
}
.bf-countdown:not([hidden]) {
  grid-area: countdown;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 8px 18px;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.bf-countdown__label { color: #d1d2d6; font-size: 11px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.bf-countdown__clock { display: flex; align-items: start; gap: 6px; font-variant-numeric: tabular-nums; }
.bf-countdown__part { display: grid; justify-items: center; gap: 3px; min-width: 40px; }
.bf-countdown__part b { color: #c4a3ff; font: 700 26px/1 var(--pp-display, 'Space Grotesk', sans-serif); letter-spacing: -.035em; }
.bf-countdown__part span { color: #d1d2d6; font-size: 9px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.bf-countdown__separator { color: #a89bb9; font-size: 22px; line-height: 1; }
.bf-countdown__deadline { grid-column: 1 / -1; color: #b9b2c3; font-size: 11px; line-height: 1.4; }
/* Blur is an enhancement: the baseline above carries the same contrast. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #pp-strip {
    background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 44%), rgba(24, 19, 33, .9);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    backdrop-filter: blur(20px) saturate(120%);
  }
  .bf-offer {
    background: linear-gradient(115deg, rgba(255, 255, 255, .09), transparent 52%), rgba(36, 32, 45, .82);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    backdrop-filter: blur(24px) saturate(120%);
  }
}
/* The homepage measures its visible hero from the announcement height. */
.hb { --strip: 60px; }
@media (min-width: 768px) and (max-width: 1023px) {
  #pp-strip { padding-inline: 24px; font-size: 15px; }
  #pp-strip .bf-ribbon { column-gap: 16px; }
  #pp-strip .bf-ribbon__shipping { font-size: 12px; }
}
@media (max-width: 767px) {
  #pp-strip { min-height: 94px; padding: 12px 16px; }
  #pp-strip .bf-ribbon { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 3px; }
  #pp-strip .bf-ribbon__title { font-size: 16px; }
  #pp-strip .bf-ribbon__offer { font-size: clamp(18px, 5.2vw, 22px); letter-spacing: -.035em; }
  #pp-strip .bf-ribbon__shipping { font: 500 12px/1.3 var(--sans); text-transform: none; }
  .hb { --strip: 94px; }
  #pp-strip[data-motion="playing"] { min-height: 52px; height: 52px; padding: 0; overflow: hidden; }
  #pp-strip[data-motion="playing"] .bf-ribbon { display: block; width: 100%; overflow: hidden; text-align: left; }
  #pp-strip[data-motion="playing"] .bf-ribbon__track { display: flex; align-items: center; width: max-content; height: 100%; animation: bf-marquee 24s linear infinite; }
  #pp-strip[data-motion="playing"] .bf-ribbon__group { display: flex; flex: none; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; }
  #pp-strip[data-motion="playing"] .bf-ribbon__title,
  #pp-strip[data-motion="playing"] .bf-ribbon__offer,
  #pp-strip[data-motion="playing"] .bf-ribbon__shipping { font: 700 14px/1.25 'PPN Grotesk', sans-serif; letter-spacing: 0; text-transform: uppercase; }
  html[data-sale-motion="playing"] .hb { --strip: 52px; }
  /* Product offer follows the reference's small price-badge hierarchy on phones. */
  .bf-offer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'main' 'details';
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .bf-offer__main {
    grid-area: main;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-self: start;
    gap: 4px 8px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent), #24202d;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .1);
  }
  .bf-offer__title { align-self: auto; font-size: 12px; line-height: 1.3; letter-spacing: -.015em; }
  .bf-offer__title span { display: inline; }
  .bf-offer__discount { display: inline-flex; align-items: baseline; gap: 4px; }
  .bf-offer__discount strong { display: inline; font-size: 14px; line-height: 1.2; letter-spacing: -.03em; }
  .bf-offer__discount strong span { font-size: 1em; letter-spacing: inherit; }
  .bf-offer__upto { display: inline; margin: 0; font-size: 12px; }
  .bf-offer__details { padding: 0; border: 0; font-size: 12px; line-height: 1.4; text-align: left; }
  .bf-offer:has(.bf-countdown:not([hidden])) { grid-template-areas: 'main' 'details' 'countdown'; }
  .bf-countdown:not([hidden]) { gap: 6px 12px; width: 100%; margin-top: 3px; padding-top: 10px; }
  .bf-countdown__label { font-size: 10px; }
  .bf-countdown__part { min-width: 34px; }
  .bf-countdown__part b { font-size: 23px; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bf-offer__main {
      background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent), rgba(36, 32, 45, .82);
      -webkit-backdrop-filter: blur(20px) saturate(120%);
      backdrop-filter: blur(20px) saturate(120%);
    }
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  #pp-strip { height: 60px; padding: 0; overflow: hidden; }
  #pp-strip .bf-ribbon { display: block; max-width: none; overflow: hidden; }
  #pp-strip .bf-ribbon__track { display: flex; align-items: center; width: max-content; height: 100%; animation: bf-marquee 40s linear infinite; }
  #pp-strip .bf-ribbon__group, #pp-strip .bf-ribbon__copy { display: flex; flex: none; align-items: center; justify-content: space-around; gap: 48px; min-width: 100vw; padding-right: 48px; white-space: nowrap; }
  #pp-strip:hover .bf-ribbon__track { animation-play-state: paused; }
}
@keyframes bf-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-transparency: reduce) {
  #pp-strip { background: #1d1826; }
  .bf-offer { background: #24202d; }
  .bf-offer__main { background: #24202d; }
  #pp-strip, .bf-offer, .bf-offer__main { -webkit-backdrop-filter: none; backdrop-filter: none; }
  @media (max-width: 767px) { .bf-offer { background: none; } }
}
@media (forced-colors: active) {
  #pp-strip, .bf-offer { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
  #pp-strip .bf-ribbon__offer b, #pp-strip .bf-ribbon__shipping,
  .bf-offer__discount strong, .bf-offer__details { color: CanvasText; }
  .bf-offer__main { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .bf-countdown:not([hidden]) { border-color: CanvasText; }
  .bf-countdown__label, .bf-countdown__part b, .bf-countdown__part span,
  .bf-countdown__separator, .bf-countdown__deadline { color: CanvasText; }
}
