/* Shop archive — Phase 1 */

.sdn-shop {
	padding-bottom: 8rem;
}

.shop-hero {
	position: relative;
	min-height: 42rem;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #111;
	color: #fff;
}

body.has-hero-overlay .shop-hero {
	margin-top: calc(var(--header-height) * -1);
	padding-top: var(--header-height);
	box-sizing: border-box;
	min-height: max(42rem, calc(100vw * 650 / 1730));
}

.shop-hero-media {
	position: absolute;
	inset: 0;
}

.shop-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 2.4rem 1.6rem;
}

.shop-hero-title {
	margin: 0;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 10.8rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.shop-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: center;
	align-items: center;
	margin-top: 1.6rem;
	font-size: 1.6rem;
	color: #fff;
}

.shop-breadcrumb a {
	color: inherit;
	text-decoration: none;
	opacity: 0.8;
}

.shop-breadcrumb .breadcrumb_last,
.shop-breadcrumb span {
	color: inherit;
}

.shop-breadcrumb .separator,
.shop-breadcrumb .breadcrumb-separator {
	opacity: 1;
}

.shop-tabs {
	border-bottom: 0;
}

.shop-tabs > .swiper {
	overflow: hidden;
}

.shop-tabs .swiper-wrapper {
	display: flex;
	gap: 0;
}

.shop-tabs .swiper-slide {
	width: auto;
	height: auto;
}

.shop-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: max(12rem, 14vw);
	min-height: 7.8rem;
	padding: 0 2.4rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 2.4rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	color: #999999;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
	box-sizing: border-box;
}

.shop-tabs .swiper-slide:last-child .shop-tab {
	border-right: 0;
}

.shop-tab.is-active {
	color: #111111;
	border-right-color: #111111;
	border-bottom-color: #111111;
}

.shop-subfilter {
	padding: 3.2rem 0 2.4rem;
	background: #f5f5f2;
}

.shop-subfilter-inner {
	display: flex;
	gap: 4rem;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
}

.shop-subfilter-copy {
	flex: 0 0 auto;
	width: min(38rem, 100%);
	max-width: 38rem;
	min-width: 0;
}

.shop-subfilter-title {
	margin: 0 0 0.8rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 4.8rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.shop-subfilter-desc {
	max-width: 48.9rem;
	color: #111111;
	font-size: 1.4rem;
	line-height: 1.5;
}

.shop-subfilter-slider {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.shop-subfilter-slider.has-nav {
	padding: 0 4.8rem;
}

.shop-subfilter-slider:not(.has-nav) .swiper {
	overflow: visible;
}

.shop-subfilter-slider:not(.has-nav) .swiper-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	justify-content: flex-end;
}

.shop-subfilter-slider:not(.has-nav) .swiper-slide {
	width: auto;
	margin: 0 !important;
}

.shop-subfilter-slider .swiper {
	overflow: hidden;
}

.shop-subfilter-slider .swiper-slide {
	width: auto;
	height: auto;
}

.shop-subfilter-slider .swiper-navigation {
	position: absolute;
	inset: 0 0 0 0;
	pointer-events: none;
}

.shop-subfilter-slider .swiper-navigation .prev,
.shop-subfilter-slider .swiper-navigation .next {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	pointer-events: auto;
	transform: translateY(-50%);
}

.shop-subfilter-slider .swiper-navigation .prev {
	left: 0;
}

.shop-subfilter-slider .swiper-navigation .next {
	right: 0;
}

.shop-subfilter-slider .swiper-navigation .prev img {
	transform: rotate(90deg);
}

.shop-subfilter-slider .swiper-navigation .next img {
	transform: rotate(-90deg);
}

.shop-subfilter-slider .swiper-navigation .swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.shop-subfilter-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 18rem;
	min-height: 10.8rem;
	padding: 0.9rem;
	text-decoration: none;
	color: #131313;
	background: #fff;
	border: 1px solid #e9e9e5;
}

.shop-subfilter-item.is-active {
	border-color: #111111;
}

.shop-subfilter-thumb {
	width: 9rem;
	height: 9rem;
	flex: 0 0 9rem;
	overflow: hidden;
	background: #f5f5f2;
}

