/* ==========================================================================
   Horizon WC — Faithful Shopify Horizon v3.5.1 Design System for WooCommerce
   ========================================================================== */

:root {
	--hz-bg: #ffffff;
	--hz-surface: #f5f5f5;
	--hz-sage: #eef1ea;
	--hz-sky: #e1edf5;
	--hz-heading: #000000;
	--hz-fg: rgba(0, 0, 0, 0.81);
	--hz-muted: rgba(0, 0, 0, 0.54);
	--hz-border: rgba(0, 0, 0, 0.08);
	--hz-border-strong: #dfdfdf;
	--hz-btn-bg: #000000;
	--hz-btn-bg-hover: #333333;
	--hz-btn-text: #ffffff;
	--hz-btn-radius: 14px;
	--hz-input-radius: 4px;
	--hz-pill-radius: 100px;
	--hz-swatch-size: 34px;
	--hz-touch: 44px;
	--hz-page-width: 1440px;
	--hz-shadow-popover: 0 12px 40px rgb(0 0 0 / 12%);
	--hz-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--icon-stroke-width: 1.5px;
	--hz-ann-height: 41px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

body {
	background-color: var(--hz-bg);
	color: var(--hz-fg);
	font-family: var(--wp--preset--font-family--inter, "Inter", -apple-system, BlinkMacSystemFont, sans-serif);
	font-size: 0.875rem;
	line-height: 1.6;
	overflow-x: clip;
}

a {
	color: inherit;
	text-underline-offset: 3px;
	transition: color 0.18s ease, opacity 0.18s ease;
}

/* ==========================================================================
   Icons
   ========================================================================== */

.hz-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hz-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hz-icon--sm {
	width: 18px;
	height: 18px;
}

.hz-icon--md {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   Header & Sticky Announcement Bar (Horizon enable_sticky_header: always)
   ========================================================================== */

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 90;
	transition: transform 0.25s var(--hz-ease);
	will-change: transform;
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}
}

body.hz-header-scrolled header.wp-block-template-part {
	transform: translateY(calc(-1 * var(--hz-ann-height, 41px)));
}

body.hz-header-scrolled .hz-header-sticky {
	background-color: rgba(255, 255, 255, 0.96) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--hz-border);
}

.hz-header-sticky {
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hz-header-row {
	min-height: 44px;
}

.hz-header-brand .wp-block-site-title {
	margin: 0;
	white-space: nowrap;
}

.hz-header-brand .wp-block-site-title a {
	color: var(--hz-heading);
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: -0.025em;
	text-decoration: none;
}

.hz-header-brand .wp-block-site-logo img {
	max-height: 36px;
	width: auto;
	display: block;
}

@media (max-width: 749px) {
	.hz-header-brand .wp-block-site-logo img {
		max-height: 28px;
	}
}

/* Primary Nav */
.hz-header-nav .wp-block-navigation-item__content {
	color: var(--hz-fg);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 400;
	padding: 6px 2px;
	transition: color 0.16s ease, opacity 0.16s ease;
}

.hz-header-nav .wp-block-navigation-item__content:hover,
.hz-header-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--hz-heading);
}

/* Mobile Nav Toggle & Drawer (aligned with WordPress core/navigation 600px breakpoint) */
.hz-header-left > .wp-block-woocommerce-customer-account {
	display: none !important;
}

.hz-header-actions > p {
	margin: 0 !important;
	display: contents;
}

.hz-header-row,
.hz-header-left,
.hz-header-actions,
.hz-product-grid,
.hz-main {
	min-width: 0;
	max-width: 100%;
}

.hz-header-group .hz-announcement-bar,
.hz-header-group .hz-header-sticky {
	padding-left: clamp(16px, 2.77vw, 40px);
	padding-right: clamp(16px, 2.77vw, 40px);
}

@media (min-width: 600px) {
	.hz-header-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
	}
}

@media (max-width: 599px) {
	.hz-header-nav .wp-block-navigation__responsive-container-open {
		width: var(--hz-touch);
		height: var(--hz-touch);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		color: var(--hz-heading);
		transition: background-color 0.16s ease;
	}

	.hz-header-nav .wp-block-navigation__responsive-container-open:hover {
		background-color: var(--hz-surface);
	}

	.hz-header-left {
		gap: 6px !important;
		flex: 1 1 auto;
		min-width: 0;
	}

	.hz-header-nav {
		order: -1;
	}

	.hz-header-brand .wp-block-site-title a {
		font-size: 1rem;
	}

	.hz-header-action,
	.hz-mini-cart .wc-block-mini-cart__button {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}
}

