.woocommerce .button,
.button,
.added_to_cart,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	#respond
	input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	input.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	#respond
	input#submit {
	--bs-btn-bg: transparent;
	--bs-btn-border-color: transparent;
	--bs-btn-border-radius: 0;
	--bs-btn-border-width: var(--bs-border-width);
	--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
	--bs-btn-color: var(--bs-body-color);
	--bs-btn-disabled-opacity: 0.65;
	--bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
	--bs-btn-font-size: 0.75rem;
	--bs-btn-font-weight: 400;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-line-height: 1.5;
	--bs-btn-padding-x: 1rem;
	--bs-btn-padding-y: 0.35rem;
	-moz-user-select: none;
	-webkit-user-select: none;
	background-color: var(--bs-btn-bg);
	border-radius: 0;
	border-radius: var(--bs-btn-border-radius);
	border: 1px solid #ccc;
	color: #666;
	cursor: pointer;
	display: inline-block;
	font-family: var(--bs-btn-font-family);
	font-size: var(--bs-btn-font-size);
	font-weight: var(--bs-btn-font-weight);
	letter-spacing: 0.025em;
	line-height: var(--bs-btn-line-height);
	margin: 0.85em auto 0;
	padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
	text-align: center;
	text-decoration: none;
	transition: all 0.15s ease-in-out;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
	text-decoration: none;
}

.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	#respond
	input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	input.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor *))
	.woocommerce
	#respond
	input#submit:hover {
	border-color: #e1af4f;
	color: #e1af4f;
	background: transparent;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	#respond
	input#submit.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	a.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	button.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	input.button.loading::after {
	top: auto;
}

.woocommerce a.added_to_cart {
	font-size: 0.8em;
	padding: 0 0.5em;
	border: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	#respond
	input#submit.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	a.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	button.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*))
	.woocommerce
	input.button.added::after {
	content: '\e01d';
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
	display: flex;
	gap: 10px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
	color: black;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0 0.5em;
}

.woocommerce ul.products li.product a {
	color: black;
	transition: color 0.15s;
}

.woocommerce ul.products li.product .cates a {
	border-bottom: 1px dotted transparent;
	color: #aaa;
}

.woocommerce ul.products li.product .cates a:hover {
	border-color: #666;
	color: #666;
}

.woocommerce ul.products li.product a:hover {
	color: var(--color-gold-hover);
}

li.product a img {
	object-fit: cover;
	aspect-ratio: 325 / 390;
	object-position: center;
	margin-bottom: 0;
}

.list-products.list .product-card img {
	aspect-ratio: 1;
}

li.product .price {
	color: black;
}

li.product .price del {
	color: #b0b0b0;
}

li.product .price ins {
	color: var(--color-gold);
	font-size: 1.2em;
	font-weight: bold;
}

.woocommerce-loop-product__link {
	display: block;
}

ul.products li.product .states {
	align-items: center;
	display: flex;
	font-size: 0.857em;
	justify-content: center;
	left: 0;
	position: absolute;
	right: 0;
	top: 15px;
	z-index: 9;
	gap: 0.3em;
}

ul.products li.product .states i {
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 0;
	border: 1px solid #fff;
	color: #fff;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	margin: 0;
	min-height: auto;
	min-width: auto;
	padding: 0.4em 0.5em 0.3em;
	position: static;
	white-space: nowrap;
}

.woocommerce nav.woocommerce-pagination {
	margin-top: 2em;
	display: flex;
	justify-content: end;
	--bs-pagination-border-width: 0;
	--bs-pagination-border-color: transparent;
	--bs-link-color: #555;
	--bs-link-hover-color: #222;
	--bs-link-active-color: var(--color-gold);
	--bs-secondary-color: #f4f4f4;
	--bs-pagination-padding-x: 1.15rem;
	--bs-pagination-padding-y: 0.5rem;
	--bs-pagination-font-size: 1.1875rem;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	position: relative;
	display: block;
	font-size: var(--bs-pagination-font-size);
	color: var(--bs-pagination-color);
	background-color: var(--bs-pagination-bg);
	padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
	text-decoration: none;
	border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
		box-shadow 0.15s ease-in-out;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--bs-secondary-color);
	color: var(--bs-link-active-color);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: transparent;
}

.badge.empty {
	display: none;
}

.woocommerce table.shop_table .button,
.woocommerce table.shop_table input.button {
	margin-top: 0;
}

#add_payment_method table.cart td.actions .coupon .input-text,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text {
	margin: 0;
	flex: 1;
	float: none;
}

.woocommerce #content table.cart td.actions .coupon,
.woocommerce table.cart td.actions .coupon,
.woocommerce-page #content table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	float: none;
	gap: 1em;
	margin-left: auto;
	max-width: 300px;
	align-items: stretch;
}

.woocommerce #content table.cart td.actions .coupon label,
.woocommerce table.cart td.actions .coupon label,
.woocommerce-page #content table.cart td.actions .coupon label,
.woocommerce-page table.cart td.actions .coupon label {
	display: flex;
	align-items: center;
}

