/*
 * Maison Bise — WooCommerce styles.
 * Loaded after WooCommerce's own stylesheets and overrides them.
 *
 *  1. Notices, breadcrumb, headers    5. Cart
 *  2. Product grid and cards          6. Checkout
 *  3. Single product                  7. My account
 *  4. Forms, quantity, buttons        8. Mini-cart drawer   9. Blocks
 */

/* 1. Notices, breadcrumb, headers ----------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
	border: 0;
	border-left: 2px solid var(--mb-black);
	background: var(--mb-ivory);
	color: var(--mb-black);
	font-size: var(--mb-fs-sm);
	list-style: none;
}
.woocommerce .woocommerce-error { border-left-color: var(--mb-sale); }
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before { display: none; }
.woocommerce .woocommerce-message::after,
.woocommerce .woocommerce-info::after { display: none; }
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button { order: 2; float: none; min-height: 40px; padding: .6rem 1.2rem; }

.mb-breadcrumb.woocommerce-breadcrumb {
	margin: 0 0 1.75rem;
	font-size: var(--mb-fs-xs);
	letter-spacing: .06em;
	color: var(--mb-grey);
}
.mb-breadcrumb a { color: var(--mb-grey); text-decoration: none; }
.mb-breadcrumb a:hover { color: var(--mb-black); text-decoration: underline; text-decoration-color: var(--mb-sand); }
.mb-crumb-sep { margin: 0 .55rem; color: var(--mb-line); }

.woocommerce-products-header { margin: 0 0 2rem; }
.woocommerce-products-header__title.page-title { margin: 0; font-size: var(--mb-fs-2xl); }
.woocommerce-products-header .term-description { max-width: 60ch; margin-top: .75rem; color: var(--mb-grey); }
.woocommerce-products-header .term-description p:last-child { margin: 0; }

.mb-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0 0 2rem;
	padding: .75rem 0;
	border-block: 1px solid var(--mb-line);
}
.mb-shop-toolbar .woocommerce-result-count { margin: 0 auto 0 0; float: none; font-size: var(--mb-fs-sm); color: var(--mb-grey); }
.mb-shop-toolbar .woocommerce-ordering { margin: 0; float: none; }
.mb-shop-toolbar .woocommerce-ordering select { min-height: 40px; width: auto; padding-block: .4rem; border-color: transparent; font-size: var(--mb-fs-sm); }
.mb-shop-toolbar .woocommerce-ordering select:hover { border-color: var(--mb-line); }
.mb-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 40px;
	padding: 0 1rem 0 0;
	border: 0;
	background: none;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: var(--mb-track);
	text-transform: uppercase;
}

/* 2. Product grid and cards ------------------------------------------------ */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
@media (min-width: 768px) {
	.woocommerce ul.products { gap: 3rem 1.5rem; }
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.woocommerce ul.products.columns-4,
	.woocommerce ul.products.columns-5,
	.woocommerce ul.products.columns-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.woocommerce ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	text-align: left;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; }

.mb-product-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	margin-bottom: .9rem;
	background: var(--mb-ivory);
}
.woocommerce ul.products li.product .mb-product-media img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: opacity .6s var(--mb-ease), transform 1.2s var(--mb-ease);
}
.mb-product-media__alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
	li.product:hover .mb-product-media__alt { opacity: 1; }
	li.product:hover .mb-product-media img:first-of-type { transform: scale(1.02); }
}

.woocommerce span.onsale,
.mb-badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	right: auto;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: .3rem .6rem;
	border-radius: 0;
	background: var(--mb-white);
	color: var(--mb-sale);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 .3rem;
	padding: 0;
	font-family: var(--mb-font-body);
	font-size: .95rem;
	font-weight: 400;
	line-height: 1.4;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { text-decoration: underline; text-decoration-color: var(--mb-sand); text-underline-offset: .25em; }
.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 .75rem;
	color: var(--mb-black);
	font-size: .9rem;
	font-weight: 400;
}
.woocommerce ul.products li.product .star-rating { margin: 0 0 .4rem; font-size: .7rem; }
.woocommerce ul.products li.product .button {
	align-self: flex-start;
	margin-top: auto;
	min-height: 40px;
	padding: .6rem 1.1rem;
	background: transparent;
	color: var(--mb-black);
	font-size: .7rem;
}
.woocommerce ul.products li.product .button:hover { background: var(--mb-black); color: var(--mb-white); }
.woocommerce ul.products li.product .button.loading { opacity: .6; }
.woocommerce ul.products li.product .button.loading::after { display: none; }
.woocommerce ul.products li.product .added_to_cart { display: inline-block; margin-top: .5rem; font-size: var(--mb-fs-xs); text-decoration: underline; }

