/* Button selectors carry their class twice (.x.x) so they outrank Elementor's global button style
   (.elementor-kit-N button) but stay below each widget's own Elementor settings. */
/* Significo content widgets, group H (shop, cart, wishlist). One block per widget, in widget order. */

/* Archive Products */

.sgc-archive-products {
	--sgc-ap-radius: 10px;
}

.sgc-archive-products ul.products,
.sgc-archive-products ul.products[class*="columns-"] {
	display: grid;
	grid-template-columns: repeat(var(--sgc-cols, 3), minmax(0, 1fr));
	gap: var(--sgc-gap, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Beat WooCommerce's float layout (its rules use .woocommerce ul.products[class*=columns-] li.product). */
.sgc-archive-products ul.products[class*="columns-"]::before,
.sgc-archive-products ul.products[class*="columns-"]::after {
	display: none;
}

.sgc-archive-products ul.products[class*="columns-"] li.product.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	clear: none;
}

.sgc-archive-products ul.products li.product a img,
.sgc-archive-products li.product .sgc-img {
	width: 100%;
	height: auto;
	margin: 0 0 14px;
	border-radius: var(--sgc-ap-radius);
	aspect-ratio: 1;
	object-fit: cover;
}

.sgc-archive-products li.product .woocommerce-loop-product__title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

/* span.price: one element more than WooCommerce's ".woocommerce ul.products li.product .price" (olive #958e09, 3.4:1), one class less than the Price color control. */
.sgc-archive-products ul.products li.product span.price {
	display: block;
	margin-bottom: 12px;
	color: inherit;
	font-weight: 600;
}

.sgc-archive-products li.product .star-rating {
	margin: 0 0 8px;
	color: var(--e-global-color-accent, #a85a14);
}

.sgc-archive-products li.product .star-rating::before {
	color: rgb(0 0 0 / 0.15);
}

.sgc-archive-products li.product a.button {
	align-self: flex-start;
	margin-top: auto;
}

.sgc-archive-products ul.products li.product.product .onsale {
	min-width: 0;
	min-height: 0;
	padding: 4px 10px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: var(--e-global-color-accent, #a85a14);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	z-index: 2;
	top: 10px;
	right: auto;
	left: 10px;
	margin: 0;
}

/* Theme Options → Shop: columns when the widget's own are left at their defaults. */
.sgc-archive-products--theme-cols ul.products,
.sgc-archive-products--theme-cols ul.products[class*="columns-"] {
	grid-template-columns: repeat(var(--sgc-ap-cols, 3), minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.sgc-archive-products--theme-cols ul.products,
	.sgc-archive-products--theme-cols ul.products[class*="columns-"] {
		grid-template-columns: repeat(var(--sgc-ap-cols-tablet, 2), minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sgc-archive-products--theme-cols ul.products,
	.sgc-archive-products--theme-cols ul.products[class*="columns-"] {
		grid-template-columns: repeat(var(--sgc-ap-cols-mobile, 2), minmax(0, 1fr));
	}
}

/* The Significo theme's card image block (main + hover image, badges): the radius and spacing move to it. */
.sgc-archive-products li.product .sg-loop-media {
	margin: 0 0 14px;
	border-radius: var(--sgc-ap-radius);
}

.sgc-archive-products ul.products li.product .sg-loop-media img {
	margin: 0;
}

.sgc-archive-products ul.products li.product.product .sg-badges {
	top: 10px;
	left: 10px;
}

.sgc-archive-products ul.products li.product.product .sg-badges .onsale {
	position: static;
	margin: 0;
}

.sgc-ap__extras {
	position: absolute;
	z-index: 3;
	top: 10px;
	right: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-end;
}

.sgc-archive-products .sgc-ap__quick-view {
	padding: 7px 12px;
	font-size: 0.8rem;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.sgc-archive-products li.product:hover .sgc-ap__quick-view,
.sgc-archive-products li.product:focus-within .sgc-ap__quick-view {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.sgc-archive-products .sgc-ap__quick-view {
		opacity: 1;
		transform: none;
	}
}

.sgc-archive-products .woocommerce-pagination {
	margin-top: 36px;
	text-align: center;
}

.sgc-archive-products .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	border: 0;
}

.sgc-archive-products .woocommerce-pagination ul.page-numbers li {
	border: 0;
}

.sgc-archive-products .woocommerce-pagination .page-numbers a,
.sgc-archive-products .woocommerce-pagination .page-numbers span {
	min-width: 40px;
	padding: 9px 12px;
	border: 1px solid rgb(0 0 0 / 0.12);
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	line-height: 1.2;
}

.sgc-archive-products .woocommerce-pagination .page-numbers span.current {
	border-color: var(--e-global-color-accent, #a85a14);
	background: var(--e-global-color-accent, #a85a14);
	color: #fff;
}

/* Archive Description */

.sgc-archive-description > *:last-child {
	margin-bottom: 0;
}

/* Result Count */

.sgc-result-count .woocommerce-result-count {
	float: none;
	margin: 0;
}

/* Catalog Ordering */

.sgc-ordering {
	--sgc-ordering-color: inherit;
	display: flex;
	gap: 10px;
	align-items: center;
}

.sgc-ordering .woocommerce-ordering {
	float: none;
	margin: 0;
}

.sgc-ordering select {
	min-width: 200px;
	padding: 10px 40px 10px 14px;
	border: 1px solid rgb(0 0 0 / 0.18);
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2312161c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--sgc-ordering-color);
	font: inherit;
	line-height: 1.3;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.sgc-ordering select:focus-visible {
	outline: 2px solid var(--e-global-color-accent, #a85a14);
	outline-offset: 2px;
}

/* Product Filter */

.sgc-filter {
	--sgc-filter-gap: 28px;
	--sgc-filter-accent: var(--e-global-color-accent, #a85a14);
	display: flex;
	flex-direction: column;
	gap: var(--sgc-filter-gap);
}

.sgc-filter.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.sgc-filter__group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sgc-filter__title {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.sgc-filter__options {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-filter__item--child {
	padding-left: calc(var(--sgc-depth, 1) * 16px);
}

.sgc-filter__option {
	display: flex;
	gap: 8px;
	align-items: center;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.sgc-filter__label {
	flex: 1;
}

.sgc-filter__count {
	min-width: 26px;
	padding: 1px 7px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: rgb(0 0 0 / 0.06);
	font-size: 0.75rem;
	text-align: center;
}

.sgc-filter--list .sgc-filter__option:hover,
.sgc-filter--list .is-active > .sgc-filter__option {
	color: var(--sgc-filter-accent);
}

.sgc-filter--list .is-active > .sgc-filter__option .sgc-filter__label {
	font-weight: 600;
}

.sgc-filter input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--sgc-filter-accent);
}

/* Chips: checkboxes drawn as pills. */
.sgc-filter--chips .sgc-filter__options {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.sgc-filter--chips .sgc-filter__item--child {
	padding-left: 0;
}

.sgc-filter--chips .sgc-filter__option {
	position: relative;
	padding: 6px 14px;
	border: 1px solid rgb(0 0 0 / 0.15);
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	font-size: 0.875rem;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sgc-filter--chips input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sgc-filter--chips .sgc-filter__option:hover {
	border-color: var(--sgc-filter-accent);
}

.sgc-filter--chips .sgc-filter__option:has(input:checked) {
	border-color: var(--sgc-filter-accent);
	background: var(--sgc-filter-accent);
	color: #fff;
}

.sgc-filter--chips .sgc-filter__option:has(input:focus-visible) {
	outline: 2px solid var(--sgc-filter-accent);
	outline-offset: 2px;
}

.sgc-filter--chips .sgc-filter__option:has(input:checked) .sgc-filter__count {
	background: rgb(255 255 255 / 0.25);
}

.sgc-filter__stars {
	color: #f5a524;
	letter-spacing: 2px;
}

.sgc-filter__stars-off {
	color: rgb(0 0 0 / 0.18);
}

.sgc-filter__price {
	display: flex;
	gap: 8px;
	align-items: flex-end;
}

.sgc-filter__price-field {
	flex: 1;
	min-width: 0;
}

.sgc-filter__price-label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.75rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-filter__price-input {
	display: flex;
	gap: 4px;
	align-items: center;
	padding: 0 10px;
	border: 1px solid rgb(0 0 0 / 0.18);
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: #fff;
}

.sgc-filter__price-input:focus-within {
	border-color: var(--sgc-filter-accent);
	/* The input's own outline is removed; a 2px ring keeps focus visible. */
	box-shadow: 0 0 0 1px var(--sgc-filter-accent);
}

.sgc-filter .sgc-filter__price-input input[type="number"] {
	width: 100%;
	height: auto;
	border-radius: 0;
	min-width: 0;
	padding: 9px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	box-shadow: none;
	outline: none;
	-moz-appearance: textfield;
}

.sgc-filter__price-sep {
	padding-bottom: 10px;
}

.sgc-filter__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.sgc-filter__reset {
	color: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
}

/* Active Filters */

.sgc-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.sgc-active-filters__label {
	font-weight: 600;
}

.sgc-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-active-filters__chip {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 6px 8px 6px 14px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: rgb(0 0 0 / 0.06);
	color: inherit;
	font-size: 0.875rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.sgc-active-filters__chip:hover,
.sgc-active-filters__chip:focus-visible {
	background: rgb(0 0 0 / 0.12);
}

.sgc-active-filters__x {
	display: inline-grid;
	width: 20px;
	height: 20px;
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	background: rgb(0 0 0 / 0.1);
	font-size: 15px;
	line-height: 1;
	place-items: center;
}

.sgc-active-filters__clear {
	color: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
}

/* Header icons with a badge (Mini Cart, Wishlist Counter, Account Link) */

.sgc-hcount-wrap,
.sgc-account {
	display: flex;
}

.sgc-hcount.sgc-hcount,
.sgc-account__link {
	--sgc-hicon-size: 22px;
	display: inline-flex;
	gap: 10px;
	align-items: center;
	padding: 4px;
	border: 0;
	background: none;
	color: var(--sgc-hicon-color, inherit);
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.elementor-widget .sgc-hcount.sgc-hcount:hover,
.elementor-widget .sgc-hcount.sgc-hcount:focus {
	background: none;
	color: var(--sgc-hicon-color, inherit);
}

.sgc-hcount.sgc-hcount:focus-visible,
.sgc-account__link:focus-visible {
	outline: 2px solid var(--e-global-color-accent, #a85a14);
	outline-offset: 2px;
}

.sgc-hcount__icon {
	position: relative;
	display: inline-flex;
}

.sgc-hcount.sgc-hcount .sgc-icon-wrap,
.sgc-account .sgc-icon-wrap {
	color: inherit;
	font-size: var(--sgc-hicon-size, 22px);
	line-height: 1;
}

.sgc-hcount.sgc-hcount .sgc-icon-wrap svg,
.sgc-account .sgc-icon-wrap svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sgc-hcount__badge,
.sgc-mini-cart__count {
	position: absolute;
	top: -7px;
	right: -10px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: var(--sgc-badge-bg, var(--e-global-color-accent, #a85a14));
	color: var(--sgc-badge-color, #fff);
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

.sgc-hcount.sgc-hcount--hide-empty [data-count="0"] {
	display: none;
}

.sgc-hcount__label {
	font-size: 0.9rem;
	font-weight: 600;
}

/* Mini Cart drawer */

.sgc-mini-cart-drawer .sgc-dialog__box {
	display: flex;
	flex-direction: column;
	padding-top: 0;
}

.admin-bar .sgc-mini-cart-drawer .sgc-dialog__box {
	padding-top: var(--wp-admin--admin-bar--height, 0px);
}

.sgc-mini-cart-drawer__inner {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 22px 24px 24px;
}

.sgc-mini-cart-drawer__title {
	margin: 0 48px 18px 0;
	font-size: 1.25rem;
	line-height: 1.6;
}

.sgc-mini-cart-drawer .widget_shopping_cart_content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.sgc-mini-cart-drawer .woocommerce-mini-cart {
	flex: 1;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

/* ul/li in the selectors: WooCommerce's ".woocommerce ul.product_list_widget li" rules apply on shop pages. */
.sgc-mini-cart-drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 64px 1fr;
	column-gap: 14px;
	padding: 14px 32px 14px 0;
	border-bottom: 1px solid rgb(0 0 0 / 0.08);
}

.sgc-mini-cart-drawer .woocommerce-mini-cart-item > a:not(.remove) {
	display: contents;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.sgc-mini-cart-drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img {
	float: none;
	grid-area: 1 / 1 / span 3 / 2; /* Fully placed, so the name (a bare text node) takes row 1 of column 2. */
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	object-fit: cover;
}

.sgc-mini-cart-drawer .woocommerce-mini-cart-item .quantity {
	grid-column: 2;
	grid-row: 3;
	font-size: 0.875rem;
	color: color-mix(in srgb, currentColor 80%, transparent);
}

.sgc-mini-cart-drawer .woocommerce-mini-cart-item dl.variation {
	grid-column: 2;
	grid-row: 2;
	margin: 2px 0;
	font-size: 0.8rem;
}

.sgc-mini-cart-drawer a.remove {
	position: absolute;
	top: 14px;
	right: 0;
	display: grid;
	width: 24px;
	height: 24px;
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	color: inherit !important;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
	place-items: center;
}

.sgc-mini-cart-drawer a.remove:hover {
	background: rgb(0 0 0 / 0.08);
}

.sgc-mini-cart-drawer .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 18px 0 14px;
	font-size: 1.05rem;
}

.sgc-mini-cart-drawer .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 10px;
	margin: 0;
}

.sgc-mini-cart-drawer .woocommerce-mini-cart__buttons .button {
	display: block;
	margin: 0;
	padding: 13px 18px;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: rgb(0 0 0 / 0.06);
	color: inherit;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.sgc-mini-cart-drawer .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--e-global-color-accent, #a85a14);
	color: #fff;
}

.sgc-mini-cart-drawer .woocommerce-mini-cart__empty-message {
	margin: 24px 0;
	text-align: center;
	color: color-mix(in srgb, currentColor 75%, transparent);
}

.sgc-mini-cart-drawer .blockUI.blockOverlay {
	background: rgb(255 255 255 / 0.6) !important;
}

/* Account Link */

.sgc-account__label {
	font-size: 0.9rem;
	font-weight: 600;
}

/* Wishlist Button */

.sgc-wishlist-wrap {
	display: flex;
}

.sgc-wishlist-btn.sgc-wishlist-btn {
	--sgc-wl-size: 20px;
	--sgc-wl-color: currentColor;
	--sgc-wl-active: #e0465e;
	--sgc-wl-bg: #fff;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	width: calc(var(--sgc-wl-size) * 2);
	height: calc(var(--sgc-wl-size) * 2);
	padding: 0;
	border: 1px solid rgb(0 0 0 / 0.1);
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	background: var(--sgc-wl-bg);
	color: var(--sgc-wl-color);
	font: inherit;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sgc-wishlist-btn.sgc-wishlist-btn:hover,
.sgc-wishlist-btn.sgc-wishlist-btn:focus {
	border-color: var(--sgc-wl-active);
	background: var(--sgc-wl-bg);
	color: var(--sgc-wl-active);
}

.sgc-wishlist-btn.sgc-wishlist-btn:focus-visible {
	outline: 2px solid var(--sgc-wl-active);
	outline-offset: 2px;
}

.sgc-wishlist-btn.sgc-wishlist-btn--text {
	width: auto;
	height: auto;
	padding: 10px 16px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
}

.sgc-wishlist-btn__icon {
	display: inline-flex;
	font-size: var(--sgc-wl-size);
}

.sgc-wishlist-btn__icon svg {
	width: 1em;
	height: 1em;
}

.sgc-wishlist-btn__off {
	display: inline-flex;
}

.sgc-wishlist-btn__on,
.sgc-wishlist-btn.sgc-wishlist-btn[aria-pressed="true"] .sgc-wishlist-btn__off {
	display: none;
}

.sgc-wishlist-btn.sgc-wishlist-btn[aria-pressed="true"] .sgc-wishlist-btn__on {
	display: inline-flex;
}

.sgc-wishlist-btn.sgc-wishlist-btn[aria-pressed="true"] {
	color: var(--sgc-wl-active);
}

.sgc-wishlist-btn.sgc-wishlist-btn[aria-pressed="true"] .sgc-wishlist-btn__icon {
	animation: sgc-wl-pop 0.35s ease;
}

.sgc-wishlist-btn__text {
	font-size: 0.875rem;
	font-weight: 600;
}

@keyframes sgc-wl-pop {
	50% { transform: scale(1.25); }
}

/* Wishlist Counter: shares the header icon block above. */

/* Wishlist */

.sgc-wishlist[aria-busy="true"] {
	opacity: 0.6;
}

.sgc-wishlist__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.sgc-wishlist__table th {
	padding: 10px 12px;
	border-bottom: 1px solid rgb(0 0 0 / 0.12);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
}

.sgc-wishlist__table td {
	padding: 14px 12px;
	border-bottom: 1px solid rgb(0 0 0 / 0.08);
	vertical-align: middle;
}

.sgc-wishlist__cell--remove {
	width: 40px;
}

.sgc-wishlist__cell--image {
	width: 88px;
}

.sgc-wishlist__cell--image .sgc-img {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	object-fit: cover;
}

.sgc-wishlist__cell--cart {
	text-align: right;
}

.sgc-wishlist__title {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.sgc-wishlist__title a {
	color: inherit;
	text-decoration: none;
}

.sgc-wishlist__remove.sgc-wishlist__remove {
	display: inline-grid;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid rgb(0 0 0 / 0.12);
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	background: #fff;
	color: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	place-items: center;
}

.sgc-wishlist__remove.sgc-wishlist__remove:hover,
.sgc-wishlist__remove.sgc-wishlist__remove:focus {
	border-color: #e0465e;
	background: #fff;
	color: #e0465e;
}

.sgc-wishlist__stock {
	font-size: 0.85rem;
	font-weight: 600;
}

.sgc-wishlist__stock.is-in {
	color: #2f8a4c;
}

.sgc-wishlist__stock.is-out {
	color: #c0392b;
}

.sgc-wishlist__grid {
	--sgc-cols: 4;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sgc-wishlist__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sgc-wishlist__card .sgc-wishlist__remove.sgc-wishlist__remove {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
}

.sgc-wishlist__card .sgc-img {
	width: 100%;
	margin-bottom: 8px;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	aspect-ratio: 1;
	object-fit: cover;
}

.sgc-wishlist__card .sgc-wishlist__title {
	margin: 0;
	font-size: 1rem;
}

.sgc-wishlist__actions {
	margin-top: 6px;
}

.sgc-wishlist .added_to_cart {
	display: inline-block;
	margin-left: 10px;
	font-size: 0.875rem;
}

.sgc-wishlist__empty {
	padding: 48px 16px;
	border: 1px dashed rgb(0 0 0 / 0.18);
	border-radius: calc(12px * var(--sg-radius-scale, 1));
	text-align: center;
}

.sgc-wishlist__empty p {
	margin: 0 0 16px;
}

@media (max-width: 767px) {
	.sgc-wishlist__table thead {
		display: none;
	}

	.sgc-wishlist__table tr {
		display: grid;
		grid-template-columns: 72px 1fr auto;
		gap: 4px 12px;
		padding: 14px 0;
		border-bottom: 1px solid rgb(0 0 0 / 0.08);
	}

	.sgc-wishlist__table td {
		padding: 0;
		border: 0;
	}

	.sgc-wishlist__table .sgc-wishlist__cell--image {
		grid-row: span 4;
		grid-column: 1;
		width: auto;
	}

	.sgc-wishlist__table .sgc-wishlist__cell--remove {
		grid-row: 1;
		grid-column: 3;
		width: auto;
	}

	.sgc-wishlist__table .sgc-wishlist__cell--name,
	.sgc-wishlist__table .sgc-wishlist__cell--price,
	.sgc-wishlist__table .sgc-wishlist__cell--stock,
	.sgc-wishlist__table .sgc-wishlist__cell--cart {
		grid-column: 2;
		text-align: left;
	}
}

/* Quick View Button + modal */

.sgc-qv-wrap {
	display: flex;
}

.sgc-qv-btn.sgc-qv-btn {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.sgc-qv-btn__icon {
	display: inline-flex;
}

.sgc-qv-btn__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.sgc-quick-view {
	--sgc-popup-width: 960px;
}

.sgc-quick-view .sgc-dialog__box {
	padding: 0;
}

.sgc-qv {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sgc-qv__gallery {
	padding: 24px;
	background: #f6f5f2;
}

.sgc-qv__main {
	position: relative;
}

.sgc-qv .sgc-qv__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(10px * var(--sg-radius-scale, 1));
	aspect-ratio: 1;
	object-fit: cover;
}

.sgc-qv__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sgc-qv__badge {
	padding: 4px 10px;
	border-radius: calc(999px * var(--sg-radius-scale, 1));
	background: var(--e-global-color-accent, #a85a14);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.sgc-qv__badge--new {
	background: #fff;
	color: #1f2937;
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

.sgc-qv__badge--sold-out {
	background: #1f2937;
	color: #fff;
}

.sgc-qv__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.sgc-qv__thumb.sgc-qv__thumb {
	width: 60px;
	height: 60px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: none;
	cursor: pointer;
}

.sgc-qv__thumb.sgc-qv__thumb.is-active,
.sgc-qv__thumb.sgc-qv__thumb:hover,
.sgc-qv__thumb.sgc-qv__thumb:focus-visible {
	border-color: var(--e-global-color-accent, #a85a14);
	background: none;
}

.sgc-qv__thumb.sgc-qv__thumb .sgc-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sgc-qv__summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 40px 32px 32px;
}

.sgc-qv__title {
	margin: 0 32px 0 0;
	font-size: 1.6rem;
	line-height: 1.2;
}

.sgc-qv__rating {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 0.875rem;
}

.sgc-qv__rating .sgc-filter__stars {
	font-size: 1rem;
}

.sgc-qv__reviews {
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-qv__price {
	font-size: 1.25rem;
	font-weight: 700;
}

.sgc-qv__price del {
	margin-right: 6px;
	font-weight: 400;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.sgc-qv__price ins {
	text-decoration: none;
}

.sgc-qv__excerpt p {
	margin: 0 0 10px;
}

.sgc-qv__cart.sgc-qv__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	margin: 0;
}

.sgc-qv__cart.sgc-qv__cart .quantity .qty {
	width: 72px;
	height: 100%;
	min-height: 46px;
	padding: 0 8px;
	border: 1px solid rgb(0 0 0 / 0.18);
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	font: inherit;
	text-align: center;
}

.sgc-qv__cart.sgc-qv__cart .single_add_to_cart_button,
.sgc-dialog .sgc-qv__cart.sgc-qv__cart button.button.single_add_to_cart_button {
	padding: 12px 24px;
	border: 0;
	border-radius: calc(8px * var(--sg-radius-scale, 1));
	background: var(--e-global-color-accent, #a85a14);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sgc-qv__cart.sgc-qv__cart .single_add_to_cart_button:hover,
.sgc-dialog .sgc-qv__cart.sgc-qv__cart button.button.single_add_to_cart_button:hover {
	background: var(--e-global-color-primary, #1f3a5f);
}

.sgc-qv__cart.sgc-qv__cart .stock {
	width: 100%;
	margin: 0 0 4px;
	font-size: 0.875rem;
}

.sgc-qv__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgb(0 0 0 / 0.08);
}

.sgc-qv__more {
	color: inherit;
	font-size: 0.9rem;
	font-weight: 600;
}

.sgc-qv__loading,
.sgc-qv__error {
	display: grid;
	min-height: 320px;
	margin: 0;
	padding: 32px;
	place-items: center;
}

.sgc-qv__spinner {
	width: 36px;
	height: 36px;
	border: 3px solid rgb(0 0 0 / 0.1);
	border-top-color: var(--e-global-color-accent, #a85a14);
	border-radius: calc(50% * var(--sg-radius-scale, 1));
	animation: sgc-qv-spin 0.8s linear infinite;
}

@keyframes sgc-qv-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	.sgc-qv {
		grid-template-columns: 1fr;
	}

	.sgc-qv__gallery {
		padding: 16px;
	}

	.sgc-qv__summary {
		padding: 20px 16px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgc-archive-products .sgc-ap__quick-view,
	.sgc-wishlist-btn.sgc-wishlist-btn,
	.sgc-filter--chips .sgc-filter__option {
		transition: none;
	}

	.sgc-wishlist-btn.sgc-wishlist-btn[aria-pressed="true"] .sgc-wishlist-btn__icon,
	.sgc-qv__spinner {
		animation: none;
	}
}