.hz-header-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--hz-bg);
	padding: 24px 20px;
}

.hz-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 16px;
	align-items: flex-start;
	width: 100%;
	padding-top: 24px;
}

.hz-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--hz-heading);
}

/* Header Action Buttons (Search, Account, Cart) */
.hz-header-actions {
	align-items: center;
}

.hz-header-action {
	appearance: none;
	background: transparent;
	border: 0;
	width: var(--hz-touch);
	height: var(--hz-touch);
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--hz-heading);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.hz-header-action:hover {
	background-color: var(--hz-surface);
	color: var(--hz-heading);
}

/* WooCommerce Mini-Cart Trigger styled identically to Horizon Cart Button */
.hz-mini-cart .wc-block-mini-cart__button {
	width: var(--hz-touch);
	height: var(--hz-touch);
	min-width: var(--hz-touch);
	padding: 0 !important;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hz-heading);
	background: transparent;
	transition: background-color 0.16s ease;
}

.hz-mini-cart .wc-block-mini-cart__button:hover {
	background-color: var(--hz-surface);
}

.hz-mini-cart .wc-block-mini-cart__quantity-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hz-mini-cart .wc-block-mini-cart__icon {
	width: 22px;
	height: 22px;
	color: var(--hz-heading);
}

.hz-mini-cart .wc-block-mini-cart__badge {
	background-color: var(--hz-heading) !important;
	color: #ffffff !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	min-width: 17px !important;
	height: 17px !important;
	border-radius: 100px !important;
	border: 1.5px solid #ffffff !important;
}

/* ==========================================================================
   Horizon Live Search Drawer
   ========================================================================== */

.hz-search-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
}

.hz-search-drawer[hidden] {
	display: none !important;
}

.hz-search-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: hzFadeIn 0.2s ease forwards;
}

.hz-search-panel {
	position: relative;
	z-index: 2;
	background: var(--hz-bg);
	border-bottom: 1px solid var(--hz-border);
	box-shadow: var(--hz-shadow-popover);
	padding: 20px clamp(16px, 2.77vw, 40px) 28px;
	animation: hzSlideDown 0.24s var(--hz-ease) forwards;
	max-height: 85vh;
	overflow-y: auto;
}

.hz-search-panel-inner {
	max-width: var(--hz-page-width);
	margin: 0 auto;
}

.hz-search-form {
	display: flex;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid var(--hz-border-strong);
	padding-bottom: 12px;
}

.hz-search-input-icon {
	color: var(--hz-muted);
	display: inline-flex;
}

.hz-search-input {
	flex: 1;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 400;
	color: var(--hz-heading);
	padding: 6px 0;
}

.hz-search-input::placeholder {
	color: var(--hz-muted);
}

.hz-search-clear {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--hz-muted);
	font-family: inherit;
	font-size: 0.8125rem;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 8px;
}

.hz-search-clear:hover {
	color: var(--hz-heading);
	background: var(--hz-surface);
}

.hz-search-close {
	appearance: none;
	border: 0;
	background: transparent;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hz-heading);
	cursor: pointer;
	transition: background-color 0.16s ease;
}

.hz-search-close:hover {
	background-color: var(--hz-surface);
}

.hz-search-results {
	padding-top: 24px;
}

.hz-search-results-heading {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hz-muted);
	margin: 0 0 16px;
}

.hz-search-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 749px) {
	.hz-search-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

.hz-search-card {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: inherit;
}

.hz-search-card__media {
	aspect-ratio: 1 / 1;
	background: var(--hz-surface);
	overflow: hidden;
}

.hz-search-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s var(--hz-ease);
}

.hz-search-card:hover .hz-search-card__media img {
	transform: scale(1.03);
}

.hz-search-card__title {
	font-size: 0.875rem;
	color: var(--hz-heading);
	line-height: 1.35;
}

.hz-search-card__price {
	font-size: 0.8125rem;
	color: var(--hz-muted);
}

.hz-search-footer {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--hz-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hz-search-view-all {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--hz-heading);
	text-decoration: underline;
}

.hz-search-empty {
	color: var(--hz-muted);
	font-size: 0.875rem;
	margin: 0;
}

