/*
Theme Name: bete

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2em;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

@media screen and (min-width: 48em) {

	ul.products li.product {
		width: 30.79667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}

	ul.products.columns-1 li.product {
		float: none;
		width: 100%;
	}

	ul.products.columns-2 li.product {
		width: 48.1%;
	}

	ul.products.columns-3 li.product {
		width: 30.79667%;
	}

	ul.products.columns-4 li.product {
		width: 22.15%;
	}

	ul.products.columns-5 li.product {
		width: 16.96%;
	}

	ul.products.columns-6 li.product {
		width: 13.49333%;
	}
}

/**
 * Single product
 */
.single-product div.product {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

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

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty::before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}

/**
 * Checkout
 */
@media screen and (min-width: 768px) {

	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: #4169e1;
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: #404040;
	text-indent: 0;
	opacity: 0.25;
}

p.stars a:hover ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars:hover a::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
	padding: 1em 0;
	display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background-color: #0f834d;
	clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	background-color: #3d9cd2;
}

.woocommerce-error {
	background-color: #e2401c;
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3d9cd2;
	z-index: 9999;
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #4169e1;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}

/* --- 2024 SCANDINAVIAN CART & CHECKOUT MASTER STYLES --- */

/* Notices & Alerts — LIEWOOD 0px Sharp Style */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	background-color: #FAF7F2 !important;
	border: 1px solid #E6E3DF !important;
	border-left: 3px solid #333333 !important;
	color: #333333 !important;
	padding: 1rem 1.25rem !important;
	border-radius: 0 !important;
	margin: 1rem auto 1.5rem !important;
	max-width: 1320px !important;
	width: calc(100% - 2.5rem) !important;
	box-shadow: none !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 1rem !important;
	line-height: 1.5 !important;
	box-sizing: border-box !important;
}

@media (min-width: 768px) {
	.woocommerce-info,
	.woocommerce-message,
	.woocommerce-error {
		width: calc(100% - 4rem) !important;
	}
}

/* When inside already padded containers (e.g. single product container, cart wrapper, checkout), take 100% of that container width */
.max-w-\[1320px\] .woocommerce-info,
.max-w-\[1320px\] .woocommerce-message,
.max-w-\[1320px\] .woocommerce-error,
.bete-cart-wrapper .woocommerce-info,
.bete-cart-wrapper .woocommerce-message,
.bete-cart-wrapper .woocommerce-error,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

.woocommerce-message {
	border-left: 3px solid #168342 !important;
}

.woocommerce-error {
	background-color: #FBE0E0 !important;
	border: 1px solid #E00000 !important;
	border-left: 3px solid #E00000 !important;
	list-style: none !important;
}

/* Mobile Header Cart Total Price */
.header-cart-total,
.header-cart-total .amount,
.header-cart-total bdi {
	color: #333333 !important;
	font-weight: 400 !important;
	font-size: 12px !important;
	text-decoration: none !important;
	background: transparent !important;
	line-height: 1 !important;
}
@media (min-width: 640px) {
	.header-cart-total,
	.header-cart-total .amount,
	.header-cart-total bdi {
		font-size: 13px !important;
	}
}

.woocommerce-info a.button,
.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info button.button,
.woocommerce-message button.button,
.woocommerce-info a.woocommerce-Button,
.woocommerce-message a.woocommerce-Button,
.woocommerce-info .button,
.woocommerce-message .button,
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content a.woocommerce-Button,
.woocommerce-MyAccount-content a.btn-primary,
.woocommerce-MyAccount-content .button,
.bete-account-orders a.button,
.bete-account-orders a.btn-primary,
.bete-account-orders .button {
	background: #333333 !important;
	color: #ffffff !important;
	border-radius: 0 !important;
	border: 1px solid #333333 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 0.4rem 1rem !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease !important;
}

