/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Shared type and spacing polish */
body.brx-body {
	font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #111827;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

#brx-content h1,
#brx-content h2,
#brx-content h3 {
	font-family: inherit;
	color: #111827;
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.2;
}

#brx-content h1 {
	font-size: clamp(30px, 3vw, 36px);
}

#brx-content h2 {
	font-size: 28px;
}

#brx-content h3 {
	font-size: 20px;
}

#brx-content .spree-archive-heading h1,
#brx-content .spree-section-heading h2,
#brx-content .spree-wholesale h2 {
	font-size: 24px;
}

#brx-content .spree-product-card h3 {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
}

#brx-content .spree-footer-brand h2 {
	font-size: 20px;
}

.spree-product-card h3 a,
.spree-section-heading a,
.spree-category-group a {
	text-underline-offset: 3px;
}

.spree-product-card-price {
	font-size: 17px;
	font-weight: 600;
}

/* Product pages: one clear title, compact breadcrumb, balanced gallery */
body.single-product #brx-content > .brxe-section:first-child {
	padding-block: 14px 18px;
}

body.single-product #brx-content > .brxe-section:first-child > .brxe-container {
	box-sizing: border-box;
	min-height: 0;
	padding-block: 0;
}

body.single-product #brx-content > .brxe-section:first-child .brxe-product-title {
	display: none;
}

body.single-product #brx-content > .brxe-section:first-child .brxe-woocommerce-breadcrumbs {
	font-size: 13px;
	line-height: 1.5;
}

body.single-product #brx-content > .brxe-section:has(.woocommerce-notices-wrapper:empty) {
	display: none;
}

body.single-product #brx-content > .brxe-section:has(.brxe-product-gallery) > .brxe-container {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1200px);
	margin-inline: auto;
	grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
	align-items: start;
	gap: clamp(32px, 5vw, 64px);
}

body.single-product .brxe-product-gallery img {
	border-radius: 8px;
}

body.single-product .brxe-product-title {
	font-size: clamp(28px, 3vw, 34px);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1.16;
}

body.single-product .summary .price,
body.single-product .brxe-product-price,
body.single-product div.product p.price,
body.single-product div.product span.price {
	font-size: 25px;
	font-weight: 600;
	letter-spacing: -.02em;
}

body.single-product .summary .woocommerce-product-details__short-description,
body.single-product .brxe-product-short-description {
	color: #4b5563;
	font-size: 16px;
	line-height: 1.65;
}

body.single-product .variations_form,
body.single-product form.cart {
	margin-top: 24px;
}

body.single-product .woocommerce-tabs,
body.single-product .related.products {
	width: min(calc(100% - 48px), 1200px);
	margin-inline: auto;
}

/* Store policy pages */
body.page-child.page-template-default #brx-content > .brxe-section {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(48px, 7vw, 80px) 0 clamp(72px, 10vw, 112px);
}

body.page-child.page-template-default #brx-content > .brxe-section > .brxe-container {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 780px);
	max-width: 780px;
	margin-inline: auto;
}

body.page-child.page-template-default #brx-content h1 {
	margin: 0 0 24px;
	font-size: 32px;
}

body.page-child.page-template-default #brx-content .brxe-text-basic {
	color: #4b5563;
	font-size: 16px;
	line-height: 1.75;
}

/* Customer account forms */
body.woocommerce-account:not(.logged-in) #brx-content > .brxe-section {
	box-sizing: border-box;
	width: 100%;
	padding: 48px 0 80px;
}

body.woocommerce-account:not(.logged-in) #brx-content > .brxe-section > .brxe-container {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 880px);
	max-width: 880px;
	margin-inline: auto;
}

body.woocommerce-account:not(.logged-in) #brx-content .brxe-block.brx-grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

body.woocommerce-account:not(.logged-in) #brx-content .brxe-block.brx-grid > .brxe-block:not(:has(form)) {
	display: none;
}

body.woocommerce-account:not(.logged-in) #brx-content .brxe-block:has(> form.woocommerce-form-login) {
	box-sizing: border-box;
	width: 100%;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

body.woocommerce-account:not(.logged-in) #brx-content .brxe-block:has(> form.woocommerce-form-login) h3 {
	margin: 0 0 22px;
	font-size: 22px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-group {
	margin: 0 0 16px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login label {
	margin: 0 0 7px;
	font-size: 13px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login input.input-text {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	font: inherit;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .woocommerce-form__label-for-checkbox {
	margin: 0 0 16px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login button.button {
	min-width: 140px;
	min-height: 48px;
	border-radius: 4px;
	background: #111827;
	font-size: 14px;
	font-weight: 500;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login .lost_password {
	margin: 14px 0 0;
	font-size: 13px;
}

/* WooCommerce cart */
body.woocommerce-cart #brx-content > .brxe-section {
	box-sizing: border-box;
	width: 100%;
	padding: 30px 0 72px;
}

body.woocommerce-cart #brx-content > .brxe-section > .brxe-container {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px);
	max-width: 1120px;
	margin-inline: auto;
}

body.woocommerce-cart #brx-content > .brxe-section > .brxe-container > .brxe-shortcode,
body.woocommerce-cart #brx-content > .brxe-section > .brxe-container > .brxe-shortcode > .woocommerce {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

body.woocommerce-cart #brx-content .woocommerce .brxe-section,
body.woocommerce-cart #brx-content .woocommerce .brxe-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

body.woocommerce-cart .spree-cart-title {
	margin: 0 0 22px;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -.03em;
}

body.woocommerce-cart .woocommerce-cart-form {
	width: 100%;
	margin: 0;
}

body.woocommerce-cart .woocommerce-cart-form h2:empty {
	display: none;
}

body.woocommerce-cart table.cart {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

body.woocommerce-cart table.cart thead th {
	padding: 14px 12px;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
}

body.woocommerce-cart table.cart tbody td,
body.woocommerce-cart table.cart tbody th {
	padding: 18px 12px;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle;
	font-size: 14px;
}

body.woocommerce-cart table.cart .product-remove {
	width: 32px;
	padding-left: 0;
}

body.woocommerce-cart table.cart .remove {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #6b7280 !important;
	font-size: 20px;
	text-decoration: none;
}

body.woocommerce-cart table.cart .product-thumbnail {
	width: 88px;
}

body.woocommerce-cart table.cart .product-thumbnail img {
	width: 72px;
	height: 72px;
	display: block;
	object-fit: cover;
	border-radius: 6px;
}

body.woocommerce-cart table.cart .product-name {
	font-size: 15px;
	font-weight: 500;
}

body.woocommerce-cart table.cart .product-name a {
	color: #111827;
	text-decoration: none;
}

body.woocommerce-cart table.cart .product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-cart table.cart .quantity {
	width: auto;
	max-width: 126px;
}

body.woocommerce-cart table.cart .quantity .qty {
	width: 54px;
	min-height: 40px;
	padding: 6px;
	text-align: center;
}

body.woocommerce-cart table.cart .actions {
	padding: 18px 0 24px;
	border: 0;
}

body.woocommerce-cart table.cart .coupon {
	display: flex;
	align-items: center;
	gap: 10px;
}

body.woocommerce-cart table.cart .coupon input.input-text {
	width: 220px;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	font: inherit;
}

body.woocommerce-cart .cart-collaterals {
	box-sizing: border-box;
	width: min(100%, 460px);
	margin-left: auto;
	padding: 22px 24px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f8f8f8;
}

body.woocommerce-cart .cart_totals {
	width: 100%;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 14px;
	font-size: 21px;
}

body.woocommerce-cart .cart_totals table {
	margin: 0;
	border: 0;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	font-size: 14px;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 18px 0 0;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 14px 18px;
	border-radius: 4px;
	background: #111827;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

/* Shopify-inspired WooCommerce checkout */
body.woocommerce-checkout #brx-header {
	position: relative;
	border-bottom: 1px solid #e7e7e7;
	box-shadow: none;
}

body.woocommerce-checkout #brx-header .spree-header-layout {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px);
	min-height: 72px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr;
	justify-items: start;
}

body.woocommerce-checkout #brx-header .spree-header-left,
body.woocommerce-checkout #brx-header .spree-header-right {
	display: none;
}

body.woocommerce-checkout #brx-header .spree-logo {
	grid-column: 1;
	justify-self: start;
}

body.woocommerce-checkout #brx-header .spree-logo img {
	width: 92px;
	height: 34px;
}

