/* WildDragon homepage product carousel override. Loaded after product-carousel/assets/css/frontend.css. */

html body .pc-homepage-carousel-section--product_carousel {
  --wd-pc-ink: #171421;
  --wd-pc-muted: #767184;
  --wd-pc-soft: #f7f6fa;
  --wd-pc-border: #e8e2f2;
  --wd-pc-purple: #6f2de2;
  --wd-pc-green: #168a09;
  --wd-pc-radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html body .pc-homepage-carousel-section--product_carousel .pc-carousel-wrapper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  contain: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .pc-carousel-container {
  align-items: flex-start !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-item {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-img-wrap {
  position: relative !important;
  width: 100% !important;
  padding-top: 0 !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: var(--wd-pc-radius) !important;
  background: var(--wd-pc-soft) !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-link,
html body .pc-homepage-carousel-section--product_carousel .product-img,
html body .pc-homepage-carousel-section--product_carousel .product-img-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-img,
html body .pc-homepage-carousel-section--product_carousel .product-img-wrap img {
  position: static !important;
  inset: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: var(--wd-pc-radius) !important;
  transform: none !important;
  transition: transform 320ms ease !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-item:hover .product-img,
html body .pc-homepage-carousel-section--product_carousel .product-item:hover .product-img-wrap img {
  transform: scale(1.025) !important;
}

html body .pc-homepage-carousel-section--product_carousel .pc-product-fit-badge {
  display: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .rating-badge {
  position: absolute !important;
  bottom: 12px !important;
  left: 12px !important;
  z-index: 4 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

html body .pc-homepage-carousel-section--product_carousel .rating-inner {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  background: transparent !important;
}

html body .pc-homepage-carousel-section--product_carousel .star-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--wd-pc-ink) !important;
  box-shadow: 0 10px 22px rgba(23, 20, 33, 0.14) !important;
}

html body .pc-homepage-carousel-section--product_carousel .star-icon {
  color: #ffd232 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

html body .pc-homepage-carousel-section--product_carousel .rating-value {
  color: var(--wd-pc-ink) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

html body .pc-homepage-carousel-section--product_carousel .rating-tag {
  display: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-info {
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-info-container {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 0 0 !important;
}

html body .pc-homepage-carousel-section--product_carousel .brand-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 38px !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

html body .pc-homepage-carousel-section--product_carousel .brand-name,
html body .pc-homepage-carousel-section--product_carousel .brand-row .brand-name,
html body .pc-homepage-carousel-section--product_carousel .brand-row a:not(.wishlist-btn) {
  min-width: 0 !important;
  overflow: hidden !important;
  color: var(--wd-pc-ink) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

html body .pc-homepage-carousel-section--product_carousel .wishlist-btn {
  position: relative !important;
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  min-width: 38px !important;
  padding: 0 !important;
  border: 1px solid var(--wd-pc-border) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--wd-pc-ink) !important;
  box-shadow: 0 8px 20px rgba(23, 20, 33, 0.08) !important;
  overflow: hidden !important;
}

html body .pc-homepage-carousel-section--product_carousel .wishlist-btn .nasa-icon {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translate(-50%, -50%) !important;
}

html body .pc-homepage-carousel-section--product_carousel .wishlist-btn .ns-filled {
  display: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .wishlist-btn.added .ns-stroke,
html body .pc-homepage-carousel-section--product_carousel .wishlist-btn.nasa-added .ns-stroke,
html body .pc-homepage-carousel-section--product_carousel .wishlist-btn.nasa-active .ns-stroke {
  display: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .wishlist-btn.added .ns-filled,
html body .pc-homepage-carousel-section--product_carousel .wishlist-btn.nasa-added .ns-filled,
html body .pc-homepage-carousel-section--product_carousel .wishlist-btn.nasa-active .ns-filled {
  display: block !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-title {
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--wd-pc-muted) !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.28 !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: inherit !important;
  text-decoration: none !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

html body .pc-homepage-carousel-section--product_carousel .price-container,
html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
  min-width: 0 !important;
  margin: 0 !important;
  line-height: 1.05 !important;
}

html body .pc-homepage-carousel-section--product_carousel .current-price,
html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .ebfUYh,
html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .ePCma-D {
  color: var(--wd-pc-ink) !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

html body .pc-homepage-carousel-section--product_carousel .original-price,
html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .iSDJgw {
  color: #9aa2b2 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 2px !important;
}

html body .pc-homepage-carousel-section--product_carousel .discount,
html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .jrDIFo {
  color: var(--wd-pc-green) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

html body .pc-homepage-carousel-section--product_carousel .product-info .top-badge,
html body .pc-homepage-carousel-section--product_carousel .product-info .wd-offer-badge--loop.top-badge,
html body .pc-homepage-carousel-section--product_carousel .product-info .pc-offer-line {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--wd-pc-green) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  text-transform: none !important;
}

html body .pc-homepage-carousel-section--product_carousel .fabric-tag {
  width: fit-content !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 1px solid #d9dce5 !important;
  border-radius: 8px !important;
  background: #fbfbfd !important;
  color: var(--wd-pc-muted) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

html body .pc-homepage-carousel-section--product_carousel .pc-carousel-prev,
html body .pc-homepage-carousel-section--product_carousel .pc-carousel-next {
  width: 56px !important;
  height: 56px !important;
  border: 1px solid rgba(124, 53, 232, 0.12) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--wd-pc-ink) !important;
  box-shadow: 0 18px 38px rgba(23, 20, 33, 0.16) !important;
}

html body .pc-homepage-carousel-section--product_carousel .pc-carousel-prev:hover,
html body .pc-homepage-carousel-section--product_carousel .pc-carousel-next:hover {
  background: #ffffff !important;
  color: var(--wd-pc-purple) !important;
  box-shadow: 0 22px 46px rgba(23, 20, 33, 0.2) !important;
}

@media (max-width: 767px) {
  html body .pc-homepage-carousel-section--product_carousel {
    --wd-pc-mobile-bleed: clamp(18px, 5vw, 32px);
    width: calc(100% + (var(--wd-pc-mobile-bleed) * 2)) !important;
    max-width: none !important;
    margin-left: calc(var(--wd-pc-mobile-bleed) * -1) !important;
    margin-right: calc(var(--wd-pc-mobile-bleed) * -1) !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .pc-carousel-container {
    padding-left: 6px !important;
    padding-right: 6px !important;
    gap: 12px !important;
    scroll-padding-left: 6px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .product-img-wrap {
    aspect-ratio: 3 / 4 !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .product-img,
  html body .pc-homepage-carousel-section--product_carousel .product-img-wrap img {
    transform: scale(1.24) !important;
    transform-origin: center center !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .product-item:hover .product-img,
  html body .pc-homepage-carousel-section--product_carousel .product-item:hover .product-img-wrap img {
    transform: scale(1.26) !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .pc-product-fit-badge {
    display: none !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .rating-badge {
    bottom: 8px !important;
    left: 8px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .star-wrapper {
    min-height: 28px !important;
    padding: 0 8px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .rating-value {
    font-size: 12px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .product-info-container {
    gap: 5px !important;
    padding: 8px 0 0 !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .brand-row {
    grid-template-columns: minmax(0, 1fr) 32px !important;
    gap: 6px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .brand-name,
  html body .pc-homepage-carousel-section--product_carousel .brand-row .brand-name,
  html body .pc-homepage-carousel-section--product_carousel .brand-row a:not(.wishlist-btn) {
    font-size: clamp(13px, 3.4vw, 15px) !important;
    line-height: 1.14 !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .wishlist-btn {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
    min-width: 32px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .wishlist-btn .nasa-icon {
    width: 16px !important;
    height: 16px !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .product-title {
    font-size: clamp(12px, 3.2vw, 14px) !important;
    line-height: 1.22 !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .current-price,
  html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .ebfUYh,
  html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .ePCma-D {
    font-size: clamp(16px, 4.4vw, 20px) !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .original-price,
  html body .pc-homepage-carousel-section--product_carousel .discount,
  html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .iSDJgw,
  html body .pc-homepage-carousel-section--product_carousel .product-card_product_price_container__Ek01t .jrDIFo {
    font-size: clamp(12px, 3.2vw, 14px) !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .product-info .top-badge,
  html body .pc-homepage-carousel-section--product_carousel .product-info .wd-offer-badge--loop.top-badge,
  html body .pc-homepage-carousel-section--product_carousel .product-info .pc-offer-line {
    min-height: 20px !important;
    font-size: clamp(12px, 3.2vw, 14px) !important;
  }

  html body .pc-homepage-carousel-section--product_carousel .fabric-tag {
    padding: 5px 8px !important;
    font-size: 10px !important;
  }
}
