/**
 * Nestopi product archive and single product styles.
 */

/* Product archive: layout and Storefront overrides */
body.nestopi-product-archive-context {
	--nestopi-product-archive-content-width: min(1040px, calc(100vw - clamp(72px, 11vw, 180px)));
	--nestopi-product-archive-filter-width: clamp(160px, 14vw, 180px);
	--nestopi-product-archive-layout-gap: clamp(20px, 2.5vw, 32px);
}

.nestopi-product-archive {
	width: 100%;
	min-height: 60vh;
	padding: clamp(10px, 1.8vw, 22px) 0 clamp(56px, 7vw, 96px);
	color: var(--nestopi-color-black);
	background: var(--nestopi-color-page-bg);
}

body.nestopi-product-archive-context .storefront-breadcrumb {
	padding: clamp(8px, 1.2vw, 16px) 0 0;
	margin-bottom: 0;
}

body.nestopi-product-archive-context .woocommerce-breadcrumb {
	color: #727272;
}

.nestopi-product-archive__banner {
	width: var(--nestopi-product-archive-content-width);
	margin: 0 auto clamp(24px, 3.4vw, 44px);
	line-height: 0;
}

.nestopi-product-archive__banner img {
	display: block;
	width: 100%;
	height: auto;
}

.nestopi-product-archive__heading {
	--nestopi-section-art-width: 1440px;
	--nestopi-section-eyebrow-height: clamp(25px, calc(var(--nestopi-section-art-width) * 0.03825), 55px);
	display: grid;
	gap: clamp(1px, calc(var(--nestopi-section-art-width) * 0.002), 4px);
	justify-items: start;
	box-sizing: border-box;
	width: var(--nestopi-product-archive-content-width);
	padding-left: calc(var(--nestopi-product-archive-filter-width) + var(--nestopi-product-archive-layout-gap));
	margin: 0 auto clamp(20px, 2.7vw, 34px);
	pointer-events: none;
}

.nestopi-product-archive__eyebrow {
	margin: 0;
	line-height: 0;
}

.nestopi-product-archive__eyebrow img {
	display: block;
	width: auto;
	height: var(--nestopi-section-eyebrow-height);
}