.woocommerce-info a.button:link,
.woocommerce-info a.button:visited,
.woocommerce-info a.button:hover,
.woocommerce-info a.button:active,
.woocommerce-message a.button:link,
.woocommerce-message a.button:visited,
.woocommerce-message a.button:hover,
.woocommerce-message a.button:active,
.woocommerce-info a.woocommerce-Button:link,
.woocommerce-info a.woocommerce-Button:visited,
.woocommerce-info a.woocommerce-Button:hover,
.woocommerce-info a.woocommerce-Button:active,
.woocommerce-message a.woocommerce-Button:link,
.woocommerce-message a.woocommerce-Button:visited,
.woocommerce-message a.woocommerce-Button:hover,
.woocommerce-message a.woocommerce-Button:active,
.woocommerce-MyAccount-content a.button:link,
.woocommerce-MyAccount-content a.button:visited,
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-MyAccount-content a.button:active,
.woocommerce-MyAccount-content a.btn-primary:link,
.woocommerce-MyAccount-content a.btn-primary:visited,
.woocommerce-MyAccount-content a.btn-primary:hover,
.woocommerce-MyAccount-content a.btn-primary:active,
.bete-account-orders a.button:link,
.bete-account-orders a.button:visited,
.bete-account-orders a.button:hover,
.bete-account-orders a.button:active {
	color: #ffffff !important;
	text-decoration: none !important;
}

.woocommerce-info a.button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info button.button:hover,
.woocommerce-message button.button:hover,
.woocommerce-info a.woocommerce-Button:hover,
.woocommerce-message a.woocommerce-Button:hover,
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-MyAccount-content a.woocommerce-Button:hover,
.woocommerce-MyAccount-content a.btn-primary:hover,
.bete-account-orders a.button:hover {
	background: #1A1A1A !important;
	border-color: #1A1A1A !important;
	color: #ffffff !important;
}

.woocommerce-info a.showcoupon,
.woocommerce-info a:not(.button):not(.woocommerce-Button):not(.btn-primary),
.woocommerce-message a:not(.button):not(.woocommerce-Button):not(.btn-primary) {
	color: #333333 !important;
	font-weight: 500 !important;
	text-decoration: underline !important;
}

/* My Account Navigation & Content */
.woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-MyAccount-navigation li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   Bete My Account Layout (Rock-solid, zero-dependency flex/grid)
   ========================================================================== */
.bete-my-account-page {
	width: 100% !important;
	box-sizing: border-box !important;
}

