/* Avellon 4.1.4: subtle makeup photo using the EXISTING theme image, preserving hero motion. */
.av-home-400 .av-hero-cinematic{isolation:isolate;}
.av-home-400 .av-hero-cinematic::after{
 content:"";position:absolute;z-index:-1;pointer-events:none;
 right:0;top:8%;bottom:8%;width:24%;
 background-image:url("../images/home-2026/hero-makeup-2026.jpg");
 background-size:cover;background-position:57% center;
 opacity:.72;border-radius:18px 0 0 18px;
 -webkit-mask-image:linear-gradient(to right,transparent 0%,black 36%,black 96%);
 mask-image:linear-gradient(to right,transparent 0%,black 36%,black 96%);
}
/* Keep AVELLON's lettering, light sweep, and primary CTA untouched. */
/* Product cards: one aligned name slot + comfortable gap before divider */
.woocommerce li.product.av-product-card .av-product-card__body,
.av-home li.product.av-product-card .av-product-card__body,
.av-shop-results li.product.av-product-card .av-product-card__body{
 grid-template-rows:18px 42px 26px minmax(49px,auto)!important;
}
.woocommerce li.product.av-product-card .av-product-card__english,
.av-home li.product.av-product-card .av-product-card__english,
.av-shop-results li.product.av-product-card .av-product-card__english{
 height:26px!important;min-height:26px!important;max-height:26px!important;
 padding-top:1px!important;padding-bottom:9px!important;
 line-height:16px!important;box-sizing:border-box!important;
}
/* Rows retain equal heights whether the English field is populated or empty. */
.woocommerce li.product.av-product-card .av-product-card__footer,
.av-home li.product.av-product-card .av-product-card__footer,
.av-shop-results li.product.av-product-card .av-product-card__footer{
 align-items:center!important;padding-top:10px!important;
}
@media(max-width:767px){
 .av-home-400 .av-hero-cinematic::after{top:8%;bottom:auto;height:115px;width:29%;right:0;opacity:.35;border-radius:14px 0 0 14px;}
 .woocommerce li.product.av-product-card .av-product-card__body,
 .av-home li.product.av-product-card .av-product-card__body,
 .av-shop-results li.product.av-product-card .av-product-card__body{
  grid-template-rows:16px 38px 23px minmax(46px,auto)!important;
 }
 .woocommerce li.product.av-product-card .av-product-card__english,
 .av-home li.product.av-product-card .av-product-card__english,
 .av-shop-results li.product.av-product-card .av-product-card__english{
  height:23px!important;min-height:23px!important;max-height:23px!important;
  padding-top:1px!important;padding-bottom:7px!important;line-height:15px!important;
 }
}
@media(prefers-reduced-motion:reduce){.av-home-400 .av-hero-cinematic::after{animation:none!important;}}
/* AVELLON HERO 4.1.7 — visible makeup, clean readable logo */
.av-home-400 .av-hero-cinematic{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  min-height:405px!important;padding:42px 3.5%!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;direction:ltr!important;
  background:#faf4ef!important;
}
.av-home-400 .av-hero-cinematic::after{
  content:""!important;position:absolute!important;pointer-events:none!important;
  inset:0 0 0 auto!important;width:56%!important;height:100%!important;
  border:0!important;border-radius:0!important;z-index:-1!important;
  background-image:linear-gradient(90deg,#faf4ef 0%,rgba(250,244,239,.80) 11%,rgba(250,244,239,.12) 31%,rgba(250,244,239,0) 49%),url("../images/home-2026/hero-makeup-2026.jpg")!important;
  background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;
  opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important;
  filter:none!important;transform:none;
  animation:av-photo-reveal-417 1.1s ease-out both!important;
}
.av-home-400 .av-hero-cinematic__content{
  position:relative!important;z-index:2!important;box-sizing:border-box!important;
  width:50%!important;max-width:760px!important;min-width:0!important;
  margin:0!important;padding:0 10px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  text-align:center!important;gap:10px!important;transform:none!important;direction:rtl!important;
}
.av-home-400 .av-hero-cinematic__word{
 font-size:clamp(38px,5.35vw,78px)!important;max-width:100%!important;
 line-height:1.18!important;letter-spacing:.014em!important;white-space:nowrap!important;
}
.av-home-400 .av-hero-cinematic__eyebrow{font-size:9px!important;letter-spacing:.16em!important}
.av-home-400 .av-hero-cinematic__rule{width:min(205px,70%)!important}
.av-home-400 .av-hero-cinematic__tagline{font-size:14px!important;line-height:1.7!important;margin:0!important;color:#a5776c!important}
.av-home-400 .av-hero-cinematic__farsi{font-size:14px!important;line-height:1.8!important;margin:0 0 3px!important;color:#4b302b!important}
.av-home-400 .av-hero-cinematic__cta{margin-top:3px!important}
@keyframes av-photo-reveal-417{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:900px) and (min-width:601px){
 .av-home-400 .av-hero-cinematic{min-height:350px!important;padding:34px 2%!important}
 .av-home-400 .av-hero-cinematic::after{width:56%!important;background-position:60% center!important}
 .av-home-400 .av-hero-cinematic__content{width:50%!important;padding:0 4px!important}
 .av-home-400 .av-hero-cinematic__word{font-size:clamp(37px,5.55vw,52px)!important}
}
@media(max-width:600px){
 .av-home-400 .av-hero-cinematic{
   min-height:510px!important;padding:28px 14px 210px!important;
   align-items:flex-start!important;justify-content:center!important;
 }
 .av-home-400 .av-hero-cinematic::after{
   inset:auto 0 0 0!important;width:100%!important;height:265px!important;
   background-image:linear-gradient(180deg,#faf4ef 0%,rgba(250,244,239,.50) 18%,rgba(250,244,239,0) 46%),url("../images/home-2026/hero-makeup-2026.jpg")!important;
   background-position:center 61%!important;background-size:cover!important;
   opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important;
 }
 .av-home-400 .av-hero-cinematic__content{width:100%!important;max-width:460px!important;padding:0 8px!important;margin:0 auto!important}
 .av-home-400 .av-hero-cinematic__word{font-size:clamp(39px,10vw,57px)!important;letter-spacing:0!important}
 .av-home-400 .av-hero-cinematic__tagline{font-size:13px!important}
}
@media(max-width:350px){.av-home-400 .av-hero-cinematic__word{font-size:36px!important}}
@media(prefers-reduced-motion:reduce){.av-home-400 .av-hero-cinematic::after{animation:none!important;opacity:1!important}}
