body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat {
	--brl-cream: #fbf8f3;
	--brl-paper: #fffdf9;
	--brl-ink: #151515;
	--brl-muted: #7a6259;
	--brl-soft: #efe5da;
	--brl-gold: #c99a45;
	--brl-blush: #d9a19a;
	--brl-shadow: 0 18px 42px rgba(66, 45, 31, 0.08);

	background: var(--brl-cream);
}

body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.woocommerce-shop main,
body.post-type-archive-product main,
body.tax-product_cat main {
	max-width: 1480px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(22px, 4vw, 64px);
	padding-right: clamp(22px, 4vw, 64px);
}

body.woocommerce-shop .wp-site-blocks > main,
body.post-type-archive-product .wp-site-blocks > main,
body.tax-product_cat .wp-site-blocks > main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.woocommerce-shop .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.woocommerce-shop .wp-block-breadcrumbs,
body.post-type-archive-product .wp-block-breadcrumbs,
body.tax-product_cat .wp-block-breadcrumbs,
body.woocommerce-shop .wp-block-woocommerce-store-notices,
body.post-type-archive-product .wp-block-woocommerce-store-notices,
body.tax-product_cat .wp-block-woocommerce-store-notices,
body.woocommerce-shop .wp-block-term-description,
body.post-type-archive-product .wp-block-term-description,
body.tax-product_cat .wp-block-term-description,
body.woocommerce-shop .term-description,
body.post-type-archive-product .term-description,
body.tax-product_cat .term-description,
body.woocommerce-shop .taxonomy-description,
body.post-type-archive-product .taxonomy-description,
body.tax-product_cat .taxonomy-description,
body.woocommerce-shop .woocommerce-products-header__description,
body.post-type-archive-product .woocommerce-products-header__description,
body.tax-product_cat .woocommerce-products-header__description,
body.woocommerce-shop .wp-block-group:has(> .wc-block-product-results-count):has(> .wc-block-catalog-sorting),
body.post-type-archive-product .wp-block-group:has(> .wc-block-product-results-count):has(> .wc-block-catalog-sorting),
body.tax-product_cat .wp-block-group:has(> .wc-block-product-results-count):has(> .wc-block-catalog-sorting),
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.woocommerce-shop main > .page-title,
body.post-type-archive-product main > .page-title,
body.tax-product_cat main > .page-title,
body.woocommerce-shop main > .wp-block-query-title,
body.post-type-archive-product main > .wp-block-query-title,
body.tax-product_cat main > .wp-block-query-title {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.brl-shop-hero {
	position: relative;
	left: 50%;
	overflow: hidden;
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	height: 202px !important;
	min-height: 202px !important;
	max-height: 202px;
	margin: 0 0 24px -50vw !important;
	padding: 22px clamp(22px, 5.2vw, 88px) 18px;
	border-top: 1px solid rgba(201, 154, 69, 0.15);
	border-bottom: 1px solid rgba(201, 154, 69, 0.13);
	background-color: var(--brl-cream);
	background-image: url("https://brinelume.com/wp-content/uploads/2026/05/shop%E5%9B%BE.png");
	background-position: right 44%;
	background-repeat: no-repeat;
	background-size: auto 132%;
}

.brl-shop-hero::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(251, 248, 243, 1) 0%,
			rgba(251, 248, 243, 0.98) 46%,
			rgba(251, 248, 243, 0.56) 62%,
			rgba(251, 248, 243, 0.1) 78%,
			rgba(251, 248, 243, 0) 100%
		);
	content: "";
	pointer-events: none;
}

.brl-shop-hero__image {
	position: absolute;
	z-index: 0;
	inset: 0;
	display: none !important;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
}

.brl-shop-hero .wc-block-components-notices,
.brl-shop-hero .woocommerce-notices-wrapper {
	display: none !important;
	overflow: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.brl-shop-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto 0 0 !important;
	padding: 0 !important;
	transform: none !important;
}

.brl-shop-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	color: var(--brl-muted);
	font-size: 15px;
	line-height: 1.4;
}

.brl-shop-hero__breadcrumb a {
	color: var(--brl-muted);
	text-decoration: none;
}

.brl-shop-hero__breadcrumb a:hover,
.brl-shop-hero__breadcrumb a:focus-visible {
	color: var(--brl-ink);
}

.brl-shop-hero__title {
	max-width: 760px;
	margin: 0;
	color: var(--brl-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(48px, 4.4vw, 66px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0;
}

.brl-shop-subtitle {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--brl-muted);
	font-size: clamp(16px, 1.15vw, 19px);
	line-height: 1.5;
}

.brl-shop-subtitle span {
	color: var(--brl-gold);
	font-size: 30px;
	line-height: 1;
}

.brl-shop-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 24px 0 14px !important;
}

.brl-shop-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.brl-shop-tabs a {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	gap: 8px;
	height: 48px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--brl-soft);
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.82);
	box-shadow: 0 8px 20px rgba(65, 42, 24, 0.03);
	color: #4b3b34;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.brl-shop-tabs a:hover,
.brl-shop-tabs a:focus-visible,
.brl-shop-tabs a.is-active {
	border-color: rgba(201, 154, 69, 0.55);
	background: #fff8ec;
	box-shadow: 0 12px 28px rgba(65, 42, 24, 0.08);
	transform: translateY(-1px);
}

.brl-shop-tabs span {
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--brl-blush);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
}

.brl-shop-sort {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	box-sizing: border-box;
	gap: 6px;
	width: 260px;
	height: 50px;
	min-height: 50px;
	padding: 0 14px 0 18px;
	border: 1px solid var(--brl-soft);
	border-radius: 14px;
	background: var(--brl-paper);
	box-shadow: 0 8px 24px rgba(65, 42, 24, 0.04);
	color: #3f302c;
}

