/**
 * Shop archive — hero, bar, grid, drawer, cards.
 *
 * @package Fashion_Brand_Theme
 */

/* Full-bleed shell so the hero can edge-to-edge (container used inside). */
body.woocommerce-shop .site-content,
body.tax-product_cat .site-content,
body.tax-product_tag .site-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.site-main--shop {
	background: var(--color-bg);
}

.shop-view {
	position: relative;
	padding: 0 0 100px;
	background: var(--color-bg);
	overflow-x: clip;
}

.shop-view .is-desktop {
	display: inline;
}

.shop-view .is-mobile {
	display: none;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.shop-hero {
	position: relative;
	min-height: clamp(220px, 22vw, 340px);
	background: var(--color-surface-muted);
	overflow: hidden;
}

.shop-hero__picture {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.shop-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	z-index: 0;
}

.shop-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(243, 242, 239, 0.94) 0%,
		rgba(243, 242, 239, 0.7) 32%,
		rgba(243, 242, 239, 0) 62%
	);
}

.shop-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: inherit;
	padding-block: 40px;
}

.shop-hero__copy {
	max-width: 34rem;
}

.shop-hero__eyebrow {
	margin: 0 0 12px;
	font-family: var(--font-family-base);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.shop-hero__title {
	margin: 0;
	font-family: var(--font-family-display);
	font-weight: 400;
	font-size: clamp(3.5rem, 7vw, 6rem);
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--color-ink);
}

.shop-hero__subtitle {
	margin: 16px 0 0;
	max-width: 30ch;
	font-family: var(--font-family-display);
	font-weight: 400;
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: 1.4;
	color: var(--color-text);
}

.shop-hero__subtitle--mobile {
	display: none;
}

.shop-hero__rule {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}

.shop-hero__rule-line {
	display: block;
	width: 40px;
	height: 1px;
	background: var(--color-muted);
	flex-shrink: 0;
}

.shop-hero__rule-label {
	font-family: var(--font-family-base);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.shop-hero__rule-label--mobile {
	display: none;
}

.shop-hero__script {
	display: none;
	position: absolute;
	right: 3%;
	top: 50%;
	margin: 0;
	transform: translateY(-50%) rotate(-6deg);
	font-family: var(--font-family-display);
	font-style: italic;
	font-weight: 300;
	font-size: 34px;
	line-height: 1.15;
	color: color-mix(in srgb, var(--color-ink) 80%, transparent);
	text-shadow:
		0 0 14px rgba(243, 242, 239, 0.95),
		0 0 28px rgba(243, 242, 239, 0.8);
	pointer-events: none;
	z-index: 2;
}

.shop-hero__script span {
	display: block;
	clip-path: inset(-0.1em 100% -0.25em -0.1em);
	transform: translateX(-6px);
	animation: shop-hero-script-write 1.1s cubic-bezier(0.45, 0.05, 0.25, 1) both;
}

.shop-hero__script span:nth-child(1) {
	animation-delay: 0.4s;
}

.shop-hero__script span:nth-child(2) {
	padding-left: 0.55em;
	animation-delay: 1s;
}

.shop-hero__script span:nth-child(3) {
	padding-left: 1.1em;
	animation-delay: 1.6s;
}

.shop-hero__script::after {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	margin-top: 12px;
	margin-left: 1.1em;
	background: color-mix(in srgb, var(--color-ink) 80%, transparent);
	transform: scaleX(0);
	transform-origin: left center;
	animation: shop-hero-script-rule 0.7s cubic-bezier(0.45, 0.05, 0.25, 1) 2.5s both;
}

@keyframes shop-hero-script-write {
	from {
		clip-path: inset(-0.1em 100% -0.25em -0.1em);
		transform: translateX(-6px);
	}

	to {
		clip-path: inset(-0.1em -0.25em -0.25em -0.1em);
		transform: translateX(0);
	}
}

@keyframes shop-hero-script-rule {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

@media (min-width: 1100px) {
	.shop-hero__script {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shop-hero__script span,
	.shop-hero__script::after {
		animation: none;
	}

	.shop-hero__script span {
		clip-path: inset(-0.1em -0.25em -0.25em -0.1em);
		transform: none;
	}

	.shop-hero__script::after {
		transform: scaleX(1);
	}
}

/* -------------------------------------------------------------------------- */
/* Shop bar                                                                   */
/* -------------------------------------------------------------------------- */

.shop-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 32px auto 28px;
}

.shop-bar__start {
	display: flex;
	align-items: center;
	gap: 0;
	flex: 1;
	min-width: 0;
}

.shop-bar__pills {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	row-gap: 8px;
	overflow: visible;
	order: 1;
	min-width: 0;
	flex: 1 1 auto;
}

.shop-bar__pills::-webkit-scrollbar {
	display: none;
}

.shop-bar__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--color-surface-muted);
	color: var(--color-text);
	font-family: var(--font-family-display);
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	border: none;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

@media (max-width: 1480px) and (min-width: 901px) {
	.shop-bar__pill {
		padding: 0 12px;
	}
}

.shop-bar__pill:hover {
	background: var(--color-border);
	color: var(--color-text);
}

.shop-bar__pill.is-active {
	background: var(--color-text);
	color: #fff;
}

.shop-bar__pill.is-active:hover {
	background: var(--color-ink);
	color: #fff;
}

.shop-bar__divider {
	display: block;
	width: 1px;
	height: 28px;
	margin-inline: 12px;
	background: var(--color-border);
	flex-shrink: 0;
	order: 2;
}

.shop-bar__filter-btn,
.shop-bar__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	min-height: 0;
	min-width: 0;
	padding: 0 10px;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-family-display);
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: none;
}

