/* Compact RTL product cards; intentionally scoped away from checkout and categories. */
body.salem-woocommerce ul.products:not(.product-categories):not(:has(> .product-category)){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch}
body.salem-woocommerce ul.products::before,body.salem-woocommerce ul.products::after{display:none!important}
body.salem-woocommerce ul.products li.product:not(.product-category){position:relative!important;display:flex!important;flex-direction:column!important;float:none!important;width:auto!important;min-width:0;margin:0!important;padding:12px!important;border:1px solid var(--line,#d8e4ee)!important;border-radius:24px!important;background:#fff!important;text-align:right!important;overflow:hidden;box-shadow:0 5px 18px rgba(7,25,45,.035)!important}
body.salem-woocommerce ul.products li.product:not(.product-category) a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0;color:var(--ink,#07192d)}
body.salem-woocommerce ul.products li.product:not(.product-category) img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;margin:0 0 20px!important;border-radius:17px!important;background:#f3f7fb!important}
body.salem-woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title{font-size:18px!important;line-height:1.75!important;font-weight:700!important;margin:0 6px 14px!important;padding:0!important;min-height:3.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--ink,#07192d)!important}
body.salem-woocommerce ul.products li.product:not(.product-category) .service-excerpt{display:none!important}
body.salem-woocommerce ul.products li.product:not(.product-category) .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0 6px 10px!important;padding:0!important;font-size:21px!important;font-weight:800!important;line-height:1.5;color:var(--ink,#07192d)!important}
body.salem-woocommerce ul.products li.product .price del{font-size:14px!important;font-weight:400;opacity:.6}
body.salem-woocommerce ul.products li.product .price ins{background:none!important;text-decoration:none!important}
body.salem-woocommerce ul.products li.product .salem-card-saving{display:block;color:#b44c36;font-size:14px;font-weight:700;margin:0 6px 16px;line-height:1.6}
body.salem-woocommerce ul.products li.product .onsale{position:absolute!important;top:24px!important;right:24px!important;left:auto!important;z-index:2;min-width:0!important;min-height:0!important;padding:9px 13px!important;margin:0!important;border-radius:24px!important;line-height:1.2!important;background:#07192d!important;color:#00e0d0!important;font-size:14px!important;font-weight:800;direction:ltr}
body.salem-woocommerce ul.products li.product:not(.product-category) a.button{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;width:100%!important;box-sizing:border-box;min-height:50px!important;margin:10px 0 0!important;padding:12px 8px!important;border:0!important;border-radius:15px!important;background:#07192d!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.5!important;text-align:center!important;text-decoration:none}
body.salem-woocommerce ul.products li.product:not(.product-category) a.button:hover{background:#102f49!important}
body.salem-woocommerce ul.products li.product:not(.product-category) a.button:focus-visible{outline:3px solid #00aeca;outline-offset:3px}
body.salem-woocommerce ul.products li.product a.added_to_cart{padding:8px;text-align:center;font-size:13px}
@media(max-width:767px){body.salem-woocommerce ul.products:not(.product-categories):not(:has(> .product-category)){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body.salem-woocommerce ul.products li.product:not(.product-category){padding:8px!important;border-radius:20px!important}body.salem-woocommerce ul.products li.product:not(.product-category) img{border-radius:13px!important;margin-bottom:16px!important}body.salem-woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title{font-size:14px!important;margin:0 3px 12px!important}body.salem-woocommerce ul.products li.product:not(.product-category) .price{font-size:17px!important;margin-inline:3px!important;gap:5px}body.salem-woocommerce ul.products li.product .price del{font-size:11px!important}body.salem-woocommerce ul.products li.product .onsale{top:17px!important;right:17px!important;padding:7px 10px!important;font-size:12px!important}body.salem-woocommerce ul.products li.product .salem-card-saving{font-size:12px;margin-inline:3px}body.salem-woocommerce ul.products li.product:not(.product-category) a.button{font-size:13px!important;min-height:46px!important;border-radius:12px!important}}

/* 2.8.2: fill the image viewport and keep native cart semantics. */
body.salem-woocommerce ul.products li.product:not(.product-category) a.woocommerce-LoopProduct-link{flex:0 0 auto!important}
body.salem-woocommerce ul.products li.product:not(.product-category) img.cowader-product-photo{height:auto!important;aspect-ratio:1!important;object-fit:cover!important;object-position:center!important;padding:0!important}
body.salem-woocommerce ul.products li.product:not(.product-category) a.button{margin-top:auto!important}
body.salem-woocommerce ul.products li.product:not(.product-category) a.button::before{content:"";display:inline-block;flex:0 0 22px;width:22px;height:22px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e0d0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14l1 14H4L5 7Z'/%3E%3Cpath d='M8 8V6a4 4 0 0 1 8 0v2M8 11a4 4 0 0 0 8 0'/%3E%3C/svg%3E") center/contain no-repeat}
body.salem-woocommerce ul.products li.product .price ins{order:0}
body.salem-woocommerce ul.products li.product .price del{order:1}
body.salem-woocommerce ul.products li.product .salem-card-saving{margin-bottom:18px}
body.salem-woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title{font-size:19px!important;line-height:1.65!important;min-height:3.3em;margin-bottom:12px!important}
@media(max-width:767px){body.salem-woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title{font-size:14px!important}body.salem-woocommerce ul.products li.product:not(.product-category) a.button::before{flex-basis:20px;width:20px;height:20px}}
