/*
 * Florete shop archive
 * Editorial, warm and mobile-first.
 */

body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
	--florete-ink: #24201d;
	--florete-brown: #2d2823;
	--florete-sand: #c8b896;
	--florete-cream: #f8f2e8;
	--florete-paper: #fffdf9;
	--florete-line: rgba(45, 40, 35, 0.13);
	--florete-muted: #746d65;
	background: var(--florete-paper);
	color: var(--florete-ink);
}

body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.tax-product_tag .site-content {
	background: var(--florete-paper);
	padding-top: 0;
}

body.post-type-archive-product #primary,
body.tax-product_cat #primary,
body.tax-product_tag #primary {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0;
}

body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary {
	display: none !important;
}

body.post-type-archive-product .site-content > .woostify-container,
body.tax-product_cat .site-content > .woostify-container,
body.tax-product_tag .site-content > .woostify-container {
	width: min(calc(100% - 48px), 1440px);
	max-width: 1440px;
	margin-inline: auto;
	padding-left: 0;
	padding-right: 0;
}

/* Elementor intro injected into the WooCommerce archive. */
body.post-type-archive-product .woocommerce-products-header .page-description,
body.tax-product_cat .woocommerce-products-header .page-description,
body.tax-product_tag .woocommerce-products-header .page-description {
	display: none !important;
}

.florete-shop-intro {
	margin: 28px 0 34px;
}

.florete-shop-intro .elementor {
	margin: 0;
}

.florete-shop-hero {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: clamp(30px, 5vw, 84px);
	height: 390px;
	min-height: 0;
	padding: clamp(18px, 2vw, 30px);
	overflow: hidden;
	border: 1px solid var(--florete-line);
	border-radius: 30px;
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.94), transparent 30%),
		linear-gradient(135deg, #f9f4eb 0%, #eee3d1 100%);
}

.florete-shop-hero::before {
	content: "";
	position: absolute;
	left: -70px;
	bottom: -95px;
	width: 260px;
	aspect-ratio: 1;
	border: 1px solid rgba(45, 40, 35, 0.11);
	border-radius: 50%;
	pointer-events: none;
}

.florete-shop-hero__copy,
.florete-shop-hero__visual {
	position: relative;
	z-index: 1;
}

.florete-shop-hero__copy {
	display: flex;
	flex: 1 1 46%;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(8px, 2vw, 28px);
}

.florete-shop-hero__visual {
	flex: 1 1 54%;
	min-width: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #e9dfd0;
}

.florete-shop-hero__visual .elementor-widget-image,
.florete-shop-hero__visual .elementor-widget-container,
.florete-shop-hero__visual img {
	width: 100%;
	height: 100%;
}

.florete-shop-hero__visual img {
	display: block;
	min-height: 0;
	object-fit: cover;
	object-position: center 42%;
	transition: transform 700ms cubic-bezier(.2,.75,.2,1);
}

.florete-shop-hero:hover .florete-shop-hero__visual img {
	transform: scale(1.025);
}

.florete-shop-hero__eyebrow {
	margin-bottom: 14px;
}

.florete-shop-hero__eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #7d705d !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .18em !important;
	line-height: 1.5 !important;
	text-transform: uppercase;
}

.florete-shop-hero__eyebrow .elementor-heading-title::before {
	content: "";
	width: 34px;
	height: 1px;
	background: var(--florete-sand);
}

.florete-shop-hero__title {
	margin-bottom: 18px;
}

.florete-shop-hero__title .elementor-heading-title {
	max-width: 680px;
	margin: 0;
	color: var(--florete-brown) !important;
	font-family: "Cormorant Garamond", serif !important;
	font-size: clamp(44px, 3.5vw, 60px) !important;
	font-weight: 500 !important;
	letter-spacing: -.035em !important;
	line-height: .92 !important;
}

.florete-shop-hero__text {
	max-width: 570px;
	margin-bottom: 24px;
}

.florete-shop-hero__text,
.florete-shop-hero__text p {
	color: #5e5750 !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 16px !important;
	font-weight: 400;
	line-height: 1.75 !important;
}

.florete-shop-hero__text p {
	margin: 0;
}

.florete-shop-hero__button .elementor-button {
	min-height: 52px;
	padding: 16px 26px !important;
	border: 1px solid var(--florete-brown) !important;
	border-radius: 999px !important;
	background: var(--florete-brown) !important;
	color: #fffaf2 !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .11em;
	text-transform: uppercase;
	box-shadow: none !important;
	transition: background-color .25s ease, color .25s ease, transform .25s ease !important;
}

