/* Final Black Friday refinements layered after v13. */

/* Keep the original hero artwork visible and contain the offer copy in one panel. */
.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__wrapper {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(2rem, 7vw, 7.5rem);
  pointer-events: none;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__content {
  display: flex;
  width: min(43rem, calc(100% - 2rem));
  height: auto;
  max-width: 43rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: clamp(2rem, 3vw, 2.8rem);
  border: 1px solid rgba(220, 194, 143, 0.34);
  background: rgba(20, 24, 18, 0.86);
  box-shadow: 0 1.3rem 3.2rem rgba(5, 7, 5, 0.25);
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__subtitle {
  margin-bottom: 0.9rem;
  color: #ddc28d;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__title {
  max-width: 35rem;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 4.25vw, 5rem);
  line-height: 0.88;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .hozo-bf-hero-name {
  margin-bottom: 0.2em;
  font-size: 0.54em;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__description {
  max-width: 34rem;
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.55;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__description > p {
  margin-bottom: 0.85rem;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .hozo-bf-hero-code {
  min-height: 2.55rem;
  padding: 0.6rem 0.85rem;
}

.hozo-bf-hero-countdown {
  margin-top: 1rem;
}

.hozo-bf-countdown__unit {
  min-width: 3.45rem;
  padding-block: 0.48rem;
}

.hozo-bf-countdown__unit b {
  font-size: 1.4rem;
}

.hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__button {
  margin-top: 0.95rem;
}

/* Native social profiles restored below business hours. */
.hozo-footer-social {
  display: none !important;
}

.hozo-footer-native-social {
  margin-top: 1rem;
}

.hozo-footer-native-social .social-media-links {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0;
}

.hozo-footer-native-social .social-media-links--item {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(216, 185, 123, 0.55);
  border-radius: 50%;
  background-color: transparent !important;
  color: #f4eee2 !important;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.hozo-footer-native-social .social-media-links--item svg {
  width: 0.9rem;
  height: 0.9rem;
  color: inherit !important;
}

.hozo-footer-native-social .social-media-links--item:hover,
.hozo-footer-native-social .social-media-links--item:focus-visible {
  border-color: #d8b97b;
  background-color: #d8b97b !important;
  color: #181a16 !important;
}

/* Reposition the popup offer as a clear, editorial price ticket. */
.hozo-bf-popup__visual::after {
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 8, 0.46));
  content: "";
  pointer-events: none;
}

.hozo-bf-popup__visual-decoration {
  z-index: 2;
}

.hozo-bf-popup__hang-tag {
  bottom: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: min(15rem, calc(100% - 2.5rem));
  min-width: 0;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 229, 0.58);
  border-radius: 0;
  background: linear-gradient(135deg, #b88f50 0%, #e7cf9b 47%, #c19b5c 100%);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.32);
  color: #171913;
  transform: rotate(-1.5deg);
}

.hozo-bf-popup__hang-tag::before,
.hozo-bf-popup__hang-tag::after {
  display: none;
}

.hozo-bf-popup__hang-tag small {
  display: block;
  padding: 0.62rem 0.85rem;
  background: #1b211b;
  color: #f4e4bf;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  line-height: 1;
}

.hozo-bf-popup__hang-tag .hozo-bf-popup__offer-prefix {
  margin: 0;
  padding: 0.85rem 0.85rem 0;
  color: rgba(24, 27, 21, 0.72);
  font-family: var(--font-stack-body);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1;
}

.hozo-bf-popup__hang-tag strong {
  display: flex;
  align-items: baseline;
  gap: 0.18rem;
  padding: 0.18rem 0.8rem 0.72rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.85rem, 5vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hozo-bf-popup__hang-tag strong em {
  font-family: var(--font-stack-body);
  font-size: 0.26em;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hozo-bf-popup__hang-tag .hozo-bf-popup__offer-codes {
  margin: 0;
  padding: 0.66rem 0.85rem 0.72rem;
  border-top: 1px solid rgba(23, 25, 19, 0.28);
  color: #171913;
  font-family: var(--font-stack-body);
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

/* Dynamic product cards use the same badge geometry as server-rendered cards. */
.f-product-card > .hozo-bf-card-badge {
  top: 0.7rem;
  left: 0.7rem;
  pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__wrapper {
    padding: 2.5rem 2.5rem 2.2rem;
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__content {
    width: min(39rem, 86%);
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__title {
    font-size: clamp(3rem, 6.6vw, 4.5rem);
  }
}

@media (max-width: 767px) {
  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__wrapper {
    position: absolute;
    inset: 0;
    align-items: flex-end;
    padding: 1rem;
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__content {
    width: 100%;
    height: auto;
    max-width: none;
    padding: 1.35rem;
    border-color: rgba(220, 194, 143, 0.3);
    background: rgba(20, 24, 18, 0.92);
    box-shadow: 0 0.8rem 2rem rgba(5, 7, 5, 0.22);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__subtitle {
    margin-bottom: 0.7rem;
    font-size: 0.56rem;
    letter-spacing: 0.18em;
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__title {
    margin-bottom: 0.8rem;
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__description {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__description > p {
    margin-bottom: 0.7rem;
  }

  .hozo-bf-hero-countdown {
    width: 100%;
    max-width: none;
    margin-top: 0.8rem;
  }

  .hozo-bf-countdown__label {
    min-width: 5rem;
    padding-right: 0.45rem;
    font-size: 0.48rem;
  }

  .hozo-bf-countdown__unit {
    min-width: 0;
    flex: 1;
    padding: 0.4rem 0.16rem;
  }

  .hozo-bf-countdown__unit b {
    font-size: 1.16rem;
  }

  .hozo-bf-countdown__unit small {
    font-size: 0.37rem;
  }

  .hozo-bf-hero .swiper-slide:has(.hozo-bf-hero-code) .f-slide__button {
    margin-top: 0.8rem;
  }

  .hozo-footer-native-social {
    margin-top: 0.8rem;
  }

  .hozo-footer-native-social .social-media-links--item {
    width: 2rem;
    height: 2rem;
  }

  .hozo-bf-popup__hang-tag {
    bottom: 0.75rem;
    left: 0.75rem;
    width: min(12.5rem, calc(100% - 1.5rem));
    padding: 0;
  }

  .hozo-bf-popup__hang-tag small {
    padding: 0.45rem 0.65rem;
    font-size: 0.48rem;
  }

  .hozo-bf-popup__hang-tag .hozo-bf-popup__offer-prefix {
    padding: 0.55rem 0.65rem 0;
    font-size: 0.48rem;
  }

  .hozo-bf-popup__hang-tag strong {
    padding: 0.12rem 0.62rem 0.5rem;
    font-size: 2.55rem;
  }

  .hozo-bf-popup__hang-tag .hozo-bf-popup__offer-codes {
    padding: 0.45rem 0.65rem 0.5rem;
    font-size: 0.43rem;
  }
}