.bete-account-grid {
	display: flex !important;
	flex-direction: column !important;
	gap: 2rem !important;
	align-items: stretch !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

@media screen and (min-width: 1024px) {
	.bete-account-grid {
		display: grid !important;
		grid-template-columns: 280px 1fr !important;
		gap: 2.5rem !important;
		align-items: start !important;
	}
}

.bete-account-sidebar {
	width: 100% !important;
	background-color: #FAF7F2 !important;
	border: 1px solid #EBEBEB !important;
	padding: 1.5rem !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
}

@media screen and (min-width: 1024px) {
	.bete-account-sidebar {
		position: sticky !important;
		top: 6.5rem !important;
	}
}

.bete-account-main {
	width: 100% !important;
	background-color: #FFFFFF !important;
	border: 1px solid #EBEBEB !important;
	padding: 1.75rem !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
	min-height: 480px !important;
}

@media screen and (min-width: 768px) {
	.bete-account-main {
		padding: 2.5rem 3rem !important;
	}
}

/* Dashboard Cards Grid */
.bete-dashboard-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 1.5rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

@media screen and (min-width: 640px) {
	.bete-dashboard-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* Address Cards Grid */
.bete-addresses-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 1.5rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

@media screen and (min-width: 640px) {
	.bete-addresses-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* Form Inputs, Selects & Textareas — LIEWOOD Editorial Style */
.woocommerce form .form-row {
	margin-bottom: 1.25rem !important;
}

.woocommerce form .form-row label {
	display: block !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: #333333 !important;
	margin-bottom: 0.375rem !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	width: 100% !important;
	background-color: #ffffff !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	padding: 0.75rem 1rem !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	color: #333333 !important;
	transition: border-color 0.2s ease-in-out !important;
	height: auto !important;
	min-height: 44px !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

.select2-container--default .select2-selection--single {
	padding-top: 0.6rem !important;
	padding-bottom: 0.6rem !important;
	height: 44px !important;
	display: flex !important;
	align-items: center !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
	background-color: #ffffff !important;
	border-color: #333333 !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Checkbox & Radio Alignment */
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	font-weight: 500 !important;
	color: #334155 !important;
	cursor: pointer !important;
}

.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"] {
	width: 1.25rem !important;
	height: 1.25rem !important;
	accent-color: #b56557 !important;
	cursor: pointer !important;
}

/* Order Review & Payment Methods — LIEWOOD Editorial Style */
#order_review table.shop_table,
.woocommerce-checkout-review-order-table {
	width: 100% !important;
	border-collapse: collapse !important;
	border: none !important;
	margin-bottom: 1.5rem !important;
	table-layout: fixed !important;
}

#order_review table.shop_table thead th,
.woocommerce-checkout-review-order-table thead th {
	border-bottom: 1px solid #EBEBEB !important;
	padding: 0 0 0.75rem 0 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	color: #767676 !important;
	font-weight: 400 !important;
}

#order_review table.shop_table thead th.product-name,
.woocommerce-checkout-review-order-table thead th.product-name {
	text-align: left !important;
	width: 65% !important;
	padding-right: 1rem !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table thead th.product-total,
.woocommerce-checkout-review-order-table thead th.product-total {
	text-align: right !important;
	width: 35% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table tbody td,
.woocommerce-checkout-review-order-table tbody td {
	padding: 1rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
	vertical-align: top !important;
}

#order_review table.shop_table tbody td.product-name,
.woocommerce-checkout-review-order-table tbody td.product-name {
	text-align: left !important;
	font-size: 13px !important;
	font-weight: 300 !important;
	color: #333333 !important;
	line-height: 1.4 !important;
	width: 65% !important;
	padding-right: 1rem !important;
	box-sizing: border-box !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

#order_review table.shop_table tbody td.product-name .product-quantity,
.woocommerce-checkout-review-order-table tbody td.product-name .product-quantity {
	font-weight: 400 !important;
	color: #767676 !important;
	margin-left: 0.25rem !important;
}

#order_review table.shop_table tbody td.product-name ul.variation,
.woocommerce-checkout-review-order-table tbody td.product-name ul.variation {
	margin: 0.35rem 0 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	font-size: 12px !important;
	color: #767676 !important;
}

#order_review table.shop_table tbody td.product-name ul.variation dt,
#order_review table.shop_table tbody td.product-name ul.variation dd,
.woocommerce-checkout-review-order-table tbody td.product-name ul.variation dt,
.woocommerce-checkout-review-order-table tbody td.product-name ul.variation dd {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
}

#order_review table.shop_table tbody td.product-total,
.woocommerce-checkout-review-order-table tbody td.product-total {
	text-align: right !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #333333 !important;
	white-space: nowrap !important;
	width: 35% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table tbody td.product-total .amount,
.woocommerce-checkout-review-order-table tbody td.product-total .amount {
	font-weight: 700 !important;
	color: #333333 !important;
}

#order_review table.shop_table tfoot th,
.woocommerce-checkout-review-order-table tfoot th {
	text-align: left !important;
	padding: 1rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	font-weight: 400 !important;
	color: #767676 !important;
	width: 50% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table tfoot td,
.woocommerce-checkout-review-order-table tfoot td {
	text-align: right !important;
	padding: 1rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #333333 !important;
	width: 50% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table tfoot td .amount,
.woocommerce-checkout-review-order-table tfoot td .amount {
	font-weight: 700 !important;
	color: #333333 !important;
}

/* Shipping row in checkout: Full width layout spanning entire table */
#order_review table.shop_table tr.shipping,
.woocommerce-checkout-review-order-table tr.shipping {
	display: table-row !important;
	width: 100% !important;
}

#order_review table.shop_table tr.shipping td.shipping-cell,
.woocommerce-checkout-review-order-table tr.shipping td.shipping-cell,
#order_review table.shop_table tr.shipping td,
.woocommerce-checkout-review-order-table tr.shipping td {
	display: table-cell !important;
	width: 100% !important;
	padding: 1.25rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
	text-align: left !important;
}

.shipping-header {
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	text-align: left !important;
	font-weight: 500 !important;
	color: #333333 !important;
	margin-bottom: 0.75rem !important;
}

/* Shipping methods list: No bullets, 100% full width cards */
#order_review table.shop_table ul#shipping_method,
.woocommerce-checkout-review-order-table ul#shipping_method,
ul#shipping_method {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.625rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table ul#shipping_method li,
.woocommerce-checkout-review-order-table ul#shipping_method li,
.cart_totals table.shop_table ul#shipping_method li,
ul#shipping_method li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0.75rem 0.875rem !important;
	background: #ffffff !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.5rem !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	transition: border-color 0.2s, background-color 0.2s !important;
	cursor: pointer !important;
	position: relative !important;
}

#order_review table.shop_table ul#shipping_method li::before,
#order_review table.shop_table ul#shipping_method li::after,
#order_review table.shop_table ul#shipping_method li::marker,
.woocommerce-checkout-review-order-table ul#shipping_method li::before,
.woocommerce-checkout-review-order-table ul#shipping_method li::after,
.woocommerce-checkout-review-order-table ul#shipping_method li::marker,
ul#shipping_method li::before,
ul#shipping_method li::after,
ul#shipping_method li::marker {
	display: none !important;
	content: none !important;
}

#order_review table.shop_table ul#shipping_method li:hover,
.woocommerce-checkout-review-order-table ul#shipping_method li:hover,
.cart_totals table.shop_table ul#shipping_method li:hover,
ul#shipping_method li:hover {
	border-color: #333333 !important;
}

#order_review table.shop_table ul#shipping_method li:has(input:checked),
.woocommerce-checkout-review-order-table ul#shipping_method li:has(input:checked),
.cart_totals table.shop_table ul#shipping_method li:has(input:checked),
ul#shipping_method li:has(input:checked),
ul#shipping_method li.selected {
	border-color: #333333 !important;
	background-color: #FAF7F2 !important;
}

#order_review table.shop_table ul#shipping_method li input[type="radio"],
.woocommerce-checkout-review-order-table ul#shipping_method li input[type="radio"],
.cart_totals table.shop_table ul#shipping_method li input[type="radio"],
ul#shipping_method li input[type="radio"] {
	margin: 0 !important;
	flex-shrink: 0 !important;
	width: 1.125rem !important;
	height: 1.125rem !important;
	accent-color: #333333 !important;
	cursor: pointer !important;
}

#order_review table.shop_table ul#shipping_method li label,
.woocommerce-checkout-review-order-table ul#shipping_method li label,
.cart_totals table.shop_table ul#shipping_method li label,
ul#shipping_method li label {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	margin: 0 !important;
	cursor: pointer !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #333333 !important;
	line-height: 1.3 !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
}

#order_review table.shop_table ul#shipping_method li label .amount,
.woocommerce-checkout-review-order-table ul#shipping_method li label .amount,
.cart_totals table.shop_table ul#shipping_method li label .amount,
ul#shipping_method li label .amount {
	font-weight: 700 !important;
	font-size: 13px !important;
	color: #333333 !important;
	margin-left: auto !important;
	padding-left: 0.5rem !important;
	padding-right: 0.25rem !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

/* Montonio carrier logos */
.montonio-shipping-carrier-logos {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin: 0 !important;
	vertical-align: middle !important;
	flex-shrink: 0 !important;
}

.montonio-shipping-carrier-logo {
	max-height: 18px !important;
	max-width: 40px !important;
	object-fit: contain !important;
	display: inline-block !important;
}

/* Dropdown parcel locker choices (Montonio) */
#montonio-shipping-pickup-point-dropdown-wrapper {
	width: 100% !important;
	flex-basis: 100% !important;
	margin-top: 0.75rem !important;
	padding-top: 0.75rem !important;
	border-top: 1px dashed #EBEBEB !important;
}

#montonio-shipping-pickup-point-dropdown-wrapper label,
#montonio-shipping-pickup-point-dropdown-wrapper .montonio-label {
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: #333333 !important;
	margin-bottom: 0.5rem !important;
	display: block !important;
}

#montonio-shipping-pickup-point-dropdown-wrapper select,
#montonio-shipping-pickup-point-dropdown-wrapper .choices__inner {
	width: 100% !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	background-color: #ffffff !important;
	font-size: 13px !important;
	color: #333333 !important;
	padding: 0.625rem 0.75rem !important;
	min-height: 42px !important;
}