.florete-shop-hero__button .elementor-button:hover,
.florete-shop-hero__button .elementor-button:focus-visible {
	background: transparent !important;
	color: var(--florete-brown) !important;
	transform: translateY(-2px);
}

.florete-shop-hero__note {
	margin-top: 24px;
}

.florete-shop-hero__note,
.florete-shop-hero__note p {
	color: #746b62 !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.5 !important;
}

.florete-shop-hero__note p {
	margin: 0;
}

/* Category navigation. */
.florete-shop-categories {
	margin: 0 0 32px;
	padding: 0 2px;
}

.florete-shop-categories__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 17px;
}

.florete-shop-categories__kicker {
	display: block;
	margin-bottom: 5px;
	color: #8a7c67;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.florete-shop-categories h2 {
	margin: 0;
	color: var(--florete-brown);
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(32px, 3vw, 46px);
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: 1;
}

.florete-shop-categories__hint {
	margin: 0 0 3px;
	color: var(--florete-muted);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	white-space: nowrap;
}

.florete-shop-categories__rail {
	display: flex;
	gap: 10px;
	padding: 2px 2px 8px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--florete-sand) transparent;
	-webkit-overflow-scrolling: touch;
}

.florete-shop-category {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 18px;
	border: 1px solid var(--florete-line);
	border-radius: 999px;
	background: #fff;
	color: var(--florete-brown) !important;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.florete-shop-category:hover,
.florete-shop-category:focus-visible,
.florete-shop-category.is-active {
	border-color: var(--florete-brown);
	background: var(--florete-brown);
	color: #fffaf2 !important;
	transform: translateY(-1px);
}

/* Shop toolbar. */
.woocommerce .woostify-sorting {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 24px;
	padding: 13px 16px;
	border: 1px solid var(--florete-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(45, 40, 35, .035);
}

.woocommerce .woocommerce-result-count {
	margin: 0;
	color: var(--florete-muted);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	line-height: 1.4;
}

.woocommerce .woocommerce-ordering {
	margin: 0;
}

.woocommerce .woocommerce-ordering select {
	min-width: 210px;
	height: 44px;
	padding: 0 42px 0 15px;
	border: 1px solid var(--florete-line);
	border-radius: 999px;
	background-color: #faf6ef;
	color: var(--florete-brown);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	box-shadow: none;
}

/* Product grid and cards. */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
	margin: 0 0 52px !important;
	padding: 0 !important;
}

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

.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0;
	border: 1px solid var(--florete-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(45, 40, 35, .045);
	overflow: hidden;
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.woocommerce ul.products li.product:hover {
	border-color: rgba(45, 40, 35, .24);
	box-shadow: 0 18px 46px rgba(45, 40, 35, .09);
	transform: translateY(-5px);
}

.woocommerce ul.products li.product .product-loop-wrapper {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.woocommerce ul.products li.product .product-loop-image-wrapper {
	position: relative;
	aspect-ratio: 4 / 5;
	margin: 0;
	overflow: hidden;
	border: 0 !important;
	border-radius: 0;
	background: var(--florete-cream);
}

.woocommerce ul.products li.product .product-loop-image-wrapper > a {
	display: block;
	width: 100%;
	height: 100%;
}

.woocommerce ul.products li.product .product-loop-image,
.woocommerce ul.products li.product .product-loop-hover-image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.woocommerce ul.products li.product .product-loop-image {
	display: block;
	transition: transform .55s cubic-bezier(.2,.75,.2,1), opacity .35s ease;
}

.woocommerce ul.products li.product:hover .product-loop-image {
	transform: scale(1.035);
}

.woocommerce ul.products li.product .product-loop-action,
.woocommerce ul.products li.product .product-loop-image-wrapper::after {
	background: transparent !important;
}

.woocommerce ul.products li.product .product-loop-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 16px 18px;
	text-align: left !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__category {
	margin: 0 0 7px;
	color: #8c806e;
	font-family: Montserrat, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .woocommerce-loop-product__category a {
	color: inherit !important;
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.65em;
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--florete-brown) !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: -.015em;
	line-height: 1.34 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: inherit !important;
	text-decoration: none;
}

.woocommerce ul.products li.product .product-loop-meta,
.woocommerce ul.products li.product .animated-meta {
	position: static !important;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	transform: none !important;
	opacity: 1 !important;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 0 0 13px !important;
	color: var(--florete-brown) !important;
	font-family: Montserrat, sans-serif;
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1.3;
}

.woocommerce ul.products li.product .price del {
	color: #9b9186 !important;
	font-size: .8em;
	opacity: .8;
}

.woocommerce ul.products li.product .price ins {
	color: var(--florete-brown) !important;
	text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin: auto 0 0 !important;
	padding: 11px 15px !important;
	border: 1px solid var(--florete-brown) !important;
	border-radius: 999px !important;
	background: var(--florete-brown) !important;
	color: #fffaf2 !important;
	font-family: Montserrat, sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: .09em;
	line-height: 1.25 !important;
	text-align: center;
	text-transform: uppercase;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	transition: background-color .2s ease, color .2s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible,
.woocommerce ul.products li.product .added_to_cart:hover {
	background: var(--florete-sand) !important;
	border-color: var(--florete-sand) !important;
	color: var(--florete-brown) !important;
}

.woocommerce ul.products li.product .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-width: 0;
	min-height: 0;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--florete-brown);
	color: #fffaf2;
	font-family: Montserrat, sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.woocommerce ul.products li.product .tinv-wraper {
	top: 12px !important;
	right: 12px !important;
}

.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
	display: grid !important;
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
	border: 1px solid rgba(45,40,35,.12);
	border-radius: 50%;
	background: rgba(255,253,249,.92) !important;
	color: var(--florete-brown) !important;
	place-items: center;
	backdrop-filter: blur(8px);
}

/* Keep the image-overlay wishlist only; the plugin also injects a second row after the button. */
.woocommerce ul.products li.product .tinvwl-after-add-to-cart {
	display: none !important;
}

/* Pagination. */
.woocommerce nav.woocommerce-pagination {
	margin: 2px 0 66px;
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--florete-line);
	border-radius: 50%;
	background: #fff;
	color: var(--florete-brown);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	place-items: center;
}

.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: auto;
	min-width: 116px;
	padding: 0 17px;
	border-radius: 999px;
	font-size: 0;
	font-weight: 700;
	letter-spacing: .04em;
}