body.woocommerce-checkout #brx-content > .brxe-section {
	box-sizing: border-box;
	width: 100%;
	padding: 28px 0 64px;
}

body.woocommerce-checkout #brx-content > .brxe-section > .brxe-container {
	box-sizing: border-box;
	display: block;
	width: min(calc(100% - 48px), 1120px);
	max-width: 1120px;
	margin-inline: auto;
}

body.woocommerce-checkout #brx-content .woocommerce {
	width: 100%;
	font-size: 14px;
	line-height: 1.5;
}

body.woocommerce-checkout .spree-checkout-breadcrumb {
	margin: 0 0 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #6b7280;
	font-size: 13px;
}

body.woocommerce-checkout .spree-checkout-breadcrumb a {
	color: #2563eb;
	text-decoration: none;
}

body.woocommerce-checkout .spree-checkout-breadcrumb a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-checkout form.checkout {
	display: block;
	width: 100%;
}

body.woocommerce-checkout form.checkout > .brxe-section,
body.woocommerce-checkout form.checkout > .brxe-section > .brxe-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

body.woocommerce-checkout #brx-content form.checkout .brxe-block.brx-grid {
	box-sizing: border-box;
	display: grid;
	width: 100%;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, .9fr);
	gap: clamp(32px, 5vw, 60px);
	align-items: start;
}

body.woocommerce-checkout form.checkout .brxe-woocommerce-checkout-customer-details {
	grid-column: 1;
	width: 100%;
	min-width: 0;
}

body.woocommerce-checkout form.checkout .brxe-block.brx-grid > .brxe-div:has(> .brxe-woocommerce-checkout-order-review) {
	grid-column: 2;
	width: 100%;
	min-width: 0;
	position: sticky;
	top: 24px;
}

body.woocommerce-checkout #customer_details {
	display: block;
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout #customer_details .col-2 {
	margin-top: 24px;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout .spree-checkout-section-title {
	margin: 0 0 20px;
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.3;
}

body.woocommerce-checkout #customer_details .form-row {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 15px;
	padding: 0;
}

body.woocommerce-checkout #customer_details .form-row-first,
body.woocommerce-checkout #customer_details .form-row-last {
	width: calc(50% - 8px);
}

body.woocommerce-checkout #customer_details .form-row-first {
	float: left;
	clear: left;
}

body.woocommerce-checkout #customer_details .form-row-last {
	float: right;
	clear: none;
}

body.woocommerce-checkout #customer_details .form-row label {
	margin: 0 0 6px;
	display: block;
	color: #404040;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

body.woocommerce-checkout #customer_details .form-row .required {
	color: #b42318;
}

body.woocommerce-checkout #customer_details .form-row input.input-text,
body.woocommerce-checkout #customer_details .form-row textarea,
body.woocommerce-checkout #customer_details .form-row select,
body.woocommerce-checkout #customer_details .select2-container .select2-selection--single {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid #d4d4d8;
	border-radius: 4px;
	background-color: #fff;
	color: #171717;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: none;
}

body.woocommerce-checkout #customer_details .form-row textarea {
	min-height: 112px;
}

body.woocommerce-checkout #customer_details .form-row input:focus,
body.woocommerce-checkout #customer_details .form-row textarea:focus,
body.woocommerce-checkout #customer_details .form-row select:focus,
body.woocommerce-checkout #customer_details .select2-container--focus .select2-selection--single {
	border-color: #171717;
	outline: 2px solid rgb(37 99 235 / 20%);
	outline-offset: 1px;
}

body.woocommerce-checkout #customer_details .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	color: #171717;
	line-height: 24px;
}

body.woocommerce-checkout #customer_details .select2-container .select2-selection--single .select2-selection__arrow {
	top: 10px;
	right: 10px;
}

body.woocommerce-checkout #order_review_heading {
	grid-area: summary-heading;
	box-sizing: border-box;
	margin: 0;
	padding: 22px 24px 8px;
	border: 1px solid #e5e5e7;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	background: #f7f7f8;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.35;
}

body.woocommerce-checkout #order_review {
	grid-area: summary;
	box-sizing: border-box;
	float: none;
	width: auto;
	margin: 0;
	padding: 8px 24px 24px;
	border: 1px solid #e5e5e7;
	border-top: 0;
	border-radius: 0 0 8px 8px;
	background: #f7f7f8;
}

body.woocommerce-checkout #order_review .shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	font-size: 14px;
}

body.woocommerce-checkout #order_review .shop_table th,
body.woocommerce-checkout #order_review .shop_table td {
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid #e4e4e7;
	background: transparent;
	vertical-align: middle;
}

body.woocommerce-checkout #order_review .shop_table thead th {
	color: #52525b;
	font-size: 12px;
	font-weight: 500;
}

body.woocommerce-checkout #order_review .shop_table tfoot th,
body.woocommerce-checkout #order_review .shop_table tfoot td {
	font-weight: 500;
}

body.woocommerce-checkout #order_review .shop_table tr.order-total th,
body.woocommerce-checkout #order_review .shop_table tr.order-total td {
	border-bottom: 0;
	color: #171717;
	font-size: 16px;
	font-weight: 600;
}

body.woocommerce-checkout #order_review .product-name {
	color: #262626;
	font-weight: 400;
}

body.woocommerce-checkout .spree-checkout-line-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

body.woocommerce-checkout .spree-checkout-product-image {
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	border: 1px solid #dedee2;
	border-radius: 6px;
	background: #fff;
	object-fit: cover;
}

body.woocommerce-checkout .spree-checkout-line-item-name a {
	color: #262626;
	text-decoration: none;
}

body.woocommerce-checkout #order_review .product-quantity {
	color: #71717a;
	font-size: 12px;
	font-weight: 500;
}

body.woocommerce-checkout #order_review .checkout_coupon,
body.woocommerce-checkout #order_review form.checkout_coupon {
	margin: 18px 0 0;
	padding: 0;
	border: 0;
}

body.woocommerce-checkout #order_review .checkout_coupon .form-row,
body.woocommerce-checkout #order_review form.checkout_coupon .form-row {
	margin: 0 0 10px;
	padding: 0;
}

body.woocommerce-checkout #payment {
	grid-area: payment;
	float: none;
	width: auto;
	margin: 30px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.woocommerce-checkout #payment ul.payment_methods {
	padding: 0;
	border: 0;
}

body.woocommerce-checkout #payment .payment_box {
	border: 1px solid #e4e4e7;
	border-radius: 6px;
	background: #f7f7f8;
	color: #52525b;
}

body.woocommerce-checkout #payment .woocommerce-info,
body.woocommerce-checkout #payment .woocommerce-error {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #e4e4e7;
	border-left: 3px solid #64748b;
	border-radius: 6px;
	background: #f8fafc;
	color: #475569;
	font-size: 14px;
}

body.woocommerce-checkout #payment .place-order {
	margin: 0;
	padding: 20px 0 0;
}