.shop-bar__filter-btn {
	order: 3;
}

.shop-bar__filter-btn:hover,
.shop-bar__trigger:hover {
	background: transparent;
	color: var(--color-ink);
}

.shop-bar__filter-btn:focus-visible,
.shop-bar__trigger:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 2px;
}

.shop-bar__triggers {
	display: flex;
	align-items: center;
	gap: 0;
	order: 4;
	flex-shrink: 0;
}

.shop-bar__icon {
	display: block;
	flex-shrink: 0;
}

.shop-bar__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--color-ink);
	color: #fff;
	font-family: var(--font-family-base);
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
}

.shop-bar__end {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex-shrink: 0;
}

.shop-bar__count-text {
	display: none;
	margin: 0;
	font-family: var(--font-family-base);
	font-size: 14px;
	color: var(--color-muted);
}

.shop-bar__sort {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.shop-bar__sort-label {
	font-family: var(--font-family-base);
	font-size: 13px;
	line-height: 1.2;
	color: var(--color-muted);
	white-space: nowrap;
}

.shop-bar__sort .woocommerce-ordering {
	display: flex;
	align-items: center;
	margin: 0;
}

.shop-bar__sort .woocommerce-ordering select,
.shop-bar__sort select.orderby {
	appearance: none;
	-webkit-appearance: none;
	min-height: 0;
	min-width: 0;
	width: auto;
	field-sizing: content;
	height: auto;
	padding: 0 18px 0 0;
	border: none;
	border-radius: 0;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2315181A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 12px;
	font-family: var(--font-family-display);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--color-text);
	cursor: pointer;
	box-shadow: none;
}

.shop-bar__sort .woocommerce-ordering select:hover,
.shop-bar__sort select.orderby:hover,
.shop-bar__sort .woocommerce-ordering select:focus,
.shop-bar__sort select.orderby:focus {
	background-color: transparent;
	outline: none;
	border: none;
	box-shadow: none;
}

/* Sub-categories */
.shop-subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -12px auto 28px;
}

.shop-subcats__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	padding: 0 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-family-base);
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
}

.shop-subcats__pill:hover,
.shop-subcats__pill.is-active {
	border-color: var(--color-ink);
	color: var(--color-ink);
}

/* -------------------------------------------------------------------------- */
/* Grid                                                                       */
/* -------------------------------------------------------------------------- */

.shop-main {
	position: relative;
	z-index: 1;
}

.woocommerce ul.products.shop-grid,
ul.products.shop-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products.shop-grid::before,
.woocommerce ul.products.shop-grid::after,
ul.products.shop-grid::before,
ul.products.shop-grid::after {
	display: none;
}

.woocommerce ul.products.shop-grid li.product,
ul.products.shop-grid li.product {
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
}

/* Pagination / notices / empty */
.woocommerce-pagination {
	margin-top: 48px;
	text-align: center;
}

.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-family: var(--font-family-base);
	font-size: 14px;
	color: var(--color-text);
	text-decoration: none;
	border: 1px solid transparent;
}

.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination a.page-numbers:hover {
	border-color: var(--color-border);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	margin: 0 0 24px;
}

.shop-main .woocommerce-info {
	padding: 48px 24px;
	text-align: center;
	background: var(--color-surface-muted);
	border: none;
	color: var(--color-muted);
}

/* -------------------------------------------------------------------------- */
/* Product card                                                               */
/* -------------------------------------------------------------------------- */

.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product-card__media {
	position: relative;
	aspect-ratio: 24 / 25;
	overflow: hidden;
	background: var(--color-surface-muted);
}