.woocommerce nav.woocommerce-pagination ul li a.prev::before {
	content: "←";
	font-size: 15px;
}

.woocommerce nav.woocommerce-pagination ul li a.prev::after {
	content: "Înapoi";
	font-size: 10px;
	text-transform: uppercase;
}

.woocommerce nav.woocommerce-pagination ul li a.next::before {
	content: "Următorul";
	font-size: 10px;
	text-transform: uppercase;
}

.woocommerce nav.woocommerce-pagination ul li a.next::after {
	content: "→";
	font-size: 15px;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: var(--florete-brown);
	background: var(--florete-brown);
	color: #fffaf2;
}

@media (max-width: 480px) {
	.woocommerce nav.woocommerce-pagination ul {
		gap: 6px;
	}

	.woocommerce nav.woocommerce-pagination ul li a,
	.woocommerce nav.woocommerce-pagination ul li span {
		width: 40px;
		height: 40px;
	}

	.woocommerce nav.woocommerce-pagination ul li a.prev,
	.woocommerce nav.woocommerce-pagination ul li a.next {
		width: 40px;
		min-width: 40px;
		padding: 0;
		border-radius: 50%;
	}

	.woocommerce nav.woocommerce-pagination ul li a.prev::after,
	.woocommerce nav.woocommerce-pagination ul li a.next::before {
		display: none;
	}
}

/* Product-category archive heading. */
.florete-tax-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
	align-items: stretch;
	gap: clamp(18px, 2.5vw, 34px);
	min-height: 218px;
	margin: 20px 0 14px;
	padding: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 250, 242, .12);
	border-radius: 26px;
	background:
		radial-gradient(circle at 4% 8%, rgba(200, 184, 150, .18), transparent 28%),
		linear-gradient(135deg, #24201d 0%, #332d28 100%);
	box-shadow: 0 20px 55px rgba(36, 32, 29, .12);
}

.florete-tax-hero::before {
	content: "";
	position: absolute;
	left: -62px;
	bottom: -102px;
	width: 230px;
	aspect-ratio: 1;
	border: 1px solid rgba(200, 184, 150, .22);
	border-radius: 50%;
	pointer-events: none;
}

.florete-tax-hero:not(.has-image) {
	grid-template-columns: 1fr;
}

.florete-tax-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(13px, 2vw, 26px);
}

.florete-tax-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #d8c8a7;
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.florete-tax-hero__eyebrow::before {
	content: "";
	width: 30px;
	height: 1px;
	background: #d8c8a7;
}

.florete-tax-hero h1 {
	max-width: 700px;
	margin: 10px 0 13px;
	color: #fffaf2;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(40px, 3.7vw, 56px);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: .92;
}

.florete-tax-hero .term-description {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 250, 242, .76);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	line-height: 1.5;
}

.florete-tax-hero .term-description p {
	margin: 0;
}