body.woocommerce-checkout #payment #place_order {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 14px 20px;
	border: 1px solid #111827;
	border-radius: 4px;
	background: #111827;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	box-shadow: none;
}

body.woocommerce-checkout #payment #place_order:hover {
	border-color: #374151;
	background: #374151;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text {
	margin: 0 0 16px;
	color: #666;
	font-size: 12px;
	line-height: 1.55;
}

body.woocommerce-checkout #brx-footer {
	border-top: 1px solid #e7e7e7;
	background: #fff;
	color: #71717a;
}

body.woocommerce-checkout #brx-footer .spree-footer-inner {
	width: min(calc(100% - 48px), 1120px);
	padding: 20px 0;
}

body.woocommerce-checkout #brx-footer .spree-footer-grid {
	display: block;
}

body.woocommerce-checkout #brx-footer .spree-footer-brand,
body.woocommerce-checkout #brx-footer .spree-footer-column:not(:last-child) {
	display: none;
}

body.woocommerce-checkout #brx-footer .spree-footer-column:last-child h3 {
	display: none;
}

body.woocommerce-checkout #brx-footer .spree-footer-column:last-child ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 22px;
}

body.woocommerce-checkout #brx-footer .spree-footer-column:last-child li + li {
	margin: 0;
}

body.woocommerce-checkout #brx-footer .spree-footer-column:last-child a {
	font-size: 12px;
}

body.woocommerce-checkout #brx-footer .spree-footer-bottom {
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid #f0f0f0;
	font-size: 11px;
}

@media (max-width: 760px) {
	body.woocommerce-account:not(.logged-in) #brx-content > .brxe-section {
		padding: 32px 0 48px;
	}

	body.woocommerce-account:not(.logged-in) #brx-content > .brxe-section > .brxe-container {
		width: calc(100% - 32px);
	}

	body.woocommerce-account:not(.logged-in) #brx-content .brxe-block:has(> form.woocommerce-form-login) {
		padding: 20px;
	}

	body.woocommerce-cart #brx-content > .brxe-section {
		padding: 20px 0 44px;
	}

	body.woocommerce-cart #brx-content > .brxe-section > .brxe-container {
		width: calc(100% - 32px);
	}

	body.woocommerce-cart .spree-cart-title {
		margin-bottom: 16px;
		font-size: 25px;
	}

	body.woocommerce-cart table.cart {
		display: block;
	}

	body.woocommerce-cart table.cart thead {
		display: none;
	}

	body.woocommerce-cart table.cart tbody,
	body.woocommerce-cart table.cart .cart_item {
		display: block;
		width: 100%;
	}

	body.woocommerce-cart table.cart .cart_item {
		position: relative;
		box-sizing: border-box;
		padding: 18px 0;
		border-bottom: 1px solid #e5e7eb;
	}

	body.woocommerce-cart table.cart .cart_item > td,
	body.woocommerce-cart table.cart .cart_item > th {
		box-sizing: border-box;
		width: 100%;
		padding: 6px 0;
		border: 0;
		text-align: left !important;
	}

	body.woocommerce-cart table.cart .cart_item > td::before {
		color: #6b7280;
		font-size: 12px;
		font-weight: 500;
	}

	body.woocommerce-cart table.cart .product-remove {
		position: absolute;
		top: 10px;
		right: 0;
		z-index: 1;
		width: 28px;
		height: 28px;
		padding: 0;
		display: block;
		line-height: 28px;
		text-align: center;
	}

	body.woocommerce-cart table.cart .product-thumbnail {
		width: 100%;
		padding: 0 0 10px;
	}

	body.woocommerce-cart table.cart .product-thumbnail img {
		width: 88px;
		height: 88px;
	}

	body.woocommerce-cart table.cart .product-name {
		padding-right: 36px;
		font-size: 14px;
	}

	body.woocommerce-cart table.cart .actions {
		padding: 16px 0 4px;
	}

	body.woocommerce-cart table.cart .coupon {
		width: 100%;
		flex-wrap: wrap;
	}

	body.woocommerce-cart table.cart .coupon input.input-text {
		flex: 1 1 160px;
		width: auto;
	}

	body.woocommerce-cart table.cart .coupon .button {
		flex: 0 0 auto;
	}

	body.woocommerce-cart .cart-collaterals {
		width: 100%;
		margin: 16px auto 0;
		padding: 18px;
	}

	body.woocommerce-cart #brx-content .brxe-block.brx-grid:has(> .brxe-woocommerce-cart-collaterals) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart #brx-content .brxe-block.brx-grid > .brxe-woocommerce-cart-collaterals {
		grid-column: 1;
		width: 100%;
	}

	body.single-product #brx-content > .brxe-section:has(.brxe-product-gallery) > .brxe-container {
		width: calc(100% - 32px);
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.single-product .woocommerce-tabs,
	body.single-product .related.products {
		width: calc(100% - 32px);
	}

	body.woocommerce-checkout #brx-header .spree-header-layout,
	body.woocommerce-checkout #brx-content > .brxe-section > .brxe-container,
	body.woocommerce-checkout #brx-footer .spree-footer-inner {
		width: calc(100% - 32px);
	}

	body.woocommerce-checkout #brx-header .spree-header-layout {
		min-height: 64px;
	}

	body.woocommerce-checkout #brx-content > .brxe-section {
		padding: 20px 0 44px;
	}

	body.woocommerce-checkout form.checkout {
		display: block;
	}

	body.woocommerce-checkout #brx-content form.checkout .brxe-block.brx-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "summary" "billing";
		gap: 0;
	}

	body.woocommerce-checkout form.checkout .brxe-woocommerce-checkout-customer-details {
		grid-area: billing;
	}

	body.woocommerce-checkout form.checkout .brxe-block.brx-grid > .brxe-div:has(> .brxe-woocommerce-checkout-order-review) {
		grid-area: summary;
		position: static;
	}

	body.woocommerce-checkout #order_review_heading {
		padding: 16px 16px 8px;
		font-size: 16px;
	}

	body.woocommerce-checkout #order_review {
		padding: 6px 16px 18px;
	}

	body.woocommerce-checkout #customer_details {
		margin-top: 28px;
	}

	body.woocommerce-checkout #customer_details h3 {
		font-size: 19px;
	}

	body.woocommerce-checkout #payment {
		margin-top: 26px;
	}
}

@media (max-width: 420px) {
	body.woocommerce-cart table.cart .cart_item > td.product-price,
	body.woocommerce-cart table.cart .cart_item > td.product-quantity,
	body.woocommerce-cart table.cart .cart_item > td.product-subtotal {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	body.woocommerce-checkout #customer_details .form-row-first,
	body.woocommerce-checkout #customer_details .form-row-last {
		width: calc(50% - 6px);
	}

	body.woocommerce-checkout #order_review .shop_table th,
	body.woocommerce-checkout #order_review .shop_table td {
		padding-block: 12px;
	}

	body.woocommerce-checkout .spree-checkout-product-image {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}
}

/* Bring the single-product content closer to the reference product layout. */
body.single-product #brx-content > .brxe-section:has(.brxe-product-gallery) > .brxe-container {
	grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
	gap: clamp(32px, 4vw, 52px);
}

body.single-product #brx-content .brxe-product-title {
	margin: 0 0 10px;
	font-size: clamp(28px, 2.35vw, 32px);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

body.single-product #brx-content .brxe-product-price .price {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

/* The full description is shown in its own section below the purchase controls. */
body.single-product #brx-content .brxe-product-short-description {
	display: none;
}

body.single-product .product.instock .brxe-product-price::after {
	content: "✓ In Stock";
	margin-top: 12px;
	display: block;
	color: #15803d;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
}

