/* ==========================================================================
   Hound and Friends — Centralized Storefront Engine CSS
   Scoped with .hf- classes to avoid conflicts with Elementor, WoodMart & WooCommerce
   ========================================================================== */

:root {
	--hf-blue: #2152E5;
	--hf-blue-hover: #1842C7;
	--hf-blue-soft: #EDF2FC;
	--hf-blue-card: #CADAF9;
	--hf-ink: #111827;
	--hf-muted: #5E6778;
	--hf-eyebrow: #7A8396;
	--hf-surface: #F6F7F9;
	--hf-border: #EAECEF;
	--hf-radius-card: 20px;
	--hf-font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--hf-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--hf-font-script: 'Caveat', cursive;
	--hf-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--hf-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Prevent horizontal overflow on all viewports */
.elementor-location-single,
.elementor-location-archive,
.hf-page-section,
.hf-hero-section,
.hf-about-section,
.hf-newsletter-section {
	overflow-x: clip;
}

/* ---------------- Section Eyebrows & Typography Helpers ---------------- */
.hf-eyebrow .elementor-heading-title,
.hf-eyebrow-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--hf-font-body) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
	color: var(--hf-eyebrow) !important;
}

.hf-eyebrow .elementor-heading-title::before,
.hf-eyebrow-text::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1.5px;
	background: #94A3B8;
	border-radius: 2px;
}

.hf-script-note {
	font-family: var(--hf-font-script) !important;
	color: var(--hf-blue) !important;
}

.hf-hero-script-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hf-font-script);
	font-size: 25px;
	font-weight: 600;
	color: var(--hf-blue);
	transform: rotate(-1.5deg);
	transform-origin: left center;
}

.hf-hero-script-row svg {
	flex-shrink: 0;
	transform: translateY(2px);
}

.hf-about-script-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hf-font-script);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--hf-blue);
	transform: rotate(-3deg);
	transform-origin: left center;
	margin-top: 8px;
}

/* ---------------- Premium Buttons ---------------- */
.hf-btn-primary .elementor-button,
.hf-btn-outline .elementor-button {
	font-family: var(--hf-font-body) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 999px !important;
	transition: transform 0.28s var(--hf-ease-out), box-shadow 0.28s var(--hf-ease-out), background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease !important;
}

.hf-btn-primary .elementor-button {
	box-shadow: 0 10px 24px -6px rgba(33, 82, 229, 0.38);
}

.hf-btn-primary .elementor-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -6px rgba(33, 82, 229, 0.48);
}

.hf-btn-primary .elementor-button:hover .elementor-button-icon,
.hf-btn-outline .elementor-button:hover .elementor-button-icon {
	transform: translateX(4px);
}

.hf-btn-primary .elementor-button-icon,
.hf-btn-outline .elementor-button-icon {
	transition: transform 0.25s var(--hf-ease-out);
}

.hf-btn-outline .elementor-button:hover {
	transform: translateY(-2px);
	border-color: var(--hf-blue) !important;
	color: var(--hf-blue) !important;
	box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.16);
}

/* ---------------- Hero Visual Card & Badge ---------------- */
.hf-hero-section {
	position: relative;
	background: radial-gradient(circle at 76% 42%, rgba(202, 218, 249, 0.32) 0%, rgba(255, 255, 255, 0) 58%);
}

.hf-hero-visual-wrap {
	position: relative;
}

.hf-hero-blue-card {
	position: relative;
	background: linear-gradient(155deg, #D5E3FC 0%, #BDD1F9 100%) !important;
	border-radius: 34px !important;
	box-shadow: 16px 20px 0 -4px rgba(177, 200, 247, 0.55), 0 24px 50px -20px rgba(33, 82, 229, 0.22);
	transition: transform 0.5s var(--hf-ease-out), box-shadow 0.5s var(--hf-ease-out);
}

.hf-hero-blue-card:hover {
	transform: translateY(-4px);
	box-shadow: 20px 24px 0 -4px rgba(177, 200, 247, 0.65), 0 30px 60px -20px rgba(33, 82, 229, 0.28);
}

.hf-hero-dog-img img {
	transition: transform 0.6s var(--hf-ease-out);
	filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.14));
}

.hf-hero-blue-card:hover .hf-hero-dog-img img {
	transform: scale(1.025) translateY(-4px);
}