.florete-tax-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	gap: 0;
	margin-top: 12px;
	padding: 8px 11px;
	border: 1px solid rgba(216, 200, 167, .24);
	border-radius: 12px;
	background: rgba(255, 250, 242, .055);
	backdrop-filter: blur(7px);
}

.florete-tax-hero__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 18px;
	padding: 0 11px;
	border-left: 1px solid rgba(216, 200, 167, .28);
	color: #eadfc9;
	font-family: Montserrat, sans-serif;
	font-size: 8px;
	font-weight: 650;
	letter-spacing: .055em;
	line-height: 1.35;
	text-transform: uppercase;
}

.florete-tax-hero__meta span:first-child {
	padding-left: 0;
	border-left: 0;
}

.florete-tax-hero__meta span:last-child {
	padding-right: 0;
}

.florete-tax-hero__media {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 250, 242, .14);
	border-radius: 20px;
	background: #181512;
}

.florete-tax-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 198px;
	object-fit: cover;
	object-position: center 42%;
	transition: transform .65s cubic-bezier(.2,.75,.2,1);
}

.florete-tax-hero:hover .florete-tax-hero__media img {
	transform: scale(1.025);
}

.florete-tax-subcategories {
	display: flex;
	gap: 8px;
	margin: 0 0 26px;
	padding: 1px 2px 7px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--florete-sand) transparent;
}

.florete-tax-subcategories a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid var(--florete-line);
	border-radius: 999px;
	background: #fff;
	color: var(--florete-brown) !important;
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 650;
	text-decoration: none !important;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.florete-tax-subcategories a:hover,
.florete-tax-subcategories a:focus-visible {
	border-color: var(--florete-brown);
	background: var(--florete-brown);
	color: #fffaf2 !important;
}