@keyframes hzFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes hzSlideDown {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Hero Section (Horizon hero_jVaWmY: page-width, medium height, bottom-center)
   ========================================================================== */

.hz-hero-section {
	margin-top: 0;
}

.hz-hero-cover {
	min-height: clamp(420px, 56svh, 620px) !important;
	border-radius: 0;
	overflow: hidden;
}

.hz-hero-cover .wp-block-cover__inner-container {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
}

.hz-hero-cover h2 {
	color: #ffffff !important;
	font-weight: 700;
	letter-spacing: -0.025em;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.22);
}

.hz-hero-btn .wp-block-button__link {
	border: 1px solid #ffffff !important;
	color: #ffffff !important;
	background-color: transparent !important;
	border-radius: var(--hz-btn-radius) !important;
	padding: 14px 28px !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	letter-spacing: 0;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.hz-hero-btn .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.16) !important;
}

@media (max-width: 749px) {
	.hz-hero-cover {
		min-height: 400px !important;
		padding-top: 64px !important;
		padding-bottom: 48px !important;
	}
}

/* ==========================================================================
   Horizon Product Grids & Product Cards
   ========================================================================== */

.hz-section-header {
	margin-bottom: 4px;
}

.hz-view-all-link a {
	color: var(--hz-fg);
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 400;
}

.hz-view-all-link a:hover {
	color: var(--hz-heading);
}

/* Enforce Horizon 4-column desktop / 2-column mobile grid */
.hz-product-grid .wc-block-product-template,
.hz-product-grid ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	column-gap: 16px !important;
	row-gap: 28px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

@media (max-width: 989px) {
	.hz-product-grid .wc-block-product-template,
	.hz-product-grid ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 12px !important;
		row-gap: 24px !important;
	}
}

.hz-product-grid .wc-block-product-template > li,
.hz-product-grid ul.products > li {
	width: 100% !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	text-align: left;
}

/* Product Card Image — sharp 0px radius, clean aspect ratio, subtle hover zoom */
.hz-product-grid .wc-block-components-product-image {
	margin: 0 !important;
	border-radius: 0 !important;
	overflow: hidden;
	background-color: var(--hz-surface);
	position: relative;
}

.hz-product-grid .wc-block-components-product-image a {
	display: block;
	overflow: hidden;
}

.hz-product-grid .wc-block-components-product-image img {
	width: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover !important;
	display: block;
	border-radius: 0 !important;
	transition: transform 0.4s var(--hz-ease);
}

.hz-product-grid .wc-block-product-template > li:hover .wc-block-components-product-image img {
	transform: scale(1.025);
}

/* Horizon Sale Badge — top-right pill (badge_corner_radius: 100) */
.hz-product-grid .wc-block-components-product-sale-badge {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	background-color: #ffffff !important;
	color: #000000 !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: var(--hz-pill-radius) !important;
	padding: 3px 10px !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.4 !important;
	z-index: 2;
}

/* Product Card Title & Price — left-aligned, tight Horizon hierarchy */
.hz-product-grid .wp-block-post-title {
	margin-top: 10px !important;
	margin-bottom: 2px !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-align: left !important;
}

.hz-product-grid .wp-block-post-title a {
	color: var(--hz-fg);
	text-decoration: none;
}

.hz-product-grid .wc-block-product-template > li:hover .wp-block-post-title a {
	color: var(--hz-heading);
	text-decoration: underline;
}

.hz-product-grid .wc-block-components-product-price {
	font-size: 0.8125rem !important;
	font-weight: 400 !important;
	color: var(--hz-muted);
	text-align: left !important;
	margin: 0 !important;
}

.hz-product-grid .wc-block-components-product-price ins {
	text-decoration: none;
	color: var(--hz-heading);
	font-weight: 500;
}

.hz-product-grid .wc-block-components-product-price del {
	opacity: 0.55;
	margin-right: 6px;
}

/* ==========================================================================
   Collection / Shop Toolbar & Pagination
   ========================================================================== */

.hz-collection-toolbar {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hz-border);
	gap: 12px;
}

.hz-collection-toolbar .woocommerce-result-count {
	margin: 0 !important;
	font-size: 0.8125rem;
	color: var(--hz-muted);
}

.hz-collection-toolbar .woocommerce-ordering {
	margin: 0 !important;
}

.hz-collection-toolbar .woocommerce-ordering select {
	font-family: inherit;
	font-size: 0.8125rem;
	color: var(--hz-heading);
	background-color: var(--hz-bg);
	border: 1px solid var(--hz-border-strong);
	border-radius: var(--hz-input-radius);
	padding: 8px 32px 8px 12px;
	min-height: 38px;
	cursor: pointer;
}

