/* Newshashop cart ONLY. Header/footer use shared header.php and footer.php.
 * Native WooCommerce Cart Block remains the source of totals, coupons, inventory,
 * sessions, shipping and checkout URL. No duplicate cart logic.
 */
.ns-cart-page{max-width:1180px;padding-top:17px;padding-bottom:48px}
.ns-cart-page>h1{font-family:var(--ns-font-family);color:var(--ns-burgundy);font-size:25px;font-weight:800;line-height:1.65;margin:0 0 21px}
.ns-cart-page :is(.wc-block-cart,.woocommerce){font-family:var(--ns-font-family);color:var(--ns-dark)}
.ns-cart-page .wc-block-cart{margin:0}
.ns-cart-page .wc-block-cart .wc-block-cart__main{min-width:0}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar{min-width:0}
.ns-cart-page .wc-block-cart .wc-block-cart-items{width:100%;border:0}
.ns-cart-page .wc-block-cart .wc-block-cart-items th{color:#68585e;font-size:12px;font-weight:650;border-bottom:1px solid var(--ns-border);padding-bottom:10px}
.ns-cart-page .wc-block-cart .wc-block-cart-items tr.wc-block-cart-items__row{background:#fff;border:1px solid var(--ns-border);border-radius:13px}
.ns-cart-page .wc-block-cart .wc-block-cart-items td{padding:16px 9px;vertical-align:middle}
.ns-cart-page .wc-block-cart .wc-block-cart-item__image{min-width:76px}
.ns-cart-page .wc-block-cart .wc-block-cart-item__image img{width:100%;max-width:100px;height:auto;aspect-ratio:1/1;object-fit:contain;background:var(--ns-cream);border-radius:10px}
.ns-cart-page .wc-block-cart .wc-block-components-product-name{font-size:14px;font-weight:700;line-height:1.65;color:#4b313b}
.ns-cart-page .wc-block-cart .wc-block-components-product-metadata{font-size:11px;color:var(--ns-muted)}
.ns-cart-page .wc-block-cart .wc-block-components-quantity-selector{border:1px solid var(--ns-border);border-radius:9px;overflow:hidden}
.ns-cart-page .wc-block-cart .wc-block-components-quantity-selector input{min-width:36px}
.ns-cart-page .wc-block-cart .wc-block-components-quantity-selector button{background:var(--ns-cream);color:var(--ns-burgundy)}
.ns-cart-page .wc-block-cart .wc-block-cart-item__remove-link{color:#8c6872!important;font-size:11px!important}
.ns-cart-page .wc-block-cart .wc-block-components-formatted-money-amount{font-weight:700}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-cart__totals-title{font-size:17px;font-weight:800;color:var(--ns-burgundy)}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper{border-color:var(--ns-border);padding-block:12px}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-item__label{font-size:12px}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-item__value{font-size:13px;font-weight:700}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item__value{font-size:18px;font-weight:800;color:var(--ns-burgundy)}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-cart__submit-button{min-height:46px;border:0;border-radius:10px;background:var(--ns-burgundy);color:#fff;font-size:13px;font-weight:800}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-cart__submit-button:hover{background:#592133;color:#fff}
.ns-cart-page .wc-block-cart .wc-block-components-panel__button,.ns-cart-page .wc-block-cart .wc-block-components-totals-coupon-link{color:var(--ns-burgundy);font-weight:700}
.ns-cart-page .wc-block-cart .wc-block-components-text-input input{border-radius:9px}
.ns-cart-page .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{font-size:22px;font-weight:800;line-height:1.6;color:var(--ns-burgundy)}
.ns-cart-page .wp-block-woocommerce-empty-cart-block{min-height:230px;padding:26px 14px;text-align:center}
.ns-cart-page .wp-block-woocommerce-empty-cart-block .wp-block-heading{color:var(--ns-burgundy);font-size:18px}
.ns-cart-page .wc-block-cart .wc-block-cart__submit-container{background:transparent}
.ns-cart-page .woocommerce .cart-empty{margin:16px 0;background:var(--ns-cream);border-radius:12px}
.ns-cart-page .woocommerce .return-to-shop .button{background:var(--ns-burgundy);color:#fff;padding:12px 18px;border-radius:9px}
.ns-cart-page .woocommerce table.shop_table{border-color:var(--ns-border);border-radius:13px}
.ns-cart-page .woocommerce .cart_totals{min-width:0}
.ns-cart-page .woocommerce .cart_totals h2{font-size:18px;color:var(--ns-burgundy)}
.ns-cart-page .woocommerce .checkout-button{background:var(--ns-burgundy)!important;color:#fff;border-radius:10px}
.ns-cart-page .woocommerce .coupon .button,.ns-cart-page .woocommerce button[name="update_cart"]{background:var(--ns-cream);color:var(--ns-burgundy);border:1px solid var(--ns-border);border-radius:9px}
@media(min-width:769px){
.ns-cart-page .wc-block-cart:not(.is-mobile) .wc-block-cart__main{flex-basis:64%}
.ns-cart-page .wc-block-cart:not(.is-mobile) .wc-block-cart__sidebar{flex-basis:34%;padding:18px;border:1px solid var(--ns-border);border-radius:13px;background:#fff;margin-top:0}
}
@media(max-width:767px){
.ns-cart-page{padding-top:9px;padding-bottom:25px}
.ns-cart-page>h1{font-size:20px;margin-bottom:12px}
.ns-cart-page .wc-block-cart .wc-block-cart-items th{font-size:10px}
.ns-cart-page .wc-block-cart .wc-block-cart-items td{padding:10px 4px}
.ns-cart-page .wc-block-cart .wc-block-cart-item__image{min-width:58px}
.ns-cart-page .wc-block-cart .wc-block-cart-item__image img{max-width:78px;border-radius:8px}
.ns-cart-page .wc-block-cart .wc-block-components-product-name{font-size:12px;line-height:1.55}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar{padding:14px;border:1px solid var(--ns-border);border-radius:12px;background:#fff}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-cart__totals-title{font-size:15px}
.ns-cart-page .wc-block-cart .wc-block-cart__sidebar .wc-block-cart__submit-button{min-height:45px}
.ns-cart-page .wc-block-cart .wc-block-components-totals-wrapper{padding-block:10px}
.ns-cart-page .wc-block-cart .wc-block-components-product-metadata{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.ns-cart-page *{scroll-behavior:auto}}

/* Empty Cart Block has no .wc-block-cart wrapper. Keep its real store link,
   and hide the recommendation heading only while Woo renders no product cards. */
.ns-cart-page .wp-block-woocommerce-cart{min-width:0;max-width:100%}
.ns-cart-page .wp-block-woocommerce-empty-cart-block{font-family:var(--ns-font-family);color:var(--ns-dark)}
.ns-cart-page .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before{content:"";display:block;width:76px;height:76px;margin:0 auto 18px;border:1px solid var(--ns-border);border-radius:50%;-webkit-mask:none;mask:none;background-color:var(--ns-cream);background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23702a40%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h2l2.2%2011.1h12.3L22%206H6%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center;background-size:38px}
.ns-cart-page .wp-block-woocommerce-empty-cart-block>p>a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;padding:10px 23px;border-radius:10px;background:var(--ns-burgundy);color:#fff;text-decoration:none;font-size:14px;font-weight:700}
.ns-cart-page .wp-block-woocommerce-empty-cart-block>p>a:hover{background:#592133;color:#fff}
.ns-cart-page .wp-block-woocommerce-empty-cart-block:not(:has(.wc-block-grid__product,.wc-block-product,.wp-block-woocommerce-product-template>li,.wc-block-product-template>li))>.wp-block-heading:not(.wc-block-cart__empty-cart__title),
.ns-cart-page .wp-block-woocommerce-empty-cart-block:not(:has(.wc-block-grid__product,.wc-block-product,.wp-block-woocommerce-product-template>li,.wc-block-product-template>li))>.wp-block-separator{display:none}