/* Desktop shop layout: category menu on the left, catalogue on the right. */
@media (min-width: 901px) {
	body.post-type-archive-product .site-main,
	body.tax-product_cat .site-main,
	body.tax-product_tag .site-main {
		display: grid;
		grid-template-columns: 230px minmax(0, 1fr);
		column-gap: clamp(22px, 2.5vw, 36px);
		align-items: start;
	}

	body.post-type-archive-product .woocommerce-products-header,
	body.tax-product_cat .woocommerce-products-header,
	body.tax-product_tag .woocommerce-products-header,
	body.post-type-archive-product .woocommerce-notices-wrapper,
	body.tax-product_cat .woocommerce-notices-wrapper,
	body.tax-product_tag .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	body.post-type-archive-product .florete-shop-categories,
	body.tax-product_cat .florete-shop-categories,
	body.tax-product_tag .florete-shop-categories {
		position: sticky;
		top: 22px;
		grid-column: 1;
		grid-row: 2 / span 2;
		align-self: start;
		margin: 0;
		padding: 22px 18px;
		border: 1px solid var(--florete-line);
		border-radius: 20px;
		background: linear-gradient(160deg, #f8f2e8, #fdfaf5);
	}

	.florete-shop-categories__top {
		display: block;
		margin-bottom: 16px;
	}

	.florete-shop-categories__kicker {
		margin-bottom: 8px;
		font-size: 9px;
		line-height: 1.45;
	}

	.florete-shop-categories h2 {
		font-size: 30px;
		line-height: .95;
	}

	.florete-shop-categories__hint {
		display: none;
	}

	.florete-shop-categories__rail {
		flex-direction: column;
		gap: 7px;
		padding: 0;
		overflow: visible;
	}

	.florete-shop-category {
		justify-content: flex-start;
		width: 100%;
		min-height: 41px;
		padding: 10px 13px;
		border-color: transparent;
		background: rgba(255, 255, 255, .62);
		font-size: 11px;
		text-align: left;
	}

	.florete-shop-category:hover,
	.florete-shop-category:focus-visible {
		transform: translateX(3px);
	}

	.woocommerce .woostify-sorting {
		grid-column: 2;
		grid-row: 2;
	}

	.woocommerce ul.products {
		grid-column: 2;
		grid-row: 3;
	}

	.woocommerce nav.woocommerce-pagination,
	.woocommerce .woocommerce-no-products-found {
		grid-column: 2;
	}
}

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

	.florete-shop-hero {
		height: 380px;
		min-height: 0;
		gap: 24px;
	}

	.florete-shop-hero__visual img {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	body.post-type-archive-product .site-content > .woostify-container,
	body.tax-product_cat .site-content > .woostify-container,
	body.tax-product_tag .site-content > .woostify-container {
		width: min(calc(100% - 24px), 1440px);
	}

	.florete-shop-intro {
		margin: 14px 0 24px;
	}

	.florete-shop-hero {
		flex-direction: column;
		gap: 9px;
		height: auto;
		min-height: 0;
		padding: 10px;
		border-radius: 18px;
	}

	.florete-shop-hero__copy {
		order: 2;
		padding: 4px 4px 7px;
	}

	.florete-shop-hero__visual {
		order: 1;
		width: 100%;
		flex-basis: auto;
		border-radius: 13px;
	}

	.florete-shop-hero__visual img {
		min-height: 0;
		height: clamp(145px, 42vw, 180px);
		object-position: center 38%;
	}

	.florete-shop-hero__eyebrow {
		margin-bottom: 6px;
	}

	.florete-shop-hero__eyebrow .elementor-heading-title {
		font-size: 9px !important;
		letter-spacing: .12em !important;
	}

	.florete-shop-hero__title {
		margin-bottom: 10px;
	}

	.florete-shop-hero__title .elementor-heading-title {
		font-size: clamp(33px, 9.5vw, 40px) !important;
		line-height: .94 !important;
	}

	.florete-shop-hero__text {
		display: none !important;
	}

	.florete-shop-hero__button,
	.florete-shop-hero__button .elementor-button-wrapper,
	.florete-shop-hero__button .elementor-button {
		width: 100%;
	}

	.florete-shop-hero__button .elementor-button {
		min-height: 44px;
		padding: 12px 19px !important;
		font-size: 10px !important;
	}

	.florete-shop-hero__note {
		display: none !important;
	}

	.florete-shop-categories {
		margin-bottom: 20px;
	}

	.florete-shop-categories__top {
		align-items: flex-start;
		margin-bottom: 13px;
	}

	.florete-shop-categories__hint {
		display: none;
	}

	.florete-shop-categories h2 {
		font-size: 34px;
	}

	.florete-shop-categories__rail {
		width: calc(100% + 12px);
		margin-right: -12px;
		gap: 8px;
		padding-right: 12px;
	}

	.florete-shop-category {
		min-height: 42px;
		padding: 10px 15px;
		font-size: 11px;
	}

	.woocommerce .woostify-sorting {
		align-items: stretch;
		flex-direction: column;
		gap: 9px;
		margin-bottom: 14px;
		padding: 10px;
		border-radius: 14px;
	}

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

	.woocommerce .woocommerce-ordering select {
		min-width: 0;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-bottom: 36px !important;
	}

	.woocommerce ul.products li.product {
		border-radius: 15px;
		box-shadow: 0 8px 24px rgba(45, 40, 35, .04);
	}

	.woocommerce ul.products li.product:hover {
		transform: none;
	}

	.woocommerce ul.products li.product .product-loop-image-wrapper {
		aspect-ratio: 4 / 5.25;
	}

	.woocommerce ul.products li.product .product-loop-content {
		padding: 11px 10px 12px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__category {
		display: none;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		min-height: 3.9em;
		margin-bottom: 8px !important;
		font-size: 13px !important;
		line-height: 1.3 !important;
	}

	.woocommerce ul.products li.product .price {
		margin-bottom: 9px !important;
		font-size: 14px !important;
	}

	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product .added_to_cart {
		min-height: 42px;
		padding: 9px 7px !important;
		font-size: 9px !important;
		letter-spacing: .055em;
	}

	.woocommerce ul.products li.product .tinv-wraper {
		top: 8px !important;
		right: 8px !important;
	}

	.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
		width: 36px !important;
		height: 36px !important;
	}

	.florete-tax-hero {
		grid-template-columns: 1fr;
		gap: 5px;
		min-height: 0;
		margin: 10px 0;
		padding: 7px;
		border-radius: 15px;
	}

	.florete-tax-hero__media {
		order: -1;
		border-radius: 10px;
	}

	.florete-tax-hero__media img {
		height: clamp(108px, 30vw, 132px);
		min-height: 0;
		object-position: center 40%;
	}

	.florete-tax-hero__copy {
		padding: 6px 4px 5px;
	}

	.florete-tax-hero__eyebrow {
		gap: 6px;
		font-size: 7px;
		letter-spacing: .12em;
	}

	.florete-tax-hero__eyebrow::before {
		width: 18px;
	}

	.florete-tax-hero h1 {
		margin: 5px 0 7px;
		font-size: clamp(30px, 8.8vw, 36px);
		line-height: .92;
	}

	.florete-tax-hero .term-description {
		display: none;
	}

	.florete-tax-hero__meta {
		flex-wrap: nowrap;
		gap: 0;
		margin-top: 5px;
		padding: 7px 8px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.florete-tax-hero__meta::-webkit-scrollbar {
		display: none;
	}

	.florete-tax-hero__meta span {
		flex: 0 0 auto;
		min-height: 16px;
		padding: 0 7px;
		font-size: 6.5px;
		white-space: nowrap;
	}

	.florete-tax-subcategories {
		width: calc(100% + 12px);
		margin: 0 -12px 18px 0;
		padding-right: 12px;
	}

	.florete-tax-subcategories a {
		min-height: 38px;
		padding: 8px 13px;
		font-size: 9px;
	}
}

@media (max-width: 380px) {
	.woocommerce ul.products {
		gap: 8px;
	}

	.woocommerce ul.products li.product .product-loop-content {
		padding: 10px 8px 11px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 12px !important;
	}

	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product .added_to_cart {
		font-size: 8px !important;
	}
}

/* Refined catalogue filters. */
.florete-filter-toggle {
	display: none;
}

.florete-filter-panel {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--florete-line);
}

.florete-filter-panel__heading {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 14px;
	color: var(--florete-brown);
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.florete-filter-panel__heading small {
	color: var(--florete-muted);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: none;
}

.florete-filter-form {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.florete-filter-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	color: var(--florete-brown);
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.florete-filter-field select {
	width: 100%;
	height: 43px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--florete-line);
	border-radius: 11px;
	background: #fff;
	color: var(--florete-brown);
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
}

.florete-filter-check {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 30px;
	color: #5f5850;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}

.florete-filter-check input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--florete-brown);
}

.florete-filter-actions {
	display: grid;
	gap: 8px;
	margin-top: 4px;
}

.florete-filter-actions button {
	min-height: 43px;
	padding: 10px 14px;
	border: 1px solid var(--florete-brown);
	border-radius: 999px;
	background: var(--florete-brown);
	color: #fffaf2;
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.florete-filter-actions button:hover,
.florete-filter-actions button:focus-visible {
	background: var(--florete-sand);
	border-color: var(--florete-sand);
	color: var(--florete-brown);
}

.florete-filter-actions a {
	color: var(--florete-muted) !important;
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Lighter editorial cards: the photography stays central. */
.woocommerce .woostify-sorting {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.woocommerce .woocommerce-result-count {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid var(--florete-line);
	border-radius: 999px;
	background: #fff;
}

.woocommerce .woocommerce-ordering select {
	border: 0;
	background-color: var(--florete-cream);
}

.woocommerce ul.products li.product {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.woocommerce ul.products li.product:hover {
	border-color: transparent;
	box-shadow: none;
	transform: translateY(-3px);
}

.woocommerce ul.products li.product .product-loop-image-wrapper {
	border: 1px solid var(--florete-line) !important;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(45, 40, 35, .055);
	transition: box-shadow .28s ease, border-color .28s ease;
}

.woocommerce ul.products li.product:hover .product-loop-image-wrapper {
	border-color: rgba(45, 40, 35, .22) !important;
	box-shadow: 0 18px 42px rgba(45, 40, 35, .1);
}

.woocommerce ul.products li.product .product-loop-content {
	padding: 14px 3px 2px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	min-height: 42px;
}

@media (max-width: 900px) {
	.florete-shop-categories {
		padding: 17px;
		border: 1px solid var(--florete-line);
		border-radius: 19px;
		background: linear-gradient(145deg, #fbf7f0, #f5ecdf);
	}

	.florete-filter-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 48px;
		margin-top: 10px;
		padding: 11px 14px;
		border: 1px solid var(--florete-brown);
		border-radius: 999px;
		background: var(--florete-brown);
		color: #fffaf2;
		font-family: Montserrat, sans-serif;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .07em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.florete-filter-toggle__count {
		display: grid;
		width: 25px;
		height: 25px;
		border-radius: 50%;
		background: var(--florete-sand);
		color: var(--florete-brown);
		font-size: 11px;
		place-items: center;
	}

	.florete-filter-panel {
		display: none;
		margin-top: 15px;
		padding: 15px;
		border: 1px solid var(--florete-line);
		border-radius: 15px;
		background: rgba(255, 255, 255, .78);
	}

	.florete-filter-panel.is-open {
		display: block;
	}

	.florete-filter-form {
		gap: 10px;
	}

	.florete-filter-actions {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 13px;
	}

	.florete-filter-actions a {
		padding: 8px 2px;
	}

	.woocommerce ul.products li.product .product-loop-image-wrapper {
		border-radius: 15px;
		box-shadow: 0 7px 20px rgba(45, 40, 35, .055);
	}
}

@media (max-width: 767px) {
	.florete-shop-categories {
		margin-bottom: 18px;
		padding: 14px;
	}

	.florete-shop-categories__top {
		margin-bottom: 11px;
	}

	.florete-shop-categories h2 {
		font-size: 31px;
	}

	.woocommerce .woostify-sorting {
		flex-direction: row;
		align-items: center;
		padding: 0;
	}

	.woocommerce .woocommerce-result-count {
		min-height: 40px;
		padding: 0 12px;
		font-size: 10px;
	}

	.woocommerce .woocommerce-ordering {
		flex: 1;
	}

	.woocommerce .woocommerce-ordering select {
		height: 40px;
		padding-left: 12px;
		font-size: 10px;
	}

	.woocommerce ul.products {
		gap: 11px 9px;
	}

	.woocommerce ul.products li.product .product-loop-content {
		padding: 10px 2px 1px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		min-height: 3.9em;
		font-size: 13px !important;
	}

	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product .added_to_cart {
		min-height: 40px;
		font-size: 8.5px !important;
	}
}

/* Final category-hero treatment: compact panoramic banner. */
.florete-tax-hero,
.florete-tax-hero.has-image,
.florete-tax-hero:not(.has-image) {
	display: block;
	min-height: 190px;
	margin: 18px 0 14px;
	padding: 0;
	border-radius: 22px;
	isolation: isolate;
}

.florete-tax-hero::before {
	z-index: 1;
}

.florete-tax-hero.has-image::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(30, 26, 23, .95) 0%, rgba(36, 32, 29, .86) 43%, rgba(36, 32, 29, .42) 72%, rgba(36, 32, 29, .18) 100%);
	pointer-events: none;
}

.florete-tax-hero__copy {
	position: relative;
	z-index: 2;
	justify-content: center;
	width: min(70%, 760px);
	min-height: 190px;
	padding: 20px clamp(24px, 3.5vw, 48px);
}

.florete-tax-hero h1 {
	margin: 7px 0 8px;
	font-size: clamp(39px, 3.6vw, 55px);
}

.florete-tax-hero .term-description {
	max-width: 590px;
	font-size: 11px;
	line-height: 1.5;
}

.florete-tax-hero__meta {
	width: auto;
	max-width: 100%;
	margin-top: 11px;
	padding: 7px 10px;
}

.florete-tax-hero__media {
	position: absolute;
	z-index: 0;
	inset: 0;
	border: 0;
	border-radius: inherit;
}

.florete-tax-hero__media img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-position: center 46%;
}

@media (max-width: 767px) {
	.florete-tax-hero,
	.florete-tax-hero.has-image,
	.florete-tax-hero:not(.has-image) {
		display: block;
		min-height: 158px;
		margin: 10px 0;
		padding: 0;
		border-radius: 15px;
	}

	.florete-tax-hero.has-image::after {
		background:
			linear-gradient(90deg, rgba(27, 23, 20, .94) 0%, rgba(36, 32, 29, .82) 58%, rgba(36, 32, 29, .36) 100%);
	}

	.florete-tax-hero__copy {
		width: 88%;
		min-height: 158px;
		padding: 13px 14px;
	}

	.florete-tax-hero__eyebrow {
		font-size: 6.5px;
	}

	.florete-tax-hero h1 {
		margin: 5px 0 7px;
		font-size: clamp(29px, 8.6vw, 35px);
	}

	.florete-tax-hero .term-description {
		display: none;
	}

	.florete-tax-hero__meta {
		width: auto;
		margin-top: 5px;
		padding: 6px 7px;
	}

	.florete-tax-hero__media {
		position: absolute;
		inset: 0;
		order: initial;
		border-radius: inherit;
	}

	.florete-tax-hero__media img {
		height: 100%;
		min-height: 0;
		object-position: center 45%;
	}
}

/* Match the main shop hero to the compact panoramic category banners. */
body.post-type-archive-product .florete-shop-intro {
	margin: 18px 0 14px;
}

body.post-type-archive-product .florete-shop-hero {
	position: relative;
	display: block;
	height: 190px;
	min-height: 190px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 250, 242, .12);
	border-radius: 22px;
	background: #24201d;
	box-shadow: 0 20px 55px rgba(36, 32, 29, .12);
	isolation: isolate;
}

body.post-type-archive-product .florete-shop-hero::before {
	z-index: 1;
	left: -62px;
	bottom: -102px;
	width: 230px;
	border-color: rgba(200, 184, 150, .22);
}

body.post-type-archive-product .florete-shop-hero::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(30, 26, 23, .95) 0%, rgba(36, 32, 29, .86) 43%, rgba(36, 32, 29, .42) 72%, rgba(36, 32, 29, .18) 100%);
	pointer-events: none;
}