/* Order Total in Checkout — Spacious Layout & Single Line VAT */
#order_review table.shop_table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total th {
	border-top: 2px solid #333333 !important;
	border-bottom: none !important;
	padding: 1.25rem 1rem 0.5rem 0 !important;
	font-size: 14px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	font-weight: 500 !important;
	color: #333333 !important;
	text-align: left !important;
	white-space: nowrap !important;
	vertical-align: top !important;
	width: 50% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table tfoot tr.order-total td,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
	border-top: 2px solid #333333 !important;
	border-bottom: none !important;
	padding: 1.25rem 0 0.5rem 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #B56557 !important;
	text-align: right !important;
	white-space: nowrap !important;
	vertical-align: top !important;
	width: 50% !important;
	box-sizing: border-box !important;
}

#order_review table.shop_table tfoot tr.order-total td .amount,
.woocommerce-checkout-review-order-table tfoot tr.order-total td .amount {
	font-weight: 700 !important;
	color: #B56557 !important;
	white-space: nowrap !important;
}

#order_review table.shop_table tfoot tr.order-total td small.includes_tax,
.woocommerce-checkout-review-order-table tfoot tr.order-total td small.includes_tax,
.cart_totals table.shop_table tr.order-total td small.includes_tax,
.woocommerce-checkout-review-order-table small.includes_tax,
.order-total small.includes_tax,
small.includes_tax {
	display: block !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	color: #767676 !important;
	margin-top: 0.25rem !important;
	white-space: nowrap !important;
	text-align: right !important;
}

