/* VA Alimentare 5.8 — mobile first fixes, readable cards and progressive motion */
:root{--ease-va:cubic-bezier(.21,.72,.26,1)}
body{overflow-x:clip}
.hero-feature-copy,.hero-aside-card,.feature-products{min-width:0}
.hero-feature h1,.hero-aside-card strong{overflow-wrap:normal;hyphens:auto}
.hero-aside-card strong,.hero-aside-card .aside-label,.hero-aside-card .aside-link{position:relative;z-index:2}
.hero-aside-card .aside-link{align-self:flex-start}
.deal-decoration{pointer-events:none;z-index:0}
@media (max-width:700px){
  .shop-hero{grid-template-columns:minmax(0,1fr)}
  .hero-feature{min-height:0;display:flex;flex-direction:column;align-items:stretch;overflow:hidden}
  .hero-feature-copy{width:100%;max-width:none!important;padding:30px 23px 0!important;position:relative;z-index:3}
  .hero-feature h1{font-size:clamp(31px,8.7vw,44px);line-height:1.08;letter-spacing:-.055em;margin-bottom:13px}
  .hero-feature h1 em{display:block;font-size:.88em}
  .hero-feature p{font-size:14px;line-height:1.65;max-width:34rem;margin-bottom:20px}
  .feature-eyebrow{font-size:10px;letter-spacing:1.3px;margin-bottom:17px}
  .hero-cta-row{gap:9px}
  .feature-primary,.feature-secondary{font-size:12px;padding:0 15px;min-height:44px;gap:10px;white-space:normal;line-height:1.3}
  .feature-meta{font-size:11px;margin-top:19px;letter-spacing:.45px}
  /* CRITICAL: product visuals are in normal document flow, BELOW all copy. */
  .feature-products{position:relative;inset:auto;right:auto;top:auto;bottom:auto;width:100%;height:205px;min-height:205px;flex:none;margin-top:7px;z-index:1;overflow:visible}
  .hero-round-shape{width:250px;height:250px;right:0;top:-20px;box-shadow:0 0 0 25px #ffffff06,0 0 0 57px #ffffff07}
  .feature-bottle{width:26%;height:160px!important;bottom:19px;object-position:center;box-shadow:0 13px 20px #0b2c1d38}
  .feature-bottle.one{right:57%;height:148px!important}
  .feature-bottle.two{right:37%;height:171px!important}
  .feature-bottle.three{right:17%;height:147px!important}
  .hero-aside{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:minmax(185px,auto);align-items:stretch}
  .hero-aside-card{min-height:185px;height:auto;padding:19px 16px 17px}
  .hero-aside-card strong{font-size:clamp(18px,4.7vw,24px);line-height:1.2;letter-spacing:-.7px;overflow-wrap:break-word}
  .hero-aside-card .aside-label{font-size:9px;letter-spacing:1.2px}
  .hero-aside-card .aside-link{font-size:11px;line-height:1.35;max-width:100%}
  .food-card img{width:47%;height:55%;opacity:.34;right:-8%;bottom:7%;object-fit:contain}
  .deal-decoration{font-size:clamp(65px,19vw,95px);right:-6px;top:-4px;opacity:.6}
  .service-grid>div{align-items:flex-start}
  .service-grid>div>div{min-width:0}
  .service-grid strong,.service-grid small{overflow-wrap:break-word}
  .section-shop-header,.catalog-shop-title{min-width:0}
}
@media (max-width:540px){
  .hero-aside{grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(154px,auto);gap:11px}
  .hero-aside-card{min-height:154px;padding:21px 22px 18px}
  .hero-aside-card strong{font-size:clamp(22px,6.2vw,27px);max-width:77%}
  .hero-aside-card .aside-link{font-size:12px}
  .food-card strong{max-width:61%}
  .food-card img{opacity:.72;width:35%;height:87%;right:1%;bottom:-4%;max-width:145px}
  .deal-decoration{font-size:130px;right:15px;top:10px;opacity:.45}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
  .service-grid>div{gap:9px}
  .service-grid strong{font-size:11px}
  .service-grid small{font-size:10px}
}
@media (max-width:385px){
 .hero-feature-copy{padding:27px 19px 0!important}
 .hero-feature h1{font-size:clamp(28px,8vw,34px)}
 .hero-feature p{font-size:13px}
 .feature-products{height:174px;min-height:174px}
 .feature-bottle{height:130px!important}
 .feature-bottle.one{height:122px!important}
 .feature-bottle.two{height:145px!important}
 .feature-bottle.three{height:121px!important}
 .feature-primary,.feature-secondary{width:100%;justify-content:space-between}
 .shop-header-actions{gap:2px}
 .mobile-menu-toggle{width:34px;height:36px}
 .hero-aside-card strong{max-width:77%}
}
/* Motion is purely decorative; never block interaction or content visibility. */
@media (prefers-reduced-motion:no-preference){
 .hero-feature-copy{animation:va-arrive .75s var(--ease-va) both}
 .feature-products{animation:va-breathe 7s ease-in-out infinite alternate}
 .hero-aside-card{animation:va-arrive .7s var(--ease-va) both}
 .hero-aside-card:nth-child(2){animation-delay:.12s}
 .feature-primary,.feature-secondary,.hero-aside-card,.quick-category-card,.product-action{transition-duration:.24s}
 .motion-ready .va-reveal{opacity:0;transform:translateY(19px);transition:opacity .6s var(--ease-va),transform .6s var(--ease-va);transition-delay:var(--va-delay,0ms)}
 .motion-ready .va-reveal.va-visible{opacity:1;transform:translateY(0)}
 @keyframes va-arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
 @keyframes va-breathe{from{translate:0 0}to{translate:0 -9px}}
}
@media (prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .hero-feature-copy,.feature-products,.hero-aside-card{animation:none!important}
 .va-reveal{opacity:1!important;transform:none!important;transition:none!important}
}