.nestopi-product-archive__title {
	margin: 0;
	color: #949494;
	font-size: clamp(13px, calc(var(--nestopi-section-art-width) * 0.021), 30px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.nestopi-product-archive__layout {
	display: grid;
	grid-template-columns: var(--nestopi-product-archive-filter-width) minmax(0, 1fr);
	gap: var(--nestopi-product-archive-layout-gap);
	width: var(--nestopi-product-archive-content-width);
	margin: 0 auto;
}

.nestopi-product-archive-filter,
.nestopi-product-archive-products {
	min-width: 0;
}

/* Product archive: filters */
.nestopi-product-archive-filter {
	align-self: start;
	overflow: hidden;
	margin-top: 46px;
	background: var(--nestopi-color-white);
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nestopi-product-archive-filter__chips[hidden],
.nestopi-product-archive-filter__clear[hidden],
.nestopi-product-archive-filter__panel[hidden] {
	display: none !important;
}

.nestopi-product-archive-filter__chips {
	display: grid;
	gap: 8px;
	padding: 18px 16px 16px;
	border-bottom: 1px solid #eeeeee;
}

.nestopi-product-archive-filter__chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nestopi-product-archive-filter__chip,
.nestopi-product-archive-filter__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 24px;
	padding: 4px 8px;
	color: var(--nestopi-color-black);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	background: #f0f0f0;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
}

.nestopi-product-archive-filter__clear {
	justify-self: start;
	min-height: auto;
	padding: 10px 0 0;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 700;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.nestopi-product-archive-filter__chip:hover,
.nestopi-product-archive-filter__chip:focus-visible,
.nestopi-product-archive-filter__clear:hover,
.nestopi-product-archive-filter__clear:focus-visible {
	opacity: 0.82;
	outline: none;
}

.nestopi-product-archive-filter__group + .nestopi-product-archive-filter__group {
	border-top: 1px solid #eeeeee;
}

.nestopi-product-archive-filter__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 12px 14px;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.nestopi-product-archive-filter__toggle {
	cursor: pointer;
}

.nestopi-product-archive-filter__toggle:hover,
.nestopi-product-archive-filter__toggle:focus-visible {
	background: #f8f8f8;
	outline: none;
}

.nestopi-product-archive-filter__toggle-icon {
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.nestopi-product-archive-filter__panel {
	display: grid;
	gap: 10px;
	padding: 0 14px 14px;
}

.nestopi-product-archive-filter__option {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}

.nestopi-product-archive-filter__option input {
	position: relative;
	width: 14px;
	height: 14px;
	margin: 0;
	appearance: none;
	background: var(--nestopi-color-white);
	border: 1px solid #bdbdbd;
	border-radius: 2px;
	box-shadow: inset 0 0 0 2px var(--nestopi-color-white);
}

.nestopi-product-archive-filter__option input:checked {
	background: var(--nestopi-color-black);
	border-color: #9d9d9d;
}

.nestopi-product-archive-filter__option input:focus-visible {
	outline: 2px solid var(--nestopi-color-main);
	outline-offset: 2px;
}

.nestopi-product-archive-filter__panel--price {
	gap: 14px;
}

/* Product archive: price range */
.nestopi-product-archive-price-range {
	position: relative;
	height: 28px;
	margin-top: 2px;
}

.nestopi-product-archive-price-range__track {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 4px;
	background: #8c8c8c;
	transform: translateY(-50%);
}

.nestopi-product-archive-price-range__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	background: var(--nestopi-color-black);
}

.nestopi-product-archive-price-range__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 28px;
	margin: 0;
	appearance: none;
	background: transparent;
	pointer-events: none;
}

.nestopi-product-archive-price-range__input::-webkit-slider-runnable-track {
	height: 4px;
	background: transparent;
}

.nestopi-product-archive-price-range__input::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -7px;
	appearance: none;
	background: var(--nestopi-color-black);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
}

.nestopi-product-archive-price-range__input::-moz-range-track {
	height: 4px;
	background: transparent;
}

.nestopi-product-archive-price-range__input::-moz-range-thumb {
	width: 18px;
	height: 18px;
	background: var(--nestopi-color-black);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
}

.nestopi-product-archive-price-range__input:focus-visible {
	outline: none;
}

.nestopi-product-archive-price-range__input:focus-visible::-webkit-slider-thumb {
	outline: 2px solid var(--nestopi-color-main);
	outline-offset: 3px;
}

.nestopi-product-archive-price-range__input:focus-visible::-moz-range-thumb {
	outline: 2px solid var(--nestopi-color-main);
	outline-offset: 3px;
}

.nestopi-product-archive-price-inputs {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 8px;
}

.nestopi-product-archive-price-inputs__field {
	width: 100%;
	min-width: 0;
	height: 36px;
	padding: 6px 8px;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 500;
	background: var(--nestopi-color-white);
	border: 1px solid #bdbdbd;
	border-radius: 2px;
	cursor: default;
	pointer-events: none;
	user-select: none;
}

.nestopi-product-archive-price-inputs__separator {
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 700;
}

/* Product archive: product list */
.nestopi-product-archive-products__toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 14px;
}

.nestopi-product-archive-products__sort {
	min-width: 132px;
	min-height: 32px;
	padding: 4px 30px 4px 10px;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	background-color: var(--nestopi-color-white);
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 4px;
}

.nestopi-product-archive-products__results {
	position: relative;
	transition: opacity 0.16s ease;
}

.nestopi-product-archive-products__results.is-loading {
	opacity: 0.48;
	pointer-events: none;
}

.nestopi-product-archive-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 1.3vw, 18px);
}