/* Payment box styling - LIEWOOD Editorial */
#payment.woocommerce-checkout-payment {
	background: #ffffff !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	padding: 1.5rem !important;
	margin-top: 1.5rem !important;
}

#payment ul.payment_methods {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 1.25rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
}

#payment ul.payment_methods li {
	padding: 0.875rem 0 !important;
	border-bottom: 1px solid #FAF7F2 !important;
	list-style: none !important;
}

#payment ul.payment_methods li::marker,
#payment ul.payment_methods li::before {
	display: none !important;
	content: none !important;
}

#payment ul.payment_methods li label {
	font-weight: 500 !important;
	color: #333333 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	font-size: 13px !important;
}

#payment ul.payment_methods li .payment_box {
	background-color: #FAF7F2 !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	padding: 1rem !important;
	margin-top: 0.75rem !important;
	font-size: 0.8125rem !important;
	color: #595959 !important;
	line-height: 1.5 !important;
}

/* Hide duplicate WooCommerce privacy policy text above place order button */
.woocommerce-checkout .woocommerce-privacy-policy-text,
#payment .woocommerce-privacy-policy-text {
	display: none !important;
}

/* Place Order & Checkout CTA Button — LIEWOOD Editorial sharp 0px */
#payment #place_order,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	width: 100% !important;
	background-color: #333333 !important;
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	padding: 1rem 1.5rem !important;
	min-height: 48px !important;
	border-radius: 0 !important;
	border: 1px solid #333333 !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, border-color 0.2s ease !important;
	box-shadow: none !important;
	text-align: center !important;
	display: block !important;
}

#payment #place_order:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background-color: #1A1A1A !important;
	border-color: #1A1A1A !important;
	box-shadow: none !important;
	transform: none !important;
}

/* Coupon Form in Checkout */
.woocommerce-checkout form.checkout_coupon {
	background-color: #FAF7F2 !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	padding: 1.25rem !important;
	margin-bottom: 2rem !important;
}

.woocommerce-checkout form.checkout_coupon input.input-text {
	background-color: #ffffff !important;
	border: 1px solid #EBEBEB !important;
	border-radius: 0 !important;
	min-height: 44px !important;
	font-size: 14px !important;
}

.woocommerce-checkout form.checkout_coupon button.button {
	background-color: #333333 !important;
	color: #ffffff !important;
	border: 1px solid #333333 !important;
	border-radius: 0 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	min-height: 44px !important;
	padding: 0 1.5rem !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease !important;
}

.woocommerce-checkout form.checkout_coupon button.button:hover {
	background-color: #1A1A1A !important;
	border-color: #1A1A1A !important;
}

/* Cart Totals Table — Clean Editorial Layout */
.cart_totals table.shop_table {
	width: 100% !important;
	border-collapse: collapse !important;
	border: none !important;
	table-layout: fixed !important;
}

.cart_totals table.shop_table th {
	text-align: left !important;
	padding: 0.875rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	font-weight: 400 !important;
	color: #767676 !important;
	width: 45% !important;
	box-sizing: border-box !important;
}

.cart_totals table.shop_table td {
	text-align: right !important;
	padding: 0.875rem 0 !important;
	border-bottom: 1px solid #EBEBEB !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #333333 !important;
	width: 55% !important;
	box-sizing: border-box !important;
}

.cart_totals table.shop_table tr.cart-subtotal td,
.cart_totals table.shop_table tr.cart-discount td,
.cart_totals table.shop_table tr.fee td,
.cart_totals table.shop_table tr.order-total td {
	white-space: nowrap !important;
}