.product-card__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.product-card-img-wrap {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.product-card-img-wrap img,
.product-card-img,
.product-card-img-wrap .woocommerce-product-gallery__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	margin: 0;
}

/* Beat WooCommerce `.woocommerce ul.products li.product a img { height:auto; margin-bottom:1em }` */
.woocommerce ul.products.shop-grid li.product .product-card-img-wrap img.product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center;
	display: block;
}

.product-card-img.hover-img,
.woocommerce ul.products.shop-grid li.product .product-card-img-wrap img.product-card-img.hover-img {
	opacity: 0;
	transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
	.product-card__media:hover .product-card-img.hover-img,
	.woocommerce ul.products.shop-grid li.product .product-card__media:hover .product-card-img-wrap img.product-card-img.hover-img {
		opacity: 1;
	}
}

.product-card__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}

.product-card__badge {
	display: inline-block;
	padding: 6px 10px;
	background: #fff;
	border-radius: 0;
	font-family: var(--font-family-base);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--color-text);
}

.product-card__badge--sale {
	color: var(--color-error);
}

.product-card__wishlist {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	box-shadow: none;
	filter: drop-shadow(0 1px 3px rgba(21, 24, 26, 0.35));
}

.product-card__wishlist:hover,
.product-card__wishlist:focus-visible {
	background: transparent;
	color: #fff;
}

.product-card__wishlist svg {
	display: block;
	width: 22px;
	height: 22px;
}

.product-card__wishlist[aria-pressed="true"] svg path {
	fill: currentColor;
}

/* Guest wishlist sign-in tip (account-based wishlist) */
.wishlist-signin-tip {
	position: fixed;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	max-width: min(240px, calc(100vw - 16px));
	padding: 10px 12px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	background: var(--color-surface, #fff);
	box-shadow: 0 8px 24px rgba(21, 24, 26, 0.12);
	font-family: var(--font-family-base);
	font-size: 13px;
	line-height: 1.4;
	color: var(--color-text);
	pointer-events: auto;
}

.wishlist-signin-tip__text {
	display: block;
}

.wishlist-signin-tip__link {
	color: var(--color-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wishlist-signin-tip__link:hover,
.wishlist-signin-tip__link:focus-visible {
	color: var(--color-accent);
}


.product-card-info {
	display: flex;
	flex-direction: column;
	padding-top: 14px;
	flex: 1;
}

.product-card-info__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.product-card__title-link {
	min-width: 0;
	flex: 1 1 auto;
	text-decoration: none;
	color: inherit;
}

.product-card-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--font-family-display);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.35;
	color: var(--color-text);
}

.product-card-price {
	flex: 0 0 auto;
	margin-left: auto;
	font-family: var(--font-family-display);
	font-size: 14px;
	line-height: 1.35;
	color: var(--color-text);
	white-space: nowrap;
	text-align: right;
}

.product-card-price del {
	color: var(--color-muted);
	text-decoration: line-through;
	margin-left: 4px;
	font-size: 0.92em;
}

.product-card-price ins {
	text-decoration: none;
	background: none;
}

.product-card__swatches {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.product-card__swatch {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--swatch);
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.product-card__swatch-more {
	font-family: var(--font-family-base);
	font-size: 12px;
	color: var(--color-muted);
	line-height: 1;
}

.product-card__cart,
a.product-card__cart.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	min-height: 0;
	min-width: 0;
	margin-top: 14px;
	padding: 0 12px;
	border: 1px solid var(--color-border-strong);
	border-radius: 0;
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-family-display);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-card__cart:hover,
a.product-card__cart.button:hover {
	background: var(--color-ink);
	color: #fff;
	border-color: var(--color-ink);
}

.product-card__cart--sold-out,
.product-card__cart--sold-out:hover {
	opacity: 0.55;
	cursor: not-allowed;
	background: transparent;
	color: var(--color-muted);
	border-color: var(--color-border);
}

.product-card .added_to_cart {
	display: none !important;
}

.product-card__rating {
	display: none;
}

/* -------------------------------------------------------------------------- */
/* Filters drawer                                                             */
/* -------------------------------------------------------------------------- */

.shop-sidebar {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: block;
	pointer-events: none;
	visibility: hidden;
}

.shop-sidebar.is-open {
	pointer-events: auto;
	visibility: visible;
}

.shop-sidebar__overlay {
	position: absolute;
	inset: 0;
	background: rgba(21, 24, 26, 0.4);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.shop-sidebar.is-open .shop-sidebar__overlay {
	opacity: 1;
}

.shop-sidebar__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 400px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: var(--color-surface);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	box-shadow: none;
}

.shop-sidebar.is-open .shop-sidebar__panel {
	transform: translateX(0);
}

.shop-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 24px 16px;
	flex-shrink: 0;
}

