/* WhatsApp contact controls. */
.header-action-btn.whatsapp-link {
	display: inline-flex;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	opacity: 0.9;
	transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.header-action-btn.whatsapp-link img {
	display: block;
	width: 24px;
	height: 24px;
}

.header-action-btn.whatsapp-link:hover,
.header-action-btn.whatsapp-link:focus-visible {
	background-color: var(--color-surface-secondary);
	opacity: 1;
	transform: translateY(-1px);
}

.footer-whatsapp-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-whatsapp-link img {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

/* Product-category archive hero. Shop and search archives never receive it. */
body.tax-product_cat .exxepanna-category-hero {
	position: relative;
	width: 100%;
	min-width: 0;
	aspect-ratio: 1600 / 420;
	margin-top: clamp(0.9rem, 1.6vw, 1.35rem);
	overflow: hidden;
	border: 1px solid #dddcd7;
	border-radius: clamp(8px, 1vw, 14px);
	background: #f4f3ef;
}

body.tax-product_cat .exxepanna-category-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

body.tax-product_cat .exxepanna-category-hero__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	padding: clamp(1rem, 3vw, 2.25rem);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	color: #565650;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(239, 238, 232, 0.76)),
		repeating-linear-gradient(135deg, transparent 0 24px, rgba(75, 75, 68, 0.025) 24px 25px);
}

body.tax-product_cat .exxepanna-category-hero__eyebrow {
	font-size: clamp(0.62rem, 0.8vw, 0.72rem);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #85847d;
}

body.tax-product_cat .exxepanna-category-hero__title {
	margin: clamp(0.4rem, 0.8vw, 0.7rem) 0;
	font-size: clamp(1.2rem, 2.1vw, 1.9rem);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-dark);
}

body.tax-product_cat .exxepanna-category-hero__size {
	font-size: clamp(0.72rem, 0.9vw, 0.82rem);
	line-height: 1.5;
	color: #77766f;
}

body.tax-product_cat .woocommerce-products-header.is-category-header {
	margin-bottom: clamp(1.25rem, 2.2vw, 1.8rem);
}

@media (max-width: 768px) {
	.header-actions .header-action-btn.whatsapp-link,
	.header-actions .header-action-btn.cart-link {
		width: 40px;
		height: 40px;
	}

	body.tax-product_cat .exxepanna-category-hero {
		height: clamp(180px, 52vw, 220px);
		aspect-ratio: auto;
	}

	body.tax-product_cat .exxepanna-category-hero__placeholder {
		padding: 1rem;
	}
}

@media (max-width: 360px) {
	.header-actions {
		gap: 0.1rem;
	}

	.header-actions .header-action-btn.whatsapp-link,
	.header-actions .header-action-btn.cart-link {
		width: 36px;
		height: 38px;
	}

	.header-action-btn.whatsapp-link img {
		width: 22px;
		height: 22px;
	}
}