body.single-product .brxe-product-gallery .woocommerce-product-gallery {
	box-sizing: border-box;
	padding: 0;
	border-radius: 8px;
	background: #f7f7f5;
	overflow: hidden;
}

body.single-product .brxe-product-gallery .flex-viewport {
	height: auto !important;
	aspect-ratio: 1 / 1;
	border-radius: inherit;
	background: #f7f7f5;
}

body.single-product .brxe-product-gallery .woocommerce-product-gallery__image img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	border-radius: inherit;
	background: #f7f7f5;
	object-fit: contain;
}

body.single-product .brxe-product-gallery .flex-control-thumbs {
	width: min(100%, 420px);
	margin: 16px 0 0 !important;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

body.single-product .brxe-product-gallery .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #f7f7f5;
	overflow: hidden;
}

body.single-product .brxe-product-gallery .flex-control-thumbs img {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	padding: 5px;
	background: #f7f7f5;
	object-fit: contain;
	opacity: .68;
	transition: opacity .15s ease, outline-color .15s ease;
}

body.single-product .brxe-product-gallery .flex-control-thumbs img.flex-active {
	outline: 1px solid #111827;
	outline-offset: -2px;
	opacity: 1;
}

body.single-product .brxe-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

body.single-product .variations_form {
	margin-top: 30px;
}

body.single-product form.variations_form table.variations,
body.single-product form.variations_form table.variations tbody {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

body.single-product form.variations_form table.variations tr {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

body.single-product form.variations_form table.variations th.label,
body.single-product form.variations_form table.variations td.value {
	box-sizing: border-box;
	min-width: 0;
	padding: 8px 0 !important;
	border: 0;
	background: transparent;
}

body.single-product form.variations_form table.variations th.label {
	color: #6b7280;
	font-size: 14px;
	font-weight: 400;
	text-align: left;
}

body.single-product form.variations_form table.variations select {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	background-color: #fff;
	color: #111827;
	font-family: inherit;
	font-size: 14px;
}

body.single-product form.variations_form .reset_variations {
	margin: 8px 0 0 !important;
	color: #374151;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.single-product form.variations_form .woocommerce-variation-add-to-cart {
	margin-top: 20px;
	display: flex;
	align-items: stretch;
	gap: 12px;
}

body.single-product form.variations_form .quantity {
	box-sizing: border-box;
	width: 176px;
	min-width: 176px;
	height: 48px;
	margin: 0;
	display: flex;
	align-items: stretch;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

body.single-product form.variations_form .quantity .qty {
	box-sizing: border-box;
	width: 0;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 8px 4px;
	flex: 1 1 auto;
	border: 0;
	border-right: 1px solid #e5e7eb;
	border-left: 1px solid #e5e7eb;
	border-radius: 0;
	font-family: inherit;
	font-size: 14px;
	text-align: center;
}

body.single-product form.variations_form .quantity .action {
	box-sizing: border-box;
	width: 40px;
	min-width: 40px;
	height: 46px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	cursor: pointer;
}

body.single-product form.variations_form .quantity .action[aria-disabled="true"] {
	color: #9ca3af;
	cursor: not-allowed;
}

body.single-product form.variations_form .quantity .action svg {
	width: 14px;
	height: 14px;
}

body.single-product form.variations_form .single_add_to_cart_button {
	box-sizing: border-box;
	min-width: 0;
	min-height: 48px;
	margin: 0 !important;
	padding: 12px 20px;
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid #111827;
	border-radius: 4px;
	background: #111827;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

body.single-product form.variations_form .single_add_to_cart_button:hover {
	border-color: #374151;
	background: #374151;
	color: #fff;
}

body.single-product #brx-content .brxe-product-meta {
	box-sizing: border-box;
	margin-top: 24px;
	padding-top: 20px;
	display: grid;
	gap: 10px;
	border-top: 1px solid #e5e7eb;
}

body.single-product #brx-content .brxe-product-meta::before {
	content: "Details";
	margin-bottom: 2px;
	display: block;
	color: #111827;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.35;
}

body.single-product #brx-content .brxe-product-meta .item {
	min-width: 0;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	color: #111827;
	font-size: 14px;
	line-height: 1.5;
}

body.single-product #brx-content .brxe-product-meta .prefix {
	color: #6b7280;
}

body.single-product #brx-content .brxe-product-meta .text {
	min-width: 0;
	color: #111827;
	font-weight: 400;
	word-break: break-word;
}

body.single-product #brx-content .brxe-product-meta a {
	color: inherit;
	font-weight: 400;
	text-decoration: none;
}

body.single-product #brx-content .brxe-product-meta a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Show description and product properties as ordered sections, not hidden tabs. */
body.single-product #brx-content .brxe-product-tabs .woocommerce-tabs > .tabs {
	display: none !important;
}

body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel {
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: 28px 0 0 !important;
	float: none;
	display: block !important;
	border: 0;
	border-top: 1px solid #e5e7eb;
	background: transparent;
}

body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel--description::before,
body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel--additional_information::before {
	margin: 0 0 14px;
	display: block;
	color: #111827;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -.01em;
	line-height: 1.35;
}

body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel--description::before {
	content: "Description";
}

body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel--additional_information {
	margin-top: 28px !important;
}

body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel--additional_information::before {
	content: "Properties";
}

body.single-product #brx-content .brxe-product-tabs #tab-description,
body.single-product #brx-content .brxe-product-tabs #tab-additional_information {
	color: #4b5563;
	font-size: 14px;
	line-height: 1.7;
}

body.single-product #brx-content .brxe-product-tabs #tab-description p {
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.7;
}

body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

body.single-product #brx-content .brxe-product-tabs .woocommerce-product-attributes-item--weight,
body.single-product #brx-content .brxe-product-tabs .woocommerce-product-attributes-item--dimensions,
body.single-product #brx-content .brxe-product-tabs .woocommerce-product-attributes-item--attribute_pa_color {
	display: none;
}

body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes th,
body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes td {
	box-sizing: border-box;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid #f0f1f2;
	background: transparent;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}

body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes th {
	width: 128px;
	color: #6b7280;
	font-weight: 400;
}

body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes td {
	color: #111827;
}

body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes td p {
	margin: 0;
}

@media (max-width: 760px) {
	body.single-product #brx-content > .brxe-section:has(.brxe-product-gallery) > .brxe-container {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	body.single-product #brx-content .brxe-product-title {
		font-size: 28px;
	}

	body.single-product #brx-content .brxe-product-price .price {
		font-size: 26px;
	}

	body.single-product .brxe-product-gallery .woocommerce-product-gallery {
		border-radius: 6px;
	}

	body.single-product .brxe-product-gallery .flex-control-thumbs {
		width: 100%;
		gap: 8px;
	}

	body.single-product .brxe-product-gallery .flex-control-thumbs img {
		padding: 4px;
	}

	body.single-product form.variations_form table.variations tr {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 10px;
	}

	body.single-product form.variations_form .woocommerce-variation-add-to-cart {
		gap: 10px;
	}

	body.single-product form.variations_form .quantity {
		width: 132px;
		min-width: 132px;
	}

	body.single-product form.variations_form .quantity .action {
		width: 34px;
		min-width: 34px;
	}

	body.single-product form.variations_form .single_add_to_cart_button {
		padding-inline: 10px;
	}

	body.single-product #brx-content .brxe-product-meta .item {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 10px;
	}

	body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel {
		padding-top: 24px !important;
	}

	body.single-product #brx-content .brxe-product-tabs .woocommerce-Tabs-panel--additional_information {
		margin-top: 24px !important;
	}

	body.single-product #brx-content .brxe-product-tabs table.woocommerce-product-attributes th {
		width: 112px;
	}
}

