.shop-archive {
	padding: 28px 0 40px;
	background: #fff;
}

.shop-archive.is-loading .shop-archive__main,
.shop-archive.is-loading .shop-archive__sidebar,
.shop-archive.is-loading .shop-archive__mobile-actions {
	opacity: 0.72;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

.shop-archive.is-loading .shop-filters-drawer,
.shop-archive.is-loading .shop-filters-drawer__panel,
.shop-archive.is-loading .shop-filters-drawer__overlay {
	opacity: 1;
	pointer-events: auto;
}

.shop-archive__inner {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.shop-archive__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
}

.shop-archive__sidebar-head {
	display: flex;
	align-items: flex-start;
	min-height: 42px;
	margin-bottom: 22px;
}

.shop-archive__main {
	min-width: 0;
}

.shop-archive__toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 20px;
	min-height: 42px;
	margin-bottom: 22px;
}

.shop-archive__results {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #111;
}

.shop-archive__results--sidebar {
	padding-top: 10px;
}

.shop-archive__toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.shop-archive__orderby {
	display: flex;
	align-items: center;
}

.shop-archive__orderby select {
	min-width: 190px;
	height: 42px;
	padding: 0 40px 0 14px;
	border: 1px solid #d9d9d9;
	background: #fff;
	color: #111;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #111 50%),
		linear-gradient(135deg, #111 50%, transparent 50%);
	background-position:
		calc(100% - 18px) calc(50% - 2px),
		calc(100% - 12px) calc(50% - 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.shop-archive__mobile-actions {
	display: none;
	margin-bottom: 22px;
}

.shop-archive__mobile-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.shop-archive__mobile-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 22px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

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

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

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

.shop-card {
	list-style: none;
}

.shop-card__inner {
	display: flex;
	flex-direction: column;
}

.shop-card__image-link {
	display: block;
	width: 100%;
	background: #f6f6f6;
	overflow: hidden;
}

.shop-card__image-link img,
.shop-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 0.82 / 1;
	object-fit: cover;
	margin: 0;
	box-shadow: none;
}

.shop-card__content {
	padding-top: 10px;
}

.shop-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 20px;
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 1.2;
	color: #7a7a7a;
}

.shop-card__time {
	color: #7a7a7a;
	white-space: nowrap;
}

.shop-card__title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.shop-card__title-wrap {
	min-width: 0;
	flex: 1 1 auto;
}

.shop-card__designer {
	margin-bottom: 3px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shop-card__name {
	display: block;
	font-size: 15px;
	line-height: 1.35;
	color: #111;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shop-card__size {
	flex: 0 0 auto;
	padding-top: 1px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
	white-space: nowrap;
}

.shop-card__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.shop-card__price {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.shop-card__price .price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	color: inherit;
}

.shop-card__price ins {
	text-decoration: none;
	color: #c92828;
}

.shop-card__price del {
	color: #8a8a8a;
	font-weight: 500;
}

.shop-card__favorite {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	cursor: pointer;
	flex: 0 0 auto;
}

.shop-card__favorite svg {
	display: block;
	width: 24px;
	height: 24px;
}

.shop-card__location {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.45;
	color: #7a7a7a;
}

.shop-archive__pagination {
	margin-top: 34px;
}

.shop-archive__pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.shop-archive__pagination .page-numbers li {
	margin: 0;
}

.shop-archive__pagination .page-numbers a,
.shop-archive__pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #d9d9d9;
	font-size: 13px;
	font-weight: 700;
	color: #111;
	background: #fff;
}

.shop-archive__pagination .page-numbers .current {
	background: #111;
	border-color: #111;
	color: #fff;
}

.shop-archive__empty-state {
	padding: 30px 0;
}

.shop-filters {
	border-top: 1px solid #e6e6e6;
}

.shop-filters__section {
	border-bottom: 1px solid #e6e6e6;
}

.shop-filters__summary {
	position: relative;
	display: block;
	padding: 18px 28px 18px 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	cursor: pointer;
	list-style: none;
}

.shop-filters__summary::-webkit-details-marker {
	display: none;
}

.shop-filters__summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 4px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #111;
	border-bottom: 1.5px solid #111;
	transform: translateY(-65%) rotate(45deg);
	transition: transform 0.18s ease;
}

.shop-filters__section[open] .shop-filters__summary::after {
	transform: translateY(-35%) rotate(225deg);
}

.shop-filters__body {
	padding: 0 0 18px;
}

.shop-filters__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	font-size: 14px;
	line-height: 1.3;
	color: #111;
}

.shop-filters__option.is-active {
	font-weight: 700;
}

.shop-filters__option--static {
	cursor: default;
}

.shop-filters__option-label {
	min-width: 0;
	flex: 1 1 auto;
}

.shop-filters__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 20px;
	padding: 0 7px;
	background: #f1f1f1;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #555;
	white-space: nowrap;
}

