/* Product-card dimensions and interaction values measured from the source. */
.woocommerce ul.products li.kasht-product-card{position:relative;display:flex;flex-direction:column;min-width:0;margin:0;padding:0;overflow:hidden;border:2px solid #e4e4e7;border-radius:4px;background:#f0f0f2;text-align:center;transition:box-shadow .3s cubic-bezier(.4,0,.2,1)}
.woocommerce ul.products li.kasht-product-card .woocommerce-loop-product__link{display:flex;flex-direction:column;flex:none;width:100%;min-width:0;color:#231f1e}
.kasht-card-media{position:relative;display:flex;flex:none;overflow:hidden;width:100%;aspect-ratio:1}
.woocommerce ul.products li.kasht-product-card .kasht-card-media img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;margin:0;padding:0;transition:opacity .5s}
.kasht-card-media .onsale{display:none}
.kasht-card-promotion{position:absolute;z-index:1;top:0;right:0;display:block;margin:0;padding:4px 8px;border-radius:0 0 0 12px;background:#f87e7e;color:#fff;font-size:12px;font-weight:400;line-height:16px}
.kasht-card-content{display:flex;flex-direction:column;flex:none;height:140px;width:100%;padding:8px;text-align:center}
.kasht-card-content-main{min-width:0;margin:0 0 4px}
.woocommerce ul.products li.kasht-product-card .woocommerce-loop-product__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:0;margin:0;padding:0;font-size:14px;font-weight:700;line-height:20px;text-align:center}
.kasht-card-subtitle{margin:4px 0 0;padding:0;color:#4b5563;font-size:12px;font-weight:400;line-height:16px}
.woocommerce ul.products li.kasht-product-card .price,.kasht-quickview .price{display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 6px;padding:0;color:#ef4444;font-size:14px;font-weight:700;line-height:20px}
.kasht-product-card .price del,.kasht-quickview .price del{color:#4b5563;font-size:14px;font-weight:400;line-height:20px;opacity:1}
.kasht-product-card .price ins,.kasht-quickview .price ins{color:#ef4444;background:none;text-decoration:none}
.kasht-product-card .price .woocommerce-Price-currencySymbol,.kasht-quickview .price .woocommerce-Price-currencySymbol{font-size:0}
.kasht-product-card .price .woocommerce-Price-currencySymbol:before,.kasht-quickview .price .woocommerce-Price-currencySymbol:before{content:"\e9bc";font-family:sallaicons!important;font-size:14px;font-style:normal;font-weight:400;line-height:1}
.kasht-card-content .star-rating{display:none}
.woocommerce ul.products li.kasht-product-card>a.button{position:absolute;right:8px;bottom:8px;left:8px;display:flex;align-items:center;justify-content:center;gap:4px;height:30px;margin:0;padding:4px;border:1px solid #000;border-radius:6px;background:#000;color:#fff;font-size:14px;font-weight:400;line-height:20px;transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1)}
.woocommerce ul.products li.kasht-product-card>a.button:before{content:"\e90c";font-family:sallaicons!important;font-size:16px;font-weight:400;line-height:1}
.woocommerce ul.products li.kasht-product-card>a.button:hover{background:#414042;border-color:#414042}
.kasht-card-quickview{position:absolute;z-index:3;inset-inline-start:4px;bottom:146px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:9999px;background:#e5e7eb;color:#000;font-size:18px;line-height:1;opacity:0;transform:translateY(48px) scale(0);transition:all .3s cubic-bezier(.4,0,.2,1)}
.kasht-product-card:hover .kasht-card-quickview,.kasht-product-card:focus-within .kasht-card-quickview{opacity:.9;transform:translateY(0) scale(1)}
.kasht-card-quickview:hover{background:#414042;color:#fff}
.kasht-card-media:after{position:absolute;top:-50%;left:-75%;width:50%;height:200%;content:"";background:linear-gradient(120deg,transparent,hsla(0,0%,100%,.1) 35%,hsla(0,0%,100%,.35) 50%,hsla(0,0%,100%,.1) 65%,transparent);opacity:0;pointer-events:none;transform:translateX(-120%) rotate(25deg)}
.kasht-product-card:hover .kasht-card-media:after{animation:kashtCardShine .9s cubic-bezier(.4,0,.2,1) forwards;opacity:1}
@keyframes kashtCardShine{from{transform:translateX(-120%) rotate(25deg)}to{transform:translateX(420%) rotate(25deg)}}
.latest .woocommerce ul.products{display:flex;flex-wrap:nowrap;gap:8px;width:calc(100% + 20px);margin:0 -10px;padding:0 4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;list-style:none}
.latest .woocommerce ul.products::-webkit-scrollbar{display:none}
.latest .woocommerce ul.products li.kasht-product-card{flex:0 0 calc((100% - 40px)/6);scroll-snap-align:start;scroll-snap-stop:normal}
.kasht-quickview{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:auto;border:0;border-radius:6px;background:#fff;color:#231f1e;box-shadow:0 10px 60px #0003}
.kasht-quickview::backdrop{background:#0006}
.kasht-quickview__close{position:absolute;top:8px;inset-inline-end:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;background:#f0f0f2;color:#231f1e;font-size:24px;line-height:1}
.kasht-quickview__grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}
.kasht-quickview__image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.kasht-quickview h2{margin:0 0 16px;font-size:21px;font-weight:700;line-height:1.5}
.kasht-quickview .price{justify-content:flex-start;font-size:18px;margin-bottom:24px}
.kasht-quickview__link{display:block;padding:10px 16px;border-radius:6px;background:#000;color:#fff;text-align:center;font-size:14px;line-height:20px}
@media(min-width:768px) and (max-width:1023px){.latest .woocommerce ul.products li.kasht-product-card{flex-basis:calc((100% - 16px)/3)}}
@media(max-width:767px){.latest .woocommerce ul.products{padding:0 9px 0 48px}.latest .woocommerce ul.products li.kasht-product-card{flex:0 0 calc((100vw - 73px)/2)}.kasht-card-quickview{width:32px;height:32px;font-size:15px;opacity:.9;transform:none}.kasht-quickview__grid{grid-template-columns:1fr;gap:16px}.kasht-quickview{width:calc(100vw - 24px);padding:36px 16px 16px}.kasht-quickview__image{max-height:45dvh;object-fit:contain}.kasht-quickview h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.kasht-product-card .kasht-card-media:after{animation:none!important}.kasht-card-quickview,.kasht-product-card,.kasht-card-media img{transition:none}}
