:root {
  --summer-offer-height: 0px;
}

body.has-summer-offer {
  padding-top: var(--summer-offer-height);
}

body.has-summer-offer .site-header,
body.has-summer-offer .topbar {
  top: var(--summer-offer-height);
}

.summer-offer {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border: 0;
  border-bottom: 1px solid rgba(164, 0, 0, .46);
  background: rgba(8, 8, 8, .44);
  color: var(--ink, #f4f0e8);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.summer-offer__inner {
  width: min(100% - 32px, 1180px);
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 13px 0 14px;
  text-align: center;
}

.summer-offer__eyebrow-row {
  display: inline-grid;
  grid-template-columns: 18px auto 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.summer-offer__sun {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--ink, #f4f0e8) 84%, var(--red, #a40000));
}

.summer-offer__sun svg {
  width: 16px;
  height: 16px;
  display: block;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  animation: summerOfferSunSpin 16s linear infinite;
}

.summer-offer__sun--right svg {
  animation-direction: reverse;
}

.summer-offer__eyebrow {
  color: rgba(244, 240, 232, .90);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.summer-offer__main {
  color: var(--red, #a40000);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
}

.summer-offer__detail {
  color: var(--soft, rgba(201, 193, 183, .74));
  display: grid;
  gap: 1px;
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.22;
}

.summer-offer__detail span {
  display: block;
}

.summer-offer__detail a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(244, 240, 232, .34);
  text-underline-offset: .18em;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.summer-offer__detail a:hover,
.summer-offer__detail a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .8);
}

@keyframes summerOfferSunSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .summer-offer__inner {
    width: min(100% - 24px, 1180px);
    min-height: 94px;
    gap: 4px;
    padding: 12px 0 13px;
  }

  .summer-offer__eyebrow {
    font-size: .68rem;
  }

  .summer-offer__main {
    font-size: .88rem;
  }

  .summer-offer__detail {
    width: min(100%, 340px);
    font-size: clamp(.5rem, 2.1vw, .6rem);
    line-height: 1.24;
  }

  .summer-offer__detail span {
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .summer-offer__inner {
    width: min(100% - 20px, 1180px);
    gap: 8px;
  }

  .summer-offer__main {
    font-size: .8rem;
  }

  .summer-offer__detail {
    font-size: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .summer-offer__sun svg {
    animation: none;
  }
}
