/* v126 — smaller, tighter, more luxurious homepage product cards */
@media (min-width: 1281px){
  .latest-products-track{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 16px;
  }

  .latest-products-head{
    margin-bottom: 24px;
  }
}

.latest-products-slider{
  padding: 8px;
  border-radius: 36px;
}

.latest-products-track{
  width: 100%;
  align-items: stretch;
}

.latest-product,
.latest-product:nth-child(1),
.latest-product:nth-child(2),
.latest-product:nth-child(3),
.latest-product:nth-child(4){
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 9px;
  border: 1px solid rgba(120, 97, 74, .09);
  border-radius: 26px 26px 40px 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(248,242,235,.96) 42%, rgba(241,232,222,.98) 100%);
  box-shadow:
    0 10px 22px rgba(67,46,28,.05),
    0 22px 40px rgba(67,46,28,.06),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -10px 18px rgba(196,168,136,.05);
  transition:
    transform .42s cubic-bezier(.22,.8,.2,1),
    box-shadow .42s cubic-bezier(.22,.8,.2,1),
    border-color .42s ease;
}

.latest-product::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
}

.latest-product:hover{
  transform: translateY(-7px);
  border-color: rgba(120, 97, 74, .16);
  box-shadow:
    0 16px 30px rgba(67,46,28,.08),
    0 34px 60px rgba(67,46,28,.11),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -12px 20px rgba(196,168,136,.07);
}

.latest-product::after{
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 46px;
  border-radius: 18px 18px 32px 18px;
  opacity: .28;
}

.latest-product-image,
.latest-product:nth-child(1) .latest-product-image,
.latest-product:nth-child(2) .latest-product-image,
.latest-product:nth-child(3) .latest-product-image,
.latest-product:nth-child(4) .latest-product-image{
  aspect-ratio: 1.28 / 1;
  border-radius: 20px 20px 30px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 10px 24px rgba(54,35,18,.07);
}

.latest-product-image::after{
  width: 36px;
  height: 36px;
  right: 10px;
  bottom: 10px;
  border-radius: 15px 50% 50% 50%;
}

.latest-product:hover .latest-product-image img{
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}

.latest-product-info{
  padding: 12px 4px 2px;
}

.latest-product h3,
.latest-product:nth-child(1) h3{
  font-size: 1rem;
  line-height: 1.16;
  min-height: 2.2em;
  letter-spacing: -.01em;
}

.latest-product-bottom{
  padding-top: 12px;
  gap: 8px;
}

.latest-product-bottom strong,
.latest-product:nth-child(1) .latest-product-bottom strong{
  min-height: 34px;
  padding: 0 11px;
  font-size: .82rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 1px rgba(92,67,45,.05);
}

.latest-product-bottom a{
  min-height: 34px;
  padding: 0 13px;
  font-size: .8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(243,235,226,.96));
  box-shadow:
    inset 0 0 0 1px rgba(92,67,45,.06),
    0 8px 16px rgba(64,42,24,.04);
}

.latest-product-bottom a:hover{
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(92,67,45,.08),
    0 10px 18px rgba(64,42,24,.07);
}

@media (max-width: 1280px){
  .latest-products-track{
    gap: 14px;
  }

  .latest-product,
  .latest-product:nth-child(1),
  .latest-product:nth-child(2),
  .latest-product:nth-child(3),
  .latest-product:nth-child(4){
    border-radius: 24px 24px 36px 24px;
  }

  .latest-product-image,
  .latest-product:nth-child(1) .latest-product-image,
  .latest-product:nth-child(2) .latest-product-image,
  .latest-product:nth-child(3) .latest-product-image,
  .latest-product:nth-child(4) .latest-product-image{
    aspect-ratio: 1.16 / 1;
    border-radius: 18px 18px 28px 18px;
  }
}

@media (max-width: 680px){
  .latest-products-slider{
    padding: 6px;
    border-radius: 22px;
  }

  .latest-product,
  .latest-product:nth-child(1),
  .latest-product:nth-child(2),
  .latest-product:nth-child(3),
  .latest-product:nth-child(4){
    border-radius: 22px 22px 30px 22px;
    padding: 8px;
  }

  .latest-product-image,
  .latest-product:nth-child(1) .latest-product-image,
  .latest-product:nth-child(2) .latest-product-image,
  .latest-product:nth-child(3) .latest-product-image,
  .latest-product:nth-child(4) .latest-product-image{
    aspect-ratio: 1.12 / 1;
    border-radius: 16px 16px 24px 16px;
  }

  .latest-product h3,
  .latest-product:nth-child(1) h3{
    font-size: .98rem;
    min-height: auto;
  }

  .latest-product-bottom strong,
  .latest-product:nth-child(1) .latest-product-bottom strong,
  .latest-product-bottom a{
    min-height: 32px;
    font-size: .78rem;
  }
}