/* Prices */
.woocommerce .price del,
.woocommerce .price del .amount { color: var(--mb-grey); opacity: 1; font-weight: 300; }
.woocommerce .price ins { text-decoration: none; color: var(--mb-sale); font-weight: 500; }
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: var(--mb-black); }
.woocommerce p.stars a { color: var(--mb-black); }

/* Category tiles in loops */
.woocommerce ul.products li.product-category a { text-decoration: none; }
.woocommerce ul.products li.product-category img { aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: .75rem; }
.woocommerce ul.products li.product-category h2 { font-family: var(--mb-font-heading); font-size: var(--mb-fs-lg); font-weight: 500; padding: 0; }
.woocommerce ul.products li.product-category mark { background: none; color: var(--mb-grey); font-size: .7em; }

.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .75rem;
	border: 1px solid transparent;
	font-size: var(--mb-fs-sm);
}
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--mb-black); background: none; color: var(--mb-black); }
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus { border-color: var(--mb-line); background: none; color: var(--mb-black); }

/* 3. Single product -------------------------------------------------------- */
.woocommerce div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}
.woocommerce div.product > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 5rem); }
	.woocommerce div.product > div.images { grid-column: 1; }
	.woocommerce div.product > div.summary { grid-column: 2; position: sticky; top: calc(var(--mb-header-h) + 2.5rem); align-self: start; }
}
/* The #content variants match WooCommerce's own layout selectors (main has id="content"). */
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce #content div.product div.images,
.woocommerce #content div.product div.summary,
.woocommerce-page #content div.product div.images,
.woocommerce-page #content div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}
.woocommerce div.product > span.onsale { top: 1rem; left: 1rem; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product div.images img { background: var(--mb-ivory); }
.woocommerce div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: .5rem;
	margin-top: .5rem;
}
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { opacity: .55; transition: opacity .25s var(--mb-ease); aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: 1rem;
	right: 1rem;
	width: 44px;
	height: 44px;
	border-radius: 0;
	background: var(--mb-white);
}

.woocommerce div.product .product_title {
	margin: 0 0 .75rem;
	font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
	line-height: 1.05;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin: 0 0 1.5rem;
	color: var(--mb-black);
	font-size: 1.25rem;
	font-weight: 400;
}
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 1rem; font-size: var(--mb-fs-sm); }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 1.75rem; color: #3d3d3d; line-height: 1.75; }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.5rem; }
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 14rem;
	float: none;
	min-height: 52px;
}
.woocommerce div.product form.variations_form { display: block; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 1rem; border: 0; }
.woocommerce div.product form.cart .variations tr { display: grid; gap: .4rem; margin-bottom: 1rem; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; padding: 0; border: 0; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-size: .75rem; letter-spacing: var(--mb-track); text-transform: uppercase; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: .5rem; font-size: var(--mb-fs-xs); }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: .75rem; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 1rem; }
.woocommerce div.product .stock { font-size: var(--mb-fs-sm); color: var(--mb-grey); }
.woocommerce div.product .stock.out-of-stock { color: var(--mb-sale); }

.mb-pay--single { margin: 0 0 1.75rem; }
.mb-pay--single .mb-pay__title { color: var(--mb-grey); }

.mb-trust {
	display: grid;
	gap: 0;
	margin: 0 0 1.75rem;
	padding: 0;
	border-top: 1px solid var(--mb-line);
	list-style: none;
}
.mb-trust__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--mb-line);
}
.mb-trust__item .mb-icon { margin-top: .1rem; color: var(--mb-black); }
.mb-trust__title { margin: 0 0 .2rem; font-size: .75rem; font-weight: 500; letter-spacing: var(--mb-track); text-transform: uppercase; }
.mb-trust__text { margin: 0; font-size: var(--mb-fs-sm); color: var(--mb-grey); line-height: 1.55; }

.woocommerce div.product .product_meta { display: grid; gap: .35rem; font-size: var(--mb-fs-xs); color: var(--mb-grey); }
.woocommerce div.product .product_meta a { color: var(--mb-black); }

