/* Home offer popup */
body.home-offer-popup-open {
  overflow: hidden;
}

.home-offer-popup {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.home-offer-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-offer-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 20, 0.72);
  backdrop-filter: blur(3px);
}

.home-offer-popup button {
  width: auto !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: normal;
  gap: 0;
  box-shadow: none;
  appearance: none;
}

.home-offer-popup__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(340px, 1.15fr);
  width: min(760px, 100%);
  min-height: 380px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
}

.home-offer-popup.is-visible .home-offer-popup__dialog {
  transform: translateY(0) scale(1);
}

.home-offer-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f3f0;
  color: #151515;
  font-size: 27px;
  font-weight: 300;
  line-height: 36px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-offer-popup__close:hover {
  background: #151515;
  color: #fff;
}

.home-offer-popup__highlight {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #f5f5f2;
}

.home-offer-popup__image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  padding: 25px;
  background: #fff;
  object-fit: contain;
}

.home-offer-popup__image-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0, 155, 145, 0.96);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.home-offer-popup__image-label span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.home-offer-popup__image-label strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}

.home-offer-popup__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 66px 58px 54px;
}

.home-offer-popup__eyebrow {
  margin-bottom: 12px;
  color: #009b91;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-offer-popup__content h2 {
  margin-bottom: 18px;
  color: #151515;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
}

.home-offer-popup__content p {
  margin-bottom: 30px;
  color: #5f6463;
  font-size: 15px;
  line-height: 1.75;
}

.home-offer-popup__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-offer-popup__shop {
  padding: 13px 23px;
  background: #151515;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-offer-popup__shop:hover {
  background: #009b91;
  color: #fff;
}

.home-offer-popup__shop span {
  margin-left: 7px;
}

.home-offer-popup__later {
  display: inline-block;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #9b9b96;
  background: transparent;
  color: #5f6463;
  font-size: 13px;
  line-height: 1.5;
}

.home-offer-popup__later:hover {
  border-color: #151515;
  color: #151515;
}

.home-offer-popup__close:focus-visible,
.home-offer-popup__shop:focus-visible,
.home-offer-popup__later:focus-visible {
  outline: 3px solid rgba(0, 155, 145, 0.35) !important;
  outline-offset: 3px;
}

@media only screen and (max-width: 767px) {
  .home-offer-popup__dialog {
    grid-template-columns: 1fr;
    width: min(500px, 100%);
    min-height: 0;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
  }

  .home-offer-popup__highlight,
  .home-offer-popup__image {
    min-height: 190px;
    height: 190px;
  }

  .home-offer-popup__image {
    padding: 16px;
  }

  .home-offer-popup__image-label {
    justify-content: flex-start;
    padding: 10px 18px;
  }

  .home-offer-popup__image-label span {
    font-size: 11px;
  }

  .home-offer-popup__image-label strong {
    font-size: 25px;
  }

  .home-offer-popup__content {
    padding: 35px 32px 34px;
  }

  .home-offer-popup__content h2 {
    font-size: 30px;
  }
}

@media only screen and (max-width: 479px) {
  .home-offer-popup {
    padding: 10px;
  }

  .home-offer-popup__close {
    top: 10px;
    right: 10px;
  }

  .home-offer-popup__highlight,
  .home-offer-popup__image {
    min-height: 175px;
    height: 175px;
  }

  .home-offer-popup__content {
    padding: 28px 22px;
  }

  .home-offer-popup__content h2 {
    margin-bottom: 12px;
    font-size: 27px;
  }

  .home-offer-popup__content p {
    margin-bottom: 22px;
    line-height: 1.6;
  }

  .home-offer-popup__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-offer-popup,
  .home-offer-popup__dialog {
    transition: none;
  }
}
