/**
 * WooCommerce product loop — Figma product card (node 10532:23948).
 *
 * @package LaBinerie
 */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	clear: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	height: 100%;
}

.woocommerce ul.products li.product .la-binerie-product-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0;
	height: 100%;
	width: 100%;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.woocommerce ul.products li.product .la-binerie-product-card:hover {
	transform: translateY(-2px);
	border-color: #d1d5db;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.woocommerce ul.products li.product .la-binerie-product-card-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 0;
	overflow: hidden;
	background-color: #eceae0;
	flex-shrink: 0;
}

.woocommerce ul.products li.product .la-binerie-product-card-image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.woocommerce ul.products li.product .la-binerie-product-card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.woocommerce ul.products li.product .la-binerie-product-card:hover .la-binerie-product-card-img {
	transform: scale(1.05);
}

.woocommerce ul.products li.product .la-binerie-product-card--sold-out {
	position: relative;
}

.woocommerce ul.products li.product .la-binerie-product-card-hit {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	min-height: 0;
	color: inherit;
	text-decoration: none;
}

.woocommerce ul.products li.product .la-binerie-product-card--sold-out .la-binerie-product-card-img {
	filter: saturate(0.88) contrast(0.98);
}

.woocommerce ul.products li.product .la-binerie-product-card--sold-out .la-binerie-product-card-btn,
.woocommerce ul.products li.product .la-binerie-product-card--sold-out .labinerie-quick-add,
.woocommerce ul.products li.product.outofstock .la-binerie-product-card-btn {
	display: none !important;
}

.woocommerce ul.products li.product .la-binerie-product-card-image-wrap[data-sold-out-label]::after {
	content: attr(data-sold-out-label);
	position: absolute;
	top: 0.85rem;
	right: -1.85rem;
	z-index: 5;
	width: 7.5rem;
	padding: 0.35rem 0;
	background: var(--wp--preset--color--brand-red, #bc202c);
	color: #fff;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(20, 20, 20, 0.2);
	transform: rotate(45deg);
	pointer-events: none;
}

.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-height: auto;
	min-width: auto;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-red, #bc202c);
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
}

.woocommerce ul.products li.product .la-binerie-product-card-info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 1 auto;
	gap: 8px;
	width: 100%;
	min-width: 0;
	min-height: 0;
	padding: 10px 12px 12px;
}

.woocommerce ul.products li.product .la-binerie-product-card-content-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: stretch;
	width: 100%;
	color: var(--wp--preset--color--body-text, #141414);
	line-height: 1.4;
}

.woocommerce ul.products li.product .la-binerie-product-card-header {
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product .la-binerie-product-card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	min-height: 2.5em;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--body-text, #141414);
	text-decoration: none;
	white-space: normal;
	max-width: 100%;
}