.hz-pagination {
	margin-top: 40px !important;
	gap: 8px;
}

.hz-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 10px;
	font-size: 0.875rem;
	text-decoration: none;
	color: var(--hz-fg);
	border: 1px solid transparent;
	transition: background-color 0.16s ease, border-color 0.16s ease;
}

.hz-pagination .page-numbers:hover {
	background-color: var(--hz-surface);
	color: var(--hz-heading);
}

.hz-pagination .page-numbers.current {
	background-color: var(--hz-heading);
	color: #ffffff;
	font-weight: 500;
}

/* ==========================================================================
   Single Product Page (Horizon templates/product.json)
   ========================================================================== */

.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
	font-size: 0.75rem !important;
	color: var(--hz-muted) !important;
	margin: 0 !important;
}

.woocommerce-breadcrumb a,
.wc-block-breadcrumbs a {
	color: var(--hz-muted);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover,
.wc-block-breadcrumbs a:hover {
	color: var(--hz-heading);
	text-decoration: underline;
}

.hz-product-details-sticky {
	position: sticky;
	top: 88px;
}

@media (max-width: 781px) {
	.hz-product-details-sticky {
		position: static;
	}
}

.hz-hairline-divider {
	border: 0 !important;
	height: 1px !important;
	width: 100% !important;
	margin: 4px 0 !important;
	background-color: var(--hz-border) !important;
}

/* Gallery */
.hz-product-media-col .woocommerce-product-gallery {
	width: 100% !important;
	margin: 0 !important;
}

.hz-product-media-col .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.hz-product-media-col .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	display: block;
	background: var(--hz-surface);
}

.hz-product-media-col .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin-top: 10px !important;
	padding: 0 !important;
	list-style: none;
}

.hz-product-media-col .flex-control-thumbs li {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.hz-product-media-col .flex-control-thumbs li img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 0.65;
	border: 1.5px solid transparent;
	transition: opacity 0.18s ease, border-color 0.18s ease;
}

.hz-product-media-col .flex-control-thumbs li img:hover,
.hz-product-media-col .flex-control-thumbs li img.flex-active {
	opacity: 1;
	border-color: var(--hz-heading);
}

/* Single Product Price */
.hz-product-details-col .wc-block-components-product-price {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--hz-heading);
}

/* Add to Cart Form & Variation Pickers (Horizon 34px swatches + 14px pill buttons) */
.hz-product-details-col form.cart {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 !important;
}

.hz-product-details-col table.variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 4px !important;
}

.hz-product-details-col table.variations tr {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.hz-product-details-col table.variations th.label {
	text-align: left;
	padding: 0 !important;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--hz-heading);
}

.hz-product-details-col table.variations td.value {
	padding: 0 !important;
}

.hz-product-details-col table.variations select {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--hz-border-strong);
	border-radius: var(--hz-input-radius);
	font-family: inherit;
	font-size: 0.875rem;
	background-color: var(--hz-bg);
	color: var(--hz-heading);
}

.hz-product-details-col .reset_variations {
	font-size: 0.75rem;
	color: var(--hz-muted);
	margin-top: 6px;
	display: inline-block;
}