.shop-filters__empty {
	font-size: 13px;
	line-height: 1.45;
	color: #7a7a7a;
}

.shop-filters__search-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.shop-filters__search-input {
	width: 100%;
	height: 42px;
	border: 1px solid #d9d9d9;
	padding: 0 12px;
	background: #fff;
	font-size: 14px;
	color: #111;
	outline: none;
}

.shop-filters__search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.shop-filters-drawer {
	display: none;
}

.shop-filters-drawer__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.34);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
	z-index: 9997;
}

.shop-filters-drawer__panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 88vw;
	max-width: 360px;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.22s ease;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.shop-filters-drawer__header {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 12px;
	padding: 18px 16px;
	border-bottom: 1px solid #e6e6e6;
}

.shop-filters-drawer__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}

.shop-filters-drawer__results {
	justify-self: center;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	white-space: nowrap;
}

.shop-filters-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #111;
	cursor: pointer;
}

.shop-filters-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0 16px 20px;
}

.shop-filters-drawer__footer {
	flex: 0 0 auto;
	padding: 14px 16px calc(24px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e6e6e6;
	background: #fff;
}

.shop-filters-drawer__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	background: #F95C20;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.shop-filters-drawer.is-open .shop-filters-drawer__overlay {
	opacity: 1;
	visibility: visible;
}

.shop-filters-drawer.is-open .shop-filters-drawer__panel {
	transform: translateX(0);
}

body.shop-filters-open {
	overflow: hidden;
}

.woocommerce .shop-archive .woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce .shop-archive .woocommerce-result-count,
.woocommerce .shop-archive .woocommerce-ordering {
	display: none;
}

@media (max-width: 1180px) {
	.shop-archive__inner {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 24px;
	}

	.shop-archive__grid ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px 12px;
	}
}

@media (max-width: 900px) {
	.shop-archive {
		padding-top: 20px;
	}

	.shop-archive__inner {
		display: block;
	}

	.shop-archive__sidebar,
	.shop-archive__toolbar {
		display: none;
	}

	.shop-archive__mobile-actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}

	.shop-archive__mobile-button {
		height: 40px;
		padding: 0 18px;
		font-size: 13px;
	}

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

	.shop-card__meta {
		margin-bottom: 7px;
		font-size: 11px;
	}

	.shop-card__designer {
		font-size: 12px;
	}

	.shop-card__name {
		font-size: 14px;
	}

	.shop-card__size {
		font-size: 11px;
	}

	.shop-card__price {
		font-size: 15px;
	}

	.shop-card__location {
		font-size: 11px;
	}

	.shop-filters-drawer {
		display: block;
	}
}

@media (max-width: 640px) {
	.shop-archive {
		padding-top: 16px;
		padding-bottom: 28px;
	}

	.shop-archive__mobile-actions {
		margin-bottom: 18px;
	}

	.shop-archive__mobile-button {
		height: 38px;
		padding: 0 16px;
		font-size: 12px;
	}

	.shop-archive__grid ul.products {
		gap: 20px 10px;
	}

	.shop-card__content {
		padding-top: 8px;
	}

	.shop-card__meta {
		min-height: 18px;
		margin-bottom: 6px;
		font-size: 10px;
	}

	.shop-card__name {
		font-size: 13px;
	}

	.shop-card__size {
		font-size: 10px;
	}

	.shop-card__price-row {
		margin-top: 8px;
	}

	.shop-card__price {
		font-size: 14px;
	}

	.shop-card__favorite {
		width: 22px;
		height: 22px;
	}

	.shop-card__favorite svg {
		width: 22px;
		height: 22px;
	}

	.shop-card__location {
		margin-top: 7px;
		font-size: 10px;
	}

	.shop-filters-drawer__panel {
		width: 100vw;
		max-width: none;
	}

	.shop-filters-drawer__header {
		column-gap: 10px;
		padding: 16px 14px;
	}

	.shop-filters-drawer__title {
		font-size: 17px;
	}

	.shop-filters-drawer__results {
		font-size: 12px;
	}

	.shop-filters-drawer__close {
		width: 30px;
		height: 30px;
		font-size: 26px;
	}

	.shop-filters-drawer__footer {
		padding: 12px 14px calc(22px + env(safe-area-inset-bottom, 0px));
	}

	.shop-filters-drawer__apply {
		min-height: 46px;
		font-size: 12px;
	}
}

.woocommerce .shop-archive__grid ul.products[class*="columns-"] li.product,
.woocommerce-page .shop-archive__grid ul.products[class*="columns-"] li.product,
.woocommerce .shop-archive__grid ul.products li.product,
.woocommerce-page .shop-archive__grid ul.products li.product {
	width: auto !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}

.woocommerce .shop-archive__grid ul.products li.product a img,
.woocommerce-page .shop-archive__grid ul.products li.product a img {
	margin: 0 !important;
	box-shadow: none;
}