.woocommerce ul.products li.product .la-binerie-product-card-title:hover,
.woocommerce ul.products li.product .la-binerie-product-card-title:focus {
	color: var(--wp--preset--color--brand-red, #bc202c);
}

.woocommerce ul.products li.product .la-binerie-product-card-variant {
	display: none;
	margin: 0;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

.woocommerce ul.products li.product .la-binerie-product-card-price {
	align-self: stretch;
	width: 100%;
	min-height: 1.3em;
	text-align: left;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--body-text, #141414);
	white-space: nowrap;
}

.woocommerce ul.products li.product .la-binerie-product-card-price .price {
	margin: 0;
	font: inherit;
	color: inherit;
}

.woocommerce ul.products li.product .la-binerie-product-card-price .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.woocommerce ul.products li.product .la-binerie-product-card-price .price del {
	opacity: 0.65;
	font-size: 0.85em;
}

.woocommerce ul.products li.product .la-binerie-product-card-price .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product .labinerie-quick-add {
	min-width: 0;
	container-type: inline-size;
	container-name: labinerie-quick-add;
}

.woocommerce ul.products li.product .labinerie-quick-add__action-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	min-width: 0;
	min-height: 40px;
	height: auto;
}

@container labinerie-quick-add (max-width: 260px) {
	.woocommerce ul.products li.product .labinerie-quick-add__action-row .labinerie-quick-add__qty-field {
		flex: 1 1 100%;
	}

	.woocommerce ul.products li.product .labinerie-quick-add__action-row .labinerie-quick-add__qty-stepper {
		width: 100%;
		justify-content: space-between;
	}

	.woocommerce ul.products li.product .labinerie-quick-add__action-row .la-binerie-product-card-btn,
	.woocommerce ul.products li.product .labinerie-quick-add__action-row .labinerie-quick-add-trigger {
		flex: 1 1 100%;
		min-width: 100%;
		width: 100%;
	}
}

.woocommerce ul.products li.product .labinerie-quick-add .added_to_cart,
.woocommerce ul.products li.product .labinerie-quick-add__action-row > .added_to_cart {
	display: none !important;
}

.woocommerce ul.products li.product .la-binerie-product-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 1 1 6.5rem;
	width: auto;
	min-width: 6.5rem;
	max-width: 100%;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--wp--preset--color--brand-red, #bc202c);
	border-radius: 8px;
	background: var(--wp--preset--color--brand-red, #bc202c);
	color: #fff;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: visible;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product .la-binerie-product-card-btn:hover,
.woocommerce ul.products li.product .la-binerie-product-card-btn:focus {
	background-color: #9d1a24;
	border-color: #9d1a24;
	color: #fff;
	box-shadow: 0 4px 12px rgba(188, 32, 44, 0.25);
}

.woocommerce ul.products li.product .la-binerie-product-card-btn.added {
	background-color: var(--wp--preset--color--accent-green, #b2ab95);
	border-color: var(--wp--preset--color--accent-green, #b2ab95);
	color: var(--wp--preset--color--background-beige, #f7f5ef);
}

@media (max-width: 1024px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

/**
 * WooCommerce legacy product grids rendered as theme product sliders.
 *
 * @package LaBinerie
 */

.wp-block-woocommerce-empty-cart-block .la-binerie-wc-product-grid-slider.is-embedded,
.wp-block-woocommerce-checkout .la-binerie-wc-product-grid-slider.is-embedded {
	background: transparent;
	padding: 0;
	width: 100%;
}

.wp-block-woocommerce-empty-cart-block .la-binerie-wc-product-grid-slider.is-embedded .la-binerie-product-slider-inner {
	gap: 48px;
	max-width: none;
}

.wp-block-woocommerce-empty-cart-block > .wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title) {
	margin: 0 0 44px;
	padding: 0;
	text-align: left !important;
	font-family: 'Futura PT', 'Futura PT Heavy', sans-serif;
	font-size: 48px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	color: #141414;
}

@media (max-width: 768px) {
	.wp-block-woocommerce-empty-cart-block > .wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title) {
		margin-bottom: 32px;
		font-size: 32px;
	}
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots {
	margin-block: 2rem;
}

/**
 * WooCommerce Cart page — outer layout spacing (theme page padding).
 *
 * @package LaBinerie
 */

body.woocommerce-cart,
body.page-cart {
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
}

body.woocommerce-cart .site-main,
body.page-cart .site-main {
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	padding-block: var(--wp--custom--layout--sectionPadding, clamp(48px, 8vw, 80px));
	padding-inline: var(--wp--preset--spacing--page-padding-mobile, 20px);
}

@media (min-width: 769px) {
	body.woocommerce-cart .site-main,
	body.page-cart .site-main {
		padding-inline: var(--wp--custom--layout--pagePaddingGlobal, clamp(20px, 5vw, 64px));
	}
}

body.woocommerce-cart .entry-header,
body.page-cart .entry-header {
	display: none;
}

body.woocommerce-cart .entry-content,
body.page-cart .entry-content {
	margin-top: 0;
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.page-cart .wp-block-woocommerce-cart {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-inline: auto;
}

/**
 * WooCommerce Checkout page — outer layout spacing (theme page padding).
 *
 * @package LaBinerie
 */

body.woocommerce-checkout .site-main,
body.labinerie-checkout-layout .site-main {
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	padding-block: var(--wp--custom--layout--sectionPadding, clamp(48px, 8vw, 80px));
	padding-inline: var(--wp--preset--spacing--page-padding-mobile, 20px);
}

@media (min-width: 769px) {
	body.woocommerce-checkout .site-main,
	body.labinerie-checkout-layout .site-main {
		padding-inline: var(--wp--custom--layout--pagePaddingGlobal, clamp(20px, 5vw, 64px));
	}
}

body.woocommerce-checkout .entry-content,
body.labinerie-checkout-layout .entry-content {
	margin-top: 0;
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

/**
 * WooCommerce Cart block — stacked layout (items, then totals).
 *
 * Panel chrome (radius, border, background, padding) is driven by theme.json:
 * settings.custom.cart.* and styles.blocks.woocommerce/filled-cart-block.
 *
 * @package LaBinerie
 */

.wp-block-woocommerce-cart .wp-block-woocommerce-filled-cart-block.wc-block-components-sidebar-layout,
.wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	box-sizing: border-box;
	width: 100%;
	border-radius: var(--wp--custom--cart--panel-radius, 0.625rem);
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	padding-top: var(--wp--custom--cart--panel-padding-top, 2.375rem);
	padding-right: var(--wp--custom--cart--panel-padding-right, 4.125rem);
	padding-bottom: var(--wp--custom--cart--panel-padding-bottom, 2.3125rem);
	padding-left: var(--wp--custom--cart--panel-padding-left, 4.1875rem);
}

@media (max-width: 768px) {
	.wp-block-woocommerce-cart .wp-block-woocommerce-filled-cart-block.wc-block-components-sidebar-layout,
	.wp-block-woocommerce-cart .wp-block-woocommerce-empty-cart-block {
		padding: var(--wp--custom--cart--panel-padding-mobile, 1.25rem var(--wp--preset--spacing--page-padding-mobile, 20px));
	}
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch;
	gap: var(--wp--preset--spacing--3, 2rem);
	grid-template-columns: none !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-cart__main,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	width: 100% !important;
	max-width: 100% !important;
	flex: none;
	grid-column: auto !important;
	padding: 0 !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/**
 * WooCommerce Cart block — Figma cart row (node 10273:13360).
 *
 * @package LaBinerie
 */

.wp-block-woocommerce-cart .wc-block-cart-items {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.wp-block-woocommerce-cart .wc-block-cart-items thead,
.wp-block-woocommerce-cart .wc-block-cart-items tbody,
.wp-block-woocommerce-cart .wc-block-cart-items__row {
	display: block;
	width: 100%;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wp--preset--color--light-beige, #e4dfd4);
	margin-bottom: 16px;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header th {
	display: block;
	padding: 0;
	border: 0;
	font-family: var(--wp--preset--font-family--futura-pt, 'Futura PT', sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--body-text, #141414);
}

.wp-block-woocommerce-cart .wc-block-cart-items__header-product {
	display: none;
}

.wp-block-woocommerce-cart .wc-block-cart-items__header-total {
	text-align: right;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row {
	display: grid;
	position: relative;
	align-items: center;
	gap: 15px;
	min-height: var(--wp--custom--cart--row-min-height, 53px);
	padding: 12px 0 12px 39px;
	grid-template-columns: 53px 1fr 0.75fr 1fr;
}

.wp-block-woocommerce-cart .wc-block-cart-items__row td {
	display: block;
	padding: 0;
	border: 0;
	vertical-align: middle;
}

.wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row td.wc-block-cart-item__product,
.wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap {
	display: contents !important;
}

.wp-block-woocommerce-cart .wc-block-cart-item__quantity {
	display: flex;
	align-items: center;
}

.wp-block-woocommerce-cart .wc-block-components-product-metadata {
	display: block;
	position: relative;
	top: 20px;
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	justify-self: stretch;
	min-width: 0;
	max-width: 100%;
	margin-top: 2px;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.6875rem;
	line-height: 1.35;
	color: var(--wp--preset--color--body-text, #141414);
	opacity: 0.9;
	white-space: normal;
}

.wp-block-woocommerce-cart .wc-block-components-product-metadata .wc-block-components-product-details__description,
.wp-block-woocommerce-cart .wc-block-components-product-metadata .wc-block-components-product-details__description p {
	margin: 0;
}

.wp-block-woocommerce-cart .labinerie-cart-custom-message {
	display: block;
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	justify-self: stretch;
	min-width: 0;
	max-width: 100%;
	margin-top: 2px;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.6875rem;
	line-height: 1.35;
	color: var(--wp--preset--color--body-text, #141414);
	opacity: 0.9;
	white-space: normal;
}

body.woocommerce-checkout .labinerie-cart-custom-message,
body.fcp-campaign-checkout .labinerie-cart-custom-message,
body.labinerie-checkout-layout .labinerie-cart-custom-message {
	display: block;
}

/* remove (recycle) | image | name | quantity | line total */
.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	position: absolute;
	left: 0;
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background-color: transparent !important;
	background-image: url('../images/recycle.svg') !important;
	background-size: 12px 12px !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover,
.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:focus {
	opacity: 0.65;
}

.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link svg {
	display: none !important;
}

.wp-block-woocommerce-cart .wc-block-cart-item__image {
	grid-column: 1;
	grid-row: 1;
	flex: unset;
	order: unset;
}

.wp-block-woocommerce-cart .wc-block-cart-item__image a {
	display: block;
	line-height: 0;
	flex-shrink: 0;
}

.wp-block-woocommerce-cart .wc-block-cart-item__image img {
	display: block;
	width: var(--wp--custom--cart--thumb-size, 53px) !important;
	height: var(--wp--custom--cart--thumb-size, 53px) !important;
	min-width: var(--wp--custom--cart--thumb-size, 53px) !important;
	max-width: var(--wp--custom--cart--thumb-size, 53px) !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--wp--custom--border--radius-product-thumb, 5px);
}

.wp-block-woocommerce-cart .wc-block-components-product-name {
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	min-width: 0;
	margin: 0;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
	text-decoration: none;
}

.wp-block-woocommerce-cart .wc-block-components-product-name:hover,
.wp-block-woocommerce-cart .wc-block-components-product-name:focus {
	color: var(--wp--preset--color--brand-red, #bc202c);
}

/* Unit price is redundant — line total column covers PRODUIT/TOTAL headers. */
.wp-block-woocommerce-cart .wc-block-cart-item__prices {
	display: none !important;
}

.wp-block-woocommerce-cart .wc-block-cart-item__quantity {
	grid-column: 4;
	grid-row: 1;
	order: unset;
	margin-left: 0;
	justify-self: end;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector {
	flex: unset;
	order: unset;
	margin-left: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--wp--custom--cart--qty-selector-width, 108px);
	min-width: var(--wp--custom--cart--qty-selector-width, 108px);
	height: var(--wp--custom--cart--qty-selector-height, 49px);
	padding: 0 14px;
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	border-radius: var(--wp--custom--border--radius-pill, 104px);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	color: transparent;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button--minus {
	order: 1;
	background-image: url('../images/qty-minus.svg');
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button--plus {
	order: 3;
	background-image: url('../images/qty-plus.svg');
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input {
	order: 2;
	width: 2ch;
	min-width: 1.5ch;
	max-width: 3ch;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	color: var(--wp--preset--color--body-text, #141414);
	-moz-appearance: textfield;
	appearance: textfield;
}

.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
	margin: 0;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

.wp-block-woocommerce-cart .wc-block-cart-item__total {
	grid-column: 3;
	grid-row: 1;
	flex: unset;
	order: unset;
	justify-content: center;
	text-align: center;
}

/*
 * Compact cart row — WC container breakpoints (is-medium / is-small / is-mobile).
 * These classes follow the cart block width (container queries), not the viewport.
 * Do not wrap in @media — a wide viewport with a narrow cart column still gets is-small.
 */
.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row {
	grid-template-columns: 24px 64px minmax(0, 1fr) auto !important;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 12px 12px;
	padding: 12px 0 !important;
	min-height: 0;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
	display: contents !important;
	grid-column: unset !important;
	grid-row: unset !important;
	padding: 0 !important;
	justify-self: unset !important;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
	display: contents !important;
	grid-column: unset !important;
	grid-row: unset !important;
	padding: 0 !important;
	vertical-align: unset !important;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-item__remove-link,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-item__remove-link,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-item__remove-link {
	display: inline-flex !important;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	position: static !important;
	transform: none !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	align-self: center;
	justify-self: center;
	flex-shrink: 0;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
	grid-column: 2 !important;
	grid-column-start: 2 !important;
	grid-row: 1 !important;
	align-self: center;
	justify-self: center;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 64px !important;
	min-width: 64px !important;
	max-width: 64px !important;
	padding: 0 !important;
	flex-shrink: 0;
	overflow: hidden;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
	display: block;
	width: 64px;
	height: 64px;
	min-width: 64px;
	max-width: 64px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
	width: 64px !important;
	height: 64px !important;
	min-width: 64px !important;
	max-width: 64px !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium .wc-block-components-product-metadata,
.wp-block-woocommerce-cart .wc-block-cart.is-small .wc-block-components-product-metadata,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile .wc-block-components-product-metadata,
.wp-block-woocommerce-cart .wc-block-cart.is-medium .labinerie-cart-custom-message,
.wp-block-woocommerce-cart .wc-block-cart.is-small .labinerie-cart-custom-message,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile .labinerie-cart-custom-message {
	grid-column: 3;
	grid-row: 1;
	align-self: start;
	justify-self: stretch;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium .wc-block-components-product-name,
.wp-block-woocommerce-cart .wc-block-cart.is-small .wc-block-components-product-name,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile .wc-block-components-product-name {
	grid-column: 3;
	grid-row: 1;
	align-self: start;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	grid-column: 4 !important;
	grid-row: 1 !important;
	align-self: center;
	justify-self: end;
	text-align: right;
	flex-shrink: 0;
	white-space: nowrap;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium .wc-block-cart-item__total .wc-block-components-product-price,
.wp-block-woocommerce-cart .wc-block-cart.is-small .wc-block-cart-item__total .wc-block-components-product-price,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile .wc-block-cart-item__total .wc-block-components-product-price {
	white-space: nowrap;
}

.wp-block-woocommerce-cart .wc-block-cart.is-medium .wc-block-components-quantity-selector,
.wp-block-woocommerce-cart .wc-block-cart.is-small .wc-block-components-quantity-selector,
.wp-block-woocommerce-cart .wc-block-cart.is-mobile .wc-block-components-quantity-selector {
	grid-column: 4;
	grid-row: 2;
	justify-self: end;
	flex-shrink: 0;
}

/* Mirror WC @container (max-width: 699px) when is-* classes lag or devtools resizes the column */
@container (max-width: 699px) {
	.wp-block-woocommerce-cart .wc-block-cart-items__row {
		grid-template-columns: 24px 64px minmax(0, 1fr) auto !important;
		grid-template-rows: auto auto;
		align-items: center;
		gap: 12px 12px;
		padding: 12px 0 !important;
		min-height: 0;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
		grid-column: 2 !important;
		grid-column-start: 2 !important;
		grid-row: 1 !important;
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		padding: 0 !important;
		flex-shrink: 0;
		overflow: hidden;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
		width: 64px;
		height: 64px;
		min-width: 64px;
		max-width: 64px;
		aspect-ratio: 1 / 1;
		overflow: hidden;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 64px !important;
		height: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
	}

	.wp-block-woocommerce-cart .wc-block-components-product-name {
		grid-column: 3;
		grid-row: 1;
		align-self: start;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.wp-block-woocommerce-cart .wc-block-components-product-metadata,
	.wp-block-woocommerce-cart .labinerie-cart-custom-message {
		grid-column: 3;
		grid-row: 2;
		align-self: start;
		justify-self: stretch;
		min-width: 0;
		max-width: 100%;
		white-space: normal;
	}
}

/* Very narrow cart column (Galaxy Fold inner screen, etc.) */
@container (max-width: 380px) {
	.wp-block-woocommerce-cart .wc-block-cart-items__row {
		grid-template-columns: 24px 48px minmax(0, 1fr) auto !important;
		gap: 8px 8px;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
		width: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
		width: 48px;
		height: 48px;
		min-width: 48px;
		max-width: 48px;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
	}

	.wp-block-woocommerce-cart .wc-block-components-product-name {
		font-size: 0.9375rem;
		line-height: 1.35;
	}

	.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
		font-size: 0.9375rem;
	}

	.wp-block-woocommerce-cart .wc-block-components-quantity-selector {
		width: 96px;
		min-width: 96px;
		height: 44px;
		padding: 0 10px;
	}
}

/* Ultra-narrow viewports (Galaxy Fold inner screen, etc.) */
@media (max-width: 360px) {
	.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row,
	.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row,
	.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
	.wp-block-woocommerce-cart .wc-block-cart-items__row {
		grid-template-columns: 24px 48px minmax(0, 1fr) auto !important;
		gap: 8px 8px;
	}

	.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
	.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
	.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
	.wp-block-woocommerce-cart .wc-block-cart-item__image {
		width: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
	}

	.wp-block-woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
	.wp-block-woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
	.wp-block-woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
	.wp-block-woocommerce-cart .wc-block-cart-item__image a {
		width: 48px;
		height: 48px;
		min-width: 48px;
		max-width: 48px;
	}

	.wp-block-woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
	}

	.wp-block-woocommerce-cart .wc-block-components-product-name {
		font-size: 0.9375rem;
		line-height: 1.35;
	}

	.wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
		font-size: 0.9375rem;
	}

	.wp-block-woocommerce-cart .wc-block-components-quantity-selector {
		width: 96px;
		min-width: 96px;
		height: 44px;
		padding: 0 10px;
	}

	.wp-block-woocommerce-cart .wc-block-components-quantity-selector__input {
		font-size: 0.9375rem;
	}
}

/**
 * Cart checkout CTA — Figma button (node 10273:13419).
 * Scoped separately from the quantity pill; do not use cart-wide button presets.
 *
 * @package LaBinerie
 */

.wp-block-woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button.contained,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.wc-block-components-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 34px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background-color: var(--wp--preset--color--brand-red, #bc202c) !important;
	color: var(--wp--preset--color--background-beige, #f7f5ef) !important;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif) !important;
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem) !important;
	font-weight: 650 !important;
	line-height: 1.5 !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button.contained:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button.contained:focus,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.wc-block-components-button:hover,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.wc-block-components-button:focus {
	background-color: #9a1a24 !important;
	color: var(--wp--preset--color--background-beige, #f7f5ef) !important;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button.contained::after,
.wp-block-woocommerce-cart a.wc-block-cart__submit-button.wc-block-components-button::after {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: url('../images/checkout-arrow-right.svg') center / contain no-repeat;
}

/**
 * Checkout block — layout is composed in the block editor (Groups, Columns, etc.).
 * Theme only constrains max width; panel and calendar styling live below.
 *
 * @package LaBinerie
 */

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1310px);
	margin-left: auto;
	margin-right: auto;
}

body.woocommerce-checkout .labinerie-checkout-date-block:empty {
	display: none !important;
}

/* Official checkout-fields-block stack: date/fulfillment sits after shipping address. */
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-fields-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wc-block-checkout__form,
body.labinerie-checkout-layout .wc-block-checkout__form {
	display: flex;
	flex-direction: column;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-express-payment-block { order: 1; }
body.woocommerce-checkout:not(.fcp-campaign-checkout) .wp-block-labinerie-checkout-date,
body.woocommerce-checkout:not(.fcp-campaign-checkout) .labinerie-checkout-date-block,
body.labinerie-checkout-layout:not(.fcp-campaign-checkout) .wp-block-labinerie-checkout-date,
body.labinerie-checkout-layout:not(.fcp-campaign-checkout) .labinerie-checkout-date-block { order: 2; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block,
body.woocommerce-checkout #contact-fields,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block,
body.labinerie-checkout-layout #contact-fields { order: 3; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-method-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-shipping-method-block { order: 4; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-pickup-options-block { order: 5; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block,
body.woocommerce-checkout #shipping-fields,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-shipping-address-block,
body.labinerie-checkout-layout #shipping-fields { order: 6; }
body.fcp-campaign-checkout .wp-block-labinerie-checkout-date,
body.fcp-campaign-checkout .labinerie-checkout-date-block { order: 6; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block,
body.woocommerce-checkout #billing-fields,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-billing-address-block,
body.labinerie-checkout-layout #billing-fields { order: 7; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block,
body.woocommerce-checkout #shipping-option,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-shipping-methods-block,
body.labinerie-checkout-layout #shipping-option { order: 8; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout #payment-method,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-payment-block,
body.labinerie-checkout-layout #payment-method { order: 9; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-additional-information-block { order: 10; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-order-note-block { order: 11; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-terms-block { order: 12; }
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-actions-block { order: 13; }

/* Match native checkout step spacing (wc-block-components-checkout-step uses 24px). */
body.woocommerce-checkout .labinerie-checkout-date-block,
body.fcp-campaign-checkout .labinerie-checkout-date-block,
body.labinerie-checkout-layout .labinerie-checkout-date-block,
body.woocommerce-checkout .wp-block-labinerie-checkout-date,
body.fcp-campaign-checkout .wp-block-labinerie-checkout-date,
body.labinerie-checkout-layout .wp-block-labinerie-checkout-date {
	display: block;
	margin: 0 0 var(--wp--custom--checkout--row-gap, 24px);
}

/**
 * Phase 3 checkout datepicker — Figma calendar (node 10514:11021).
 *
 * @package LaBinerie
 */

/* Reset global theme button styles inside calendar nav only (not day cells). */
body.woocommerce-checkout .labinerie-checkout-date .labinerie-checkout-date__nav,
body.labinerie-checkout-layout .labinerie-checkout-date .labinerie-checkout-date__nav {
	all: unset;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	cursor: pointer;
}

.labinerie-checkout-date {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.labinerie-checkout-date__label {
	margin: 0;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 1.125rem;
	font-weight: 650;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

.labinerie-checkout-date__description {
	margin: 0;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

.labinerie-checkout-date__error {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--wp--preset--color--vivid-red, #cc1818);
}

.labinerie-checkout-date.has-validation-error .labinerie-checkout-date__widget {
	outline: 1px solid var(--wp--preset--color--vivid-red, #cc1818);
	outline-offset: 4px;
	border-radius: 4px;
}

.labinerie-checkout-date__widget {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0;
	border: 0;
	background: transparent;
}

.labinerie-checkout-date__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.labinerie-checkout-date__month-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.labinerie-checkout-date__month {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 1.125rem;
	font-weight: 650;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

.labinerie-checkout-date__month-chevron {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../images/chevron-down.svg') center / contain no-repeat;
	opacity: 0.85;
}

.labinerie-checkout-date__nav-group {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.labinerie-checkout-date__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: var(--wp--preset--color--body-text, #141414) !important;
	padding: 0 !important;
	font-size: 1.25rem;
	line-height: 1;
}

.labinerie-checkout-date__nav::before {
	display: block;
	width: 16px;
	height: 16px;
	content: '';
	background: url('../images/chevron-down.svg') center / contain no-repeat;
}

.labinerie-checkout-date__nav--prev::before {
	transform: rotate(90deg);
}

.labinerie-checkout-date__nav--next::before {
	transform: rotate(-90deg);
}

.labinerie-checkout-date__nav:hover,
.labinerie-checkout-date__nav:focus-visible {
	opacity: 0.7;
	outline: none;
}

.labinerie-checkout-date__weekdays,
.labinerie-checkout-date__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	grid-auto-rows: var(--wp--custom--checkout--calendar-day-size, 44px);
	gap: 4px 0;
	justify-items: center;
	align-items: center;
}

.labinerie-checkout-date__weekday {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--wp--custom--checkout--calendar-day-size, 44px);
	height: auto;
	text-align: center;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-brown, #927263);
}

body.woocommerce-checkout .labinerie-checkout-date__day,
body.woocommerce-checkout .labinerie-checkout-date__day--empty,
body.labinerie-checkout-layout .labinerie-checkout-date__day,
body.labinerie-checkout-layout .labinerie-checkout-date__day--empty,
body.fcp-campaign-checkout .labinerie-checkout-date__day,
body.fcp-campaign-checkout .labinerie-checkout-date__day--empty,
.labinerie-checkout-date__day,
.labinerie-checkout-date__day--empty {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: var(--wp--custom--checkout--calendar-day-size, 44px);
	height: var(--wp--custom--checkout--calendar-day-size, 44px);
	min-width: var(--wp--custom--checkout--calendar-day-size, 44px);
	min-height: var(--wp--custom--checkout--calendar-day-size, 44px);
	max-width: var(--wp--custom--checkout--calendar-day-size, 44px);
	max-height: var(--wp--custom--checkout--calendar-day-size, 44px);
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--body-text, #141414);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	transition:
		background-color 0.15s ease,
		color 0.15s ease,
		box-shadow 0.15s ease;
}

.labinerie-checkout-date__day--empty {
	pointer-events: none;
	border-color: transparent;
	background: transparent;
}

/* Selectable day — hover darkens circle (Figma) */
body.woocommerce-checkout .labinerie-checkout-date__day:not(.is-disabled):not(.is-selected):hover,
body.labinerie-checkout-layout .labinerie-checkout-date__day:not(.is-disabled):not(.is-selected):hover {
	background-color: rgba(20, 20, 20, 0.08);
}

body.woocommerce-checkout .labinerie-checkout-date__day:not(.is-disabled):not(.is-selected):active,
body.labinerie-checkout-layout .labinerie-checkout-date__day:not(.is-disabled):not(.is-selected):active {
	background-color: rgba(20, 20, 20, 0.12);
}

body.woocommerce-checkout .labinerie-checkout-date__day.is-today:not(.is-selected):not(.is-disabled),
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-today:not(.is-selected):not(.is-disabled) {
	color: var(--wp--preset--color--brand-red, #bc202c);
	font-weight: 650;
	box-shadow: inset 0 0 0 1px rgba(188, 32, 44, 0.45);
}

/* Selected — solid red circle */
body.woocommerce-checkout .labinerie-checkout-date__day.is-selected,
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-selected {
	border-color: transparent;
	background-color: var(--wp--preset--color--brand-red, #bc202c);
	box-shadow: none;
	color: var(--wp--preset--color--white, #ffffff);
	font-weight: 650;
}

body.woocommerce-checkout .labinerie-checkout-date__day.is-selected:hover,
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-selected:hover {
	background-color: #a31c27;
	color: var(--wp--preset--color--white, #ffffff);
}

/* Past + unavailable — visible grey circles, not selectable */
body.woocommerce-checkout .labinerie-checkout-date__day.is-disabled,
body.woocommerce-checkout .labinerie-checkout-date__day:disabled,
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-disabled,
body.labinerie-checkout-layout .labinerie-checkout-date__day:disabled {
	opacity: 1;
	cursor: not-allowed;
	pointer-events: none;
}

body.woocommerce-checkout .labinerie-checkout-date__day.is-past,
body.woocommerce-checkout .labinerie-checkout-date__day.is-unavailable,
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-past,
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-unavailable {
	background-color: rgba(20, 20, 20, 0.06);
	color: rgba(20, 20, 20, 0.32);
}

body.woocommerce-checkout .labinerie-checkout-date__day.is-past.is-today:not(.is-selected),
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-past.is-today:not(.is-selected) {
	box-shadow: none;
	color: rgba(20, 20, 20, 0.32);
	font-weight: 400;
}

body.woocommerce-checkout .labinerie-checkout-date__day:focus-visible,
body.labinerie-checkout-layout .labinerie-checkout-date__day:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--wp--preset--color--brand-red, #bc202c);
}

.labinerie-checkout-date__live-region.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/**
 * Phase 4 checkout styling — panels, inputs, order summary, payment, actions.
 * Figma: row items 10500:16458, Section 2 10500:16450, payment panel 10500:16485.
 *
 * @package LaBinerie
 */

body.woocommerce-checkout .entry-header,
body.labinerie-checkout-layout .entry-header {
	display: none;
}

body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.labinerie-checkout-layout .entry-content > .wp-block-woocommerce-checkout {
	max-width: var(--wp--style--global--wide-size, 1310px);
	margin-left: auto;
	margin-right: auto;
}

/* Checkout two-column layout — fields ~40%, order summary fills remainder (large screens). */
@container (min-width: 700px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.fcp-campaign-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.labinerie-checkout-layout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		gap: var(--wp--preset--spacing--3, 2rem);
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-main,
	body.fcp-campaign-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-main,
	body.labinerie-checkout-layout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-main {
		box-sizing: border-box;
		flex: 0 0 40%;
		width: 40% !important;
		max-width: 40%;
		padding-right: 0;
		padding-left: 0;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-sidebar,
	body.fcp-campaign-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-sidebar,
	body.labinerie-checkout-layout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-sidebar {
		box-sizing: border-box;
		flex: 1 1 0;
		width: auto !important;
		max-width: none;
		min-width: 0;
		padding-right: 0;
		padding-left: 0;
		/* Align with fields column inner panels (checkout-fields-block has top padding). */
		margin-top: var(--wp--custom--checkout--panel-padding, 32px);
		top: calc(24px + var(--wp--custom--checkout--panel-padding, 32px));
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel,
body.labinerie-checkout-layout .wc-block-checkout__sidebar .wc-block-components-panel {
	border: 0;
	background: transparent;
	padding: 0;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary.is-mobile,
body.labinerie-checkout-layout .wc-block-checkout__sidebar .wc-block-components-order-summary.is-mobile {
	display: none;
}

body.fcp-campaign-checkout .site-main {
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
}

/* Checkout Fields column — no outer wrapper border; inner steps keep panel chrome. */
body.woocommerce-checkout .wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block,
body.fcp-campaign-checkout .wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block,
body.labinerie-checkout-layout .wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block {
	border: 0 !important;
}

/* Panel chrome on native blocks (no JS wrapper required) */
body.woocommerce-checkout #contact-fields,
body.woocommerce-checkout #billing-fields,
body.woocommerce-checkout #shipping-fields,
body.woocommerce-checkout #shipping-option,
body.woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block,
body.woocommerce-checkout #payment-method,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout .wc-block-checkout__terms,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
body.fcp-campaign-checkout #contact-fields,
body.fcp-campaign-checkout #billing-fields,
body.fcp-campaign-checkout .wc-block-checkout__additional-fields,
body.fcp-campaign-checkout #payment-method,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-payment-block,
body.labinerie-checkout-layout #contact-fields,
body.labinerie-checkout-layout #billing-fields,
body.labinerie-checkout-layout #shipping-fields,
body.labinerie-checkout-layout #shipping-option,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-pickup-options-block,
body.labinerie-checkout-layout #payment-method,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-payment-block,
body.labinerie-checkout-layout .wc-block-checkout__terms,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-actions-block,
body.woocommerce-checkout .labinerie-checkout-fields-panel,
body.woocommerce-checkout .labinerie-checkout-payment-panel,
body.fcp-campaign-checkout .labinerie-checkout-fields-panel,
body.fcp-campaign-checkout .labinerie-checkout-payment-panel,
body.labinerie-checkout-layout .labinerie-checkout-fields-panel,
body.labinerie-checkout-layout .labinerie-checkout-payment-panel,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-order-summary-block {
	box-sizing: border-box;
	border-radius: var(--wp--custom--checkout--panel-radius, 20px);
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	padding: var(--wp--custom--checkout--panel-padding, 32px);
}

body.woocommerce-checkout .labinerie-checkout-fields-panel .wc-block-components-checkout-step,
body.woocommerce-checkout .labinerie-checkout-payment-panel .wc-block-components-checkout-step,
body.labinerie-checkout-layout .labinerie-checkout-fields-panel .wc-block-components-checkout-step,
body.labinerie-checkout-layout .labinerie-checkout-payment-panel .wc-block-components-checkout-step,
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step,
body.woocommerce-checkout #billing-fields .wc-block-components-checkout-step,
body.woocommerce-checkout #shipping-fields .wc-block-components-checkout-step,
body.woocommerce-checkout #payment-method .wc-block-components-checkout-step,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step,
body.labinerie-checkout-layout #billing-fields .wc-block-components-checkout-step,
body.labinerie-checkout-layout #shipping-fields .wc-block-components-checkout-step,
body.labinerie-checkout-layout #payment-method .wc-block-components-checkout-step {
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
}

/* Pickup may hide unused address chrome only when the date block does not own shipping. */
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) .wc-block-checkout__shipping-fields .wc-block-components-checkout-step__heading-container,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) .wc-block-checkout__shipping-fields .wc-block-components-address-address-wrapper,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) .wc-block-checkout__shipping-fields .wc-block-components-address-form-wrapper,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) .wc-block-checkout__shipping-fields .wc-block-checkout__use-address-for-billing,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) #shipping-fields .wc-block-components-checkout-step__heading-container,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) #shipping-fields .wc-block-components-address-address-wrapper,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) #shipping-fields .wc-block-components-address-form-wrapper,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) #shipping-fields .wc-block-checkout__use-address-for-billing,
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) .woocommerce-shipping-fields .shipping_address {
	display: none !important;
}

body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) #shipping-fields:not(:has(.wc-block-components-shipping-rates-control, .wc-block-components-radio-control, #shipping-option, .wc-block-checkout__shipping-option)),
body.labinerie-checkout-pickup:not(.labinerie-checkout-date-owns-shipping) .wc-block-checkout__shipping-fields:not(:has(.wc-block-components-shipping-rates-control, .wc-block-components-radio-control, #shipping-option, .wc-block-checkout__shipping-option)) {
	display: none !important;
}

/* Hide leftover shipping-method UI after pickup/delivery is locked. Address stays visible. */
body.labinerie-checkout-fulfillment-locked.labinerie-checkout-pickup .wp-block-woocommerce-checkout-shipping-method-block,
body.labinerie-checkout-fulfillment-locked.labinerie-checkout-pickup .wp-block-woocommerce-checkout-shipping-methods-block,
body.labinerie-checkout-fulfillment-locked.labinerie-checkout-pickup #shipping-option,
body.labinerie-checkout-fulfillment-locked.labinerie-checkout-pickup .wc-block-checkout__shipping-option,
body.labinerie-checkout-fulfillment-locked.labinerie-checkout-pickup .wp-block-woocommerce-checkout-pickup-options-block {
	display: none !important;
}

body.labinerie-checkout-fulfillment-locked.labinerie-checkout-delivery .wp-block-woocommerce-checkout-shipping-method-block,
body.labinerie-checkout-fulfillment-locked.labinerie-checkout-delivery .wp-block-woocommerce-checkout-pickup-options-block {
	display: none !important;
}

/* Pickup and pre-check default pickup use billing — hide shipping address. Delivery shows it. */
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .wp-block-woocommerce-checkout-shipping-address-block,
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .wc-block-checkout__shipping-fields,
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) #shipping-fields,
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .woocommerce-shipping-fields {
	display: none !important;
}

body.labinerie-checkout-date-owns-shipping.labinerie-checkout-delivery .wp-block-woocommerce-checkout-shipping-address-block,
body.labinerie-checkout-date-owns-shipping.labinerie-checkout-delivery .wc-block-checkout__shipping-fields,
body.labinerie-checkout-date-owns-shipping.labinerie-checkout-delivery #shipping-fields {
	display: block !important;
}

/* Pickup hides shipping; billing must stay the visible address form. */
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .wp-block-woocommerce-checkout-billing-address-block,
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .wp-block-woocommerce-checkout-billing-address-block[hidden],
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .wc-block-checkout__billing-fields,
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) #billing-fields,
body.labinerie-checkout-date-owns-shipping:not(.labinerie-checkout-delivery) .woocommerce-billing-fields,
body.labinerie-checkout-pickup .wp-block-woocommerce-checkout-billing-address-block,
body.labinerie-checkout-pickup .wp-block-woocommerce-checkout-billing-address-block[hidden],
body.labinerie-checkout-pickup .wc-block-checkout__billing-fields,
body.labinerie-checkout-pickup #billing-fields,
body.labinerie-checkout-pickup .woocommerce-billing-fields {
	display: block !important;
	visibility: visible !important;
	height: auto !important;
}

@media (max-width: 768px) {
	body.woocommerce-checkout .labinerie-checkout-fields-panel,
	body.woocommerce-checkout .labinerie-checkout-payment-panel,
	body.fcp-campaign-checkout .labinerie-checkout-fields-panel,
	body.fcp-campaign-checkout .labinerie-checkout-payment-panel,
	body.labinerie-checkout-layout .labinerie-checkout-fields-panel,
	body.labinerie-checkout-layout .labinerie-checkout-payment-panel,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	body.fcp-campaign-checkout .wp-block-woocommerce-checkout-order-summary-block,
	body.labinerie-checkout-layout .wp-block-woocommerce-checkout-order-summary-block {
		padding: var(--wp--custom--checkout--panel-padding-mobile, 20px);
	}
}

/* Row 1 date panel */
body.woocommerce-checkout .labinerie-checkout-date,
body.fcp-campaign-checkout .labinerie-checkout-date,
body.labinerie-checkout-layout .labinerie-checkout-date {
	box-sizing: border-box;
	border-radius: var(--wp--custom--checkout--panel-radius, 20px);
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	padding: var(--wp--custom--checkout--panel-padding, 32px);
}

body.woocommerce-checkout .labinerie-checkout-date__label,
body.fcp-campaign-checkout .labinerie-checkout-date__label,
body.labinerie-checkout-layout .labinerie-checkout-date__label {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 650;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .labinerie-checkout-date__description,
body.fcp-campaign-checkout .labinerie-checkout-date__description,
body.labinerie-checkout-layout .labinerie-checkout-date__description {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .labinerie-checkout-date__widget,
body.fcp-campaign-checkout .labinerie-checkout-date__widget,
body.labinerie-checkout-layout .labinerie-checkout-date__widget {
	border-color: var(--wp--preset--color--accent-brown, #927263);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
}

body.woocommerce-checkout .labinerie-checkout-date__day.is-selected,
body.fcp-campaign-checkout .labinerie-checkout-date__day.is-selected,
body.labinerie-checkout-layout .labinerie-checkout-date__day.is-selected {
	border-color: transparent;
	background-color: var(--wp--preset--color--brand-red, #bc202c);
	box-shadow: none;
	color: var(--wp--preset--color--white, #ffffff);
}

@media (max-width: 768px) {
	body.woocommerce-checkout .labinerie-checkout-date,
	body.fcp-campaign-checkout .labinerie-checkout-date,
	body.labinerie-checkout-layout .labinerie-checkout-date {
		padding: var(--wp--custom--checkout--panel-padding-mobile, 20px);
	}
}

/* Native WC additional field — hidden; custom calendar in row 1 owns the UX (WC 8.6+ rejects hidden:true). */
body.woocommerce-checkout:not(.fcp-campaign-checkout) .labinerie-checkout-payment-panel .wc-block-checkout__additional-fields,
body.woocommerce-checkout:not(.fcp-campaign-checkout) .labinerie-checkout-payment-panel .wp-block-woocommerce-checkout-additional-information-block,
body.labinerie-checkout-layout:not(.fcp-campaign-checkout) .labinerie-checkout-payment-panel .wc-block-checkout__additional-fields,
body.labinerie-checkout-layout:not(.fcp-campaign-checkout) .labinerie-checkout-payment-panel .wp-block-woocommerce-checkout-additional-information-block {
	display: none !important;
}

/* Campaign checkout — POC additional field lives in the fields panel after billing. */
body.fcp-campaign-checkout .labinerie-checkout-fields-panel .wc-block-checkout__additional-fields,
body.fcp-campaign-checkout .labinerie-checkout-fields-panel .wp-block-woocommerce-checkout-additional-information-block {
	display: block !important;
}

body.woocommerce-checkout .wc-block-components-text-input:has([name="labinerie/pickup-date"]),
body.labinerie-checkout-layout .wc-block-components-text-input:has([name="labinerie/pickup-date"]),
body.woocommerce-checkout .wc-block-components-text-input:has(#order-labinerie-pickup-date),
body.labinerie-checkout-layout .wc-block-components-text-input:has(#order-labinerie-pickup-date) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Form inputs */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select select,
body.fcp-campaign-checkout .wc-block-components-text-input input,
body.fcp-campaign-checkout .wc-block-components-text-input textarea,
body.fcp-campaign-checkout .wc-block-components-select select,
body.fcp-campaign-checkout .wc-blocks-components-select select,
body.labinerie-checkout-layout .wc-block-components-text-input input,
body.labinerie-checkout-layout .wc-block-components-text-input textarea,
body.labinerie-checkout-layout .wc-block-components-select select,
body.labinerie-checkout-layout .wc-blocks-components-select select {
	box-sizing: border-box;
	min-height: var(--wp--custom--checkout--input-height, 48px);
	height: auto;
	padding-left: 16px;
	padding-right: 16px;
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	border-radius: var(--wp--custom--checkout--input-radius, 8px);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .wc-block-components-text-input.is-active input,
body.fcp-campaign-checkout .wc-block-components-text-input.is-active input,
body.labinerie-checkout-layout .wc-block-components-text-input.is-active input {
	padding-top: 20px;
	padding-bottom: 6px;
}

body.woocommerce-checkout .wc-block-components-text-input:not(.is-active) input,
body.fcp-campaign-checkout .wc-block-components-text-input:not(.is-active) input,
body.labinerie-checkout-layout .wc-block-components-text-input:not(.is-active) input {
	padding-top: 0;
	padding-bottom: 0;
}

body.woocommerce-checkout .wc-blocks-components-select__select,
body.fcp-campaign-checkout .wc-blocks-components-select__select,
body.labinerie-checkout-layout .wc-blocks-components-select__select {
	padding-top: 20px;
	padding-bottom: 6px;
	padding-right: 36px;
}

body.woocommerce-checkout .wc-block-components-text-input textarea,
body.fcp-campaign-checkout .wc-block-components-text-input textarea,
body.labinerie-checkout-layout .wc-block-components-text-input textarea {
	height: auto;
	min-height: calc(var(--wp--custom--checkout--input-height, 48px) * 2);
	padding-top: 12px;
	padding-bottom: 12px;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-blocks-components-select label,
body.fcp-campaign-checkout .wc-block-components-text-input label,
body.fcp-campaign-checkout .wc-block-components-select label,
body.fcp-campaign-checkout .wc-blocks-components-select label,
body.labinerie-checkout-layout .wc-block-components-text-input label,
body.labinerie-checkout-layout .wc-block-components-select label,
body.labinerie-checkout-layout .wc-blocks-components-select label {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select select:focus,
body.fcp-campaign-checkout .wc-block-components-text-input input:focus,
body.fcp-campaign-checkout .wc-block-components-select select:focus,
body.fcp-campaign-checkout .wc-blocks-components-select select:focus,
body.labinerie-checkout-layout .wc-block-components-text-input input:focus,
body.labinerie-checkout-layout .wc-block-components-select select:focus,
body.labinerie-checkout-layout .wc-blocks-components-select select:focus {
	outline: 2px solid var(--wp--preset--color--brand-red, #bc202c);
	outline-offset: 2px;
}

/* Row 2 grid areas assigned on sidebar-layout (see Phase 2) */

/* Order summary — "Review Your Order" heading */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__title,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__title,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title {
	margin: 0 0 24px;
	text-align: center;
	font-family: var(--wp--preset--font-family--futura-pt, 'Futura PT', sans-serif);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--body-text, #141414);
}

/* Order summary — Product / Price header row (qty shown on image badge). */
body.woocommerce-checkout .wc-block-components-order-summary__content,
body.fcp-campaign-checkout .wc-block-components-order-summary__content,
body.labinerie-checkout-layout .wc-block-components-order-summary__content {
	position: relative;
	container-type: inline-size;
	container-name: labinerie-order-summary;
}

body.woocommerce-checkout .wc-block-components-order-summary-items,
body.fcp-campaign-checkout .wc-block-components-order-summary-items,
body.labinerie-checkout-layout .wc-block-components-order-summary-items {
	position: relative;
	padding-top: 36px;
}

body.woocommerce-checkout .wc-block-components-order-summary-items::before,
body.fcp-campaign-checkout .wc-block-components-order-summary-items::before,
body.labinerie-checkout-layout .wc-block-components-order-summary-items::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	display: grid;
	grid-template-columns: 53px minmax(0, 1fr) minmax(72px, auto);
	gap: 12px;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wp--preset--color--light-beige, #e4dfd4);
	font-family: var(--wp--preset--font-family--futura-pt, 'Futura PT', sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--body-text, #141414);
	content: 'Product';
}

body.woocommerce-checkout .wc-block-components-order-summary__content::after,
body.fcp-campaign-checkout .wc-block-components-order-summary__content::after,
body.labinerie-checkout-layout .wc-block-components-order-summary__content::after {
	content: none;
	display: none;
}

body.woocommerce-checkout .wc-block-components-order-summary-items::after,
body.fcp-campaign-checkout .wc-block-components-order-summary-items::after,
body.labinerie-checkout-layout .wc-block-components-order-summary-items::after {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	font-family: var(--wp--preset--font-family--futura-pt, 'Futura PT', sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--body-text, #141414);
	content: 'Price';
}

/* Order summary — line item rows (qty badge on thumbnail; no qty column). */
body.woocommerce-checkout .wc-block-components-order-summary-item,
body.fcp-campaign-checkout .wc-block-components-order-summary-item,
body.labinerie-checkout-layout .wc-block-components-order-summary-item {
	display: grid;
	position: relative;
	align-items: center;
	gap: 12px;
	min-height: var(--wp--custom--cart--row-min-height, 53px);
	padding: 12px 0;
	grid-template-columns: 53px minmax(0, 1fr) minmax(72px, auto);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__description,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__description {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	overflow-wrap: break-word;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__image,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__image {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	align-self: start;
	width: var(--wp--custom--cart--thumb-size, 53px);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__image img,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__image img {
	display: block;
	width: var(--wp--custom--cart--thumb-size, 53px) !important;
	height: var(--wp--custom--cart--thumb-size, 53px) !important;
	min-width: var(--wp--custom--cart--thumb-size, 53px) !important;
	max-width: var(--wp--custom--cart--thumb-size, 53px) !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--wp--custom--border--radius-product-thumb, 5px);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__product-name,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__product-name,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__product-name {
	margin: 0;
	min-width: 0;
	overflow-wrap: break-word;
	word-break: normal;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__individual-prices,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__individual-prices {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__total-price,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__total-price {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: center;
	text-align: right;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-cart-item__total-price-and-sale-badge-wrapper,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__total-price .wc-block-cart-item__total-price-and-sale-badge-wrapper,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__total-price .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	justify-content: flex-end;
	text-align: right;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__quantity,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__quantity {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	min-height: 20px;
	padding: 0 0.4em;
	border-radius: 20px;
	background-color: var(--wp--preset--color--body-text, #141414);
	color: var(--wp--preset--color--white, #ffffff);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	transform: translate(50%, -50%);
	white-space: nowrap;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span,
body.fcp-campaign-checkout .wc-block-components-order-summary-item__quantity span,
body.labinerie-checkout-layout .wc-block-components-order-summary-item__quantity span {
	color: inherit;
	padding: 0;
}

/* Payment panel — radio controls and saved methods (container only) */
body.woocommerce-checkout .wc-block-components-radio-control,
body.fcp-campaign-checkout .wc-block-components-radio-control,
body.labinerie-checkout-layout .wc-block-components-radio-control {
	gap: var(--wp--custom--checkout--row-gap, 24px);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
body.fcp-campaign-checkout .wc-block-components-radio-control-accordion-option,
body.labinerie-checkout-layout .wc-block-components-radio-control-accordion-option {
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	border-radius: var(--wp--custom--checkout--input-radius, 8px);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted:focus,
body.fcp-campaign-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.fcp-campaign-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted:focus,
body.labinerie-checkout-layout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.labinerie-checkout-layout .wc-block-components-radio-control-accordion-option--checked-option-highlighted:focus {
	border-color: var(--wp--preset--color--brand-red, #bc202c);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--brand-red, #bc202c);
}

body.woocommerce-checkout .wc-block-components-radio-control__label,
body.fcp-campaign-checkout .wc-block-components-radio-control__label,
body.labinerie-checkout-layout .wc-block-components-radio-control__label {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout .wc-block-components-radio-control__option-checked,
body.fcp-campaign-checkout .wc-block-components-radio-control__option-checked,
body.labinerie-checkout-layout .wc-block-components-radio-control__option-checked {
	border-color: var(--wp--preset--color--brand-red, #bc202c);
}

body.woocommerce-checkout .wc-block-components-payment-method-icons,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
body.fcp-campaign-checkout .wc-block-components-payment-method-icons,
body.fcp-campaign-checkout .wc-block-components-radio-control-accordion-content,
body.labinerie-checkout-layout .wc-block-components-payment-method-icons,
body.labinerie-checkout-layout .wc-block-components-radio-control-accordion-content {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
}

/* Totals recap typography in payment column */
body.woocommerce-checkout .labinerie-checkout-row-2 .wc-block-components-totals-item,
body.woocommerce-checkout .labinerie-checkout-row-2 .wc-block-components-totals-footer-item,
body.fcp-campaign-checkout .labinerie-checkout-row-2 .wc-block-components-totals-item,
body.fcp-campaign-checkout .labinerie-checkout-row-2 .wc-block-components-totals-footer-item,
body.labinerie-checkout-layout .labinerie-checkout-row-2 .wc-block-components-totals-item,
body.labinerie-checkout-layout .labinerie-checkout-row-2 .wc-block-components-totals-footer-item {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	color: var(--wp--preset--color--body-text, #141414);
}

/* Contact step login — WC renders this as a text link; match theme buttons. */
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading,
body.fcp-campaign-checkout #contact-fields .wc-block-components-checkout-step__heading,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

body.woocommerce-checkout .wc-block-checkout__login-prompt,
body.woocommerce-checkout .wc-block-checkout__login-prompt.wc-block-components-button,
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button,
body.fcp-campaign-checkout .wc-block-checkout__login-prompt,
body.fcp-campaign-checkout .wc-block-checkout__login-prompt.wc-block-components-button,
body.fcp-campaign-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button,
body.labinerie-checkout-layout .wc-block-checkout__login-prompt,
body.labinerie-checkout-layout .wc-block-checkout__login-prompt.wc-block-components-button,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto !important;
	min-height: 40px;
	padding: 8px 20px !important;
	border: 1px solid var(--wp--preset--color--accent-brown, #927263) !important;
	border-radius: 8px !important;
	background-color: var(--wp--preset--color--accent-brown, #927263) !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--background-beige, #f7f5ef) !important;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif) !important;
	font-size: var(--wp--preset--font-size--text-small, 1rem) !important;
	font-weight: 650 !important;
	line-height: 1.5 !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.woocommerce-checkout .wc-block-checkout__login-prompt .wc-block-components-button__text,
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button__text,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button__text,
body.fcp-campaign-checkout .wc-block-checkout__login-prompt .wc-block-components-button__text,
body.fcp-campaign-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button__text,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button__text,
body.labinerie-checkout-layout .wc-block-checkout__login-prompt .wc-block-components-button__text,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button__text,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button__text {
	color: inherit !important;
}

body.woocommerce-checkout .wc-block-checkout__login-prompt:hover,
body.woocommerce-checkout .wc-block-checkout__login-prompt:focus,
body.woocommerce-checkout .wc-block-checkout__login-prompt:focus-visible,
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:hover,
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:focus,
body.woocommerce-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:focus-visible,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:hover,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:focus-visible,
body.fcp-campaign-checkout .wc-block-checkout__login-prompt:hover,
body.fcp-campaign-checkout .wc-block-checkout__login-prompt:focus,
body.fcp-campaign-checkout .wc-block-checkout__login-prompt:focus-visible,
body.fcp-campaign-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:hover,
body.fcp-campaign-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:focus,
body.fcp-campaign-checkout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:focus-visible,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:hover,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:focus,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:focus-visible,
body.labinerie-checkout-layout .wc-block-checkout__login-prompt:hover,
body.labinerie-checkout-layout .wc-block-checkout__login-prompt:focus,
body.labinerie-checkout-layout .wc-block-checkout__login-prompt:focus-visible,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:hover,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:focus,
body.labinerie-checkout-layout #contact-fields .wc-block-components-checkout-step__heading .wc-block-components-button:focus-visible,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:hover,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:focus,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading .wc-block-components-button:focus-visible {
	background-color: #74594e !important;
	border-color: #74594e !important;
	box-shadow: 0 4px 12px rgba(146, 114, 99, 0.25) !important;
	color: var(--wp--preset--color--background-beige, #f7f5ef) !important;
}

/* Checkout actions — brand-red CTA + return-to-cart link */
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-button,
body.woocommerce-checkout .wc-block-checkout__actions_row button.wc-block-components-button,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-button,
body.fcp-campaign-checkout .wc-block-checkout__actions_row button.wc-block-components-button,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-button,
body.labinerie-checkout-layout .wc-block-checkout__actions_row button.wc-block-components-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 34px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background-color: var(--wp--preset--color--brand-red, #bc202c) !important;
	color: var(--wp--preset--color--background-beige, #f7f5ef) !important;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif) !important;
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem) !important;
	font-weight: 650 !important;
	line-height: 1.5 !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-button:focus,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-button:hover,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-button:focus,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-button:hover,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-button:focus {
	background-color: #9a1a24 !important;
	color: var(--wp--preset--color--background-beige, #f7f5ef) !important;
}

body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-button:not(.wc-block-components-button--link)::after,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-button:not(.wc-block-components-button--link)::after,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-button:not(.wc-block-components-button--link)::after {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: url('../images/checkout-arrow-right.svg') center / contain no-repeat;
}

body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button,
body.woocommerce-checkout .wc-block-checkout__actions_row a.wc-block-components-button--link,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button,
body.fcp-campaign-checkout .wc-block-checkout__actions_row a.wc-block-components-button--link,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button,
body.labinerie-checkout-layout .wc-block-checkout__actions_row a.wc-block-components-button--link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--wp--preset--color--brand-red, #bc202c) !important;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif) !important;
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem) !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	text-decoration: underline !important;
	text-underline-offset: 0.15em;
}

body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button:hover,
body.woocommerce-checkout .wc-block-checkout__actions_row a.wc-block-components-button--link:hover,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button:hover,
body.fcp-campaign-checkout .wc-block-checkout__actions_row a.wc-block-components-button--link:hover,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button:hover,
body.labinerie-checkout-layout .wc-block-checkout__actions_row a.wc-block-components-button--link:hover {
	background: transparent !important;
	color: #9a1a24 !important;
}

body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button::after,
body.woocommerce-checkout .wc-block-checkout__actions_row a.wc-block-components-button--link::after,
body.fcp-campaign-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button::after,
body.fcp-campaign-checkout .wc-block-checkout__actions_row a.wc-block-components-button--link::after,
body.labinerie-checkout-layout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button::after,
body.labinerie-checkout-layout .wc-block-checkout__actions_row a.wc-block-components-button--link::after {
	content: none;
}

/* Classic checkout fallback */
body.woocommerce-checkout form.checkout,
body.fcp-campaign-checkout form.checkout,
body.labinerie-checkout-layout form.checkout {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
}

body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout form.checkout #order_review,
body.fcp-campaign-checkout form.checkout #customer_details,
body.fcp-campaign-checkout form.checkout #order_review,
body.labinerie-checkout-layout form.checkout #customer_details,
body.labinerie-checkout-layout form.checkout #order_review {
	box-sizing: border-box;
	border-radius: var(--wp--custom--checkout--panel-radius, 20px);
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	padding: var(--wp--custom--checkout--panel-padding, 32px);
}

body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row textarea,
body.woocommerce-checkout form.checkout .form-row select,
body.fcp-campaign-checkout form.checkout .form-row input.input-text,
body.fcp-campaign-checkout form.checkout .form-row textarea,
body.fcp-campaign-checkout form.checkout .form-row select,
body.labinerie-checkout-layout form.checkout .form-row input.input-text,
body.labinerie-checkout-layout form.checkout .form-row textarea,
body.labinerie-checkout-layout form.checkout .form-row select {
	box-sizing: border-box;
	min-height: var(--wp--custom--checkout--input-height, 48px);
	padding: 0 16px;
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	border-radius: var(--wp--custom--checkout--input-radius, 8px);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	color: var(--wp--preset--color--body-text, #141414);
}

body.woocommerce-checkout form.checkout #place_order,
body.fcp-campaign-checkout form.checkout #place_order,
body.labinerie-checkout-layout form.checkout #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 12px 34px;
	border: 0;
	border-radius: 8px;
	background-color: var(--wp--preset--color--brand-red, #bc202c);
	color: var(--wp--preset--color--background-beige, #f7f5ef);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 650;
	line-height: 1.5;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

body.woocommerce-checkout form.checkout #place_order:hover,
body.woocommerce-checkout form.checkout #place_order:focus,
body.fcp-campaign-checkout form.checkout #place_order:hover,
body.fcp-campaign-checkout form.checkout #place_order:focus,
body.labinerie-checkout-layout form.checkout #place_order:hover,
body.labinerie-checkout-layout form.checkout #place_order:focus {
	background-color: #9a1a24;
}

@media (max-width: 768px) {
	body.woocommerce-checkout form.checkout #customer_details,
	body.woocommerce-checkout form.checkout #order_review,
	body.fcp-campaign-checkout form.checkout #customer_details,
	body.fcp-campaign-checkout form.checkout #order_review,
	body.labinerie-checkout-layout form.checkout #customer_details,
	body.labinerie-checkout-layout form.checkout #order_review {
		padding: var(--wp--custom--checkout--panel-padding-mobile, 20px);
	}
}

/**
 * Phase 6 — Fundraising campaign checkout parity.
 * Same panel/input system as Phase 4; campaign-specific POC fields and no date picker.
 *
 * @package LaBinerie
 */

/* Campaign-scoped checkout only — not main /checkout/ with Boutique principale active */
body.fcp-campaign-checkout.fcp-fundraising-no-shipping .labinerie-checkout-date,
body.fcp-campaign-checkout.fcp-fundraising-no-shipping .labinerie-checkout-row-1__date,
#fcp-campaign-main .labinerie-checkout-date,
#fcp-campaign-main .labinerie-checkout-row-1__date {
	display: none !important;
}

body.fcp-campaign-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
#fcp-campaign-main .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
	display: none !important;
}

body.fcp-campaign-checkout form.checkout .woocommerce-form-coupon-toggle,
body.fcp-campaign-checkout form.checkout .checkout_coupon,
#fcp-campaign-main form.checkout .woocommerce-form-coupon-toggle,
#fcp-campaign-main form.checkout .checkout_coupon {
	display: none !important;
}

/* Campaign main — inherit checkout tokens and panel flow inside plugin shell */
body.fcp-campaign-checkout #fcp-campaign-main .entry-content,
body.fcp-campaign-checkout #fcp-campaign-main .labinerie-checkout {
	width: 100%;
}

body.fcp-campaign-checkout #fcp-campaign-main .fcp-checkout-message--blocks {
	width: min(100%, var(--wp--style--global--content-size, 1100px));
	max-width: var(--wp--style--global--content-size, 1100px);
	margin-left: auto;
	margin-right: auto;
}

/* Classic checkout — point of contact and organization fields */
body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-poc,
body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-org-name,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-poc,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-org-name {
	width: 100%;
	float: none;
	clear: both;
	margin: 0 0 var(--wp--custom--checkout--row-gap, 24px);
}

body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-poc label,
body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-org-name label,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-poc label,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-org-name label {
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-poc input.input-text,
body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-org-name input.input-text,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-poc input.input-text,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-org-name input.input-text {
	width: 100%;
}

body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-org-name input[readonly],
#fcp-campaign-main form.checkout .form-row.fcp-checkout-org-name input[readonly] {
	cursor: default;
	opacity: 0.92;
}

body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-poc input:focus,
body.fcp-campaign-checkout form.checkout .form-row.fcp-checkout-org-name input:focus,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-poc input:focus,
#fcp-campaign-main form.checkout .form-row.fcp-checkout-org-name input:focus {
	outline: 2px solid var(--wp--preset--color--brand-red, #bc202c);
	outline-offset: 2px;
}

/* Block checkout — POC help text below the order fields section */
body.fcp-campaign-checkout .fcp-checkout-poc-help,
#fcp-campaign-main .fcp-checkout-poc-help {
	margin: 0.75rem 0 0;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.fcp-campaign-checkout #order-fields .wc-block-components-validation-error {
	margin-top: 0.5rem;
}

/* Campaign checkout messages — panel chrome (classic + block footer mirror) */
body.fcp-campaign-checkout .fcp-checkout-message,
#fcp-campaign-main .fcp-checkout-message {
	box-sizing: border-box;
	margin: 0 0 var(--wp--custom--checkout--row-gap, 24px);
	padding: var(--wp--custom--checkout--panel-padding, 32px);
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	border-radius: var(--wp--custom--checkout--panel-radius, 20px);
	background-color: var(--wp--preset--color--background-beige, #f7f5ef);
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--text-medium, 1.125rem);
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--body-text, #141414);
}

body.fcp-campaign-checkout .fcp-checkout-message.woocommerce-info::before,
#fcp-campaign-main .fcp-checkout-message.woocommerce-info::before {
	display: none;
}

body.fcp-campaign-checkout .fcp-checkout-message.woocommerce-info,
#fcp-campaign-main .fcp-checkout-message.woocommerce-info {
	border-top-color: var(--wp--preset--color--accent-brown, #927263);
}

body.fcp-campaign-checkout .fcp-checkout-message--blocks,
#fcp-campaign-main .fcp-checkout-message--blocks {
	max-width: var(--wp--style--global--content-size, 1100px);
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	body.fcp-campaign-checkout .fcp-checkout-message,
	#fcp-campaign-main .fcp-checkout-message {
		padding: var(--wp--custom--checkout--panel-padding-mobile, 20px);
	}
}

/* Points & Rewards cart/checkout messages */
.wc_points_redeem_earn_points.processing {
	opacity: 0.6;
	pointer-events: none;
}

.wc_points_rewards_earn_points[hidden],
.wc_points_redeem_earn_points[hidden] {
	display: none !important;
}

.wc_points_redeem_earn_points .wc_points_rewards_apply_discount {
	margin-left: 0.5rem;
}

/* Points redemption — checkout totals (classic + block) */
.labinerie-points-checkout {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.post-content p.labinerie-points-checkout__message,
.entry-content.wp-block-post-content p.labinerie-points-checkout__message,
.labinerie-points-checkout > p.labinerie-points-checkout__message {
	font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.35;
	margin-block: 0;
	margin-bottom: 0;
}

.labinerie-points-checkout__row,
.labinerie-points-checkout__form {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	width: 100%;
}

.labinerie-points-checkout__input {
	border: 1px solid var(--wp--preset--color--accent-brown, #927263);
	border-radius: var(--wp--custom--checkout--input-radius, 8px);
	flex: 1 1 8rem;
	font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1rem);
	line-height: 1.5;
	min-height: var(--wp--custom--checkout--input-height, 48px);
	min-width: 0;
	padding: 12px;
	width: auto;
}

.labinerie-points-checkout__apply,
.labinerie-points-block-checkout .wc_points_rewards_apply_discount {
	background: var(--wp--preset--color--brand-red, #bc202c);
	border: 0;
	border-radius: 8px;
	color: var(--wp--preset--color--background-beige, #f7f5ef);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: var(--wp--preset--font-family--futura-std, 'Futura Std', sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1rem);
	line-height: 1.5;
	padding: 8px 30px;
	white-space: nowrap;
}

.labinerie-points-block-checkout {
	margin-bottom: 0;
	width: 100%;
}

.wc-block-components-totals-wrapper .labinerie-checkout-redemptions {
	border-top: 1px solid var(--wp--preset--color--accent-brown, #927263);
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 16px;
	padding-top: 16px;
	width: 100%;
}

.labinerie-points-block-checkout__title {
	font-family: var(--wp--preset--font-family--roboto, 'Roboto', sans-serif);
	font-size: var(--wp--preset--font-size--normal, 1rem);
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 8px;
}

.labinerie-points-checkout-row th {
	vertical-align: top;
}

/**
 * Hide shipping method/calculator UI and express checkout on cart + checkout.
 * Marker: labinerie-hide-shipping-and-express
 *
 * Shipping cost lines stay visible so totals still add up.
 *
 * @package LaBinerie
 */

.wp-block-woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
.wp-block-woocommerce-cart .wc-block-components-express-payment--cart,
.wp-block-woocommerce-checkout .wc-block-checkout__express-payment,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
body.page-cart .wp-block-woocommerce-cart-express-payment-block,
body.fcp-campaign-cart .wp-block-woocommerce-cart-express-payment-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block,
body.labinerie-checkout-layout .wp-block-woocommerce-checkout-express-payment-block,
body.fcp-campaign-checkout .wp-block-woocommerce-checkout-express-payment-block,
.wp-block-woocommerce-cart .wc-block-components-express-payment,
.wp-block-woocommerce-checkout .wc-block-components-express-payment,
.wp-block-woocommerce-checkout .wc-block-components-express-payment--checkout,
.wp-block-woocommerce-cart .wc-block-components-express-payment-continue-rule,
.wp-block-woocommerce-checkout .wc-block-components-express-payment-continue-rule,
body.woocommerce-cart .wc-block-components-express-payment,
body.woocommerce-checkout .wc-block-components-express-payment,
body.labinerie-checkout-layout .wc-block-components-express-payment,
body.fcp-campaign-cart .wc-block-components-express-payment,
body.fcp-campaign-checkout .wc-block-components-express-payment,
.wp-block-woocommerce-cart .wc-block-components-shipping-calculator,
.wp-block-woocommerce-cart .woocommerce-shipping-calculator,
.wp-block-woocommerce-cart #shipping_method,
.wp-block-woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-shipping-rates-control,
.wp-block-woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-radio-control,
.wp-block-woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-shipping-address,
.wp-block-woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-shipping__change-address-button,
.wp-block-woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-shipping__change-address__link,
body.woocommerce-cart .woocommerce-shipping-calculator,
body.woocommerce-cart .shipping-calculator-form,
body.woocommerce-cart #shipping_method,
body.page-cart .woocommerce-shipping-calculator,
body.page-cart .shipping-calculator-form,
body.page-cart #shipping_method,
body.fcp-campaign-cart .woocommerce-shipping-calculator,
body.fcp-campaign-cart #shipping_method,
body.fcp-campaign-cart .wc-block-components-express-payment-continue-rule,
body.fcp-campaign-checkout .wc-block-components-express-payment-continue-rule {
	display: none !important;
}

body.labinerie-checkout-date-owns-shipping .wc-block-components-address-form__labinerie-pickup-date,
body.labinerie-checkout-date-owns-shipping #order-labinerie-pickup-date,
body.labinerie-checkout-date-owns-shipping .wp-block-woocommerce-checkout-additional-information-block:not(:has(.wc-block-components-text-input:not(.wc-block-components-address-form__labinerie-pickup-date))) {
	display: none !important;
}

body.labinerie-checkout-date-owns-shipping .wp-block-woocommerce-checkout-shipping-method-block,
body.labinerie-checkout-date-owns-shipping .wp-block-woocommerce-checkout-shipping-methods-block,
body.labinerie-checkout-date-owns-shipping .wp-block-woocommerce-checkout-pickup-options-block,
body.labinerie-checkout-date-owns-shipping #shipping-option,
body.labinerie-checkout-date-owns-shipping .wc-block-checkout__shipping-option,
body.labinerie-checkout-date-owns-shipping .wc-block-components-shipping-rates-control,
body.labinerie-checkout-date-owns-shipping .wc-block-components-totals-shipping .wc-block-components-shipping-calculator,
body.labinerie-checkout-date-owns-shipping .wc-block-components-totals-shipping .wc-block-components-shipping-rates-control,
body.labinerie-checkout-date-owns-shipping .wc-block-components-totals-shipping .wc-block-components-radio-control,
body.labinerie-checkout-date-owns-shipping #shipping_method,
body.labinerie-checkout-date-owns-shipping .woocommerce-shipping-calculator,
body.labinerie-checkout-date-owns-shipping .woocommerce-shipping-methods {
	display: none !important;
}