.nestopi-product-archive-products .nestopi-product-card__image {
	margin: clamp(8px, 1.1vw, 14px);
	border-radius: 4px;
}

.nestopi-product-archive-products .nestopi-product-card__image img {
	transition: transform 0.24s ease;
}

.nestopi-product-archive-products .nestopi-product-card:hover .nestopi-product-card__image img,
.nestopi-product-archive-products .nestopi-product-card:focus-visible .nestopi-product-card__image img {
	transform: scale(1.04);
}

.nestopi-product-archive-products__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: clamp(34px, 5vw, 64px) 16px;
	color: var(--nestopi-color-black);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}

.nestopi-product-archive-products__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(28px, 4vw, 48px);
}

.nestopi-product-archive-products__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 8px 12px;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	background: var(--nestopi-color-white);
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 4px;
}

.nestopi-product-archive-products__pagination .page-numbers.current,
.nestopi-product-archive-products__pagination a.page-numbers:hover,
.nestopi-product-archive-products__pagination a.page-numbers:focus-visible {
	color: var(--nestopi-color-white);
	background: var(--nestopi-color-black);
	outline: none;
}

/* Single product */
.single-product .site-main {
	max-width: 960px;
	margin-inline: auto;
}

body.single-product .storefront-breadcrumb {
	margin-bottom: clamp(28px, 4vw, 44px) !important;
}

body.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(18px, 2.6vw, 34px);
	align-items: start;
	max-width: 860px;
	margin: 0 auto clamp(44px, 7vw, 84px);
	overflow: visible;
}

body.single-product div.product::before,
body.single-product div.product::after,
.single-product div.product form.cart::before,
.single-product div.product form.cart::after,
.single-product div.product .variations_button::before,
.single-product div.product .variations_button::after {
	display: none;
	content: none;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::before,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::after {
	display: none !important;
	content: none !important;
}

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .images,
body.single-product div.product .summary,
body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
body.storefront-full-width-content.single-product div.product .images,
body.storefront-full-width-content.single-product div.product .summary {
	float: none;
	width: 100%;
	margin: 0;
}

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
	justify-self: stretch;
	min-width: 0;
	max-width: none;
}

body.single-product div.product .woocommerce-product-gallery .flex-viewport {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto !important;
	margin-bottom: 16px !important;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
	height: 100%;
}

body.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-product div.product .woocommerce-product-gallery img {
	border-radius: 4px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	width: min(100%, 416px);
	margin-top: 14px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	float: none;
	width: auto;
	margin: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
}

body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery[class*="woocommerce-product-gallery--columns"] .flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	clear: none !important;
}

body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery[class*="woocommerce-product-gallery--columns"] .flex-control-thumbs li img {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	opacity: 0.58;
}

body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery[class*="woocommerce-product-gallery--columns"] .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .summary {
	display: grid;
	align-content: start;
	gap: 2px;
	min-width: 0;
	color: var(--nestopi-color-black);
}

.single-product div.product .summary .product_title {
	margin: 0;
	color: var(--nestopi-color-black);
	font-size: clamp(16px, 1.45vw, 20px);
	font-weight: 700;
	line-height: 1.45;
}