.shop-subfilter-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-subfilter-name {
	font-size: 2rem;
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 600;
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 2.4rem 0;
	border-top: 1px solid #e9e9e5;
}

.shop-toolbar-count {
	margin: 0;
	font-size: 1.6rem;
}

.shop-toolbar-actions {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2.4rem;
	z-index: 25;
}

.shop-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: #131313;
	font-family: Inter, sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.5;
}

.shop-filter-toggle img {
	flex: 0 0 1.6rem;
}

.shop-sort-label {
	font-size: 1.6rem;
	line-height: 1.5;
}

.shop-sort-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.8rem 1.6rem;
	background: #fff;
	border: 1px solid #111;
	cursor: pointer;
	font-size: 1.6rem;
}

.shop-filter-fab {
	display: none;
}

.shop-sort {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.2rem;
}

.shop-sort-menu {
	position: absolute;
	top: calc(100% + 0.8rem);
	right: 0;
	z-index: 20;
	display: none;
	min-width: 17.7rem;
	margin: 0;
	padding: 0.8rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid #111;
}

.shop-sort.is-open .shop-sort-menu {
	display: block;
}

.shop-sort-menu a {
	display: block;
	padding: 0.8rem 1.6rem;
	text-decoration: none;
	color: #131313;
	font-size: 1.6rem;
}

.shop-sort-menu a.is-active,
.shop-sort-menu a:hover {
	color: #c5342d;
}

.shop-filter-wrap {
	position: relative;
}

.shop-filter {
	position: absolute;
	top: calc(100% + 0.8rem);
	right: 0;
	z-index: 30;
	width: min(96rem, calc(100vw - 3.2rem));
	margin: 0;
}

.shop-filter-backdrop {
	display: none;
}

.shop-filter-head {
	display: none;
}

@media (min-width: 1201px) {
	.shop-filter-wrap {
		position: static;
	}

	.shop-filter {
		width: calc(min(96rem, calc(100vw - 3.2rem)) + var(--shop-sort-offset, 0px));
	}
}

.shop-filter[hidden] {
	display: none !important;
}

.shop-filter-panel {
	position: relative;
	padding: 3.2rem;
	background: #fafafa;
	border: 1px solid #111;
	box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.08);
}

body.is-shop-filter-open {
	overflow: hidden;
}

.shop-filter-cols {
	display: grid;
	gap: 3.2rem 4rem;
}