/* Refine the shared storefront header, category menu, and search panel. */
#brx-header .spree-icon-button:focus-visible,
#brx-header .spree-account-link:focus-visible,
#brx-header .spree-cart-link:focus-visible,
#brx-header .spree-header-wholesale:focus-visible,
#brx-header .spree-menu-panel a:focus-visible,
#brx-footer .spree-footer a:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 3px;
}

#brx-header .spree-menu-panel {
	width: min(1120px, calc(100vw - 32px));
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px 20px;
	border-color: #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 18px 44px rgb(15 23 42 / 14%);
}

#brx-header .spree-menu-panel > a:first-child {
	margin-bottom: 0;
	padding: 0 0 16px;
	color: #111827;
	font-size: 14px;
}

#brx-header .spree-menu-panel section {
	min-width: 0;
}

#brx-header .spree-menu-panel section h2 {
	margin-bottom: 14px;
	color: #111827;
	font-size: 13px;
	font-weight: 650;
	letter-spacing: .01em;
}

#brx-header .spree-menu-panel section li + li {
	margin-top: 11px;
}

#brx-header .spree-menu-panel section a {
	color: #5b6472;
	line-height: 1.45;
	text-decoration: none;
	transition: color .15s ease;
}

#brx-header .spree-menu-panel section a:hover {
	color: #111827;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#brx-header .spree-menu-panel > a:last-child {
	grid-column: 1 / -1;
	justify-self: start;
	align-self: center;
	padding: 11px 16px;
	border: 1px solid #d1d5db;
	border-radius: 5px;
	background: #fff;
	color: #111827;
	font-size: 13px;
	font-weight: 550;
	text-decoration: none;
}

#brx-header .spree-menu-panel > a:last-child:hover {
	border-color: #111827;
	background: #f9fafb;
}

#brx-header .spree-icon-button {
	transition: background-color .15s ease, color .15s ease;
}

#brx-header .spree-icon-button:hover,
#brx-header .spree-account-link:hover,
#brx-header .spree-cart-link:hover {
	background: #f3f4f6;
	color: #111827;
}

#brx-header .spree-search form {
	right: 0;
	width: min(420px, calc(100vw - 32px));
	border-radius: 8px;
}

@media (min-width: 768px) and (max-width: 1099px) {
	#brx-header .spree-menu-panel {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	#brx-header .spree-menu-panel {
		top: 64px;
		left: 0;
		width: 100vw;
		max-height: calc(100dvh - 64px);
		min-height: calc(100dvh - 64px);
		padding: 20px 16px 28px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
		border-radius: 0;
		border-right: 0;
		border-left: 0;
		box-shadow: 0 16px 28px rgb(15 23 42 / 10%);
	}

	#brx-header .spree-search form {
		top: 49px;
		right: 0;
		width: min(380px, calc(100vw - 24px));
	}
}

/* Keep the footer color full-bleed while its content follows the store width. */
#brx-footer .spree-footer.spree-footer-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

#brx-footer .spree-footer-grid.spree-footer-inner {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px);
	padding: 48px 0 24px;
}

#brx-footer .spree-footer-column:nth-child(2) li:not(:first-child) {
	display: none;
}

#brx-footer .spree-footer-bottom {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px);
	margin: 0 auto;
	padding: 20px 0 24px;
}

@media (max-width: 767px) {
	#brx-footer .spree-footer-grid.spree-footer-inner {
		width: calc(100% - 32px);
		padding: 36px 0 22px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	#brx-footer .spree-footer-bottom {
		width: calc(100% - 32px);
		padding: 18px 0 22px;
	}
}

/* Make WooCommerce related products read like a deliberate product row. */
body.single-product .related.products {
	box-sizing: border-box;
	margin: 56px auto 80px;
	padding-top: 34px;
	border-top: 1px solid #e5e7eb;
}

body.single-product #brx-content .related.products > h2 {
	margin: 0 0 22px;
	color: #111827;
	font-size: 23px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.25;
}

body.single-product .related.products ul.products {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 22px;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
	display: none;
}

body.single-product .related.products ul.products li.product {
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	float: none;
}

body.single-product .related.products ul.products li.product > a.woocommerce-LoopProduct-link {
	min-width: 0;
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

body.single-product .related.products ul.products li.product a img {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 0 13px;
	border: 1px solid #f0f1f2;
	border-radius: 7px;
	background: #f8f8f7;
	object-fit: contain;
}

body.single-product #brx-content .related.products ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.8em;
	margin: 0;
	padding: 0;
	color: #20252d;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
}

body.single-product .related.products ul.products li.product .price {
	margin: 8px 0 14px;
	color: #111827;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

body.single-product .related.products ul.products li.product .price del {
	color: #8b9099;
	font-weight: 400;
}

body.single-product .related.products ul.products li.product .price ins {
	color: #111827;
	text-decoration: none;
}

body.single-product .related.products ul.products li.product > a.button,
body.single-product .related.products ul.products li.product .button {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	margin: auto 0 0;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 550;
	line-height: 1.35;
	text-align: center;
}

body.single-product .related.products ul.products li.product .button:hover {
	background: #374151;
	color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
	body.single-product .related.products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 18px;
	}
}

@media (max-width: 767px) {
	body.single-product .related.products {
		width: calc(100% - 32px);
		margin-top: 40px;
		margin-bottom: 56px;
		padding-top: 26px;
	}

	body.single-product #brx-content .related.products > h2 {
		margin-bottom: 18px;
		font-size: 21px;
	}

	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 14px;
	}

	body.single-product #brx-content .related.products ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px;
	}

	body.single-product .related.products ul.products li.product .button {
		min-height: 40px;
		padding-inline: 8px;
		font-size: 12px;
	}
}

/* Match the Spree storefront header container and compact action cluster. */
body:not(.woocommerce-checkout) #brx-header .spree-header-layout {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding-inline: 16px;
}

body:not(.woocommerce-checkout) #brx-header .spree-header-right > .brxe-shortcode {
	box-sizing: border-box;
	flex: 0 0 44px;
	width: 44px;
}

body:not(.woocommerce-checkout) #brx-header .spree-header-right .spree-icon-button,
body:not(.woocommerce-checkout) #brx-header .spree-header-right .spree-account-link,
body:not(.woocommerce-checkout) #brx-header .spree-header-right .spree-cart-link {
	box-sizing: border-box;
	width: 44px;
	height: 44px;
}

@media (min-width: 640px) {
	body:not(.woocommerce-checkout) #brx-header .spree-header-layout {
		max-width: 640px;
		padding-inline: 24px;
	}
}

@media (min-width: 768px) {
	body:not(.woocommerce-checkout) #brx-header .spree-header-layout {
		max-width: 768px;
	}
}

@media (min-width: 1024px) {
	body:not(.woocommerce-checkout) #brx-header .spree-header-layout {
		max-width: 1024px;
		padding-inline: 32px;
	}
}

@media (min-width: 1280px) {
	body:not(.woocommerce-checkout) #brx-header .spree-header-layout {
		max-width: 1280px;
	}
}

@media (min-width: 1536px) {
	body:not(.woocommerce-checkout) #brx-header .spree-header-layout {
		max-width: 1536px;
	}
}

@media (max-width: 767px) {
	body:not(.woocommerce-checkout) #brx-header .spree-logo img {
		width: 90px;
	}

	body:not(.woocommerce-checkout) #brx-header .spree-header-right > .brxe-shortcode:has(.spree-account-link) {
		display: none;
	}
}