.hf-hero-sparkles {
	position: absolute;
	top: 22px;
	right: 26px;
	pointer-events: none;
	z-index: 3;
}

.hf-hero-stamp {
	position: absolute;
	left: -26px;
	bottom: 24px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: transform 0.5s var(--hf-ease-spring);
}

.hf-hero-stamp:hover {
	transform: rotate(12deg) scale(1.06);
}

.hf-hero-stamp svg {
	width: 84px;
	height: 84px;
	animation: hfSlowSpin 26s linear infinite;
}

@keyframes hfSlowSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	.hf-hero-stamp {
		left: 8px;
		bottom: -16px;
		width: 82px;
		height: 82px;
	}
	.hf-hero-stamp svg {
		width: 72px;
		height: 72px;
	}
}

/* ---------------- Viewport Reveal & Parallax ---------------- */
.hf-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s var(--hf-ease-out), transform 0.65s var(--hf-ease-out);
	transition-delay: var(--hf-stagger, 0ms);
	will-change: opacity, transform;
}

.hf-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.hf-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.hf-hero-stamp svg {
		animation: none !important;
	}
}

/* ---------------- Dynamic Category Cards ---------------- */
.hf-categories-grid {
	display: grid;
	gap: 22px;
	width: 100%;
}

.hf-categories-grid.hf-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hf-categories-grid.hf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hf-categories-grid.hf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hf-cat-card {
	display: flex;
	flex-direction: column;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-card);
	padding: 14px;
	text-decoration: none !important;
	color: var(--hf-ink);
	transition: transform 0.34s var(--hf-ease-out), box-shadow 0.34s var(--hf-ease-out), border-color 0.25s ease, background-color 0.25s ease;
}

.hf-cat-card:hover {
	transform: translateY(-6px);
	background: #FFFFFF;
	border-color: #D7E1F5;
	box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.14);
}

.hf-cat-card__media {
	position: relative;
	aspect-ratio: 1 / 0.88;
	border-radius: 14px;
	overflow: hidden;
	background: #EAECEF;
}

.hf-cat-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--hf-ease-out);
}

.hf-cat-card:hover .hf-cat-card__media img {
	transform: scale(1.06);
}

.hf-cat-card__count {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
	font-family: var(--hf-font-body);
	font-size: 11px;
	font-weight: 600;
	color: var(--hf-ink);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hf-cat-card:hover .hf-cat-card__count {
	opacity: 1;
	transform: translateY(0);
}

.hf-cat-card__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 4px 4px;
}

.hf-cat-card__meta {
	min-width: 0;
}

.hf-cat-card__title {
	margin: 0 0 3px;
	font-family: var(--hf-font-head);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--hf-ink);
	transition: color 0.2s ease;
}

.hf-cat-card:hover .hf-cat-card__title {
	color: var(--hf-blue);
}

.hf-cat-card__tagline {
	margin: 0;
	font-family: var(--hf-font-body);
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--hf-muted);
}

.hf-cat-card__arrow {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	color: var(--hf-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.28s var(--hf-ease-out);
}

.hf-cat-card:hover .hf-cat-card__arrow {
	background: var(--hf-blue);
	border-color: var(--hf-blue);
	color: #FFFFFF;
	transform: translate(2px, -2px);
}

/* ---------------- Dynamic WooCommerce Product Cards ---------------- */
.hf-products-grid {
	display: grid;
	gap: 24px;
	width: 100%;
}

.hf-products-grid.hf-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hf-products-grid.hf-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hf-products-grid.hf-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hf-product-card {
	display: flex;
	flex-direction: column;
	transition: transform 0.32s var(--hf-ease-out);
}

.hf-product-card:hover {
	transform: translateY(-4px);
}

.hf-product-card__media {
	position: relative;
	aspect-ratio: 1 / 1.04;
	border-radius: 18px;
	overflow: hidden;
	background: #EFF1F4;
	border: 1px solid #E8EBF0;
	box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.14);
	transition: box-shadow 0.35s var(--hf-ease-out), border-color 0.25s ease;
}

.hf-product-card:hover .hf-product-card__media {
	border-color: #D7E1F5;
	box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.18);
}

.hf-product-card__img-link {
	display: block;
	width: 100%;
	height: 100%;
}

.hf-product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--hf-ease-out), opacity 0.22s ease;
}

.hf-product-card__img.is-swapping {
	opacity: 0.45;
}

