/* Habesha Studio Pro 12.3.7 — WooCommerce storefront enhancement.
 * Scoped to native WooCommerce product loops and single products.
 * No changes to Elementor hero, custom directory cards, WZone URLs or checkout behavior.
 */
:root{--hsp-shop-green:#073f31;--hsp-shop-gold:#d9ac55;--hsp-shop-cream:#fbf8f0;--hsp-shop-stroke:#e7e9e2}
/* Product loop grid: works inside Elementor shortcode widgets and product archives. */
body .woocommerce ul.products,body.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:18px;row-gap:22px;margin:0 0 32px;padding:0;list-style:none;align-items:stretch;clear:both}
body .woocommerce ul.products::before,body .woocommerce ul.products::after,body.woocommerce-page ul.products::before,body.woocommerce-page ul.products::after{display:none}
body .woocommerce ul.products li.product,body.woocommerce-page ul.products li.product{float:none!important;clear:none!important;width:auto!important;margin:0!important;min-width:0!important;max-width:none!important;display:flex;flex-direction:column;align-items:stretch;position:relative;overflow:hidden;background:#fff;border:1px solid var(--hsp-shop-stroke);border-radius:16px;padding:13px;box-shadow:0 3px 16px rgba(10,48,34,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body .woocommerce ul.products li.product:hover,body.woocommerce-page ul.products li.product:hover{transform:translateY(-3px);border-color:#bbccbd;box-shadow:0 14px 30px rgba(10,48,34,.11)}
body .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link,body.woocommerce-page ul.products li.product>a.woocommerce-LoopProduct-link{color:var(--hsp-shop-green);text-decoration:none;display:flex;flex:1;flex-direction:column;min-width:0}
body .woocommerce ul.products li.product a img,body.woocommerce-page ul.products li.product a img{height:190px;width:100%;max-width:100%;object-fit:contain;background:#fff;padding:7px;margin:0 0 14px;border-radius:10px}
body .woocommerce ul.products li.product .woocommerce-loop-product__title,body.woocommerce-page ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.48!important;letter-spacing:0!important;font-weight:700!important;color:#16382d!important;padding:0!important;margin:0 0 10px!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.8em}
body .woocommerce ul.products li.product .price,body.woocommerce-page ul.products li.product .price{font-size:17px!important;line-height:1.45;color:var(--hsp-shop-green)!important;font-weight:800!important;margin:0 0 13px!important}
body .woocommerce ul.products li.product .price del,body.woocommerce-page ul.products li.product .price del{font-size:12px;color:#777!important;font-weight:500}
body .woocommerce ul.products li.product .price ins,body.woocommerce-page ul.products li.product .price ins{text-decoration:none;color:var(--hsp-shop-green)}
body .woocommerce ul.products li.product .button,body.woocommerce-page ul.products li.product .button{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;width:100%;margin:auto 0 0!important;min-height:43px;line-height:1.25!important;padding:10px 11px!important;border-radius:10px!important;background:var(--hsp-shop-green)!important;color:#fff!important;font-size:13px!important;font-weight:750!important;border:1px solid var(--hsp-shop-green)!important;text-decoration:none!important;white-space:normal;box-shadow:none!important}
body .woocommerce ul.products li.product .button:hover,body.woocommerce-page ul.products li.product .button:hover{background:#0c5b45!important;border-color:#0c5b45!important}
body .woocommerce ul.products li.product .added_to_cart,body.woocommerce-page ul.products li.product .added_to_cart{font-size:12px;color:var(--hsp-shop-green);text-align:center;padding:9px}
body .woocommerce ul.products li.product .onsale,body.woocommerce-page ul.products li.product .onsale{position:absolute;z-index:2;top:11px;right:11px;left:auto;min-height:0;min-width:0;line-height:1.2;margin:0;border-radius:999px;background:var(--hsp-shop-gold);color:#132c21;padding:7px 9px;font-size:11px;font-weight:800}
body .woocommerce ul.products li.product .star-rating,body.woocommerce-page ul.products li.product .star-rating{margin:0 0 10px;color:#bb8c36}
/* Elementor shortcode: keep cards flush with the content column. */
.elementor-widget-shortcode .woocommerce,.elementor-shortcode .woocommerce{max-width:100%}
/* Single product page receives restrained, consistent brand styling. */
body.single-product .woocommerce div.product .product_title{font-size:clamp(27px,3vw,40px);line-height:1.18;color:var(--hsp-shop-green);overflow-wrap:anywhere}
body.single-product .woocommerce div.product p.price,body.single-product .woocommerce div.product span.price{color:var(--hsp-shop-green);font-weight:800}
body.single-product .woocommerce div.product .single_add_to_cart_button,body.single-product .woocommerce div.product .product_type_external{background:var(--hsp-shop-green);color:#fff;border-radius:10px;padding:13px 20px;min-height:44px}
body.single-product .woocommerce div.product .woocommerce-product-gallery img{object-fit:contain}
@media(max-width:1024px){body .woocommerce ul.products,body.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}body .woocommerce ul.products li.product a img,body.woocommerce-page ul.products li.product a img{height:170px}}
@media(max-width:767px){body .woocommerce ul.products,body.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}body .woocommerce ul.products li.product,body.woocommerce-page ul.products li.product{padding:9px;border-radius:12px}body .woocommerce ul.products li.product a img,body.woocommerce-page ul.products li.product a img{height:135px;padding:4px;margin-bottom:9px}body .woocommerce ul.products li.product .woocommerce-loop-product__title,body.woocommerce-page ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;min-height:3.7em}body .woocommerce ul.products li.product .price,body.woocommerce-page ul.products li.product .price{font-size:14px!important}body .woocommerce ul.products li.product .button,body.woocommerce-page ul.products li.product .button{font-size:12px!important;min-height:40px;padding:8px 6px!important}}
@media(max-width:359px){body .woocommerce ul.products,body.woocommerce-page ul.products{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body .woocommerce ul.products li.product,body.woocommerce-page ul.products li.product{transition:none}body .woocommerce ul.products li.product:hover,body.woocommerce-page ul.products li.product:hover{transform:none}}