.shop-sidebar__title {
	margin: 0;
	font-family: var(--font-family-display);
	font-weight: 400;
	font-size: 22px;
	color: var(--color-text);
}

.shop-sidebar__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: var(--color-text);
	cursor: pointer;
	box-shadow: none;
}

.shop-sidebar__close:hover {
	background: transparent;
	color: var(--color-ink);
}

.shop-filters {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.shop-filters__body {
	flex: 1;
	overflow: auto;
	padding: 8px 24px 24px;
}

.shop-filters__group + .shop-filters__group {
	margin-top: 24px;
}

.shop-filters__title {
	margin: 0 0 16px;
	font-family: var(--font-family-base);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.shop-filters__swatches {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-filters__swatch-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.shop-filters__swatch-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.shop-filters__swatch {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--swatch, var(--color-surface-muted));
	box-shadow: 0 0 0 0 transparent;
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.shop-filters__swatch-input:checked + .shop-filters__swatch {
	outline-color: var(--color-ink);
}

.shop-filters__swatch-name {
	font-family: var(--font-family-base);
	font-size: 12px;
	color: var(--color-text);
	text-align: center;
	line-height: 1.2;
}

.shop-filters__sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-filters__size-label {
	display: block;
	cursor: pointer;
}

.shop-filters__size-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.shop-filters__size-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	font-family: var(--font-family-base);
	font-size: 14px;
	color: var(--color-text);
	line-height: 1;
}

.shop-filters__size-input:checked + .shop-filters__size-chip {
	background: var(--color-ink);
	border-color: var(--color-ink);
	color: #fff;
}

.shop-filters__price {
	position: relative;
	padding-top: 12px;
	--price-left: 0%;
	--price-right: 100%;
}

.shop-filters__price::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 22px;
	height: 2px;
	background: var(--color-border);
	pointer-events: none;
}

.shop-filters__price::after {
	content: "";
	position: absolute;
	left: var(--price-left);
	width: calc(var(--price-right) - var(--price-left));
	top: 22px;
	height: 2px;
	background: var(--color-ink);
	pointer-events: none;
}

.shop-filters__range {
	position: absolute;
	left: 0;
	width: 100%;
	top: 12px;
	height: 24px;
	margin: 0;
	appearance: none;
	background: transparent;
	pointer-events: none;
}

.shop-filters__range::-webkit-slider-thumb {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--color-ink);
	border: none;
	cursor: pointer;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

.shop-filters__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--color-ink);
	border: none;
	cursor: pointer;
	pointer-events: auto;
}

.shop-filters__range::-webkit-slider-runnable-track {
	height: 2px;
	background: transparent;
}

.shop-filters__range::-moz-range-track {
	height: 2px;
	background: transparent;
}

.shop-filters__price-labels {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 40px 0 0;
	font-family: var(--font-family-base);
	font-size: 14px;
	color: var(--color-text);
}

.shop-filters__actions {
	position: sticky;
	bottom: 0;
	padding: 16px 24px 24px;
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	flex-shrink: 0;
	text-align: center;
}

.shop-filters__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	min-height: 0;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: var(--color-ink);
	color: #fff;
	font-family: var(--font-family-base);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: none;
}

.shop-filters__submit:hover {
	background: var(--color-text);
	color: #fff;
}

.shop-filters__clear {
	display: inline-block;
	margin-top: 14px;
	font-family: var(--font-family-base);
	font-size: 13px;
	color: var(--color-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shop-filters__clear:hover {
	color: var(--color-text);
}

/* -------------------------------------------------------------------------- */
/* Side decorations                                                           */
/* -------------------------------------------------------------------------- */

.shop-side-decor {
	display: none;
}

@media (min-width: 1400px) {
	.shop-side-decor {
		display: block;
		pointer-events: none;
	}

	.shop-side-decor__left,
	.shop-side-decor__right {
		position: absolute;
		top: calc(clamp(220px, 22vw, 340px) + 32px + 60px + 28px);
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		z-index: 0;
	}

	.shop-side-decor__left {
		left: 28px;
	}

	.shop-side-decor__right {
		right: 28px;
	}

	.shop-side-decor__rule {
		display: block;
		width: 1px;
		height: 40px;
		background: var(--color-muted);
	}

	.shop-side-decor__text {
		font-family: var(--font-family-base);
		font-size: 11px;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: var(--color-muted);
		writing-mode: vertical-rl;
		white-space: nowrap;
	}

	.shop-side-decor__left .shop-side-decor__text {
		transform: rotate(180deg);
	}
}

/* -------------------------------------------------------------------------- */
/* Quick view modal                                                           */
/* -------------------------------------------------------------------------- */

.quick-view-modal[hidden] {
	display: none !important;
}

.quick-view-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.quick-view-modal__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--color-ink) 45%, transparent);
}