.shop-filter-cols--3 {
	grid-template-columns: minmax(24rem, 1.6fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
}

.shop-filter-cols--4 {
	grid-template-columns: minmax(24rem, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
}

.shop-filter-cols--5 {
	grid-template-columns: minmax(0, 1fr) minmax(24rem, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
}

.shop-filter-col--price .shop-filter-check {
	white-space: nowrap;
}

.shop-filter-title {
	margin: 0 0 1.6rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 2.4rem;
	font-weight: 600;
	text-transform: uppercase;
}

.shop-filter-check,
.shop-filter-color {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.2rem;
	cursor: pointer;
	font-size: 1.6rem;
	line-height: 1.4;
	user-select: none;
}

.shop-filter-check input,
.shop-filter-color input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.shop-filter-box {
	display: block;
	width: 1.6rem;
	height: 1.6rem;
	flex: 0 0 1.6rem;
	box-sizing: border-box;
	border: 1px solid #111;
	background: #fff;
}

.shop-filter-check.is-active .shop-filter-box,
.shop-filter-color.is-active .shop-filter-box,
.shop-filter-check input:checked + .shop-filter-box,
.shop-filter-color input:checked + .shop-filter-box {
	background: #c5342d;
	border-color: #c5342d;
	box-shadow: inset 0 0 0 0.2rem #fafafa;
}

.shop-filter-check.is-active,
.shop-filter-color.is-active {
	color: #c5342d;
}

.shop-filter-swatch {
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #ccc;
	border: 1px solid rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.shop-filter-actions {
	display: flex;
	gap: 1.6rem;
	margin-top: 3.2rem;
}

.shop-filter-reset,
.shop-filter-apply {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 4.4rem;
	padding: 1.2rem 2.4rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.shop-filter-reset {
	color: #111;
	background: #fff;
	border: 1px solid #111;
}

.shop-filter-apply {
	color: #fff;
	background: #111;
	border: 1px solid #111;
}

/* Override WooCommerce float/width so our grid controls layout. */
.woocommerce ul.products,
.woocommerce-page ul.products,
.sdn-shop ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 3.2rem 1.6rem;
	margin: 0 0 4.8rem;
	padding: 0;
	list-style: none;
	width: 100%;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
	display: none !important;
	content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.sdn-shop ul.products li.product,
.sdn-shop .product-card {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	clear: none !important;
	max-width: none !important;
}

.product-card-size {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.8rem;
	min-height: 2.4rem;
	padding: 0.2rem 0.4rem;
	border: 1px solid #999;
	background: #fff;
	color: #131313;
	cursor: pointer;
	font-size: 1.4rem;
	transition: 0.3s ease-in-out;
}

.product-card--list .product-card-size {
	width: auto;
	min-width: 3.8rem;
	padding: 0.2rem 0.8rem;
}

.product-card-size.is-active,
.product-card-size:hover,
.product-card-size:focus-visible {
	color: #fff;
	border-color: #111;
	background-color: #111;
}

.product-card-size.is-disabled,
.product-card-size:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.product-card-size.is-disabled:hover,
.product-card-size.is-disabled:focus-visible,
.product-card-size:disabled:hover,
.product-card-size:disabled:focus-visible {
	color: #131313;
	border-color: #999;
	background-color: #fff;
}

.product-card-color.is-disabled,
.product-card-color:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.product-card .price.is-contact {
	font-weight: 600;
}

.product-card.is-loading {
	opacity: 0.6;
	/* Không pointer-events:none — xem ProductCardModule (giữ is-hover khi ATC). */
}

.shop-pagination {
	display: flex;
	justify-content: center;
	padding: 4.8rem 0;
}

.shop-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 2.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	user-select: none;
	border-bottom: 1px solid #e9e9e5;
}

.shop-pagination .page-numbers li {
	display: flex;
	align-items: stretch;
	justify-content: center;
	margin: 0;
}

.shop-pagination a,
.shop-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 1.2rem;
	padding: 0 0 1.2rem;
	margin-bottom: -1px;
	text-decoration: none;
	color: #131313;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1;
	border-bottom: 2px solid transparent;
}

.shop-pagination .current {
	font-weight: 700;
	color: #c8102e;
	border-bottom-color: #c8102e;
}

.shop-pagination .dots {
	pointer-events: none;
	color: #131313;
}

.shop-pagination .prev img,
.shop-pagination .next img {
	display: block;
	width: 1.6rem;
	height: 1.6rem;
	/* #C5342D */
	filter: invert(28%) sepia(72%) saturate(2140%) hue-rotate(339deg) brightness(92%) contrast(92%);
}

.shop-pagination .prev img {
	transform: rotate(90deg);
}

.shop-pagination .next img {
	transform: rotate(-90deg);
}

.sdn-shop.is-ajax-loading .js-shop-results {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.shop-member {
	padding: 4.8rem 0;
}

.shop-member-inner {
	display: grid;
	grid-template-columns: 44.5rem 1fr;
	gap: 7.2rem;
	align-items: start;
}

.shop-member-title {
	margin: 0;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 3.2rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.shop-member-title-hl {
	color: #c5342d;
}

.shop-member-desc {
	margin: 2rem 0 0;
	max-width: 28rem;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 2rem;
	color: #131313;
}

.shop-member-title + .shop-member-cta,
.shop-member-desc + .shop-member-cta {
	margin-top: 2.4rem;
}

.shop-member-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	min-width: 20.7rem;
	min-height: 5.6rem;
	padding: 1.6rem 3.2rem;
	color: #fff;
	background: #111;
	text-decoration: none;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 2.4rem;
	text-transform: uppercase;
}

.shop-member-cta img {
	width: 2.4rem;
	height: 2.4rem;
	flex: 0 0 2.4rem;
}

.shop-member-cards {
	min-width: 0;
}

.shop-member-cards > .swiper {
	overflow: visible;
}

.shop-member-cards .swiper-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3.2rem;
}

.shop-member-cards .swiper-slide {
	width: auto;
	height: auto;
}

.shop-member-card {
	position: relative;
	height: 100%;
	min-height: 19.1rem;
	padding: 2.4rem;
	background: #fafafa;
	border: 1px solid #000000;
	box-sizing: border-box;
	transition: box-shadow 0.3s ease;
}

.shop-member-card:hover {
	box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.16);
}

.shop-member-card h3 {
	margin: 0 0 0.8rem;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 2rem;
	font-weight: 600;
}

.shop-member-card p {
	margin: 0;
	max-width: 24rem;
	font-size: 1.4rem;
	line-height: 1.4;
	color: #666;
}

.shop-member-card img {
	position: absolute;
	right: 2.4rem;
	bottom: 2.4rem;
	width: 6.4rem;
	height: 6.4rem;
}

.shop-banner {
	padding: 0 0 4.8rem;
}

.shop-banner-inner {
	position: relative;
}

.shop-banner .swiper {
	width: 100%;
	overflow: hidden;
}

.shop-banner .swiper-slide {
	height: auto;
}

.shop-banner-link {
	display: block;
	aspect-ratio: 1630 / 850;
	overflow: hidden;
	background: #111;
}

.shop-banner-link img,
.shop-banner-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-banner .swiper-pagination {
	position: absolute;
	left: 50%;
	bottom: 2.4rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	width: auto;
	transform: translateX(-50%);
	--swiper-pagination-bullet-width: 10rem;
	--swiper-pagination-bullet-height: 0.2rem;
	--swiper-pagination-bullet-horizontal-gap: 0;
	--swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.4);
	--swiper-pagination-bullet-inactive-opacity: 1;
	--swiper-pagination-color: #ffffff;
	--swiper-pagination-bullet-opacity: 1;
}

.shop-banner .swiper-pagination-bullet {
	margin: 0;
	border-radius: 0 !important;
	transition: 0.3s ease;
}

.shop-seo {
	padding: 4.8rem 0 8rem;
}

.shop-seo-content {
	max-width: 121.6rem;
	margin: 0 auto;
}

.shop-seo-content.is-collapsed {
	max-height: 300px;
	overflow: hidden;
}

.shop-seo-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	width: max-content;
	margin: 2.4rem auto 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: #111;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 2.4rem;
	text-transform: uppercase;
}