/* Match the reference footer's five-column container, colors, and spacing. */
body:not(.woocommerce-checkout) #brx-footer .spree-footer {
	background: #171717;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-inline: auto;
	padding: 48px 16px 0;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand {
	grid-column: span 2;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand p {
	max-width: none;
	margin-top: 16px;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-column h3 {
	margin-bottom: 16px;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-column li + li {
	margin-top: 12px;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-column:nth-child(2) li:not(:first-child) {
	display: list-item;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 32px auto 0;
	padding: 32px 16px 48px;
}

@media (min-width: 640px) {
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
		max-width: 640px;
		padding-right: 24px;
		padding-left: 24px;
	}
}

@media (min-width: 768px) {
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
		max-width: 768px;
	}
}

@media (min-width: 1024px) {
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
		max-width: 1024px;
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (min-width: 1280px) {
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
		max-width: 1280px;
	}
}

@media (min-width: 1536px) {
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
		max-width: 1536px;
	}
}

@media (max-width: 767px) {
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner {
		padding-top: 48px;
		padding-bottom: 0;
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand {
		grid-column: auto;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
		padding-top: 32px;
		padding-bottom: 48px;
	}
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand h2 {
	line-height: 1.4;
}

body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand p,
body:not(.woocommerce-checkout) #brx-footer .spree-footer-column h3,
body:not(.woocommerce-checkout) #brx-footer .spree-footer a,
body:not(.woocommerce-checkout) #brx-footer .spree-footer-bottom {
	line-height: 1.5;
}

/* Product purchase controls follow the Spree product-page proportions. */
body.single-product #brx-content .brxe-product-title {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

body.single-product #brx-content .brxe-product-title + .brxe-container {
	margin-top: 16px;
}

body.single-product #brx-content .brxe-product-price .price {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

body.single-product .product.instock .brxe-product-price::after {
	box-sizing: border-box;
	width: max-content;
	min-height: 20px;
	margin-top: 16px;
	padding-left: 26px;
	content: "In Stock";
	display: block;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") no-repeat left center / 20px 20px;
	color: #16a34a;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 24px;
}

body.single-product .variations_form {
	margin-top: 32px;
}

body.single-product form.variations_form table.variations,
body.single-product form.variations_form table.variations tbody {
	display: block;
}

body.single-product form.variations_form table.variations tr {
	margin: 0 0 24px;
	display: block;
}

body.single-product form.variations_form table.variations tr:last-child {
	margin-bottom: 0;
}

body.single-product form.variations_form table.variations th.spree-variation-label-source {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

body.single-product form.variations_form table.variations td.value {
	width: 100%;
	padding: 0 !important;
	display: block;
}

body.single-product form.variations_form table.variations select.spree-native-variation-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

body.single-product .spree-variation-header {
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

body.single-product .spree-variation-label {
	color: #111827;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

body.single-product .spree-variation-current {
	color: #6b7280;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

body.single-product .spree-variation-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

body.single-product .spree-variation-swatch {
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #e5e7eb;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}

body.single-product .spree-variation-swatch:hover {
	border-color: #9ca3af;
}

body.single-product .spree-variation-swatch[aria-pressed="true"] {
	border-color: #111827;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #171717;
}

body.single-product .spree-variation-swatch:focus-visible {
	outline: 2px solid #111827;
	outline-offset: 5px;
}

body.single-product .spree-variation-swatch:disabled {
	opacity: .35;
	cursor: not-allowed;
}

body.single-product form.variations_form .reset_variations {
	display: none !important;
}

body.single-product form.variations_form .woocommerce-variation-add-to-cart {
	margin-top: 32px;
	display: flex;
	align-items: center;
	gap: 16px;
}

body.single-product form.variations_form .quantity {
	box-sizing: border-box;
	width: 142px;
	min-width: 142px;
	height: 46px;
	margin: 0;
	padding: 0 2px;
	display: flex;
	flex: 0 0 142px;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

body.single-product form.variations_form .quantity .qty {
	box-sizing: border-box;
	width: 48px;
	min-width: 48px;
	height: 44px;
	margin: 0;
	padding: 0;
	flex: 0 0 48px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111827;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

body.single-product form.variations_form .quantity .action {
	box-sizing: border-box;
	width: 44px;
	min-width: 44px;
	height: 44px;
	padding: 0;
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #111827;
	cursor: pointer;
}

body.single-product form.variations_form .quantity .action:hover:not([aria-disabled="true"]) {
	background: #f3f4f6;
}

body.single-product form.variations_form .quantity .action[aria-disabled="true"] {
	color: #9ca3af;
	cursor: not-allowed;
}

body.single-product form.variations_form .quantity .action svg {
	width: 12px;
	height: 12px;
}

body.single-product form.variations_form .single_add_to_cart_button {
	box-sizing: border-box;
	min-width: 0;
	min-height: 52px;
	height: 52px;
	margin: 0 !important;
	padding: 12px 24px;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid #171717;
	border-radius: 10px;
	background: #171717;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-align: center;
	white-space: nowrap;
}

body.single-product form.variations_form .single_add_to_cart_button::before {
	width: 20px;
	height: 20px;
	margin-right: 6px;
	content: "";
	display: inline-block;
	flex: 0 0 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E") no-repeat center / contain;
}

body.single-product form.variations_form .single_add_to_cart_button:hover {
	border-color: #333;
	background: #333;
	color: #fff;
}

@media (max-width: 760px) {
	body.single-product #brx-content .brxe-product-title {
		font-size: 28px;
	}

	body.single-product #brx-content .brxe-product-price .price {
		font-size: 26px;
	}

	body.single-product form.variations_form .woocommerce-variation-add-to-cart {
		gap: 12px;
	}

	body.single-product form.variations_form .quantity {
		width: 142px;
		min-width: 142px;
		flex-basis: 142px;
	}

	body.single-product form.variations_form .single_add_to_cart_button {
		min-width: 0;
		padding-inline: 14px;
		flex: 1 1 auto;
	}
}

@media (min-width: 1024px) {
	body.single-product #brx-content > .brxe-section:has(.brxe-product-gallery) > .brxe-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px;
	}
}

@media (max-width: 1023px) {
	body.single-product #brx-content > .brxe-section:has(.brxe-product-gallery) > .brxe-container {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* Shopify-style checkout finish: full-height summary rail and full-width legal footer. */
@media (min-width: 761px) {
	body.woocommerce-checkout #brx-content > .brxe-section {
		position: relative;
		isolation: isolate;
	}

	body.woocommerce-checkout #brx-content > .brxe-section::before {
		position: absolute;
		z-index: -1;
		top: 0;
		bottom: 0;
		left: calc(56.7857% - 3.43px);
		right: 0;
		border-left: 1px solid #e7e7e7;
		background: #f7f7f8;
		content: "";
		pointer-events: none;
	}

	body.woocommerce-checkout #order_review_heading {
		padding: 0 0 14px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	body.woocommerce-checkout #order_review {
		padding: 0 0 24px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}
}

@media (min-width: 1168px) {
	body.woocommerce-checkout #brx-content > .brxe-section::before {
		left: calc((100% - 1120px) / 2 + 636px);
	}
}

body.woocommerce-checkout #brx-footer > .spree-footer.spree-footer-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 20px 0 16px;
	background: #fff;
	color: #71717a;
}

body.woocommerce-checkout #brx-footer .spree-footer-grid.spree-footer-inner {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px);
	max-width: 1120px;
	margin: 0 auto;
	padding: 0;
	background: transparent;
}

body.woocommerce-checkout #brx-footer .spree-footer-column:last-child a {
	color: #2563eb;
	text-decoration: none;
}

body.woocommerce-checkout #brx-footer .spree-footer-column:last-child a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-checkout #brx-footer .spree-footer-bottom {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1120px);
	max-width: 1120px;
	margin: 12px auto 0;
	padding: 12px 0 0;
	border-top: 1px solid #f0f0f0;
	color: #71717a;
}

