/* AYAZMA v11.8: managed product highlights and real narrow-screen carts */
.ayazma-home .ayazma-hero-layout .hero-shell{min-width:0!important}
.ayazma-featured-deals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;min-width:0;box-sizing:border-box}
.ayazma-featured-product{min-width:0;display:flex;align-items:center;gap:12px;padding:12px;min-height:154px;border-radius:17px;border:1px solid #e6ece1;background:#fff;box-shadow:0 4px 15px rgba(39,77,40,.045);text-decoration:none!important;color:#28402a!important;box-sizing:border-box;overflow:hidden;transition:transform .16s,box-shadow .16s}
.ayazma-featured-product:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(39,77,40,.10)}
.ayazma-featured-product-photo-wrap{flex:0 0 42%;min-width:0;aspect-ratio:1/1;background:#f7faf5;border-radius:13px;display:grid;place-items:center;overflow:hidden}
.ayazma-featured-product-photo-wrap img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.ayazma-featured-product-data{display:flex;min-width:0;flex:1;flex-direction:column;gap:6px;align-items:flex-start}
.ayazma-featured-eyebrow{font-size:10px;font-weight:850;letter-spacing:.03em;color:#f58217;line-height:1.3;overflow-wrap:anywhere}
.ayazma-featured-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0;font-size:15px;line-height:1.35;font-weight:850;color:#243b28;overflow-wrap:anywhere}
.ayazma-featured-price{font-size:16px;line-height:1.3;font-weight:900;color:#218438;overflow-wrap:anywhere}
.ayazma-featured-price del{font-size:11px;font-weight:500;color:#9baba0;margin-right:4px}.ayazma-featured-price ins{text-decoration:none}
.ayazma-featured-cta{color:#e8740b;font-weight:850;font-size:11px}
/* Block-cart: constrain both columns before they can overflow; keep prices visible. */
body.woocommerce-cart .wp-block-woocommerce-cart,body.woocommerce-cart .wc-block-cart,body.woocommerce-cart .wc-block-cart__main,body.woocommerce-cart .wc-block-cart__sidebar,body.woocommerce-cart .wc-block-cart-items,body.woocommerce-cart .wc-block-cart-items__row,body.woocommerce-cart .wc-block-components-product-metadata,body.woocommerce-cart .wc-block-components-product-details,body.woocommerce-cart .wc-block-components-product-name,body.woocommerce-cart .wc-block-components-totals-wrapper,body.woocommerce-cart .wc-block-components-totals-item{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.woocommerce-cart .wc-block-cart__main,body.woocommerce-cart .wc-block-cart__sidebar{overflow-wrap:anywhere}
body.woocommerce-cart .wc-block-components-totals-item{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
body.woocommerce-cart .wc-block-components-totals-item__value{flex:0 1 auto!important;min-width:0;text-align:right!important;overflow-wrap:anywhere!important;white-space:normal!important}
body.woocommerce-cart .wc-block-cart__totals-title,body.woocommerce-cart .wc-block-components-totals-item__label{min-width:0;overflow-wrap:anywhere}
@media(max-width:850px){.ayazma-featured-product{padding:10px;gap:8px;min-height:130px}.ayazma-featured-name{font-size:13px}.ayazma-featured-price{font-size:14px}}
@media(max-width:700px){
 .ayazma-featured-deals{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .ayazma-featured-product{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-height:0;padding:7px;border-radius:12px}
 .ayazma-featured-product-photo-wrap{width:100%;flex:none;aspect-ratio:1/1;border-radius:9px}
 .ayazma-featured-product-data{width:100%;flex:1;gap:4px}
 .ayazma-featured-eyebrow{font-size:9px}
 .ayazma-featured-name{font-size:11px;line-height:1.3;min-height:2.6em}
 .ayazma-featured-price{font-size:12px;line-height:1.3}
 .ayazma-featured-price del{font-size:9px}
 .ayazma-featured-cta{font-size:9px}
 /* Classic WooCommerce cart: each row becomes an independent card with labelled values. */
 body.woocommerce-cart .woocommerce-cart-form{width:100%!important;max-width:100%!important;overflow:visible!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive{width:100%!important;display:block!important;border:0!important;background:transparent!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>thead{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody{display:block!important;width:100%!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:12px!important;border:1px solid #e6ede3!important;border-radius:14px!important;background:#fff!important;box-sizing:border-box!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:36px!important;box-sizing:border-box!important;padding:7px 0!important;margin:0!important;border:0!important;text-align:right!important;float:none!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td::before{float:none!important;flex:0 0 38%!important;max-width:38%!important;text-align:left!important;color:#738475;font-size:12px;font-weight:700;white-space:normal!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-thumbnail{justify-content:flex-start!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-thumbnail::before{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-thumbnail img{max-width:80px!important;width:80px!important;height:80px!important;object-fit:contain}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-name{display:block!important;text-align:left!important;max-width:100%!important;font-weight:850}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-name::before{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-remove{justify-content:flex-end!important;min-height:22px!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-remove::before{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-quantity .quantity,body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-quantity .ayazma-cart-kg-stepper{flex:0 1 auto!important;max-width:62%!important;margin-left:auto!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr.cart_item>td.product-subtotal{border-top:1px solid #e8ede7!important;margin-top:5px!important;padding-top:11px!important;font-weight:900!important;color:#25833a!important;font-size:16px!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr:not(.cart_item){display:block!important;width:100%!important;box-sizing:border-box!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr:not(.cart_item)>td{display:block!important;width:100%!important;box-sizing:border-box!important;text-align:left!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table_responsive>tbody>tr:not(.cart_item)>td::before{display:none!important}
 body.woocommerce-cart .cart-collaterals,body.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;max-width:100%!important;float:none!important;margin:0!important}
 body.woocommerce-cart .cart-collaterals table.shop_table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
 body.woocommerce-cart .cart-collaterals table.shop_table td,body.woocommerce-cart .cart-collaterals table.shop_table th{min-width:0!important;max-width:50%!important;padding:10px!important;overflow-wrap:anywhere!important;white-space:normal!important}
 /* Cart Blocks uses its own HTML, so switch to a single full-width column. */
 body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main,body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar{width:100%!important;flex:0 0 100%!important;min-width:0!important;margin:0!important;padding:0!important}
 body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main{margin-bottom:16px!important}
 body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar{position:static!important}
 body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items,body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row{width:100%!important;max-width:100%!important;table-layout:fixed!important}
 body.woocommerce-cart .wc-block-cart-items__row{display:grid!important;grid-template-columns:minmax(72px,24%) minmax(0,1fr)!important;gap:8px!important;padding:12px 0!important;border-bottom:1px solid #e5eae1}
 body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__image{grid-column:1!important;grid-row:1 / span 2;min-width:0!important;padding:0!important}
 body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__product{grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:100%!important;padding:0!important;overflow-wrap:anywhere!important}
 body.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__total{grid-column:2!important;grid-row:2!important;width:100%!important;min-width:0!important;display:block!important;text-align:right!important;padding:6px 0 0!important;color:#22843a!important;font-weight:900!important;overflow-wrap:anywhere!important}
 body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price{justify-content:flex-end!important;max-width:100%!important;white-space:normal!important}
 body.woocommerce-cart .wc-block-cart-items__row .wc-block-components-quantity-selector{max-width:100%!important}
 body.woocommerce-cart .wc-block-components-totals-item__value{max-width:55%!important}
}
@media(max-width:370px){.ayazma-featured-deals{gap:5px}.ayazma-featured-product{padding:5px}.ayazma-featured-name{font-size:10px}.ayazma-featured-price{font-size:11px}}