/* Style woo-variation-swatches plugin to match Horizon 34px swatches & 14px pills */
.woo-variation-swatches .variable-items-wrapper {
	gap: 8px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item {
	min-height: 40px !important;
	padding: 0 16px !important;
	border-radius: var(--hz-btn-radius) !important;
	border: 1px solid rgba(0, 0, 0, 0.14) !important;
	box-shadow: none !important;
	background-color: #ffffff !important;
	color: #000000 !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	transition: all 0.16s ease !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:hover {
	background-color: var(--hz-surface) !important;
	border-color: rgba(0, 0, 0, 0.35) !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected {
	background-color: #000000 !important;
	color: #ffffff !important;
	border-color: #000000 !important;
	box-shadow: none !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.color-variable-item,
.woo-variation-swatches .variable-items-wrapper .variable-item.image-variable-item {
	width: var(--hz-swatch-size) !important;
	height: var(--hz-swatch-size) !important;
	border-radius: 32px !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14) !important;
	padding: 2px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.color-variable-item.selected,
.woo-variation-swatches .variable-items-wrapper .variable-item.image-variable-item.selected {
	box-shadow: 0 0 0 2px #000000 !important;
}

/* Quantity + Primary Add to Cart Row */
.hz-product-details-col .woocommerce-variation-add-to-cart,
.hz-product-details-col form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}

.hz-product-details-col .quantity {
	margin: 0 !important;
}

.hz-product-details-col .quantity input.qty {
	width: 84px;
	height: 48px;
	border: 1px solid var(--hz-border-strong);
	border-radius: var(--hz-input-radius);
	text-align: center;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--hz-heading);
	background: var(--hz-bg);
}

.hz-product-details-col .single_add_to_cart_button.button {
	flex: 1 1 200px;
	min-height: 48px;
	background-color: var(--hz-btn-bg) !important;
	color: var(--hz-btn-text) !important;
	border: 0 !important;
	border-radius: var(--hz-btn-radius) !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	padding: 14px 24px !important;
	cursor: pointer;
	transition: background-color 0.18s ease, opacity 0.18s ease;
}

.hz-product-details-col .single_add_to_cart_button.button:hover {
	background-color: var(--hz-btn-bg-hover) !important;
}

.hz-product-details-col .single_add_to_cart_button.button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* PayPal Smart Buttons spacing on product page */
.hz-product-details-col .ppc-button-wrapper {
	width: 100%;
	margin-top: 4px;
}

.hz-product-meta {
	font-size: 0.75rem;
	color: var(--hz-muted);
	padding-top: 12px;
	border-top: 1px solid var(--hz-border);
}

/* Minimal Product Tabs */
.hz-product-details-tabs {
	margin-top: 24px !important;
}

.hz-product-details-tabs .wc-tabs {
	border-bottom: 1px solid var(--hz-border) !important;
	display: flex;
	gap: 28px;
	padding: 0 !important;
	margin: 0 0 24px !important;
}

.hz-product-details-tabs .wc-tabs li {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

.hz-product-details-tabs .wc-tabs li a {
	display: inline-block;
	padding: 12px 0 !important;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--hz-muted) !important;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.hz-product-details-tabs .wc-tabs li.active a {
	color: var(--hz-heading) !important;
	border-bottom-color: var(--hz-heading);
}

.hz-product-details-tabs .woocommerce-Tabs-panel img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Horizon Floating Sticky Add-to-Cart Bar (Single Product)
   ========================================================================== */

.hz-sticky-atc {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(calc(100% + 40px));
	opacity: 0;
	pointer-events: none;
	z-index: 80;
	width: min(560px, calc(100vw - 32px));
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 18px;
	box-shadow: var(--hz-shadow-popover);
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: transform 0.3s var(--hz-ease), opacity 0.25s ease;
}

.hz-sticky-atc[data-stuck="true"] {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.hz-sticky-atc__img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	background: var(--hz-surface);
	flex-shrink: 0;
}

.hz-sticky-atc__info {
	flex: 1;
	min-width: 0;
}

.hz-sticky-atc__title {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hz-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hz-sticky-atc__price {
	font-size: 0.8125rem;
	color: var(--hz-muted);
}

.hz-sticky-atc__price ins {
	text-decoration: none;
	color: var(--hz-heading);
}

.hz-sticky-atc__btn {
	appearance: none;
	border: 0;
	background: var(--hz-btn-bg);
	color: #ffffff;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 12px 20px;
	border-radius: var(--hz-btn-radius);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.18s ease;
}

.hz-sticky-atc__btn:hover {
	background: var(--hz-btn-bg-hover);
}

/* ==========================================================================
   WooCommerce Mini-Cart Drawer, Cart Block, Checkout Block, My Account
   ========================================================================== */

.wc-block-components-drawer {
	font-family: var(--wp--preset--font-family--inter, "Inter", sans-serif) !important;
	box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14) !important;
}

.wc-block-mini-cart__footer-checkout,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button,
.woocommerce a.button {
	background-color: var(--hz-btn-bg) !important;
	color: var(--hz-btn-text) !important;
	border-radius: var(--hz-btn-radius) !important;
	border: 1px solid var(--hz-btn-bg) !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	transition: background-color 0.18s ease, color 0.18s ease !important;
}

.wc-block-mini-cart__footer-checkout:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
	background-color: var(--hz-btn-bg-hover) !important;
	border-color: var(--hz-btn-bg-hover) !important;
}

.wc-block-mini-cart__footer-cart.wc-block-components-button.outlined {
	background-color: transparent !important;
	color: var(--hz-heading) !important;
	border: 1px solid var(--hz-heading) !important;
	border-radius: var(--hz-btn-radius) !important;
	font-weight: 500 !important;
}

.wc-block-mini-cart__footer-cart.wc-block-components-button.outlined:hover {
	background-color: var(--hz-surface) !important;
}

/* Cart & Checkout Inputs */
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-select select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border-radius: var(--hz-input-radius) !important;
	border-color: var(--hz-border-strong) !important;
	font-family: inherit !important;
}