@media (max-width: 760px) {
	body.woocommerce-checkout #brx-content > .brxe-section::before {
		display: none;
	}

	body.woocommerce-checkout #order_review_heading {
		padding: 16px 16px 8px;
		border: 1px solid #e5e5e7;
		border-bottom: 0;
		border-radius: 6px 6px 0 0;
		background: #f7f7f8;
	}

	body.woocommerce-checkout #order_review {
		padding: 6px 16px 18px;
		border: 1px solid #e5e5e7;
		border-top: 0;
		border-radius: 0 0 6px 6px;
		background: #f7f7f8;
	}

	body.woocommerce-checkout #brx-footer > .spree-footer.spree-footer-inner {
		padding: 18px 0 14px;
	}

	body.woocommerce-checkout #brx-footer .spree-footer-grid.spree-footer-inner,
	body.woocommerce-checkout #brx-footer .spree-footer-bottom {
		width: calc(100% - 32px);
	}

	body.woocommerce-checkout #brx-footer .spree-footer-column:last-child ul {
		justify-content: flex-start;
		gap: 10px 18px;
	}

	body.woocommerce-checkout #brx-footer .spree-footer-bottom {
		margin-top: 12px;
	}
}

/* WooCommerce cart: match the Spree cart's two-column, card-based layout. */
body.woocommerce-cart #brx-content > .brxe-section {
	padding: 32px 0;
}

body.woocommerce-cart #brx-content > .brxe-section > .brxe-container {
	box-sizing: border-box;
	width: min(calc(100% - 32px), 1280px);
	max-width: 1280px;
	margin-inline: auto;
}

body.woocommerce-cart #brx-content > .brxe-section > .brxe-container > .brxe-shortcode,
body.woocommerce-cart #brx-content > .brxe-section > .brxe-container > .brxe-shortcode > .woocommerce {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

body.woocommerce-cart #brx-content .woocommerce .brxe-section,
body.woocommerce-cart #brx-content .woocommerce .brxe-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-inline: 0;
}

body.woocommerce-cart #brx-content .woocommerce .brxe-section {
	padding: 0;
}

body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(> .brxe-container:empty) {
	display: none;
}

body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(.spree-cart-title) {
	grid-column: 1;
}

body.woocommerce-cart .spree-cart-title {
	margin: 0;
	color: #111827;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.2;
}

body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(form.woocommerce-cart-form),
body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(.cart-collaterals) {
	grid-column: 1;
}

body.woocommerce-cart #brx-content .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

body.woocommerce-cart #brx-content .woocommerce > .brxe-section {
	min-width: 0;
	align-self: start;
}

body.woocommerce-cart .woocommerce-cart-form {
	width: 100%;
	min-width: 0;
	margin: 0;
}

body.woocommerce-cart table.cart {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #e5e7eb;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

body.woocommerce-cart table.cart thead {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.woocommerce-cart table.cart tbody {
	display: block;
	width: 100%;
}

body.woocommerce-cart table.cart .cart_item {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 120px;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 18px;
	row-gap: 6px;
	width: 100%;
	padding: 24px;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
}

body.woocommerce-cart table.cart .cart_item > td,
body.woocommerce-cart table.cart .cart_item > th {
	box-sizing: border-box;
	min-width: 0;
	width: auto;
	padding: 0;
	border: 0;
	vertical-align: middle;
	font-size: 14px;
	text-align: left;
}

body.woocommerce-cart #brx-content table.cart .cart_item > td::before,
body.woocommerce-cart #brx-content table.cart .cart_item > th::before {
	display: none !important;
	content: none !important;
}

body.woocommerce-cart table.cart .product-thumbnail {
	grid-column: 1;
	grid-row: 1 / 3;
	width: 96px;
}

body.woocommerce-cart table.cart .product-thumbnail img {
	display: block;
	width: 96px;
	height: 96px;
	max-width: 100%;
	margin: 0;
	border-radius: 12px;
	background: #f3f4f6;
	object-fit: cover;
}

body.woocommerce-cart table.cart .product-name {
	grid-column: 2;
	grid-row: 1;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

body.woocommerce-cart table.cart .product-name a {
	color: #111827;
	text-decoration: none;
}

body.woocommerce-cart table.cart .product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-cart table.cart .product-name .variation,
body.woocommerce-cart table.cart .product-name dl.variation {
	margin: 4px 0 0;
	color: #6b7280;
	font-size: 14px;
	font-weight: 400;
}

body.woocommerce-cart table.cart .product-price {
	grid-column: 2;
	grid-row: 2;
	color: #111827;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

body.woocommerce-cart table.cart .product-quantity {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	width: max-content;
}

body.woocommerce-cart table.cart .quantity {
	width: max-content;
	max-width: none;
	margin: 0;
}

body.woocommerce-cart table.cart .quantity .qty {
	box-sizing: border-box;
	width: 48px;
	min-height: 40px;
	padding: 6px;
	text-align: center;
}

body.woocommerce-cart table.cart .product-remove {
	grid-column: 3;
	grid-row: 2;
	justify-self: end;
	width: auto;
	padding: 0;
	text-align: right;
}

body.woocommerce-cart table.cart .product-remove .remove {
	width: auto;
	min-width: 56px;
	height: 32px;
	padding: 0 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #b91c1c !important;
	font-size: 0;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

body.woocommerce-cart table.cart .product-remove .remove::after {
	content: "Remove";
	font-size: 12px;
}

body.woocommerce-cart table.cart .product-remove .remove:hover {
	background: #fef2f2;
}

body.woocommerce-cart table.cart .product-subtotal {
	display: none;
}

body.woocommerce-cart #brx-content table.cart .cart_item > td.product-subtotal {
	display: none !important;
}

body.woocommerce-cart table.cart tr:has(> td.actions) {
	display: block;
	width: 100%;
}

body.woocommerce-cart table.cart .actions {
	box-sizing: border-box;
	padding: 0;
	border: 0;
	text-align: right;
}

body.woocommerce-cart table.cart .actions .coupon {
	display: none !important;
}

body.woocommerce-cart table.cart .actions button[name="update_cart"][disabled] {
	display: none !important;
}

body.woocommerce-cart table.cart .actions button[name="update_cart"]:not([disabled]) {
	min-height: 44px;
	margin: 16px 16px 16px 0;
	border-radius: 6px;
}

body.woocommerce-cart #brx-content .brxe-block.brx-grid:has(> .brxe-woocommerce-cart-collaterals) {
	box-sizing: border-box;
	display: block;
	width: 100%;
}

body.woocommerce-cart #brx-content .brxe-block.brx-grid > .brxe-div:empty {
	display: none;
}

body.woocommerce-cart #brx-content .brxe-block.brx-grid > .brxe-woocommerce-cart-collaterals {
	box-sizing: border-box;
	position: static;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
}

body.woocommerce-cart .cart_totals {
	width: 100%;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0;
	color: #111827;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
}

body.woocommerce-cart .cart_totals table {
	width: 100%;
	margin: 24px 0 0;
	border: 0;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 12px 0;
	border: 0;
	color: #111827;
	font-size: 14px;
}

body.woocommerce-cart .cart_totals table th {
	color: #6b7280;
	font-weight: 400;
}

body.woocommerce-cart .cart_totals table td {
	text-align: right;
}

body.woocommerce-cart .cart_totals table tr.order-total th,
body.woocommerce-cart .cart_totals table tr.order-total td {
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	font-size: 18px;
	font-weight: 600;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 0;
	display: grid;
	gap: 8px;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 16px 0 0;
	padding: 14px 18px;
	border: 1px solid #111827;
	border-radius: 6px;
	background: #111827;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
	background: #374151;
	color: #fff;
}

