.giuale-cart-page {
	--giuale-cart-ink: #191917;
	--giuale-cart-muted: #888880;
	--giuale-cart-line: rgb(25 25 23 / 10%);
	--giuale-cart-panel: rgb(240 237 232 / 40%);
}

/* WooCommerce keeps ownership of layout, responsive states and controls. */
.giuale-cart-page .wp-block-woocommerce-cart {
	max-width: 100%;
	min-width: 0;
	margin-top: 0;
	color: var(--giuale-cart-ink);
}

/* Flex items default to min-width:auto and may retain the intrinsic width of
   the cart table. Let both native WooCommerce columns shrink inside the
   available container between its desktop and mobile breakpoints. */
.giuale-cart-page .wc-block-components-sidebar-layout,
.giuale-cart-page .wc-block-cart__main,
.giuale-cart-page .wc-block-cart__sidebar {
	max-width: 100%;
	min-width: 0;
}

.giuale-cart-page #brx-content > h1,
.giuale-cart-page .wp-block-post-title {
	color: var(--giuale-cart-ink);
	font-family: "Josefin Sans", sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: -.24px;
}

/* Product table: visual treatment only. */
.giuale-cart-page .wc-block-cart-items__header {
	border-bottom-color: var(--giuale-cart-ink) !important;
}

.giuale-cart-page .wc-block-cart-items__header th {
	color: var(--giuale-cart-muted);
	font-family: "Josefin Sans", sans-serif;
	font-size: 9px !important;
	font-weight: 500 !important;
	letter-spacing: .7px;
	text-transform: uppercase;
}

.giuale-cart-page .wc-block-cart-items__row {
	border-bottom-color: var(--giuale-cart-line) !important;
}

.giuale-cart-page .wc-block-cart-item__image img {
	border-radius: 0;
	background: #f5f3ef;
	object-fit: contain;
}

.giuale-cart-page .wc-block-components-product-name {
	color: var(--giuale-cart-ink);
	font-family: "Josefin Sans", sans-serif;
	font-weight: 500;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.giuale-cart-page .wc-block-components-product-name:hover,
.giuale-cart-page .wc-block-components-product-name:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.giuale-cart-page .wc-block-cart-item__prices .wc-block-components-product-price,
.giuale-cart-page .wc-block-cart-item__total .wc-block-components-product-price {
	color: var(--giuale-cart-ink);
	font-weight: 500;
}

.giuale-cart-page .wc-block-components-product-metadata,
.giuale-cart-page .wc-block-cart-item__remove-link {
	color: var(--giuale-cart-muted);
}

/* Native quantity geometry and button states remain unchanged. */
.giuale-cart-page .wc-block-components-quantity-selector,
.giuale-cart-page .wc-block-components-quantity-selector::after {
	border-radius: 0;
}

.giuale-cart-page .wc-block-components-quantity-selector::after {
	border-color: var(--giuale-cart-line);
}

.giuale-cart-page .wc-block-components-quantity-selector__button,
.giuale-cart-page .wc-block-components-quantity-selector__input {
	color: var(--giuale-cart-ink) !important;
}

.giuale-cart-page .wc-block-cart-item__remove-link:hover,
.giuale-cart-page .wc-block-cart-item__remove-link:focus-visible {
	color: #c2102a;
}

/* Summary card, matching the checkout palette. */
.giuale-cart-page .wp-block-woocommerce-cart-order-summary-block {
	border: 1px solid var(--giuale-cart-line);
	border-radius: 0;
	background: var(--giuale-cart-panel);
	padding:24px;
}

.giuale-cart-page .wc-block-cart__totals-title {
	border-bottom-color: var(--giuale-cart-line) !important;
	color: var(--giuale-cart-ink);
	font-family: "Josefin Sans", sans-serif;
	font-size: 10px !important;
	font-weight: 500 !important;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.giuale-cart-page .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
	border-bottom-color: var(--giuale-cart-line);
}

.giuale-cart-page .wc-block-components-totals-item__label,
.giuale-cart-page .wc-block-components-totals-item__description {
	color: var(--giuale-cart-muted);
}

.giuale-cart-page .wc-block-components-totals-item__value {
	color: var(--giuale-cart-ink);
	font-weight: 500;
}

.giuale-cart-page .wc-block-components-totals-shipping .wc-block-components-totals-item__value {
	color: #00a63e;
}

.giuale-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: var(--giuale-cart-ink);
	font-size: 16px;
	font-weight: 500;
}

.giuale-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 22px;
	line-height: 28px;
}

/* Coupon: opening, focus management and validation stay native. */
.giuale-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button {
	color: var(--giuale-cart-ink);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.giuale-cart-page .wc-block-components-totals-coupon__input input {
	border-color: var(--giuale-cart-line) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
}

.giuale-cart-page .wc-block-components-totals-coupon__input input:focus {
	border-color: var(--giuale-cart-ink) !important;
	outline-color: var(--giuale-cart-ink);
}

.giuale-cart-page .wc-block-components-totals-coupon__button {
	border-color: var(--giuale-cart-ink) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--giuale-cart-ink) !important;
	font-size: 10px !important;
	font-weight: 500;
	letter-spacing: .8px;
	text-transform: uppercase;
}

/* Primary action. */
.giuale-cart-page .wc-block-cart__submit-button {
	border: 1px solid var(--giuale-cart-ink) !important;
	border-radius: 0 !important;
	background: var(--giuale-cart-ink) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	letter-spacing: 1.98px;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color .25s ease, border-color .25s ease;
	padding:14px 18px;
}

.giuale-cart-page .wc-block-cart__submit-button:hover,
.giuale-cart-page .wc-block-cart__submit-button:focus-visible {
	border-color: #c2102a !important;
	background: #c2102a !important;
}

.giuale-cart-page .wp-block-woocommerce-empty-cart-block {
	border-color: var(--giuale-cart-line);
	background: var(--giuale-cart-panel);
}