.woocommerce #content table.cart td.actions .coupon .button,
.woocommerce #content table.cart td.actions .coupon .input-text,
.woocommerce #content table.cart td.actions .coupon input,
.woocommerce table.cart td.actions .coupon .button,
.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce table.cart td.actions .coupon input,
.woocommerce-page #content table.cart td.actions .coupon .button,
.woocommerce-page #content table.cart td.actions .coupon .input-text,
.woocommerce-page #content table.cart td.actions .coupon input,
.woocommerce-page table.cart td.actions .coupon .button,
.woocommerce-page table.cart td.actions .coupon .input-text,
.woocommerce-page table.cart td.actions .coupon input {
	width: auto;
}

#add_payment_method table.cart td.actions .coupon .coupon-error-notice,
.woocommerce-cart table.cart td.actions .coupon .coupon-error-notice,
.woocommerce-checkout table.cart td.actions .coupon .coupon-error-notice {
	margin-top: 0;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
	border-top: none;
}

#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
	aspect-ratio: 1 / 1;
	width: 50px;
}

.woocommerce table.shop_table_responsive tr td .quantity,
.woocommerce-page table.shop_table_responsive tr td .quantity {
	display: inline-block;
}

.table.m-order tfoot th,
.table.m-order tfoot td {
	background-color: #eeeeee;
}

.woocommerce ul#shipping_method .amount {
	color: var(--color-gold);
	font-weight: normal;
	white-space: nowrap;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
	--bs-btn-padding-y: 0.7rem;
	--bs-btn-padding-x: 1rem;
	--bs-btn-font-size: 0.9375rem;
	background-color: #424243;
	border: none;
	color: #fff;
	font-size: 1em;
	padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
	margin: 0;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--color-gold);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	margin: 0;
	padding: 0;
	border: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation .dropdown-menu {
	position: relative;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
	display: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
	color: #797979;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock.out-of-stock {
	color: #e30606;
}

.woocommerce-Price-amount,
.old .woocommerce-Price-amount {
	color: inherit;
}

.price > span.woocommerce-Price-amount {
	color: var(--color-gold);
	font-size: 1.2em;
	font-weight: bold;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background-color: var(--bs-secondary-bg);
	border-radius: 0;
	padding: 0.2em 2em;

	&:before,
	&:after {
		display: none;
	}
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-weight: normal;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	color: var(--color-gold);

	a {
		font-weight: bold;
	}
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 2em 1em;
}

.woocommerce .product-options {
	position: relative;

	.reset_variations {
		position: absolute;
		top: 0;
		right: 30px;
		bottom: 0;
		width: 30px;
		height: 30px;
	}
}

.woocommerce div.product form.cart .group_table {
	border: 1px solid #d6d6d6;

	&.list-group-item {
		display: table;
		width: 100%;
	}

	td:first-child {
		text-align: left;
		width: auto;
	}

	td.woocommerce-grouped-product-list-item__quantity {
		text-align: center;
		width: auto;

		.button {
			border: none;
			margin-top: 0;
			float: none;

			&.bg-blue {
				background-color: var(--color-blue);
				color: var(--bs-white);
			}
		}
	}

	td.woocommerce-grouped-product-list-item__price {
		p:last-of-type {
			margin-bottom: 0;
		}
	}

	td,
	th {
		padding: 0.8em 1em;
	}

	tr:not(:first-of-type) {
		border-top: 1px solid #d6d6d6;
	}
}

.woocommerce div.product form.cart .button {
	float: none;
}

.breadcrumb {
	gap: 5px;
}

@media (min-width: 768px) {
	.table td.product-name {
		text-align: left;
	}
}

@media only screen and (max-width: 768px) {
	.table tbody tr th:first-child,
	.table tbody tr td:first-child {
		background: transparent;
	}

	.woocommerce #content table.cart .product-thumbnail,
	.woocommerce table.cart .product-thumbnail,
	.woocommerce-page #content table.cart .product-thumbnail,
	.woocommerce-page table.cart .product-thumbnail {
		display: block;
	}

	.woocommerce ul.products[class*='columns-'] li.product,
	.woocommerce-page ul.products[class*='columns-'] li.product {
		margin-bottom: 0;
	}

	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: auto;
		flex-basis: calc(100% / 2 - 2em);
	}

	.woocommerce table.shop_table_responsive tr td.actions::before,
	.woocommerce table.shop_table_responsive tr td.product-remove::before,
	.woocommerce-page table.shop_table_responsive tr td.actions::before,
	.woocommerce-page table.shop_table_responsive tr td.product-remove::before {
		display: block;
	}

	.woocommerce #content table.cart td.actions .coupon,
	.woocommerce table.cart td.actions .coupon,
	.woocommerce-page #content table.cart td.actions .coupon,
	.woocommerce-page table.cart td.actions .coupon {
		max-width: calc(100% - 5.5rem);
	}

	.woocommerce #content table.cart td.actions .coupon label,
	.woocommerce table.cart td.actions .coupon label,
	.woocommerce-page #content table.cart td.actions .coupon label,
	.woocommerce-page table.cart td.actions .coupon label {
		display: none;
	}
}

@media (max-width: 767px) {
	.table.m-order .col-has-del {
		padding-right: 1em;
	}
}