.woocommerce div.product .woocommerce-tabs { margin-top: 3rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2rem;
	margin: 0 0 2rem;
	padding: 0;
	border-bottom: 1px solid var(--mb-line);
	overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: .9rem 0;
	border-bottom: 1px solid transparent;
	margin-bottom: -1px;
	color: var(--mb-grey);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: var(--mb-track);
	text-transform: uppercase;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mb-black); border-bottom-color: var(--mb-black); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--mb-black); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 72ch; margin: 0; line-height: 1.75; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { padding: .8rem 0; border: 0; border-bottom: 1px solid var(--mb-line); background: none !important; font-style: normal; }
.woocommerce table.shop_attributes th { width: 35%; font-weight: 500; }
.woocommerce table.shop_attributes td p { padding: 0; }

.woocommerce #reviews #comments ol.commentlist li .comment-text { border-radius: 0; border-color: var(--mb-line); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border: 0; border-radius: 50%; background: var(--mb-ivory); }

.woocommerce .related.products,
.woocommerce .upsells.products { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--mb-line); }
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2,
.woocommerce .cross-sells > h2 { margin-bottom: 2rem; font-size: var(--mb-fs-xl); }

/* 4. Forms, quantity, buttons ---------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page a.button,
.mb-minicart .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .9rem 1.75rem;
	border: 1px solid var(--mb-black);
	border-radius: 0;
	background: var(--mb-black);
	color: var(--mb-white);
	font-family: var(--mb-font-body);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: var(--mb-track-wide);
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .25s var(--mb-ease), color .25s var(--mb-ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.mb-minicart .button.checkout:hover {
	background: var(--mb-white);
	color: var(--mb-black);
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled {
	padding: .9rem 1.75rem;
	background: var(--mb-black);
	color: var(--mb-white);
	opacity: .35;
}

.woocommerce .quantity .qty,
.mb-qty .qty {
	width: 3.5rem;
	min-height: 48px;
	padding: 0;
	text-align: center;
	-moz-appearance: textfield;
}
.mb-qty .qty::-webkit-outer-spin-button,
.mb-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mb-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--mb-line); }
.mb-qty .qty { border: 0; }
.mb-qty .qty:focus-visible { box-shadow: inset 0 0 0 1px var(--mb-black); }
.mb-qty__btn {
	width: 40px;
	min-height: 46px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 1.1rem;
	line-height: 1;
}
.mb-qty__btn:hover { background: var(--mb-ivory); }

.woocommerce form .form-row { margin: 0 0 1rem; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: .35rem; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--mb-sale); text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select { border-color: var(--mb-sale); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--mb-line); }
.woocommerce form .form-row .input-checkbox { margin-right: .5rem; }
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input { top: 50%; transform: translateY(-50%); right: 1rem; }

.select2-container .select2-selection--single { height: 48px; border: 1px solid var(--mb-line); border-radius: 0; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 1rem; color: var(--mb-black); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: .5rem; }
.select2-dropdown { border-color: var(--mb-line); border-radius: 0; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--mb-black); }

/* 5. Cart ------------------------------------------------------------------ */
.woocommerce table.shop_table {
	margin: 0 0 2rem;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}
.woocommerce table.shop_table th {
	padding: .9rem .75rem;
	border-bottom: 1px solid var(--mb-black);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: var(--mb-track);
	text-transform: uppercase;
}
.woocommerce table.shop_table td { padding: 1.25rem .75rem; border-top: 0; border-bottom: 1px solid var(--mb-line); }
.woocommerce table.shop_table td.product-thumbnail img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mb-ivory); }
.woocommerce table.shop_table td.product-name a { font-weight: 400; text-decoration: none; }
.woocommerce table.shop_table td.product-name a:hover { text-decoration: underline; text-decoration-color: var(--mb-sand); }
.woocommerce a.remove {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 0;
	color: var(--mb-grey) !important;
	font-size: 1.25rem;
	font-weight: 300;
}
.woocommerce a.remove:hover { background: var(--mb-ivory); color: var(--mb-sale) !important; }
.woocommerce table.cart td.actions { padding-top: 1.5rem; }
.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: .5rem; }
.woocommerce table.cart td.actions .coupon .input-text { width: 14rem; min-height: 48px; margin: 0; padding: .75rem 1rem; border-color: var(--mb-line); }
.woocommerce table.cart td.actions > .button { background: transparent; color: var(--mb-black); }
.woocommerce table.cart td.actions > .button:hover { background: var(--mb-black); color: var(--mb-white); }

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	max-width: 28rem;
	margin-left: auto;
	padding: 2rem;
	background: var(--mb-ivory);
}
.woocommerce .cart-collaterals .cart_totals h2 { font-size: var(--mb-fs-lg); }
.woocommerce .cart_totals table.shop_table th { border-bottom: 1px solid var(--mb-line); font-size: var(--mb-fs-sm); letter-spacing: 0; text-transform: none; font-weight: 400; }
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td { font-size: 1.1rem; font-weight: 500; border-bottom: 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 54px; margin-bottom: .5rem; font-size: .75rem; }
.woocommerce .cart-collaterals .cross-sells { float: none; width: 100%; }
.woocommerce .cart-empty.woocommerce-info { justify-content: center; padding: 3rem 1rem; border: 0; background: none; font-family: var(--mb-font-heading); font-size: var(--mb-fs-xl); text-align: center; }
.woocommerce .return-to-shop { text-align: center; }