.single-product div.product .summary p.price {
	margin: 0 !important;
	color: var(--nestopi-color-black);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.single-product div.product .summary p.price .amount {
	color: inherit;
}

.single-product div.product form.cart {
	display: grid;
	gap: 4px;
	margin: 0 !important;
	padding: 0 !important;
}

.single-product div.product.product-type-simple form.cart {
	gap: 8px;
}

.single-product div.product form.cart .quantity,
.single-product div.product .variations_button .quantity {
	float: none;
	display: inline-flex;
	align-items: center;
	gap: 0;
	width: fit-content;
	margin: 0;
	background: var(--nestopi-color-white);
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 4px;
	overflow: hidden;
}

.single-product div.product form.cart .quantity .qty {
	width: 48px;
	min-height: 30px;
	padding: 4px 6px;
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 400;
	text-align: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	appearance: textfield;
}

.single-product div.product form.cart .quantity .qty::-webkit-inner-spin-button,
.single-product div.product form.cart .quantity .qty::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.nestopi-single-quantity-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-height: 30px;
	padding: 0;
	color: var(--nestopi-color-black);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.nestopi-single-quantity-button:hover,
.nestopi-single-quantity-button:focus-visible {
	color: var(--nestopi-color-white);
	background: var(--nestopi-color-black);
}

.nestopi-single-quantity-button:disabled {
	color: rgba(0, 0, 0, 0.28);
	background: transparent;
	cursor: not-allowed;
}

.single-product div.product .single_add_to_cart_button,
.single-product div.product .nestopi-single-product__sold-out,
.nestopi-add-all-variations__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	color: var(--nestopi-color-white);
	font-weight: 400;
	line-height: 1;
	text-align: center;
	border: 0;
	border-radius: 0;
}

.single-product div.product .single_add_to_cart_button,
.single-product div.product .nestopi-single-product__sold-out {
	min-height: 46px;
	padding: 12px 18px;
	font-size: 13px;
	background: #635e8b;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.single-product div.product .single_add_to_cart_button:hover,
.single-product div.product .single_add_to_cart_button:focus-visible {
	color: var(--nestopi-color-white);
	background: #635e8b;
	opacity: 0.82;
}

.single-product div.product .single_add_to_cart_button.is-loading,
.single-product div.product .nestopi-add-all-variations__button.is-loading {
	opacity: 0.62;
	pointer-events: none;
}

.single-product div.product .single_add_to_cart_button.disabled,
.single-product div.product .single_add_to_cart_button:disabled,
.single-product div.product .single_add_to_cart_button.nestopi-single-product__variation-sold-out,
.single-product div.product .nestopi-single-product__sold-out,
.single-product div.product .nestopi-single-product__sold-out:disabled {
	color: var(--nestopi-color-white);
	background: var(--nestopi-color-black);
	opacity: 1 !important;
}

.single-product div.product .nestopi-single-product__sold-out,
.single-product div.product .nestopi-single-product__sold-out:disabled {
	cursor: not-allowed;
}

.single-product div.product form.cart.nestopi-single-product--variation-sold-out .quantity,
.single-product div.product form.cart .quantity.nestopi-single-product__quantity--hidden {
	display: none !important;
}

.nestopi-single-product__sold-out-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	object-fit: contain;
}

.single-product div.product .summary .stock.out-of-stock,
.single-product div.product .summary .stock.available-on-backorder {
	display: none;
}

.single-product div.product table.variations {
	display: grid;
	gap: 4px;
	margin: 4px 0 0 !important;
}

.single-product div.product table.variations tbody,
.single-product div.product table.variations tr,
.single-product div.product table.variations th,
.single-product div.product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	background: transparent;
	list-style: none;
}

.single-product div.product table.variations .label {
	margin-bottom: 4px;
	color: var(--nestopi-color-black);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.single-product div.product table.variations .value {
	margin: 0 !important;
}

.single-product div.product table.variations select.nestopi-variation-select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.nestopi-variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nestopi-variation-options__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 6px 14px;
	color: var(--nestopi-color-black);
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	background: var(--nestopi-color-white);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
}

.nestopi-variation-options__button:hover,
.nestopi-variation-options__button:focus-visible,
.nestopi-variation-options__button.is-selected {
	color: var(--nestopi-color-white);
	background: var(--nestopi-color-black);
	border-color: var(--nestopi-color-black);
}

.nestopi-variation-options__button:disabled {
	color: rgba(0, 0, 0, 0.32);
	background: rgba(255, 255, 255, 0.54);
	border-color: rgba(0, 0, 0, 0.08);
	cursor: not-allowed;
}

.single-product div.product .single_variation_wrap {
	display: grid;
	gap: 4px;
}