body.post-type-archive-product .florete-shop-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(70%, 760px) !important;
	min-height: 190px;
	padding: 20px clamp(24px, 3.5vw, 48px);
	justify-content: center;
	align-items: flex-start;
}

body.post-type-archive-product .florete-shop-hero__visual {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100% !important;
	height: 100%;
	min-width: 0;
	border: 0;
	border-radius: inherit;
	background: #181512;
}

body.post-type-archive-product .florete-shop-hero__visual .elementor-widget-image,
body.post-type-archive-product .florete-shop-hero__visual .elementor-widget-container,
body.post-type-archive-product .florete-shop-hero__visual img {
	width: 100%;
	height: 100%;
}

body.post-type-archive-product .florete-shop-hero__visual img {
	min-height: 0;
	object-fit: cover;
	object-position: center 46%;
}

body.post-type-archive-product .florete-shop-hero__eyebrow {
	margin-bottom: 0;
}

body.post-type-archive-product .florete-shop-hero__eyebrow .elementor-heading-title {
	gap: 10px;
	color: #d8c8a7 !important;
	font-size: 10px !important;
	letter-spacing: .17em !important;
}

body.post-type-archive-product .florete-shop-hero__eyebrow .elementor-heading-title::before {
	width: 30px;
	background: #d8c8a7;
}