@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td { padding: .6rem 0; background: none !important; }
	.woocommerce table.shop_table_responsive tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--mb-line); }
	.woocommerce table.shop_table_responsive tr td { border: 0; }
	.woocommerce .cart-collaterals .cart_totals { padding: 1.5rem; }
}

/* 6. Checkout -------------------------------------------------------------- */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { justify-content: flex-start; }
@media (min-width: 1024px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 0 4rem;
		align-items: start;
	}
	.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; }
	.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 2 / span 3; }
	.woocommerce-checkout form.checkout > #order_review_heading,
	.woocommerce-checkout form.checkout > #order_review { grid-column: 2; }
	.woocommerce-checkout form.checkout > #order_review { position: sticky; top: calc(var(--mb-header-h) + 1.5rem); }
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 2rem; }
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading { margin: 0 0 1.25rem; font-size: var(--mb-fs-lg); }
.woocommerce-checkout #order_review_heading { padding: 2rem 2rem 0; margin: 0; background: var(--mb-ivory); }
.woocommerce-checkout #order_review { padding: 1.25rem 2rem 2rem; background: var(--mb-ivory); }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { font-size: var(--mb-fs-sm); }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td { font-size: 1.05rem; font-weight: 500; }

.woocommerce-checkout #payment,
.woocommerce #payment { border-radius: 0; background: transparent; }
.woocommerce #payment ul.payment_methods { padding: 0 0 1rem; border-bottom: 1px solid var(--mb-line); }
.woocommerce #payment ul.payment_methods li { padding: .6rem 0; line-height: 1.5; }
.woocommerce #payment ul.payment_methods li label { font-weight: 500; }
.woocommerce #payment ul.payment_methods li img { display: inline-block; max-height: 24px; margin-left: .5rem; vertical-align: middle; }
.woocommerce #payment div.payment_box {
	margin: .75rem 0 0;
	padding: 1rem;
	border-radius: 0;
	background: var(--mb-white);
	color: var(--mb-black);
	font-size: var(--mb-fs-sm);
}
.woocommerce #payment div.payment_box::before { border-bottom-color: var(--mb-white); }
.woocommerce #payment div.form-row { padding: 1rem 0 0; }
.woocommerce #payment #place_order { float: none; width: 100%; min-height: 56px; }
.mb-pay--checkout { margin-top: 1rem; }
.mb-pay--checkout .mb-pay__list { justify-content: center; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--mb-fs-xs); color: var(--mb-grey); }

.woocommerce-order .woocommerce-thankyou-order-received { font-family: var(--mb-font-heading); font-size: var(--mb-fs-xl); line-height: 1.2; }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 2rem 0; padding: 1.5rem; background: var(--mb-ivory); }
.woocommerce ul.order_details::before, .woocommerce ul.order_details::after { display: none; }
.woocommerce ul.order_details li { margin: 0; padding: 0; border: 0; font-size: .7rem; letter-spacing: var(--mb-track); text-transform: uppercase; }
.woocommerce ul.order_details li strong { margin-top: .3rem; font-size: var(--mb-fs-sm); letter-spacing: 0; text-transform: none; }

/* 7. My account ------------------------------------------------------------ */
@media (min-width: 900px) {
	.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		display: grid;
		grid-template-columns: 15rem minmax(0, 1fr);
		gap: 4rem;
	}
	.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
}
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-MyAccount-navigation ul { margin: 0 0 2rem; padding: 0; list-style: none; border-top: 1px solid var(--mb-line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--mb-line); }
.woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 48px;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: var(--mb-track);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--mb-grey);
}
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a { color: var(--mb-black); }
.woocommerce-MyAccount-navigation .is-active a { box-shadow: inset 2px 0 0 var(--mb-black); padding-left: 1rem; }
.woocommerce-MyAccount-content > p:first-child { font-size: var(--mb-fs-md); }
.woocommerce-account .addresses .title h2,
.woocommerce-account .addresses .title h3 { font-size: var(--mb-fs-lg); }

