/* Extracted from lib.css — loaded conditionally via functions.php */

/* ================================================================
   WooCommerce Block Overrides (Cart + Checkout)
   ================================================================ */

/* Cart block: buttons */

.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--wp--preset--color--salmon) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	padding: 0.75rem 2rem !important;
	transition: background-color 0.2s ease !important;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: var(--wp--preset--color--salmon-dark) !important;
}

/* Cart block: quantity controls */

.wc-block-cart .wc-block-components-quantity-selector {
	border-radius: 8px !important;
	border: 1px solid var(--border) !important;
}

/* Cart block: remove link */

.wc-block-cart .wc-block-cart-item__remove-link {
	color: var(--wp--preset--color--salmon) !important;
	font-size: 0.8rem !important;
}

/* Cart block: headings */

.wc-block-cart h2,
.wc-block-checkout h2 {
	font-family: var(--wp--preset--font-family--display) !important;
	color: var(--wp--preset--color--primary) !important;
}

/* Cart block: product names */

.wc-block-cart .wc-block-components-product-name {
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 600 !important;
	color: var(--wp--preset--color--primary) !important;
}

/* Cart block: prices */

.wc-block-cart .wc-block-components-product-price,
.wc-block-cart .wc-block-components-totals-item__value {
	color: var(--wp--preset--color--primary) !important;
	font-weight: 600 !important;
}

/* Cart block: empty state */

.wc-block-cart .wc-block-cart__empty-cart__title {
	font-family: var(--wp--preset--font-family--display) !important;
}

/* Checkout block: form fields */

.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea,
.wc-block-checkout .wc-block-components-combobox .components-combobox-control input {
	border: 1px solid var(--border) !important;
	border-radius: 8px !important;
	font-family: var(--wp--preset--font-family--body) !important;
	padding: 0.6rem 0.75rem !important;
}

.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-combobox .components-combobox-control input:focus {
	border-color: var(--wp--preset--color--salmon) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--salmon) !important;
}

/* Checkout block: labels */

.wc-block-checkout .wc-block-components-text-input label {
	font-family: var(--wp--preset--font-family--body) !important;
	color: var(--wp--preset--color--mid-grey) !important;
}

/* Checkout block: order summary */

.wc-block-checkout .wc-block-components-order-summary {
	border: 1px solid var(--border) !important;
	border-radius: 12px !important;
	padding: 1.25rem !important;
}

/* Checkout block: payment methods */

.wc-block-checkout .wc-block-components-radio-control__option {
	border: 1px solid var(--border) !important;
	border-radius: 8px !important;
	padding: 0.75rem !important;
	margin-bottom: 0.5rem !important;
}

.wc-block-checkout .wc-block-components-radio-control__option--checked {
	border-color: var(--wp--preset--color--salmon) !important;
	background: var(--wp--preset--color--salmon-light) !important;
}

/* Checkout header (distraction-free) */

.lib-checkout-header {
	border-bottom: 1px solid var(--border);
}

/* Checkout footer (minimal) */

.lib-checkout-footer a {
	color: var(--wp--preset--color--mid-grey) !important;
}

.lib-checkout-footer a:hover {
	color: var(--wp--preset--color--salmon) !important;
}