.quick-view-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: 90vh;
	overflow: auto;
	background: var(--color-bg);
	padding: 24px;
}

.quick-view-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	min-height: 0;
	min-width: 0;
	border: none;
	border-radius: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--color-text);
	padding: 0;
}

.quick-view-modal__close:hover {
	background: none;
}

.quick-view {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.quick-view__title {
	font-family: var(--font-family-display);
	font-weight: 300;
	font-size: 28px;
	margin: 0 0 8px;
}

.quick-view__price {
	color: var(--color-muted);
	margin: 0 0 16px;
}

.quick-view__details {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	color: var(--color-accent);
}

.related.products > h2,
.upsells.products > h2 {
	display: none;
}

.related.products ul.products.shop-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* -------------------------------------------------------------------------- */
/* Breakpoints                                                                */
/* -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.woocommerce ul.products.shop-grid,
	ul.products.shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.shop-view .is-desktop {
		display: none;
	}

	.shop-view .is-mobile {
		display: inline;
	}

	.shop-hero {
		min-height: max(420px, 105vw);
	}

	.shop-hero__image {
		object-position: 78% 18%;
	}

	.shop-hero::after {
		background: linear-gradient(
			90deg,
			rgba(243, 242, 239, 0.95) 0%,
			rgba(243, 242, 239, 0.88) 40%,
			rgba(243, 242, 239, 0.35) 62%,
			rgba(243, 242, 239, 0) 80%
		);
	}

	.shop-hero__copy {
		max-width: 52%;
	}

	.shop-hero__title {
		font-size: 3.5rem;
	}

	.shop-hero__subtitle {
		font-size: 16px;
		line-height: 1.35;
	}

	.shop-hero__subtitle--desktop {
		display: none;
	}

	.shop-hero__subtitle--mobile {
		display: block;
	}

	.shop-hero__rule-line {
		width: 24px;
	}

	.shop-hero__rule-label--desktop {
		display: none;
	}

	.shop-hero__rule-label--mobile {
		display: inline;
		font-size: 10px;
		letter-spacing: 0.14em;
		white-space: nowrap;
	}

	.shop-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		margin: 24px auto 20px;
	}

	.shop-bar__start {
		width: 100%;
		gap: 8px;
	}

	.shop-bar__filter-btn {
		order: 0;
		height: 40px;
		padding: 0 16px;
		border-radius: 999px;
		background: var(--color-surface-muted);
		font-family: var(--font-family-base);
		font-size: 14px;
		flex-shrink: 0;
	}

	.shop-bar__filter-btn:hover {
		background: var(--color-border);
	}

	.shop-bar__pills {
		order: 1;
		flex: 1;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.shop-bar__pill {
		height: 40px;
		font-family: var(--font-family-base);
		font-size: 14px;
	}

	.shop-bar__pill.is-active {
		background: var(--color-ink);
		color: #fff;
	}

	.shop-bar__divider,
	.shop-bar__triggers {
		display: none;
	}

	.shop-bar__end {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
	}

	.shop-bar__count-text {
		display: block;
	}

	.shop-bar__sort-label,
	.shop-bar__sort .woocommerce-ordering select,
	.shop-bar__sort select.orderby {
		font-family: var(--font-family-base);
		font-size: 14px;
		color: var(--color-text);
	}

	.shop-bar__sort-label {
		color: var(--color-text);
	}

	.woocommerce ul.products.shop-grid,
	ul.products.shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 12px;
	}

	.product-card__media {
		aspect-ratio: 7 / 8;
	}

	.product-card-info__row {
		display: block;
	}

	.product-card-price {
		display: block;
		margin: 4px 0 0;
		margin-left: 0;
		font-family: var(--font-family-base);
		font-size: 15px;
		text-align: left;
		white-space: normal;
	}

	.product-card__swatch {
		width: 14px;
		height: 14px;
	}

	.product-card__cart,
	a.product-card__cart.button {
		display: none;
	}

	.shop-sidebar__panel {
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 85vh;
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
	}

	.shop-sidebar.is-open .shop-sidebar__panel {
		transform: translateY(0);
	}

	.quick-view {
		grid-template-columns: 1fr;
	}

	.related.products ul.products.shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.shop-hero__copy {
		max-width: 52%;
	}
}