.woocommerce #customer_login { gap: 3rem; }
@media (min-width: 900px) {
	.woocommerce #customer_login.col2-set { display: grid; grid-template-columns: 1fr 1fr; }
}
.woocommerce #customer_login h2 { font-size: var(--mb-fs-xl); }
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout_coupon,
.woocommerce form.lost_reset_password {
	margin: 0 0 2rem;
	padding: 2rem;
	border: 1px solid var(--mb-line);
	border-radius: 0;
}
.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: .5rem; margin: 0 1rem 1rem 0; font-weight: 400; }
.woocommerce .lost_password a { font-size: var(--mb-fs-sm); }

/* 8. Mini-cart drawer ------------------------------------------------------ */
.mb-minicart .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.mb-minicart .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 76px 1fr;
	grid-template-rows: auto auto;
	column-gap: 1rem;
	padding: 1.1rem 2.25rem 1.1rem 0;
	border-bottom: 1px solid var(--mb-line);
	font-size: var(--mb-fs-sm);
}
.mb-minicart .woocommerce-mini-cart-item > a:not(.remove) {
	display: contents;
	font-weight: 400;
	text-decoration: none;
}
.mb-minicart .woocommerce-mini-cart-item img {
	grid-row: 1 / span 3;
	width: 76px;
	height: auto;
	aspect-ratio: 4 / 5;
	margin: 0;
	float: none;
	object-fit: cover;
	background: var(--mb-ivory);
}
.mb-minicart .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--mb-grey); font-size: var(--mb-fs-sm); }
.mb-minicart .woocommerce-mini-cart-item dl.variation { grid-column: 2; margin: .25rem 0; font-size: var(--mb-fs-xs); color: var(--mb-grey); }
.mb-minicart .woocommerce-mini-cart-item dl.variation dt,
.mb-minicart .woocommerce-mini-cart-item dl.variation dd { display: inline; margin: 0; }
.mb-minicart .woocommerce-mini-cart-item dl.variation dd p { display: inline; margin: 0; }
.mb-minicart a.remove { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--mb-grey); font-size: 1.25rem; font-weight: 300; text-decoration: none; }
.mb-minicart a.remove:hover { background: var(--mb-ivory); color: var(--mb-sale); }
.mb-minicart .woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: .9rem;
	right: 0;
	left: auto;
}
.mb-minicart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 1.25rem 0 1rem;
	font-size: var(--mb-fs-md);
}
.mb-minicart .woocommerce-mini-cart__total strong { font-weight: 400; }
.mb-minicart .woocommerce-mini-cart__buttons { display: grid; gap: .5rem; margin: 0; }
.mb-minicart .woocommerce-mini-cart__buttons .button { width: 100%; margin: 0; }
.mb-minicart .woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--mb-black); }
.mb-minicart .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--mb-black); color: var(--mb-white); }
.mb-minicart .woocommerce-mini-cart__empty-message {
	padding: 3rem 0;
	font-family: var(--mb-font-heading);
	font-size: var(--mb-fs-lg);
	text-align: center;
}
.mb-minicart.is-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }
.mb-minicart__ship { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 .9rem; font-size: var(--mb-fs-xs); color: var(--mb-grey); line-height: 1.5; }
.mb-minicart__ship .mb-icon { color: var(--mb-black); }

/* 9. Blocks (Cart and Checkout blocks) ------------------------------------- */
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 52px;
	border-radius: 0 !important;
	background: var(--mb-black) !important;
	color: var(--mb-white) !important;
	font-family: var(--mb-font-body);
	font-size: .75rem !important;
	font-weight: 500;
	letter-spacing: var(--mb-track-wide);
	text-transform: uppercase;
}
.wc-block-components-button:not(.is-link):hover { opacity: .85; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 0 !important; border-color: var(--mb-line) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { background: var(--mb-ivory); padding: 1.5rem; }
.wc-block-components-title.wc-block-components-title { font-family: var(--mb-font-heading); font-weight: 500; }
.wc-block-components-product-name { text-decoration: none; }
.wc-block-components-radio-control__option { font-size: var(--mb-fs-sm); }