.cart_totals table.shop_table tr.shipping td,
.cart_totals table.shop_table tr.shipping td.shipping-cell,
#order_review table.shop_table tr.shipping td,
#order_review table.shop_table tr.shipping td.shipping-cell,
.shipping-cell {
	width: 100% !important;
	max-width: 100% !important;
	text-align: left !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
	box-sizing: border-box !important;
}

.woocommerce-shipping-destination,
.woocommerce-shipping-calculator {
	white-space: normal !important;
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin-top: 0.5rem !important;
}

.cart_totals table.shop_table tr.order-total th {
	border-top: 2px solid #333333 !important;
	border-bottom: none !important;
	padding-top: 1.25rem !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #333333 !important;
}

.cart_totals table.shop_table tr.order-total td {
	border-top: 2px solid #333333 !important;
	border-bottom: none !important;
	padding-top: 1.25rem !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #B56557 !important;
}

/* ==========================================================================
   Mobile & Tablet Responsiveness Standards (< 768px)
   ========================================================================== */

@media screen and (max-width: 767px) {
	/* Prevent iOS Safari auto-zoom on form inputs (min 16px font-size) */
	.woocommerce form input.input-text,
	.woocommerce form textarea,
	.woocommerce form select,
	.woocommerce-checkout input.input-text,
	.woocommerce-checkout select,
	.woocommerce-checkout textarea,
	.select2-container--default .select2-selection--single,
	#coupon_code {
		font-size: 16px !important;
		min-height: 44px !important;
	}

	/* Mobile Cart Items: Transform table rows into modern Scandinavian product cards */
	.woocommerce-cart-form table.cart {
		display: block !important;
		width: 100% !important;
		border: none !important;
	}

	.woocommerce-cart-form table.cart thead {
		display: none !important;
	}

	.woocommerce-cart-form table.cart tbody {
		display: block !important;
		width: 100% !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item {
		display: grid !important;
		grid-template-columns: 75px 1fr !important;
		grid-template-areas:
			"thumb name"
			"thumb quantity"
			"thumb subtotal" !important;
		column-gap: 0.875rem !important;
		row-gap: 0.375rem !important;
		padding: 1.125rem 0 !important;
		border-bottom: 1px solid #EBEBEB !important;
		position: relative !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td {
		border: none !important;
		padding: 0 !important;
		text-align: left !important;
		display: block !important;
		width: auto !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td::before {
		display: none !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-remove {
		position: absolute !important;
		top: 1.125rem !important;
		right: 0 !important;
		z-index: 2 !important;
		width: auto !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-remove a.remove {
		width: 1.875rem !important;
		height: 1.875rem !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-size: 1.25rem !important;
		line-height: 1 !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-thumbnail {
		grid-area: thumb !important;
		width: 75px !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-thumbnail img {
		width: 75px !important;
		height: 95px !important;
		object-fit: cover !important;
		border-radius: 0 !important;
		background: #FAF7F2 !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-name {
		grid-area: name !important;
		padding-right: 2.25rem !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-price {
		display: none !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-quantity {
		grid-area: quantity !important;
		margin-top: 0.25rem !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-quantity .qty {
		height: 38px !important;
		font-size: 15px !important;
	}

	.woocommerce-cart-form table.cart tbody tr.woocommerce-cart-form__cart-item td.product-subtotal {
		grid-area: subtotal !important;
		font-weight: 700 !important;
		font-size: 14px !important;
		color: #333333 !important;
		margin-top: 0.125rem !important;
	}

	.woocommerce-cart-form table.cart tbody tr:not(.woocommerce-cart-form__cart-item) td.actions {
		display: block !important;
		width: 100% !important;
		padding-top: 1.5rem !important;
	}

	/* Review Order Table on mobile */
	#order_review table.shop_table thead th.product-name,
	.woocommerce-checkout-review-order-table thead th.product-name,
	#order_review table.shop_table tbody td.product-name,
	.woocommerce-checkout-review-order-table tbody td.product-name {
		width: 60% !important;
	}

	#order_review table.shop_table thead th.product-total,
	.woocommerce-checkout-review-order-table thead th.product-total,
	#order_review table.shop_table tbody td.product-total,
	.woocommerce-checkout-review-order-table tbody td.product-total {
		width: 40% !important;
	}
}