.wc-block-components-text-input input:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	border-color: var(--hz-heading) !important;
	box-shadow: 0 0 0 1px var(--hz-heading) !important;
}

/* Checkout Order Summary Card */
.wc-block-checkout__sidebar {
	background-color: var(--hz-surface);
	border-radius: 12px;
	padding: 24px !important;
}

/* ==========================================================================
   Editorial Pages (FAQ, Contact, Privacy, Terms) & WPForms
   ========================================================================== */

body:not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .hz-page-inner {
	max-width: 780px;
	margin-inline: auto;
}

.hz-inline-search .wp-block-search__inside-wrapper {
	max-width: 520px;
	border: 1px solid var(--hz-border-strong) !important;
	border-radius: var(--hz-pill-radius) !important;
	padding: 4px 6px 4px 16px;
}

.hz-inline-search .wp-block-search__input {
	border: 0 !important;
	font-family: inherit;
	font-size: 0.875rem;
}

.hz-inline-search .wp-block-search__button {
	border-radius: 50% !important;
	width: 38px;
	height: 38px;
	padding: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* WPForms styled to Horizon tokens */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea,
.wpforms-container select {
	border: 1px solid var(--hz-border-strong) !important;
	border-radius: var(--hz-input-radius) !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	padding: 10px 14px !important;
}

.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit {
	background-color: var(--hz-btn-bg) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: var(--hz-btn-radius) !important;
	padding: 14px 28px !important;
	font-family: inherit !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	cursor: pointer !important;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover {
	background-color: var(--hz-btn-bg-hover) !important;
}

/* ==========================================================================
   Footer (Horizon footer-group.json: Newsletter + 3-col Utilities Bar)
   ========================================================================== */

.hz-footer-newsletter-copy {
	max-width: 460px;
}

.hz-footer-newsletter-copy p {
	color: var(--hz-muted);
}

.hz-footer-newsletter-form-wrap {
	width: 100%;
	max-width: 440px;
}

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

.hz-newsletter-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid var(--hz-border-strong);
	border-radius: var(--hz-pill-radius);
	background: var(--hz-bg);
	padding: 4px 6px 4px 18px;
	transition: border-color 0.18s ease;
}

.hz-newsletter-input-wrap:focus-within {
	border-color: var(--hz-heading);
}

.hz-newsletter-input {
	flex: 1;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-family: inherit;
	font-size: 0.875rem;
	color: var(--hz-heading);
	height: 40px;
	min-width: 0;
}

.hz-newsletter-input::placeholder {
	color: var(--hz-muted);
}

.hz-newsletter-submit {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--hz-heading);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 0.16s ease, transform 0.16s ease;
}

.hz-newsletter-submit:hover {
	background-color: var(--hz-surface);
	transform: translateX(2px);
}

.hz-newsletter-status {
	margin: 8px 0 0 16px;
	font-size: 0.8125rem;
	color: var(--hz-heading);
}

.hz-newsletter-status[data-state="error"] {
	color: #b91c1c;
}

/* Footer Utilities (exact Horizon 1fr auto 1fr desktop / stacked center mobile) */
.hz-footer-utilities {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	font-size: 0.75rem;
	color: var(--hz-muted);
	text-align: center;
}

.hz-footer-utilities a {
	color: var(--hz-muted);
	text-decoration: none;
}

.hz-footer-utilities a:hover {
	color: var(--hz-heading);
}

.hz-footer-policies {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
}

.hz-policy-dot {
	opacity: 0.4;
}

.hz-footer-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.hz-footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--hz-muted);
	transition: color 0.16s ease;
}

.hz-footer-socials a:hover {
	color: var(--hz-heading);
}

.hz-footer-socials svg {
	width: 18px;
	height: 18px;
}

@media (min-width: 750px) {
	.hz-footer-utilities {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		text-align: left;
		gap: 24px;
	}

	.hz-footer-copyright {
		justify-self: start;
	}

	.hz-footer-policies {
		justify-self: center;
	}

	.hz-footer-socials {
		justify-self: end;
	}
}

/* WooCommerce Store Notices */
.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info {
	border-radius: 10px !important;
	border-color: var(--hz-border-strong) !important;
}
