/* Lead Hair V10.4: Celebrity Clients and fitting services row only. */
#lh-celebrity,
#lh-services {
  grid-column: span 6 !important;
  min-width: 0 !important;
}

#lh-celebrity .lh-celebrity-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

#lh-celebrity .lh-celebrity-grid img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

@media (max-width: 800px) {
  #lh-celebrity,
  #lh-services {
    grid-column: 1 !important;
  }
}

/* Compact, uniform product cards for Products and Care & Accessories only. */
#lh-products,
#lh-accessories {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

#lh-products .products,
#lh-accessories .mini {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 9px !important;
  align-items: stretch !important;
}

#lh-products .products > div,
#lh-accessories .mini > div {
  min-width: 0 !important;
  padding: 8px 6px 7px !important;
  border: 1px solid #e8e8ea !important;
  border-radius: 7px !important;
  background: #fff !important;
  text-align: center !important;
}

#lh-products .products > div[hidden],
#lh-accessories .mini > div[hidden] {
  display: none !important;
}

#lh-products .products > div > a,
#lh-accessories .mini > div > a {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

#lh-products .products img,
#lh-accessories .mini img {
  display: block !important;
  width: 78% !important;
  max-width: 150px !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto 7px !important;
  padding: 6px !important;
  border-radius: 5px !important;
  background: #f7f7f8 !important;
  object-fit: contain !important;
}

#lh-products .products b,
#lh-accessories .mini b {
  display: block !important;
  margin: auto 0 0 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

#lh-products .lh-show-more,
#lh-accessories .lh-show-more {
  margin-top: auto !important;
  transform: translateY(8px);
}

@media (max-width: 800px) {
  #lh-products .products,
  #lh-accessories .mini {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #lh-products .products img,
  #lh-accessories .mini img {
    width: 88% !important;
    max-width: 160px !important;
  }
}
