/* woocommerce/cart (cart-a): clean two columns, totals in a bordered card.
   Restyles the block's own markup; layout stays WooCommerce's. */
.pas-wc-page__head > * { margin-block: 0; }
.pas-wc-page__head h1 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 10px; }

.wc-block-cart .wc-block-cart-items__header { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.wc-block-cart .wc-block-cart-items, .wc-block-cart .wc-block-cart-items th, .wc-block-cart .wc-block-cart-items td { border-color: var(--wp--preset--color--line) !important; }
.wc-block-cart .wc-block-cart-item__image img { border-radius: var(--wp--custom--radius--small); border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--tint); aspect-ratio: 1; object-fit: cover; }
.wc-block-components-product-name { font-weight: 600; line-height: 1.35; color: var(--wp--preset--color--contrast) !important; text-decoration: none !important; }
a.wc-block-components-product-name:hover { color: var(--wp--preset--color--primary-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.wc-block-cart .wc-block-cart-item__prices { font-size: 15px; }
.wc-block-cart .wc-block-components-product-metadata { font-size: 14px; color: var(--wp--preset--color--muted); }
.wc-block-components-product-details { font-size: 14px; color: var(--wp--preset--color--muted); }
.wc-block-components-product-details .wc-block-components-product-details__part-no .wc-block-components-product-details__value { font-family: var(--wp--preset--font-family--display); font-weight: 700; color: var(--wp--preset--color--navy); letter-spacing: .02em; }
.wc-block-cart .wc-block-cart-item__total { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 19px; color: var(--wp--preset--color--navy); }

/* Quantity stepper: pill */
.wc-block-components-quantity-selector { border: 1px solid rgb(201 211 227) !important; border-radius: 999px !important; height: 44px; overflow: hidden; }
.wc-block-components-quantity-selector::after { display: none; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { font-weight: 600; font-size: 16px; min-height: 0; border: 0; box-shadow: none; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--wp--preset--color--primary-deep); font-size: 20px; opacity: 1; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover { background: var(--wp--preset--color--primary-soft); }
.wc-block-cart-item__remove-link { color: var(--wp--preset--color--muted) !important; }
.wc-block-cart-item__remove-link:hover { color: var(--wp--preset--color--error) !important; }

/* Totals card */
.wc-block-cart .wc-block-cart__sidebar { align-self: start; }
.wc-block-cart .wp-block-woocommerce-cart-totals-block { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--base); padding: 8px 24px 24px; }
.wc-block-cart .wc-block-cart__totals-title { font-size: 13px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.wc-block-components-totals-wrapper { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-totals-item__value { font-weight: 600; font-variant-numeric: tabular-nums; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 19px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 26px; color: var(--wp--preset--color--navy); }
.wc-block-components-totals-footer-item-tax { color: var(--wp--preset--color--muted); }
.wc-block-components-panel__button { color: var(--wp--preset--color--primary-deep); font-weight: 600; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	min-height: 56px; border-radius: 999px !important; font-weight: 600; font-size: 17px;
	background: var(--wp--preset--color--primary) !important; color: #fff !important; box-shadow: 0 8px 24px -8px rgb(11 92 213 / .7);
}
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--wp--preset--color--primary-hover) !important; }
.wc-block-components-totals-coupon__button { border-radius: var(--wp--custom--radius--small) !important; background: var(--wp--preset--color--navy) !important; color: #fff !important; }

/* Empty basket (patterns/cart-empty.php): a centred card, then the newest parts */
/* .wp-block-group: outranks core's root padding reset on nested constrained groups */
.wp-block-group.pas-empty-cart {
	padding: clamp(32px, 6vw, 56px) clamp(12px, 4vw, 48px); text-align: center;
	background: var(--wp--preset--color--tint); border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--large);
}
.pas-empty-cart > * { margin-block: 0; }
.pas-empty-cart__title { position: relative; font-size: clamp(26px, 3vw, 34px); }
/* Icon: a white disc (::before) with the bag drawn over it (::after) */
.pas-empty-cart__title::before {
	content: ""; display: block; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 999px;
	background: #fff; box-shadow: inset 0 0 0 1px var(--wp--preset--color--line), var(--wp--preset--shadow--card);
}
.pas-empty-cart__title::after {
	content: ""; position: absolute; top: 21px; left: calc(50% - 15px); width: 30px; height: 30px; background: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8.5h14l-1 12H6l-1-12zM9 8.5v-2a3 3 0 0 1 6 0v2' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 8.5h14l-1 12H6l-1-12zM9 8.5v-2a3 3 0 0 1 6 0v2' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pas-empty-cart__lead { margin-top: 12px !important; color: var(--wp--preset--color--muted); font-size: 17px; }
.pas-empty-cart .pas-psearch { margin-top: 28px !important; text-align: left; }
.pas-empty-cart .wp-block-buttons { margin-top: 20px !important; gap: 10px 12px; }
.pas-empty-cart__help { margin-top: 18px !important; font-size: 15px; color: var(--wp--preset--color--muted); }
.pas-empty-cart__help a { font-weight: 600; color: var(--wp--preset--color--primary-deep); }
.pas-empty-cart__new { margin-top: clamp(40px, 6vw, 64px); padding-bottom: 24px; }
.pas-empty-cart__new .pas-section-head { margin-bottom: 20px; }
.pas-empty-cart__new-title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }

@media (min-width: 783px) {
	.wc-block-cart .wc-block-cart__sidebar { position: sticky; top: calc(var(--wp--custom--header-height) + var(--wp-admin--admin-bar--height, 0px) + 24px); }
}
