/**
 * YHN 3.9.55.32 — Home + Merchandising Premium Balance
 * Surface-only refinement for Home, Flash Sale and Bestseller.
 * No markup, product query, grid count, ordering, visibility, countdown,
 * add-to-cart, reveal, filter or navigation behavior changes.
 */

/* =========================================================
 * HOME — quieter retail hierarchy, same shopping flow
 * ========================================================= */
.home .yhn-home-premium .yhn-home-section__heading h2,
.home .yhn-home-premium .yhn-home-reasons h2 {
  color: #292426 !important;
  font-weight: 650 !important;
  letter-spacing: .012em !important;
}

.home .yhn-home-premium .yhn-home-section__heading > a {
  color: #6d6669 !important;
  text-decoration-color: #c8bdc1 !important;
}

.home .yhn-home-premium .yhn-home-section__heading > a:hover {
  color: #c91b6d !important;
  transform: none !important;
}

.home .yhn-home-premium .yhn-home-button {
  border-radius: 5px !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}

.home .yhn-home-premium .yhn-home-button:hover {
  transform: none !important;
}

/* Category cards: keep imagery and discoverability, remove app-card theatrics. */
.home .yhn-home-premium .yhn-home-category-card {
  background: #fff !important;
  border-color: #ece7e4 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transition: border-color .18s ease !important;
}

.home .yhn-home-premium .yhn-home-category-card__image {
  background: #f8f6f4 !important;
}

.home .yhn-home-premium .yhn-home-category-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #d8cfcb !important;
}

.home .yhn-home-premium .yhn-home-category-card:hover img {
  transform: none !important;
}

/* Product cards: real product photography stays primary. */
.home .yhn-home-premium .yhn-home-product-card {
  border-color: #ece8e5 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transition: border-color .18s ease !important;
}

.home .yhn-home-premium .yhn-home-product-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #d9d2ce !important;
}

.home .yhn-home-premium .yhn-home-product-card__badge {
  top: 9px !important;
  left: 9px !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-size: 8px !important;
  letter-spacing: .035em !important;
}

.home .yhn-home-premium .yhn-home-product-card__badge--bestseller {
  background: #332d30 !important;
  color: #fff !important;
}

.home .yhn-home-premium .yhn-home-product-card__body {
  padding-bottom: 14px !important;
}

.home .yhn-home-premium .yhn-home-product-card h3 {
  color: #2b2728 !important;
}

/* Flash Sale presentation is owned by yhn-home-flash-395550.css from 3.9.55.50 onward. */

/* Brand row and editorial/news: flatter, more retailer-like. */
.home .yhn-home-premium .yhn-home-brand-grid {
  border-color: #e8e2df !important;
  border-radius: 5px !important;
}

.home .yhn-home-premium .yhn-home-brand-grid a {
  border-color: #e8e2df !important;
  background: #fff !important;
}

.home .yhn-home-premium .yhn-home-brand-grid a:hover {
  background: #faf8f6 !important;
}

.home .yhn-home-premium .yhn-home-news-card {
  border-color: #ece7e4 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transition: border-color .18s ease !important;
}

.home .yhn-home-premium .yhn-home-news-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: #d9d1cd !important;
}

.home .yhn-home-premium .yhn-home-news-card:hover .yhn-home-news-card__image img {
  transform: none !important;
}

.home .yhn-home-premium .yhn-home-news-card__category {
  color: #9d5d77 !important;
}

/* Trust/reason area: keep all proof points, reduce card-within-card feeling. */
.home .yhn-home-premium .yhn-home-reason-grid > div {
  background: #fff !important;
  border-color: #ebe5e2 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.home .yhn-home-premium .yhn-home-reason-grid > div > span {
  color: #a87d62 !important;
}

.home .yhn-home-premium .yhn-home-proof {
  background: #faf8f6 !important;
  border-color: #ebe5e1 !important;
}

/* =========================================================
 * BESTSELLER / FLASH LANDINGS — keep structure, calm the art/UI
 * ========================================================= */
.yhn-pl--flash .yhn-pl-hero,
.yhn-pl--bestseller .yhn-pl-hero {
  border-color: #ebe5e2 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pl-campaign-art,
.yhn-pl--bestseller .yhn-pl-campaign-art {
  opacity: .9 !important;
}

.yhn-pl--flash .yhn-pl-hero h1,
.yhn-pl--bestseller .yhn-pl-hero h1 {
  color: #282225 !important;
  font-weight: 500 !important;
}

.yhn-pl--flash .yhn-pl-eyebrow,
.yhn-pl--bestseller .yhn-pl-eyebrow {
  color: #9b6578 !important;
}

.yhn-pl--flash .yhn-pl-primary,
.yhn-pl--bestseller .yhn-pl-primary {
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}

.yhn-pl--flash .yhn-pl-primary:hover,
.yhn-pl--bestseller .yhn-pl-primary:hover {
  transform: none !important;
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pl-countdown > div,
.yhn-pl--bestseller .yhn-pl-countdown > div {
  border-color: #e9e2df !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pl-trust,
.yhn-pl--bestseller .yhn-pl-trust {
  border-color: #ebe5e2 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Bestseller Top 3 stays easy to understand, but looks less like a UI kit. */
.yhn-pl--bestseller .yhn-pl-podium-card {
  border-color: #e9e3df !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.yhn-pl--bestseller .yhn-pl-podium-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.yhn-pl--bestseller .yhn-pl-podium-rank {
  border: 1px solid #e0d8d4 !important;
  background: #332d30 !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Merch product cards: retain buttons/rating/reveal, remove floating-card effect. */
.yhn-pl--flash .yhn-pc-media,
.yhn-pl--bestseller .yhn-pc-media {
  border-color: #eae5e2 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pc-card:hover .yhn-pc-media,
.yhn-pl--bestseller .yhn-pc-card:hover .yhn-pc-media {
  transform: none !important;
  border-color: #d8d1cd !important;
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pc-card:hover .yhn-pc-image img,
.yhn-pl--bestseller .yhn-pc-card:hover .yhn-pc-image img {
  transform: none !important;
}

.yhn-pl--flash .yhn-pc-badge,
.yhn-pl--bestseller .yhn-pc-badge,
.yhn-pl--bestseller .yhn-pc-rank {
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pc-badge {
  background: #d21c70 !important;
}

.yhn-pl--bestseller .yhn-pc-rank {
  background: #332d30 !important;
}

/* Existing editorial art stays, but its container no longer reads as a generated promo card. */
.yhn-pl--flash .yhn-pl-editorial,
.yhn-pl--bestseller .yhn-pl-editorial {
  border-color: #e9e3df !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

.yhn-pl--flash .yhn-pl-editorial-overlay,
.yhn-pl--bestseller .yhn-pl-editorial-overlay {
  border-color: rgba(221, 211, 205, .84) !important;
  box-shadow: none !important;
}

@media (max-width: 849px) {
  .yhn-pl--flash .yhn-pl-hero,
  .yhn-pl--bestseller .yhn-pl-hero {
    border-radius: 16px !important;
  }

  .home .yhn-home-premium .yhn-home-category-card,
  .home .yhn-home-premium .yhn-home-product-card,
  .home .yhn-home-premium .yhn-home-news-card {
    border-radius: 6px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .yhn-home-premium .yhn-home-category-card,
  .home .yhn-home-premium .yhn-home-product-card,
  .home .yhn-home-premium .yhn-home-news-card,
  .yhn-pl--flash .yhn-pc-media,
  .yhn-pl--bestseller .yhn-pc-media {
    transition: none !important;
  }
}
