/* CHETOUANELAB Commerce — product & cart. Scoped, no framework. */
.single-product .product .summary .product_meta{font-size:.92rem;line-height:1.6}
.single-product .product .summary .quantity .qty{min-height:44px}
.single-product .product .summary .single_add_to_cart_button{min-height:44px}
.single-product .woocommerce-tabs{margin-top:2rem}
.single-product .woocommerce-tabs .panel{line-height:1.65}
.single-product .related.products{margin-top:2.5rem}
.single-product .related.products>h2{margin-bottom:1.25rem}

.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{margin-bottom:1.5rem}
.woocommerce-cart table.shop_table{border-collapse:separate;border-spacing:0}
.woocommerce-cart table.shop_table td,.woocommerce-cart table.shop_table th{vertical-align:middle}
.clab-cart-sku{display:block;margin-top:.25rem;font-size:.82em;opacity:.68;font-weight:400}
.woocommerce-cart .product-thumbnail img{width:72px;height:72px;object-fit:contain}
.woocommerce-cart .quantity .qty{min-height:42px}
.woocommerce-cart .cart_totals h2{margin-bottom:1rem}
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button{display:block;width:100%;text-align:center;min-height:48px;line-height:48px;padding:0 1.25rem}

@media(max-width:767px){
 .single-product .clab-product-actions{flex-direction:column}
 .single-product .clab-product-actions .button{width:100%;text-align:center}
 .woocommerce-cart .product-thumbnail img{width:56px;height:56px}
 .woocommerce-cart table.shop_table_responsive tr td::before{font-weight:600}
 .woocommerce-cart .cart-collaterals .cart_totals{width:100%}
}

/* Checkout CTA — explicit states to avoid theme hover contrast issues. */
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button:visited{
 background:#173F5F;
 border:2px solid #173F5F;
 color:#fff;
 text-decoration:none;
 transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button:focus{
 background:#173F5F !important;
 border-color:#173F5F !important;
 color:#fff !important;
 text-decoration:none !important;
}
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button:focus-visible{
 outline:3px solid currentColor;
 outline-offset:3px;
}
.woocommerce-cart .wc-proceed-to-checkout .clab-checkout-button:active{transform:translateY(1px)}


/* Checkout final CTA — force readable white text on hover/focus despite theme rules. */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout button#place_order,
.woocommerce-checkout .button#place_order{
 background:#173F5F !important;
 border-color:#173F5F !important;
 color:#fff !important;
}
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout #payment #place_order:focus,
.woocommerce-checkout button#place_order:hover,
.woocommerce-checkout button#place_order:focus,
.woocommerce-checkout .button#place_order:hover,
.woocommerce-checkout .button#place_order:focus{
 background:#173F5F !important;
 border-color:#173F5F !important;
 color:#fff !important;
 opacity:.92;
}


/* v2.4.3 — Checkout CTA: classic checkout + WooCommerce Checkout Block.
   Keep label white on every interactive state, including nested span labels. */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus,
body.woocommerce-checkout #place_order:active,
body.woocommerce-checkout #place_order *,
body.woocommerce-checkout #place_order:hover *,
body.woocommerce-checkout #place_order:focus *,
body.woocommerce-checkout #place_order:active *,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:focus,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:active,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button *,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover *,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:focus *,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:active *{
 color:#fff !important;
 -webkit-text-fill-color:#fff !important;
 opacity:1 !important;
 text-decoration:none !important;
}
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus,
body.woocommerce-checkout #place_order:active,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:focus,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:active{
 background:#173F5F !important;
 border-color:#173F5F !important;
 filter:none !important;
}


/* v2.4.4 — WooCommerce CART BLOCK CTA.
   The cart block does not use .wc-proceed-to-checkout/.clab-checkout-button.
   Force the visible label and nested text to white on all states. */
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:visited,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:active,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button *,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:hover *,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:focus *,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:active *,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:hover,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:focus,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:active,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button__text,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:hover .wc-block-components-button__text,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:focus .wc-block-components-button__text,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:active .wc-block-components-button__text{
 color:#fff !important;
 -webkit-text-fill-color:#fff !important;
 opacity:1 !important;
 text-decoration:none !important;
}
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:focus,
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:active{
 background:#173F5F !important;
 border-color:#173F5F !important;
 filter:none !important;
}
