/* VA Alimentare 6.2 — cards readable at every breakpoint + mobile swipe UX. */
/* Previous grid layout made intrinsic-size images enlarge their implicit row,
   then clipped their useful content. Fix media bounds independently of the img. */
.home-featured-card{
  display:flex;
  flex-direction:column;
  min-height:275px;
  isolation:isolate;
}
.featured-card-photo{
  display:block;
  position:relative;
  flex:none;
  width:100%;
  height:205px;
  min-height:205px;
  padding:0;
  overflow:hidden;
  background:transparent;
}
.featured-card-photo img{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  min-width:0;
  min-height:0;
  object-fit:contain;
  object-position:center;
  mix-blend-mode:multiply;
  transform:none;
}
/* Original catalog photos contain significant built-in margins: crop only
   those sources to make bottles legible, leave admin-uploaded artwork intact. */
.featured-card-photo.is-catalog-product img{
  object-fit:cover;
  object-position:center center;
}
.featured-card-meta{
  position:relative;
  z-index:2;
  flex:1 0 auto;
  min-height:76px;
  padding:13px 39px 19px 17px;
  background:var(--feature-bg,#edf5eb);
}
.featured-card-arrow{z-index:3}
/* Touch is allowed to scroll vertically; horizontal gestures switch slides. */
.home-slider{touch-action:pan-y pinch-zoom;overscroll-behavior-x:contain}
@media(max-width:700px){
  .home-featured-card{min-height:225px}
  .featured-card-photo{height:154px;min-height:154px;padding:0}
  .featured-card-meta{min-height:69px;padding:10px 27px 13px 12px}
}
@media(max-width:390px){
  .home-featured-card{min-height:217px}
  .featured-card-photo{height:147px;min-height:147px}
}