body.post-type-archive-product .florete-shop-hero__title {
	margin-bottom: 0;
}

body.post-type-archive-product .florete-shop-hero__title .elementor-heading-title {
	max-width: 700px;
	margin: 7px 0 8px;
	color: #fffaf2 !important;
	font-size: clamp(39px, 3.6vw, 55px) !important;
	line-height: .92 !important;
}

body.post-type-archive-product .florete-shop-hero__text {
	max-width: 590px;
	margin-bottom: 0;
}

body.post-type-archive-product .florete-shop-hero__text,
body.post-type-archive-product .florete-shop-hero__text p {
	color: rgba(255, 250, 242, .76) !important;
	font-size: 11px !important;
	line-height: 1.5 !important;
}

body.post-type-archive-product .florete-shop-hero__button {
	display: none !important;
}

body.post-type-archive-product .florete-shop-hero__note {
	width: auto;
	max-width: 100%;
	margin-top: 11px;
	padding: 7px 10px;
	border: 1px solid rgba(216, 200, 167, .24);
	border-radius: 12px;
	background: rgba(255, 250, 242, .055);
	backdrop-filter: blur(7px);
}

body.post-type-archive-product .florete-shop-hero__note,
body.post-type-archive-product .florete-shop-hero__note p {
	color: #eadfc9 !important;
	font-size: 8px !important;
	font-weight: 650;
	letter-spacing: .055em;
	line-height: 1.35 !important;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	body.post-type-archive-product .florete-shop-intro {
		margin: 10px 0;
	}

	body.post-type-archive-product .florete-shop-hero {
		height: 158px;
		min-height: 158px;
		border-radius: 15px;
	}

	body.post-type-archive-product .florete-shop-hero::after {
		background: linear-gradient(90deg, rgba(27, 23, 20, .94) 0%, rgba(36, 32, 29, .82) 58%, rgba(36, 32, 29, .36) 100%);
	}

	body.post-type-archive-product .florete-shop-hero__copy {
		order: initial;
		width: 88% !important;
		min-height: 158px;
		padding: 13px 14px;
	}

	body.post-type-archive-product .florete-shop-hero__visual {
		order: initial;
		position: absolute;
		inset: 0;
		width: 100% !important;
		border-radius: inherit;
	}

	body.post-type-archive-product .florete-shop-hero__visual img {
		height: 100%;
		min-height: 0;
		object-position: center 45%;
	}

	body.post-type-archive-product .florete-shop-hero__eyebrow .elementor-heading-title {
		font-size: 6.5px !important;
	}

	body.post-type-archive-product .florete-shop-hero__title .elementor-heading-title {
		margin: 5px 0 7px;
		font-size: clamp(29px, 8.6vw, 35px) !important;
	}

	body.post-type-archive-product .florete-shop-hero__text {
		display: none !important;
	}

	body.post-type-archive-product .florete-shop-hero__note {
		margin-top: 5px;
		padding: 6px 7px;
	}

	body.post-type-archive-product .florete-shop-hero__note,
	body.post-type-archive-product .florete-shop-hero__note p {
		font-size: 6.5px !important;
		white-space: nowrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.florete-shop-hero__visual img,
	.woocommerce ul.products li.product,
	.woocommerce ul.products li.product .product-loop-image,
	.florete-shop-category {
		transition: none !important;
	}
}