.brl-shop-sort__label {
	color: var(--brl-muted);
	font-size: 15px;
	white-space: nowrap;
}

body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count {
	display: none !important;
}

body.woocommerce-shop .brl-shop-sort .woocommerce-ordering,
body.post-type-archive-product .brl-shop-sort .woocommerce-ordering,
body.tax-product_cat .brl-shop-sort .woocommerce-ordering {
	display: block !important;
	float: none !important;
	margin: 0 !important;
}

.brl-shop-sort select,
.brl-shop-sort .woocommerce-ordering select {
	min-width: 0;
	min-height: 48px;
	padding: 0 32px 0 0;
	border: 0;
	background-color: transparent;
	box-shadow: none;
	color: #3f302c;
	font-size: 15px;
}

.brl-shop-result-count {
	margin: 0 0 20px;
	color: var(--brl-muted);
	font-size: 16px;
}

body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image,
body.post-type-archive-product .wc-block-product-template .wc-block-components-product-image,
body.tax-product_cat .wc-block-product-template .wc-block-components-product-image {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1200 / 980;
	margin: 0 0 16px;
	background: #f6efe7;
}

body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image > a,
body.post-type-archive-product .wc-block-product-template .wc-block-components-product-image > a,
body.tax-product_cat .wc-block-product-template .wc-block-components-product-image > a {
	display: block;
	width: 100%;
	height: 100%;
}

body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image img,
body.post-type-archive-product .wc-block-product-template .wc-block-components-product-image img,
body.tax-product_cat .wc-block-product-template .wc-block-components-product-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center;
	transition: transform 260ms ease;
}

body.woocommerce-shop .wc-block-product-template .wc-block-product:hover .wc-block-components-product-image img,
body.post-type-archive-product .wc-block-product-template .wc-block-product:hover .wc-block-components-product-image img,
body.tax-product_cat .wc-block-product-template .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.025);
}

body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 36px);
	margin-top: 0 !important;
	margin-bottom: 60px !important;
}

body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after {
	display: none !important;
}

body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product {
	position: relative;
	overflow: hidden;
	width: auto !important;
	margin: 0 !important;
	border: 1px solid rgba(222, 207, 191, 0.72);
	border-radius: 18px;
	background: var(--brl-paper);
	box-shadow: var(--brl-shadow);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

body.woocommerce-shop ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover {
	border-color: rgba(201, 154, 69, 0.35);
	box-shadow: 0 24px 56px rgba(66, 45, 31, 0.13);
	transform: translateY(-4px);
}

body.woocommerce-shop ul.products li.product::after,
body.post-type-archive-product ul.products li.product::after,
body.tax-product_cat ul.products li.product::after {
	position: absolute;
	z-index: 2;
	top: 16px;
	right: 16px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(238, 225, 212, 0.9);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 22px rgba(65, 42, 24, 0.08);
	color: #4b3b34;
	content: "\2661";
	font-size: 23px;
	line-height: 1;
	pointer-events: none;
}

body.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	text-decoration: none;
}

body.woocommerce-shop ul.products li.product a img,
body.post-type-archive-product ul.products li.product a img,
body.tax-product_cat ul.products li.product a img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1.58 / 1;
	margin: 0 !important;
	background: #f6efe7;
	object-fit: cover;
	object-position: center;
	transition: transform 260ms ease;
}

body.woocommerce-shop ul.products li.product:hover a img,
body.post-type-archive-product ul.products li.product:hover a img,
body.tax-product_cat ul.products li.product:hover a img {
	transform: scale(1.025);
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	padding: 22px 22px 4px !important;
	color: var(--brl-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px !important;
	font-weight: 400;
	line-height: 1.25;
}

body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
	display: block;
	padding: 8px 22px 0;
	color: var(--brl-ink) !important;
	font-size: 19px !important;
	font-weight: 700;
}

body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
	display: none !important;
}

body.woocommerce-shop span.onsale,
body.post-type-archive-product span.onsale,
body.tax-product_cat span.onsale {
	min-width: auto;
	min-height: auto;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--brl-blush);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

body.woocommerce-shop .site-header,
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.woocommerce-shop header.wp-block-template-part,
body.post-type-archive-product header.wp-block-template-part,
body.tax-product_cat header.wp-block-template-part {
	border-bottom: 1px solid rgba(201, 154, 69, 0.14);
	background: rgba(255, 253, 249, 0.96);
}

body.woocommerce-shop .site-header a,
body.post-type-archive-product .site-header a,
body.tax-product_cat .site-header a,
body.woocommerce-shop header.wp-block-template-part a,
body.post-type-archive-product header.wp-block-template-part a,
body.tax-product_cat header.wp-block-template-part a {
	text-decoration: none;
}

@media (max-width: 1024px) {
	body.woocommerce-shop ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.brl-shop-sort,
	.brl-shop-sort .woocommerce-ordering,
	.brl-shop-sort select {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.brl-shop-hero {
		height: 220px !important;
		min-height: 220px !important;
		max-height: 220px;
	}

	.brl-shop-hero::before {
		background:
			linear-gradient(
				90deg,
				rgba(251, 248, 243, 0.98) 0%,
				rgba(251, 248, 243, 0.78) 58%,
				rgba(251, 248, 243, 0.24) 100%
			);
	}

	body.woocommerce-shop ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: 1fr;
	}

	.brl-shop-tabs a {
		height: 42px;
		min-height: 42px;
		padding: 0 16px;
		font-size: 14px;
	}
}