.single-product div.product .single_variation {
	color: var(--nestopi-color-black);
	font-size: 13px;
}

.single-product div.product .variations_button {
	display: grid;
	gap: 8px;
	padding: 0 !important;
}

.nestopi-add-all-variations {
	margin-top: 4px;
}

.nestopi-add-all-variations__button {
	min-height: 42px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	background: var(--nestopi-color-main);
}

.nestopi-add-all-variations__button:hover,
.nestopi-add-all-variations__button:focus-visible {
	color: var(--nestopi-color-white);
	background: #ff7d18;
}

.nestopi-single-product-message {
	padding: 10px 12px;
	color: #a30000;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	background: #fff0ed;
	border-left: 3px solid #d9361e;
}

.nestopi-single-product-description {
	margin-top: 0;
	padding: clamp(16px, 2vw, 22px);
	color: var(--nestopi-color-black);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.75;
	background: var(--nestopi-color-white);
	border-radius: 4px;
}

.nestopi-add-all-variations + .nestopi-single-product-description {
	margin-top: 18px;
}

.nestopi-single-product__sold-out + .nestopi-single-product-description {
	margin-top: 18px;
}

.nestopi-single-product-description > *:first-child {
	margin-top: 0;
}

.nestopi-single-product-description > *:last-child {
	margin-bottom: 0;
}

.nestopi-single-recommendations {
	grid-column: 1 / -1;
	clear: both;
	max-width: 860px;
	margin: clamp(28px, 4.2vw, 48px) auto 0;
}

.nestopi-single-recommendations__heading {
	margin: 0 0 18px;
	color: #635e8b;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 800;
	line-height: 1.2;
}

.nestopi-single-recommendations__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 1.5vw, 18px);
}

.nestopi-single-recommendations .nestopi-product-card__image {
	margin: clamp(8px, 1.1vw, 14px);
	border-radius: 4px;
}

.nestopi-single-recommendations .nestopi-product-card__image img {
	transition: transform 0.24s ease;
}

.nestopi-single-recommendations .nestopi-product-card:hover .nestopi-product-card__image img,
.nestopi-single-recommendations .nestopi-product-card:focus-visible .nestopi-product-card__image img {
	transform: scale(1.04);
}

/* Product archive: mobile filter and responsive overrides */
.nestopi-product-archive-mobile-filter-button {
	display: none;
}

.nestopi-product-archive-mobile-filter[hidden] {
	display: none !important;
}

.nestopi-product-archive-mobile-filter {
	display: none;
}

html.nestopi-product-archive-mobile-filter-open,
body.nestopi-product-archive-mobile-filter-open {
	overflow: hidden;
}