body.woocommerce-cart .spree-cart-continue-shopping {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #374151;
	font-size: 14px;
	text-decoration: none;
}

body.woocommerce-cart .spree-cart-continue-shopping:hover {
	color: #111827;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-cart .woocommerce .cart-empty {
	margin: 40px 0 16px;
	color: #6b7280;
	font-size: 16px;
	text-align: center;
}

body.woocommerce-cart .woocommerce .return-to-shop {
	text-align: center;
}

body.woocommerce-cart .woocommerce .return-to-shop .button {
	min-height: 48px;
	border-radius: 6px;
}

@media (min-width: 761px) and (max-width: 1023px) {
	body.woocommerce-cart #brx-content > .brxe-section > .brxe-container {
		width: min(calc(100% - 48px), 1120px);
	}
}

@media (min-width: 1024px) {
	body.woocommerce-cart #brx-content > .brxe-section > .brxe-container {
		width: min(calc(100% - 64px), 1280px);
	}

	body.woocommerce-cart #brx-content .woocommerce {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px;
	}

	body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(.spree-cart-title) {
		grid-column: 1 / -1;
	}

	body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(form.woocommerce-cart-form) {
		grid-column: 1 / span 2;
		grid-row: 2;
	}

	body.woocommerce-cart #brx-content .woocommerce > .brxe-section:has(.cart-collaterals) {
		grid-column: 3;
		grid-row: 2;
	}

	body.woocommerce-cart #brx-content .brxe-woocommerce-cart-collaterals {
		position: sticky;
		top: 24px;
	}
}

@media (max-width: 760px) {
	body.woocommerce-cart #brx-content > .brxe-section {
		padding: 24px 0 40px;
	}

	body.woocommerce-cart #brx-content > .brxe-section > .brxe-container {
		width: calc(100% - 32px);
	}

	body.woocommerce-cart #brx-content .woocommerce {
		gap: 24px;
	}

	body.woocommerce-cart .spree-cart-title {
		font-size: 30px;
	}

	body.woocommerce-cart table.cart .cart_item {
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
		column-gap: 12px;
		row-gap: 6px;
		min-height: 196px;
		padding: 16px;
	}

	body.woocommerce-cart table.cart .product-thumbnail {
		grid-column: 1;
		grid-row: 1 / 5;
		width: 88px;
	}

	body.woocommerce-cart table.cart .product-thumbnail img {
		width: 88px;
		height: 88px;
		border-radius: 10px;
	}

	body.woocommerce-cart table.cart .product-name {
		grid-column: 2;
		grid-row: 1;
		font-size: 16px;
		line-height: 1.35;
	}

	body.woocommerce-cart table.cart .product-price {
		grid-column: 2;
		grid-row: 2;
		font-size: 16px;
	}

	body.woocommerce-cart table.cart .product-quantity {
		grid-column: 2;
		grid-row: 3;
		justify-self: start;
	}

	body.woocommerce-cart table.cart .product-remove {
		grid-column: 2;
		grid-row: 4;
		justify-self: end;
		transform: translateY(-12px);
	}

	body.woocommerce-cart #brx-content .brxe-woocommerce-cart-collaterals {
		position: static;
		padding: 20px;
	}
}

@media (max-width: 360px) {
	body.woocommerce-cart table.cart .cart_item {
		grid-template-columns: 72px minmax(0, 1fr);
		column-gap: 8px;
		min-height: 216px;
		padding: 12px;
	}

	body.woocommerce-cart table.cart .product-thumbnail {
		width: 72px;
	}

	body.woocommerce-cart table.cart .product-thumbnail img {
		width: 72px;
		height: 72px;
	}

	body.woocommerce-cart #brx-content .brxe-woocommerce-cart-collaterals {
		padding: 16px;
	}
}

/* Responsive usability pass for the storefront's mobile navigation and commerce controls. */
@media (max-width: 767px) {
	body:not(.woocommerce-checkout) #brx-header .spree-menu > summary.spree-icon-button,
	body:not(.woocommerce-checkout) #brx-header .spree-search > summary.spree-icon-button,
	body:not(.woocommerce-checkout) #brx-header .spree-cart-link {
		box-sizing: border-box;
		width: 44px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		flex: 0 0 44px;
	}

	body:not(.woocommerce-checkout) #brx-header .spree-menu-panel > a {
		box-sizing: border-box;
		min-height: 44px;
		display: flex;
		align-items: center;
		padding-block: 8px;
	}

	body:not(.woocommerce-checkout) #brx-header .spree-menu-panel section li > a {
		box-sizing: border-box;
		width: 100%;
		min-height: 44px;
		padding: 8px 4px;
		display: flex;
		align-items: center;
		border-radius: 4px;
		line-height: 1.35;
	}

	body:not(.woocommerce-checkout) #brx-header .spree-search form {
		position: fixed;
		top: 72px;
		right: 12px;
		left: 12px;
		width: auto;
		max-width: none;
		margin: 0;
	}

	body:not(.woocommerce-checkout) #brx-header .spree-search input[type="search"] {
		box-sizing: border-box;
		min-width: 0;
		min-height: 44px;
		font-size: 16px;
	}

	body:not(.woocommerce-checkout) #brx-header .spree-search button {
		min-height: 44px;
		flex: 0 0 auto;
	}

	.spree-filter-bar {
		box-sizing: border-box;
		min-width: 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: end;
		gap: 12px;
	}

	.spree-filter-bar label {
		box-sizing: border-box;
		width: auto;
		min-width: 0;
	}

	.spree-filter-bar select,
	.spree-filter-bar input {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		min-height: 44px;
		font-size: 16px;
	}

	.spree-filter-bar button {
		grid-column: 1 / -1;
		width: 100%;
		min-height: 44px;
	}

	body.single-product .spree-variation-swatch {
		width: 44px;
		height: 44px;
	}

	body.single-product form.variations_form .quantity .qty {
		font-size: 16px;
	}

	body.woocommerce-cart table.cart .quantity .qty {
		min-height: 44px;
		font-size: 16px;
	}

	body.woocommerce-cart table.cart .quantity .action {
		box-sizing: border-box;
		width: 44px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;
		display: inline-flex;
		flex: 0 0 44px;
		align-items: center;
		justify-content: center;
	}

	body.woocommerce-cart table.cart .product-remove .remove {
		min-height: 44px;
		height: 44px;
		transform: translateY(-16px);
	}

	body.woocommerce-checkout #customer_details .form-row input.input-text,
	body.woocommerce-checkout #customer_details .form-row textarea,
	body.woocommerce-checkout #customer_details .form-row select,
	body.woocommerce-checkout #customer_details .select2-container .select2-selection--single,
	body.woocommerce-checkout #order_review .checkout_coupon input.input-text {
		font-size: 16px;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-column:nth-child(4) {
		grid-column: 1 / -1;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-column:nth-child(4) ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 16px;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-column:nth-child(4) li + li {
		margin-top: 0;
	}
}

@media (max-width: 360px) {
	.spree-filter-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.spree-filter-bar label:nth-of-type(-n + 2) {
		grid-column: 1 / -1;
	}

	.spree-filter-bar button {
		grid-column: 1 / -1;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-grid.spree-footer-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-brand,
	body:not(.woocommerce-checkout) #brx-footer .spree-footer-column:nth-child(4) {
		grid-column: auto;
	}

	body:not(.woocommerce-checkout) #brx-footer .spree-footer-column:nth-child(4) ul {
		grid-template-columns: minmax(0, 1fr);
	}
}