.hf-product-card:hover .hf-product-card__img {
	transform: scale(1.06);
}

.hf-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--hf-blue);
	color: #FFFFFF;
	font-family: var(--hf-font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	z-index: 2;
}

/* Wishlist Heart */
.hf-wishlist-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.94);
	color: #475569;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
	z-index: 3;
	transition: transform 0.25s var(--hf-ease-spring), color 0.2s ease, background-color 0.2s ease;
}

.hf-wishlist-btn:hover {
	transform: scale(1.08);
	color: var(--hf-blue);
}

.hf-wishlist-btn.is-wishlisted {
	color: #E11D48;
	background: #FFFFFF;
}

.hf-wishlist-btn.is-wishlisted svg {
	fill: #E11D48;
	animation: hfHeartPop 0.35s var(--hf-ease-spring);
}

@keyframes hfHeartPop {
	0% { transform: scale(1); }
	50% { transform: scale(1.32); }
	100% { transform: scale(1); }
}

/* Interactive Plus -> Quantity Selector Morph */
.hf-cart-control {
	position: absolute;
	right: 12px;
	bottom: 12px;
	height: 36px;
	width: 36px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
	overflow: hidden;
	z-index: 4;
	transition: width 0.34s var(--hf-ease-spring), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hf-cart-control:not(.is-expanded):hover {
	background: var(--hf-blue);
	border-color: var(--hf-blue);
}

.hf-cart-control:not(.is-expanded):hover .hf-qty-trigger {
	color: #FFFFFF;
}

.hf-cart-control.is-expanded {
	width: 100px;
	background: #FFFFFF;
	border-color: var(--hf-blue);
	box-shadow: 0 8px 20px rgba(33, 82, 229, 0.22);
}

.hf-cart-control.is-loading {
	opacity: 0.72;
	pointer-events: none;
}

.hf-qty-trigger {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	color: var(--hf-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hf-cart-control.is-expanded .hf-qty-trigger {
	opacity: 0;
	transform: scale(0.5);
	pointer-events: none;
}

.hf-qty-pill {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 4px;
	opacity: 0;
	transform: scale(0.85);
	pointer-events: none;
	transition: opacity 0.24s ease 0.06s, transform 0.28s var(--hf-ease-out);
}

.hf-cart-control.is-expanded .hf-qty-pill {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

.hf-qty-btn {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: none;
	background: transparent;
	color: var(--hf-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.18s ease, transform 0.15s ease;
}

.hf-qty-btn:hover {
	background: var(--hf-blue-soft);
}

.hf-qty-btn:active {
	transform: scale(0.88);
}

.hf-qty-value {
	font-family: var(--hf-font-head);
	font-size: 13px;
	font-weight: 700;
	color: var(--hf-ink);
	min-width: 18px;
	text-align: center;
	user-select: none;
}

.hf-qty-value.is-bumping {
	animation: hfQtyBump 0.28s var(--hf-ease-spring);
}

@keyframes hfQtyBump {
	0% { transform: scale(1); }
	50% { transform: scale(1.3); color: var(--hf-blue); }
	100% { transform: scale(1); }
}

/* Inline validation toast inside media card */
.hf-card-toast {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 56px;
	padding: 7px 11px;
	border-radius: 10px;
	background: rgba(17, 24, 39, 0.9);
	color: #FFFFFF;
	font-family: var(--hf-font-body);
	font-size: 11.5px;
	font-weight: 500;
	text-align: center;
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none;
	z-index: 6;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.hf-card-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Product Card Metadata */
.hf-product-card__body {
	padding: 12px 2px 4px;
}

.hf-product-card__cat {
	display: block;
	font-family: var(--hf-font-body);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hf-eyebrow);
	margin-bottom: 4px;
}

.hf-product-card__title {
	margin: 0 0 4px;
	font-family: var(--hf-font-head);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
}

.hf-product-card__title a {
	color: var(--hf-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hf-product-card__title a:hover {
	color: var(--hf-blue);
}

.hf-product-card__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.hf-product-card__price {
	font-family: var(--hf-font-head);
	font-size: 14px;
	font-weight: 700;
	color: var(--hf-ink);
}

.hf-product-card__price del {
	color: #94A3B8;
	font-weight: 500;
	margin-right: 5px;
	font-size: 12.5px;
}

.hf-product-card__price ins {
	text-decoration: none;
	color: var(--hf-blue);
}

.hf-product-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-family: var(--hf-font-body);
	font-size: 12px;
	font-weight: 600;
	color: var(--hf-muted);
}

.hf-product-card__rating .hf-star {
	color: #F59E0B;
}

/* Swatches (Visual Circular Colors & Image Textures) */
.hf-swatches-container {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 24px;
}

.hf-swatches-container.is-attention {
	animation: hfShake 0.38s ease;
}

@keyframes hfShake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

.hf-swatch-group {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hf-swatch-divider {
	width: 1px;
	height: 16px;
	background: #DCE1EA;
}

.hf-swatch {
	position: relative;
	padding: 0;
	border: none;
	cursor: pointer;
	outline: none;
	transition: transform 0.2s var(--hf-ease-spring), box-shadow 0.2s ease, opacity 0.2s ease;
}

.hf-swatch-color {
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background-color: var(--swatch-color, #CBD5E1);
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.14);
}

.hf-swatch-texture {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	overflow: hidden;
	background: #E2E8F0;
	box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
}

.hf-swatch-texture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hf-swatch:hover:not(.is-disabled) {
	transform: scale(1.14);
}

.hf-swatch.is-selected {
	box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px var(--hf-blue);
	transform: scale(1.06);
}

.hf-swatch.is-disabled {
	opacity: 0.28;
	cursor: not-allowed;
}

.hf-swatch.is-disabled::after {
	content: "";
	position: absolute;
	left: -2px;
	right: -2px;
	top: 50%;
	height: 1.5px;
	background: #475569;
	transform: rotate(-45deg);
}

.hf-swatch-pill {
	padding: 2px 8px;
	border-radius: 999px;
	background: #F1F5F9;
	font-family: var(--hf-font-body);
	font-size: 11px;
	font-weight: 600;
	color: var(--hf-ink);
}

.hf-swatch-pill.is-selected {
	background: var(--hf-blue);
	color: #FFFFFF;
	box-shadow: none;
}

/* ---------------- About Section ---------------- */
.hf-about-section {
	background: linear-gradient(180deg, #EEF3FD 0%, #E7EEFC 100%) !important;
}

.hf-about-image img {
	border-radius: 24px !important;
	box-shadow: 0 24px 48px -22px rgba(15, 23, 42, 0.2);
	transition: transform 0.6s var(--hf-ease-out);
}

.hf-about-image:hover img {
	transform: scale(1.02);
}

/* ---------------- Event Cards ---------------- */
.hf-event-card {
	background: #FFFFFF;
	border: 1px solid var(--hf-border) !important;
	border-radius: 20px !important;
	padding: 14px !important;
	transition: transform 0.34s var(--hf-ease-out), box-shadow 0.34s var(--hf-ease-out), border-color 0.25s ease !important;
}

.hf-event-card:hover {
	transform: translateY(-6px);
	border-color: #D7E1F5 !important;
	box-shadow: 0 22px 42px -18px rgba(15, 23, 42, 0.12);
}

.hf-event-card .elementor-image {
	overflow: hidden;
	border-radius: 14px;
}

.hf-event-card .elementor-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	transition: transform 0.55s var(--hf-ease-out);
}

.hf-event-card:hover .elementor-image img {
	transform: scale(1.06);
}

.hf-event-meta .elementor-heading-title {
	font-family: var(--hf-font-body) !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase;
	color: var(--hf-eyebrow) !important;
}

.hf-text-link .elementor-button {
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	color: var(--hf-blue) !important;
	font-family: var(--hf-font-body) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
}

.hf-text-link .elementor-button:hover .elementor-button-icon {
	transform: translateX(4px);
}

/* ---------------- Lifestyle Bento Gallery ---------------- */
.hf-gallery-bento {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	grid-template-rows: 225px 225px !important;
	gap: 18px !important;
	width: 100%;
}

.hf-gallery-tile {
	position: relative;
	border-radius: 20px !important;
	overflow: hidden !important;
	background: #EAECEF;
}

.hf-gallery-tile--tall {
	grid-row: 1 / 3;
}

.hf-gallery-tile .elementor-widget-image,
.hf-gallery-tile .elementor-widget-container,
.hf-gallery-tile .elementor-image,
.hf-gallery-tile img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block;
}

.hf-gallery-tile img {
	transition: transform 0.65s var(--hf-ease-out);
}

.hf-gallery-tile:hover img {
	transform: scale(1.06);
}

@media (max-width: 960px) {
	.hf-gallery-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
	}
	.hf-gallery-tile--tall {
		grid-row: auto;
		grid-column: 1 / -1;
		aspect-ratio: 16 / 10;
	}
	.hf-gallery-tile:not(.hf-gallery-tile--tall) {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 560px) {
	.hf-gallery-bento {
		grid-template-columns: 1fr !important;
		gap: 14px !important;
	}
	.hf-gallery-tile--tall {
		aspect-ratio: 4 / 3;
	}
}

/* ---------------- Newsletter Card & Pill Form ---------------- */
.hf-newsletter-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #EDF2FC 0%, #DFEAFC 100%) !important;
	border-radius: 28px !important;
}

.hf-newsletter-paw {
	position: absolute;
	right: 22px;
	bottom: -14px;
	opacity: 0.14;
	pointer-events: none;
	color: #5C85EB;
}

.hf-newsletter-form {
	width: 100%;
}

.hf-newsletter-pill {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border-radius: 999px;
	padding: 6px 6px 6px 20px;
	box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.9);
	gap: 8px;
}

.hf-newsletter-pill input[type="email"] {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font-family: var(--hf-font-body);
	font-size: 14px;
	color: var(--hf-ink);
}

.hf-newsletter-pill input[type="email"]::placeholder {
	color: #94A3B8;
}

.hf-newsletter-submit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 22px;
	border-radius: 999px;
	border: none;
	background: var(--hf-blue);
	color: #FFFFFF;
	font-family: var(--hf-font-body);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.hf-newsletter-submit:hover {
	background: var(--hf-blue-hover);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -6px rgba(33, 82, 229, 0.5);
}

.hf-newsletter-feedback {
	margin-top: 10px;
	font-family: var(--hf-font-body);
	font-size: 13px;
	font-weight: 500;
	min-height: 18px;
}

.hf-newsletter-feedback.is-success { color: #15803D; }
.hf-newsletter-feedback.is-error { color: #B91C1C; }

/* ---------------- Shop Catalog Filter Toolbar ---------------- */
.hf-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 28px;
}

.hf-catalog-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hf-filter-pill {
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid #DCE1EA;
	background: #FFFFFF;
	font-family: var(--hf-font-body);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hf-ink);
	text-decoration: none;
	transition: all 0.2s ease;
}

.hf-filter-pill:hover,
.hf-filter-pill.is-active {
	background: var(--hf-blue);
	border-color: var(--hf-blue);
	color: #FFFFFF;
}

.hf-catalog-sort select {
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid #DCE1EA;
	background: #FFFFFF;
	font-family: var(--hf-font-body);
	font-size: 13.5px;
	color: var(--hf-ink);
	outline: none;
	cursor: pointer;
}

.hf-empty-notice {
	padding: 32px 24px;
	border-radius: 18px;
	background: var(--hf-surface);
	border: 1px dashed #CBD5E1;
	text-align: center;
	font-family: var(--hf-font-body);
	color: var(--hf-muted);
}

/* ---------------- Responsive Grid Breakpoints ---------------- */
@media (max-width: 1024px) {
	.hf-categories-grid.hf-cols-4,
	.hf-products-grid.hf-cols-4,
	.hf-categories-grid.hf-cols-3,
	.hf-products-grid.hf-cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.hf-categories-grid.hf-cols-4,
	.hf-products-grid.hf-cols-4,
	.hf-categories-grid.hf-cols-3,
	.hf-products-grid.hf-cols-3,
	.hf-categories-grid.hf-cols-2,
	.hf-products-grid.hf-cols-2 {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.hf-newsletter-pill {
		flex-direction: column;
		border-radius: 20px;
		padding: 10px;
	}
	.hf-newsletter-pill input[type="email"] {
		width: 100%;
		padding: 8px 10px;
	}
	.hf-newsletter-submit {
		width: 100%;
		justify-content: center;
	}
}

/* Ensure touch devices keep interactive controls visible & easy to tap */
@media (hover: none) {
	.hf-cat-card__count {
		opacity: 1;
		transform: none;
	}
	.hf-swatch-color {
		width: 21px;
		height: 21px;
	}
	.hf-swatch-texture {
		width: 24px;
		height: 24px;
	}
}