@media (max-width: 767.99px) {
	body.nestopi-product-archive-context {
		--nestopi-product-archive-content-width: min(100% - 28px, 640px);
	}

	.nestopi-product-archive {
		padding-top: 22px;
	}

	body.nestopi-product-archive-context .site-content > .col-full {
		width: 100%;
		max-width: none;
		padding-right: 0;
		padding-left: 0;
		margin-right: 0;
		margin-left: 0;
	}

	.nestopi-product-archive__banner {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.nestopi-product-archive__heading {
		--nestopi-section-art-width: var(--nestopi-product-archive-content-width);
		grid-template-rows: calc(var(--nestopi-section-eyebrow-height) + 3px) auto;
		padding-left: 0;
	}

	.nestopi-product-archive__eyebrow {
		height: var(--nestopi-section-eyebrow-height);
	}

	.nestopi-product-archive__layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.nestopi-product-archive-filter {
		display: none;
	}

	.nestopi-product-archive-products__toolbar {
		position: relative;
		z-index: 1000;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 14px;
	}

	.nestopi-product-archive-mobile-filter-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 34px;
		padding: 7px 15px;
		color: var(--nestopi-color-black);
		font-size: 13px;
		font-weight: 700;
		line-height: 1;
		background: var(--nestopi-color-white);
		border: 0;
		border-radius: 999px;
		box-shadow: none;
	}

	.nestopi-product-archive-mobile-filter-button:hover,
	.nestopi-product-archive-mobile-filter-button:focus-visible {
		color: var(--nestopi-color-black);
		background: var(--nestopi-color-white);
		outline: none;
	}

	.nestopi-product-archive-mobile-filter-button__icon {
		position: relative;
		display: inline-block;
		width: 12px;
		height: 10px;
		font-size: 0;
		line-height: 0;
		background: linear-gradient(currentColor, currentColor) center center / 9px 2px no-repeat;
		background-clip: content-box;
		border-top: 4px solid transparent;
		border-bottom: 4px solid transparent;
	}

	.nestopi-product-archive-mobile-filter-button__icon::before,
	.nestopi-product-archive-mobile-filter-button__icon::after {
		position: absolute;
		left: 0;
		height: 2px;
		content: "";
		background: currentColor;
		border-radius: 999px;
	}

	.nestopi-product-archive-mobile-filter-button__icon::before {
		top: -4px;
		left: 50%;
		width: 12px;
		transform: translateX(-50%);
	}

	.nestopi-product-archive-mobile-filter-button__icon::after {
		bottom: -4px;
		left: 50%;
		width: 6px;
		transform: translateX(-50%);
	}

	.nestopi-product-archive-products__sort {
		flex: 0 1 150px;
		min-width: 132px;
	}

	.nestopi-product-archive-mobile-filter {
		position: fixed;
		inset: 0;
		z-index: 1200;
		display: block;
		pointer-events: auto;
	}

	.nestopi-product-archive-mobile-filter__overlay {
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.46);
		pointer-events: auto;
	}

	.nestopi-product-archive-mobile-filter__panel {
		position: absolute;
		top: var(--nestopi-header-height-mobile);
		bottom: 0;
		left: 0;
		z-index: 1;
		display: block;
		width: min(72vw, 280px);
		padding-top: 28px;
		overflow-y: auto;
		color: var(--nestopi-color-black);
		background: var(--nestopi-color-white);
		border-radius: 0;
		box-shadow: 12px 0 28px rgba(0, 0, 0, 0.18);
		pointer-events: auto;
		transform: translateX(-100%);
		transition: transform 0.24s ease;
	}

	.nestopi-product-archive-mobile-filter.is-open .nestopi-product-archive-mobile-filter__panel {
		transform: translateX(0);
	}

	.nestopi-product-archive-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.nestopi-product-archive-products .nestopi-product-card__image {
		margin: 8px;
	}

	.single-product .site-main {
		width: min(100% - 28px, 640px);
	}

	body.single-product div.product {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		max-width: 100%;
		margin-bottom: 48px;
	}

	body.single-product div.product .woocommerce-product-gallery,
	body.single-product div.product .images,
	body.single-product div.product .summary,
	body.storefront-full-width-content.single-product div.product .woocommerce-product-gallery,
	body.storefront-full-width-content.single-product div.product .images,
	body.storefront-full-width-content.single-product div.product .summary {
		width: 100%;
	}

	.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		width: 100%;
	}

	.single-product div.product .summary {
		gap: 12px;
	}

	.single-product div.product .summary .product_title,
	.single-product div.product .summary p.price {
		font-size: 18px;
	}

	.single-product div.product form.cart .quantity,
	.single-product div.product .variations_button .quantity {
		width: fit-content;
	}

	.single-product div.product form.cart .quantity .qty {
		width: 48px;
	}

	.nestopi-variation-options {
		gap: 7px;
	}

	.nestopi-variation-options__button {
		min-height: 30px;
		padding-inline: 12px;
	}

	.nestopi-single-product-description {
		font-size: 13px;
	}

	.nestopi-single-recommendations {
		max-width: 100%;
		margin-top: 44px;
	}

	.nestopi-single-recommendations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.nestopi-single-recommendations .nestopi-product-card__image {
		margin: 8px;
	}
}
