/* Schobert product cards. Local candidate; requires online validation. */
/* The two existing home product carousels share Garnet's card geometry,
   with Schobert colors and links to the individual product pages. */
body .e-loop-item.product{
 display:flex;
 flex-direction:column;
 height:auto!important;
 --za-home-primary:#075847;
 --za-home-border:rgba(7,88,71,.19);
 --za-home-image-bg:#f5f8f6;
}
body .elementor-widget-loop-carousel:has(.e-loop-item.product) .swiper{
 padding-top:10px;
 padding-bottom:20px;
}
body .elementor-widget-loop-carousel:has(.e-loop-item.product) .swiper-wrapper{
 align-items:stretch;
}
body .elementor-widget-loop-carousel:has(.e-loop-item.product) .swiper-slide{
 display:flex;
 flex-direction:column;
 height:auto!important;
 min-width:0;
 filter:none!important;
 transform:none!important;
}
body .e-loop-item.product .custom-img-hover-box{
 position:relative!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 flex:1 1 auto;
 width:100%!important;
 height:auto!important;
 min-width:0;
 gap:13px!important;
 padding:12px!important;
 box-sizing:border-box;
 background:rgba(255,255,255,.98)!important;
 border:1px solid var(--za-home-border)!important;
 border-radius:20px!important;
 box-shadow:0 10px 28px rgba(24,39,45,.06),0 2px 7px rgba(24,39,45,.03)!important;
 overflow:hidden!important;
 transform:none!important;
 transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease!important;
}
body .e-loop-item.product .custom-img-hover-box::before{
 content:none!important;
 display:none!important;
}
body .e-loop-item.product .loopfimg{
 order:1;
 position:relative!important;
 width:100%!important;
 margin:0!important;
 padding:10px!important;
 box-sizing:border-box;
 background:linear-gradient(145deg,#fff,var(--za-home-image-bg))!important;
 border:1px solid rgba(7,88,71,.13)!important;
 border-radius:16px!important;
 overflow:hidden!important;
}
body .e-loop-item.product .loopfimg a{
 display:block!important;
 width:100%!important;
 border-radius:13px;
 overflow:hidden;
 line-height:0;
}
body .e-loop-item.product .loopfimg img{
 display:block!important;
 width:100%!important;
 height:auto!important;
 aspect-ratio:1 / 1;
 object-fit:contain!important;
 border-radius:13px!important;
 transform:scale(1)!important;
 transition:transform .45s cubic-bezier(.2,.7,.2,1)!important;
}
body .e-loop-item.product .elementor-widget-woocommerce-product-title{
 order:2;
 min-height:78px;
 margin:0!important;
 padding:4px 7px 0!important;
 width:100%!important;
 box-sizing:border-box;
}
body .e-loop-item.product .product_title{
 margin:0!important;
 color:#173f35!important;
 font-family:inherit!important;
 font-size:15.5px!important;
 font-weight:700!important;
 line-height:1.75!important;
 text-align:center!important;
 white-space:normal!important;
 overflow-wrap:anywhere;
}
body .e-loop-item.product .product_title a{
 color:inherit!important;
 text-decoration:none;
 transition:color .25s ease;
}
body .e-loop-item.product .elementor-widget-woocommerce-product-price{
 order:3;
 width:100%!important;
 margin:auto 0 0!important;
 padding:0!important;
}
body .e-loop-item.product .price{
 margin:0!important;
 padding:0!important;
}
body .e-loop-item.product .za-home-product-details{
 display:flex!important;
 box-sizing:border-box;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 min-height:43px;
 margin:0!important;
 padding:11px 15px!important;
 color:var(--za-home-primary)!important;
 background:rgba(7,88,71,.055)!important;
 border:1px solid rgba(7,88,71,.22)!important;
 border-radius:12px!important;
 font-family:inherit!important;
 font-size:13px!important;
 font-weight:700!important;
 line-height:1.4!important;
 text-align:center!important;
 text-decoration:none!important;
 box-shadow:none!important;
 transition:color .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
body .e-loop-item.product .za-home-product-details::before{
 display:none!important;
}
@media(hover:hover) and (pointer:fine){
 body .e-loop-item.product .custom-img-hover-box:hover{
  border-color:rgba(7,88,71,.55)!important;
  transform:translateY(-6px)!important;
  box-shadow:0 20px 42px rgba(7,88,71,.14),0 5px 14px rgba(24,39,45,.05)!important;
 }
 body .e-loop-item.product .custom-img-hover-box:hover .loopfimg img{
  transform:scale(1.035)!important;
 }
 body .e-loop-item.product .custom-img-hover-box:hover .product_title a{
  color:var(--za-home-primary)!important;
 }
 body .e-loop-item.product .custom-img-hover-box:hover .za-home-product-details{
  color:#fff!important;
  background:var(--za-home-primary)!important;
  border-color:var(--za-home-primary)!important;
  box-shadow:0 9px 20px rgba(7,88,71,.18)!important;
 }
}
body .e-loop-item.product .za-home-product-details:focus-visible{
 outline:2px solid #a9894e;
 outline-offset:3px;
}
@media(max-width:767px){
 body .e-loop-item.product .custom-img-hover-box{
  gap:9px!important;
  padding:8px!important;
  border-radius:15px!important;
 }
 body .e-loop-item.product .loopfimg{
  padding:5px!important;
  border-radius:12px!important;
 }
 body .e-loop-item.product .loopfimg a,
 body .e-loop-item.product .loopfimg img{
  border-radius:9px!important;
 }
 body .e-loop-item.product .elementor-widget-woocommerce-product-title{
  min-height:62px;
  padding:2px 3px 0!important;
 }
 body .e-loop-item.product .product_title{
  font-size:12px!important;
  line-height:1.65!important;
 }
 body .e-loop-item.product .za-home-product-details{
  min-height:38px;
  padding:8px 6px!important;
  border-radius:9px!important;
  font-size:11px!important;
 }
 body .e-loop-item.product .imghov1{
  display:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body .e-loop-item.product .custom-img-hover-box,
 body .e-loop-item.product .loopfimg img,
 body .e-loop-item.product .za-home-product-details{
  transition:none!important;
  transform:none!important;
 }
}

/* The common surface also covers the native catalog and article embeds. */
body :is(ul.products > li.product, .za-products__card, .wc-block-grid__product).sch-unified-card {
 position:relative; display:flex; flex-direction:column; min-width:0;
 box-sizing:border-box; padding:12px; gap:13px; background:#fff;
 border:1px solid rgba(7,88,71,.19); border-radius:20px;
 box-shadow:0 10px 28px rgba(24,39,45,.06),0 2px 7px rgba(24,39,45,.03);
 overflow:hidden; transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease;
}
body .sch-unified-card .sch-card-image {
 display:block; position:relative; width:100%; height:auto; padding:10px;
 margin:0; box-sizing:border-box; border:1px solid rgba(7,88,71,.13);
 border-radius:16px; background:linear-gradient(145deg,#fff,#f5f8f6); overflow:hidden;
}
body .sch-unified-card .sch-card-image img {
 display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain;
 border-radius:13px; margin:0; transition:transform .45s cubic-bezier(.2,.7,.2,1);
}
body .sch-unified-card .za-products__body {display:flex; flex-direction:column; flex:1; gap:13px; padding:4px 0 0;}
body .sch-unified-card .sch-card-heading {min-height:78px; padding:4px 7px 0; box-sizing:border-box;}
body :is(.e-loop-item.product .product_title, .sch-unified-card .sch-card-title),
body :is(.e-loop-item.product .product_title, .sch-unified-card .sch-card-title) a {
 font-family:"Schobert Doran",IRANSansWeb_Medium,sans-serif!important;
 font-size:15.5px!important; font-weight:700!important; line-height:1.75!important;
 color:#173f35!important; text-align:center!important; margin:0!important;
 white-space:normal!important; overflow-wrap:anywhere;
}
body .sch-unified-card .sch-card-title {min-height:3.5em;}
body .sch-unified-card .sch-card-footer {margin-top:auto; width:100%;}
body .sch-unified-card .sch-card-details,
body .e-loop-item.product .sch-card-details {
 display:flex!important; box-sizing:border-box; align-items:center!important;
 justify-content:center!important; width:100%!important; min-height:43px;
 margin:0!important; padding:11px 15px!important; color:#075847!important;
 background:rgba(7,88,71,.055)!important; border:1px solid rgba(7,88,71,.22)!important;
 border-radius:12px!important; font-family:IRANSansWeb_Medium,sans-serif!important;
 font-size:13px!important; font-weight:700!important; line-height:1.4!important;
 text-align:center!important; text-decoration:none!important; box-shadow:none!important;
 transition:color .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
body .sch-unified-card .sch-card-details::before {display:none!important;}
body .e-loop-item.product .imghov0:empty {display:none!important;}
body .e-loop-item.product .imghov0:not(:empty) {
 opacity:1!important; visibility:visible!important; margin:0!important;
}
body .sch-unified-card :is(.sch-card-details,.sch-card-title a):focus-visible {
 outline:2px solid #a9894e; outline-offset:3px;
}
@media(hover:hover) and (pointer:fine) {
 body .sch-unified-card:hover {border-color:rgba(7,88,71,.55); transform:translateY(-6px); box-shadow:0 20px 42px rgba(7,88,71,.14),0 5px 14px rgba(24,39,45,.05);}
 body .sch-unified-card:hover .sch-card-image img {transform:scale(1.035);}
 body :is(.sch-unified-card,.e-loop-item.product):hover .sch-card-details {
  color:#fff!important; background:#075847!important; border-color:#075847!important;
 }
}
@media(max-width:767px) {
 body :is(ul.products > li.product,.za-products__card,.wc-block-grid__product).sch-unified-card {padding:8px;gap:9px;border-radius:15px;}
 body .sch-unified-card .sch-card-image {padding:5px;border-radius:12px;}
 body .sch-unified-card .sch-card-image img {border-radius:9px;}
 body .sch-unified-card .sch-card-heading {min-height:62px;padding:2px 3px 0;}
 body :is(.e-loop-item.product .product_title,.sch-unified-card .sch-card-title),
 body :is(.e-loop-item.product .product_title,.sch-unified-card .sch-card-title) a {font-size:12px!important;line-height:1.65!important;}
 body :is(.sch-unified-card,.e-loop-item.product) .sch-card-details {min-height:38px;padding:8px 6px!important;border-radius:9px!important;font-size:11px!important;}
}
@media(prefers-reduced-motion:reduce) {
 body .sch-unified-card,body .sch-unified-card .sch-card-image img,
 body :is(.sch-unified-card,.e-loop-item.product) .sch-card-details {transition:none!important;transform:none!important;}
}