.shop-seo-more img {
	width: 2.4rem;
	height: 2.4rem;
	flex: 0 0 2.4rem;
	transform: rotate(90deg);
	transition: transform 0.25s ease;
}

.shop-seo-more.is-open img {
	transform: rotate(-90deg);
}

.shop-seo-more[hidden] {
	display: none !important;
}

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

	.shop-filter-cols--3,
	.shop-filter-cols--4,
	.shop-filter-cols--5 {
		grid-template-columns: 1fr 1fr;
	}

	.shop-tabs > .swiper {
		overflow: hidden;
	}

	.shop-tabs .swiper-wrapper {
		display: flex;
		gap: 0;
	}

	.shop-tabs .swiper-slide {
		width: auto;
	}

	.shop-tab {
		min-width: max(12rem, 22vw);
		padding: 0 1.6rem;
		font-size: clamp(1.8rem, 1.4rem + 0.8vw, 2.4rem);
		white-space: nowrap;
	}

	.shop-subfilter-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		min-width: 0;
		width: 100%;
	}

	.shop-subfilter-copy {
		flex: none;
		width: 100%;
		max-width: none;
	}

	.shop-subfilter-slider,
	.shop-subfilter-slider.has-nav {
		padding: 0;
		flex: none;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.shop-subfilter-slider .swiper,
	.shop-subfilter-slider:not(.has-nav) .swiper {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.shop-subfilter-slider .swiper-navigation {
		display: none;
	}

	.shop-subfilter-slider:not(.has-nav) .swiper-wrapper,
	.shop-subfilter-slider.has-nav .swiper-wrapper {
		display: flex;
		flex-wrap: nowrap;
		gap: 0;
		justify-content: flex-start;
	}

	.shop-member-inner {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 3.2rem;
		align-items: start;
		min-width: 0;
		width: 100%;
	}

	.shop-member-cards {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.shop-member-cards > .swiper {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.shop-member-cards .swiper-wrapper {
		display: flex;
		gap: 0;
	}

	.shop-member-cards .swiper-slide {
		width: auto;
	}

	.shop-member-card {
		width: min(28rem, 70vw);
	}

	.shop-filter {
		position: fixed;
		inset: 0;
		z-index: 200;
		display: flex;
		align-items: flex-start;
		justify-content: center;
		width: 100%;
		max-width: none;
		padding: calc(var(--header-height, 8rem) + 1.6rem) 1.6rem 1.6rem;
		box-sizing: border-box;
		background: transparent;
	}

	.shop-filter-backdrop {
		display: block;
		position: absolute;
		inset: 0;
		border: 0;
		padding: 0;
		margin: 0;
		background: rgba(0, 0, 0, 0.4);
		cursor: pointer;
	}

	.shop-filter-panel {
		position: relative;
		z-index: 1;
		width: 100%;
		max-width: 96rem;
		max-height: calc(100dvh - var(--header-height, 8rem) - 3.2rem);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.shop-filter-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1.6rem;
		margin: 0 0 2.4rem;
	}

	.shop-filter-head-title {
		margin: 0;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 2.4rem;
		font-weight: 600;
		text-transform: uppercase;
	}

	.shop-filter-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 4rem;
		height: 4rem;
		padding: 0;
		border: 1px solid #111;
		background: #fff;
		font-size: 2.4rem;
		line-height: 1;
		cursor: pointer;
	}
}

@media (max-width: 767px) {
	.shop-hero-title {
		font-size: 6.4rem;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products,
	.sdn-shop ul.products,
	.shop-filter-cols--3,
	.shop-filter-cols--4,
	.shop-filter-cols--5 {
		grid-template-columns: 1fr;
	}

	.shop-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.shop-toolbar-actions {
		gap: 0;
	}

	.shop-filter-wrap > .shop-filter-toggle {
		display: none;
	}

	.shop-filter-fab {
		position: fixed;
		left: 50%;
		bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
		z-index: 96;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.8rem;
		min-height: 4.8rem;
		padding: 1.2rem 2.4rem;
		border: 1px solid #111;
		border-radius: 999px;
		background: #111;
		color: #fff;
		font-family: "Barlow Condensed", sans-serif;
		font-size: 1.6rem;
		font-weight: 700;
		text-transform: uppercase;
		cursor: pointer;
		box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.18);
		transform: translateX(-50%);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.shop-filter-fab img {
		width: 1.6rem;
		height: 1.6rem;
		filter: invert(1);
	}

	body.is-shop-filter-open .shop-filter-fab {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.shop-member-inner {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	.shop-member-card {
		width: min(26rem, 78vw);
	}

	.shop-filter {
		align-items: flex-end;
		padding: 0;
	}

	.shop-filter-panel {
		max-width: none;
		max-height: min(85dvh, calc(100dvh - var(--header-height, 6rem)));
		border-radius: 1.6rem 1.6rem 0 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		padding: 0 1.6rem calc(2rem + env(safe-area-inset-bottom, 0px));
	}

	.shop-filter-head {
		position: sticky;
		top: 0;
		z-index: 2;
		margin: 0 -1.6rem 2rem;
		padding: 1.6rem;
		background: #fafafa;
		border-bottom: 1px solid #e9e9e5;
		border-radius: 1.6rem 1.6rem 0 0;
	}

	.shop-filter-actions {
		position: sticky;
		bottom: 0;
		margin-top: 2.4rem;
		padding-top: 1.6rem;
		background: #fafafa;
	}
}

/* Phone landscape: product grid like tablet (2 cols). Portrait stays 1 col. */
@media (max-width: 767px) and (orientation: landscape) {
	.woocommerce ul.products,
	.woocommerce-page ul.products,
	.sdn-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
