/* NIRU – WooCommerce classic cart/checkout, v1.1.0.
   No prices are calculated here. Original notice colors remain unchanged. */
body.single-product .woocommerce-notices-wrapper:has(> :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)):not(.niru-product-info .woocommerce-notices-wrapper) {
    position: relative !important;
    inset: auto !important;
    box-sizing: border-box !important;
    width: var(--niru-notice-width,var(--theme-container-width,90%)) !important;
    max-width: var(--niru-notice-max,var(--theme-normal-container-max-width,1400px)) !important;
    margin: 0 auto 20px !important;
    padding: var(--niru-notice-top,calc(var(--header-height,120px) + 16px)) 0 0 !important;
}
body.single-product .woocommerce-notices-wrapper:not(.niru-product-info .woocommerce-notices-wrapper) > :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {
    width:100% !important; max-width:100% !important; margin-inline:0 !important; box-sizing:border-box !important;
}
body.single-product .woocommerce-notices-wrapper:empty { display:none !important; margin:0 !important; padding:0 !important; }
/* Use full source image, no crop of the bottle. */
.woocommerce-cart .woocommerce-cart-form .product-thumbnail { width:90px; }
.woocommerce-cart .woocommerce-cart-form .product-thumbnail :is(a,.ct-media-container),
.woocommerce-cart .woocommerce-cart-form .product-name .ct-media-container:has(.niru-cart-packshot) {
    width:76px !important; height:auto !important; aspect-ratio:auto !important; overflow:visible !important;
}
.woocommerce-cart .woocommerce-cart-form :is(.product-thumbnail img,img.niru-cart-packshot) {
    display:block !important; width:76px !important; height:125px !important; max-width:100% !important; object-fit:contain !important; object-position:center !important; aspect-ratio:auto !important; margin:0 auto !important;
}
.woocommerce-cart .woocommerce-cart-form .niru-cart-tax-label { display:block; font-size:12px; font-weight:400; line-height:1.35; color:#59646A; margin-top:3px; }
.woocommerce-cart .woocommerce-cart-form td.product-subtotal { text-align:right; }
.woocommerce-cart .cart_totals :is(.cart-subtotal,.order-total,.niru-included-tax,.niru-shipping-pending) > td,
.woocommerce-checkout #order_review :is(.cart-subtotal,.order-total,.niru-included-tax) > td { text-align:right !important; }
.woocommerce-cart .cart_totals .order-total td > strong,
.woocommerce-checkout #order_review .order-total td > strong { display:block; text-align:right; }
.woocommerce-cart .cart_totals .order-total :is(th,td),
.woocommerce-checkout #order_review .order-total :is(th,td) { font-weight:700; color:#313E47; }
:is(.cart_totals,#order_review) .niru-included-tax :is(th,td) { font-size:12px !important; font-weight:400 !important; color:#59646A !important; line-height:1.45; padding-block:5px !important; border-top:0 !important; }
:is(.cart_totals,#order_review) .niru-included-tax td .amount { font-size:inherit; font-weight:400; }
.woocommerce-cart .cart_totals .niru-shipping-pending td { font-size:13px; }
@media (max-width:767px) {
    body.single-product .woocommerce-notices-wrapper:has(> :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)):not(.niru-product-info .woocommerce-notices-wrapper) { width:var(--niru-notice-width,calc(100% - 36px)) !important; padding-top:var(--niru-notice-top,calc(var(--header-height,80px) + 12px)) !important; margin-bottom:16px !important; }
    .woocommerce-cart .woocommerce-cart-form :is(.product-thumbnail img,img.niru-cart-packshot) { width:55px !important; height:90px !important; }
    .woocommerce-cart .woocommerce-cart-form .product-thumbnail :is(a,.ct-media-container), .woocommerce-cart .woocommerce-cart-form .product-name .ct-media-container:has(.niru-cart-packshot) { width:55px !important; }
    .woocommerce-cart .cart_totals .niru-included-tax td { white-space:normal; }
}
