/* ITNETCOM_HOME_CAROUSEL_CARD_LAYOUT_V1 — same product card architecture B2C/B2B.
 * More balanced media/text/footer, 5 desktop cards, 6 wide, 3 tablet, 1 mobile.
 * Keep existing carousel JS, images, stock, prices and access-control semantics. */
@media(min-width:1181px){
 body .latest-products-section .latest-products-track {
  --latest-products-gap:12px!important;
  grid-auto-columns:calc((100% - (var(--latest-products-gap) * 4)) / 5)!important;
  gap:var(--latest-products-gap)!important;align-items:stretch!important;
 }
}
@media(min-width:1600px){
 body .latest-products-section .latest-products-track {
  grid-auto-columns:calc((100% - (var(--latest-products-gap) * 5)) / 6)!important;
 }
}
@media(min-width:721px) and (max-width:1180px){
 body .latest-products-section .latest-products-track {
  --latest-products-gap:12px!important;
  grid-auto-columns:calc((100% - (var(--latest-products-gap) * 2)) / 3)!important;
  gap:var(--latest-products-gap)!important;
 }
}
@media(min-width:721px){
 body .latest-products-section .latest-product-card {
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:0!important;
  padding:11px!important;
  border:1px solid #e9ecef!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
 }
 body .latest-products-section .latest-product-card::after {display:none!important;}
 body .latest-products-section .latest-product-card:hover {
  border-color:#dadfe4!important;
  background:#fff!important;
  box-shadow:0 3px 16px rgba(0,0,0,.045)!important;
  transform:none!important;
 }
 body .latest-products-section .latest-product-badge-row {
  min-height:22px!important;margin-bottom:7px!important;
 }
 body .latest-products-section .latest-product-tag {min-height:19px!important;padding:2px 6px!important;border-radius:7px!important;}
 body .latest-products-section .latest-product-media {
  height:165px!important;min-height:165px!important;max-height:165px!important;
  margin-bottom:9px!important;padding:6px!important;box-sizing:border-box!important;
 }
 body .latest-products-section .latest-product-media img {
  width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
 }
 body .latest-products-section .latest-product-name {
  min-height:52px!important;margin:0!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;line-clamp:3;overflow:hidden!important;
 }
 body .latest-products-section .latest-product-meta {
  min-height:35px!important;margin-top:8px!important;
 }
 body .latest-products-section .latest-product-brand,
 body .latest-products-section .latest-product-code,
 body .latest-products-section .latest-product-tech {
  min-height:0!important;margin-top:2px!important;
 }
 body .latest-products-section .latest-product-bottom {
  margin-top:auto!important;padding-top:9px!important;
 }
 body .latest-products-section .latest-product-stock {margin-top:8px!important;gap:6px!important;}
 body .latest-products-section .latest-product-stock-dot {width:7px!important;height:7px!important;}
 body .latest-products-section .latest-product-actions {margin-top:10px!important;gap:7px!important;}
 body .latest-products-section .latest-product-qty {
  width:76px!important;min-width:76px!important;height:38px!important;
 }
 body .latest-products-section .latest-product-cart {
  flex:1 1 auto!important;min-width:0!important;
  height:38px!important;min-height:38px!important;
 }
 body .latest-products-section .latest-product-cart span {
  display:inline!important;font-size:inherit!important;
 }
 body .latest-products-section .latest-products-dots {margin-top:16px!important;}
}
@media(max-width:720px){
 body .latest-products-section .latest-products-track {
  --latest-products-gap:0px!important;grid-auto-columns:100%!important;
  gap:0!important;column-gap:0!important;
 }
 body .latest-products-section .latest-product-card {
  min-height:0!important;gap:0!important;
 }
 body .latest-products-section .latest-product-media {
  height:175px!important;min-height:175px!important;max-height:175px!important;
  margin-bottom:10px!important;
 }
 body .latest-products-section .latest-product-name {min-height:0!important;}
 body .latest-products-section .latest-product-meta {margin-top:8px!important;}
 body .latest-products-section .latest-product-bottom {padding-top:9px!important;}
 body .latest-products-section .latest-product-stock {margin-top:8px!important;}
 body .latest-products-section .latest-product-actions {margin-top:9px!important;}
}
