/**
 * HiGuppy Single Product Page — Professional WooCommerce styling
 *
 * Targets /product/{slug}/. Synced with higuppy-shop.css design tokens.
 *
 * @package HiGuppy
 * @since 1.3.0
 */

/* ==========================================================================
   PAGE SHELL + TOKENS
   ========================================================================== */

body.single-product {
	--hg-product-blue: #1747b8;
	--hg-product-blue-soft: #eaf6ff;
	--hg-product-cream: #fff6e6;
	--hg-product-orange: #ff6b35;
	--hg-product-orange-dark: #e55a2b;
	--hg-product-coral-control: #c84a24;
	--hg-product-coral-control-hover: #a63d20;
	--hg-product-ink: #13203a;
	--hg-product-muted: #667085;
	--hg-product-border: #e6ecf7;
	--hg-product-radius: 18px;
	--hg-product-shadow: 0 10px 30px rgba(23, 71, 184, 0.08);
	background: #f7fbff;
}

/* Mobile product-detail polish: keep gallery navigation visible and compact metadata rows. */
@media (max-width: 781px) {
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image .wc-block-next-previous-buttons {
		display: flex !important;
		position: absolute !important;
		inset: 0 !important;
		z-index: 5 !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 0 10px !important;
		pointer-events: none !important;
	}

	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image .wc-block-next-previous-buttons__button {
		pointer-events: auto !important;
	}

	body.single-product.hg-product-v3 .wp-block-woocommerce-product-meta .taxonomy-product_cat a,
	body.single-product.hg-product-v3 .wp-block-woocommerce-product-meta .taxonomy-product_tag a {
		display: inline !important;
		height: auto !important;
		min-height: 0 !important;
		line-height: 1.4;
	}

	body.single-product.hg-product-v3 .wp-block-woocommerce-product-meta .taxonomy-product_cat,
	body.single-product.hg-product-v3 .wp-block-woocommerce-product-meta .taxonomy-product_tag {
		line-height: 1.4;
	}

	body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) {
		position: relative;
	}

	body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-category-badge {
		position: absolute;
		top: 18px;
		right: 12px;
		z-index: 2;
		margin: 0 !important;
	}

	body.single-product.hg-product-v3 .hg-v3-quantity {
		grid-template-columns: 36px minmax(32px, 1fr) 36px !important;
	}

	body.single-product.hg-product-v3 .hg-v3-quantity button {
		width: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
		padding: 0 !important;
	}

	body.single-product.hg-product-v3 .hg-v3-quantity input {
		width: 100% !important;
		min-width: 0 !important;
		height: 44px !important;
		line-height: 44px;
		font-size: 16px;
		text-align: center !important;
		vertical-align: middle !important;
		padding: 0 !important;
	}

	body.single-product.hg-product-v3 .hg-v3-quantity button {
		display: grid !important;
		place-items: center !important;
		height: 44px !important;
		line-height: 1;
	}

	body.single-product.hg-product-v3 .hg-v3-quantity button .dashicons {
		display: block !important;
		width: auto !important;
		height: auto !important;
		line-height: 1;
		font-size: 20px;
	}

	body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
		display: none !important;
	}
}

/* Keep product supporting copy aligned with the site-wide typography rule. */
body.single-product {
	--hg-product-ink: #111827;
	--hg-product-muted: #111827;
}

body.single-product .template-content {
	background: transparent;
}

/* Hide empty duplicate XStore header shell */
body.single-product #header.site-header {
	display: none !important;
}

body.single-product .content-page.container {
	display: flex;
	flex-direction: column;
	max-width: 1160px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
	padding-top: 12px;
	padding-bottom: 40px;
}

body.single-product .woocommerce-notices-wrapper {
	order: 0;
}

/* Added-to-cart notice: compact success toast — icon + message + CTA + dismiss. */
body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) {
	position: relative !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 10px 12px !important;
	min-height: 0 !important;
	margin: 0 0 16px !important;
	padding: 12px 48px 12px 14px !important;
	border: 1px solid #3aa86a !important;
	border-radius: 14px !important;
	background: #f1fff5 !important;
	color: #173529 !important;
	box-shadow: 0 8px 20px rgba(28, 103, 60, 0.08) !important;
	line-height: 1.4 !important;
	overflow: visible !important;
	transition: opacity 0.18s ease, transform 0.18s ease !important;
	box-sizing: border-box !important;
	font-size: 14px !important;
}

body.single-product .woocommerce-message::before {
	position: static !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 28px !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 28px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: #2f9e5f !important;
	color: #fff !important;
	font-size: 14px !important;
	line-height: 28px !important;
	text-align: center !important;
	transform: none !important;
	top: auto !important;
	left: auto !important;
}

body.single-product .wc-block-components-notice-banner.is-success > svg {
	display: block !important;
	flex: 0 0 28px !important;
	align-self: center !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	margin: 0 !important;
}

body.single-product .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px 12px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) .button.wc-forward,
body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) a.wc-forward,
body.single-product .wc-block-components-notice-banner.is-success .wc-forward {
	position: static !important;
	float: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 0 !important;
	height: 36px !important;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #ff6b35 !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	transform: none !important;
}

body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) .button.wc-forward:hover,
body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) .button.wc-forward:focus-visible,
body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) a.wc-forward:hover,
body.single-product .wc-block-components-notice-banner.is-success .wc-forward:hover {
	background: #e55a2b !important;
	color: #fff !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

body.single-product .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__dismiss {
	display: none !important;
}

body.single-product .hg-product-notice-dismiss {
	position: absolute;
	top: 50%;
	right: 10px;
	display: grid;
	width: 30px;
	height: 30px;
	min-width: 30px;
	min-height: 30px;
	padding: 0;
	border: 1px solid rgba(16, 53, 39, 0.14);
	border-radius: 50%;
	place-items: center;
	background: #fff;
	color: #173529;
	box-shadow: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-50%);
	z-index: 2;
}

body.single-product .hg-product-notice-dismiss:hover,
body.single-product .hg-product-notice-dismiss:focus-visible {
	border-color: #ff6b35;
	color: #ff6b35;
	outline: none;
}

body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success).is-hg-dismissing {
	opacity: 0 !important;
	transform: translateY(-6px) !important;
}

@media (max-width: 700px) {
	body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) {
		align-items: flex-start !important;
		padding: 12px 42px 12px 12px !important;
	}

	body.single-product .wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__content {
		flex: 1 1 calc(100% - 42px) !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}

	body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) .button.wc-forward,
	body.single-product :is(.woocommerce-message, .wc-block-components-notice-banner.is-success) a.wc-forward,
	body.single-product .wc-block-components-notice-banner.is-success .wc-forward {
		height: 34px !important;
		min-height: 34px !important;
		padding: 0 12px !important;
		font-size: 12px !important;
	}

	body.single-product .hg-product-notice-dismiss {
		top: 10px;
		right: 8px;
		width: 28px;
		height: 28px;
		min-width: 28px;
		min-height: 28px;
		transform: none;
	}
}

body.single-product .single-product-builder {
	order: 1;
}

body.single-product .higuppy-product-footer {
	order: 2;
}

/* ==========================================================================
   PAGE HERO / BREADCRUMB
   ========================================================================== */

body.single-product .page-heading {
	background: linear-gradient(135deg, var(--hg-product-cream) 0%, #fff 55%, var(--hg-product-blue-soft) 100%);
	border-bottom: 1px solid rgba(23, 71, 184, 0.08);
	padding: 28px 0 32px;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
}

body.single-product .page-heading::before {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(253, 187, 45, 0.35);
	left: -110px;
	bottom: -140px;
	pointer-events: none;
}

body.single-product .page-heading::after {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(23, 71, 184, 0.06);
	right: -60px;
	top: -80px;
	pointer-events: none;
}

body.single-product .page-heading .container {
	position: relative;
	z-index: 1;
	max-width: 1160px;
}

body.single-product .page-heading .title {
	font-size: clamp(1.35rem, 4vw, 1.85rem);
	font-weight: 900;
	color: var(--hg-product-blue) !important;
	letter-spacing: -0.03em;
	margin: 8px 0 0 !important;
	line-height: 1.12;
}

body.single-product .woocommerce-breadcrumb {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 700;
	color: var(--hg-product-muted);
	margin: 0;
	overflow: visible !important;
	text-overflow: unset !important;
	white-space: normal !important;
}

body.single-product .woocommerce-breadcrumb a {
	color: var(--hg-product-orange);
	text-decoration: none;
}

body.single-product .woocommerce-breadcrumb a:hover {
	color: var(--hg-product-blue);
}

/* XStore uses icon-font arrows that fail on mobile — use text separators */
body.single-product .woocommerce-breadcrumb .delimeter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: 8px;
	color: var(--hg-product-blue);
	opacity: 0.5;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 700;
	line-height: 1;
}

body.single-product .woocommerce-breadcrumb .delimeter i {
	display: none !important;
}

body.single-product .woocommerce-breadcrumb .delimeter::before {
	content: "/";
}

body.single-product .woocommerce-breadcrumb .delimeter:last-of-type {
	display: none !important;
}

body.single-product .page-heading .back-history {
	display: none !important;
}

/* ==========================================================================
   XSTORE SINGLE PRODUCT BUILDER
   ========================================================================== */

body.single-product .single-product-builder > .row,
body.single-product .single-product-builder > .row > .col-md-12 > .row {
	display: flex;
	flex-wrap: wrap;
	margin-left: 0;
	margin-right: 0;
	gap: 0;
}

body.single-product .single-product-builder .et_product-block {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.single-product .single-product-builder .page-heading {
	background: transparent !important;
	border: 0 !important;
	padding: 0 0 14px !important;
	margin: 0 0 8px !important;
	overflow: visible !important;
}

body.single-product .single-product-builder .page-heading::before,
body.single-product .single-product-builder .page-heading::after {
	display: none !important;
}

body.single-product .single-product-builder .page-heading .container,
body.single-product .single-product-builder .page-heading .row,
body.single-product .single-product-builder .page-heading .col-md-12 {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.single-product .single-product-builder .page-heading .a-center {
	text-align: left !important;
}

body.single-product .single-product-builder .woocommerce-breadcrumb {
	font-size: var(--hg-font-size-body, 16px);
	gap: 6px 8px;
	margin-bottom: 4px;
}

body.single-product .single-product-builder .images-wrapper,
body.single-product .single-product-builder .woocommerce-product-gallery {
	background: #fff;
	border: 1px solid var(--hg-product-border);
	border-radius: var(--hg-product-radius);
	box-shadow: var(--hg-product-shadow);
	padding: 14px !important;
	margin-bottom: 18px;
}

body.single-product .single-product-builder .main-images,
body.single-product .single-product-builder .swiper-entry .main-images {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	background: linear-gradient(180deg, #f3f9ff 0%, #eef5ff 100%);
	border-radius: 12px;
	overflow: hidden;
}

body.single-product .single-product-builder .main-images img,
body.single-product .single-product-builder .images-wrapper img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain !important;
	display: block;
	margin: 0 auto;
}

body.single-product .single-product-builder .main-images img[src*="woocommerce-placeholder"],
body.single-product .single-product-builder .main-images img.woocommerce-placeholder,
body.single-product .single-product-builder .images-wrapper img.higuppy-product-fallback-image {
	object-fit: cover !important;
	background: linear-gradient(180deg, #f3f9ff 0%, #eef5ff 100%);
}

body.single-product .single-product-builder .product_title.entry-title {
	font-size: clamp(1.4rem, 4.5vw, 1.9rem);
	font-weight: 900;
	color: var(--hg-product-ink) !important;
	letter-spacing: -0.04em;
	line-height: 1.12;
	margin: 0 0 10px !important;
}

body.single-product .single-product-builder .price {
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--hg-product-orange) !important;
	margin: 0 0 12px !important;
}

body.single-product .single-product-builder .woocommerce-product-details__short-description {
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.65;
	color: var(--hg-product-muted);
	margin-bottom: 14px !important;
}

body.single-product .single-product-builder form.cart {
	margin-bottom: 14px !important;
}

body.single-product .single-product-builder .single_add_to_cart_button,
body.single-product .single-product-builder .add_to_cart_button {
	width: 100% !important;
}

body.single-product .single-product-builder .higuppy-product-specs,
body.single-product .single-product-builder .higuppy-product-care-links,
body.single-product .single-product-builder .higuppy-product-payment-trust {
	margin-top: 4px;
}

/* Hide XStore sidebar widgets (demo categories/product list) on product pages */
body.single-product .single-product-builder .single-product-custom-widget-area,
body.single-product .single-product-builder .sidebar.single-product-custom-widget-area {
	display: none !important;
}

/* Hide wishlist noise on product summary */
body.single-product .single-product-builder .product_meta + .flex,
body.single-product .single-product-builder .single-product-socials {
	display: none !important;
}

/* Tabs inside builder */
body.single-product .single-product-builder .woocommerce-tabs {
	background: #fff;
	border: 1px solid var(--hg-product-border);
	border-radius: var(--hg-product-radius);
	box-shadow: var(--hg-product-shadow);
	overflow: hidden;
	margin-top: 8px;
}

body.single-product .single-product-builder .woocommerce-tabs .tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--hg-product-border);
	background: linear-gradient(180deg, #fafcff 0%, #fff 100%);
	margin: 0;
	padding: 0 12px;
}

body.single-product .single-product-builder .woocommerce-tabs .tabs .et-woocommerce-tab a {
	display: block;
	padding: 14px 16px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-muted);
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

body.single-product .single-product-builder .woocommerce-tabs .tabs .et-woocommerce-tab.active a,
body.single-product .single-product-builder .woocommerce-tabs .tabs .et-woocommerce-tab a:hover {
	color: var(--hg-product-blue);
	border-bottom-color: var(--hg-product-orange);
}

body.single-product .single-product-builder .woocommerce-tabs .panel {
	padding: 20px 22px 24px;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.7;
	color: var(--hg-product-muted);
}

body.single-product .single-product-builder .woocommerce-tabs .panel h2 {
	font-size: var(--hg-font-size-h3, 1.15rem);
	font-weight: 900;
	color: var(--hg-product-ink) !important;
	margin: 0 0 12px !important;
}

body.single-product .single-product-builder .related-products-wrapper:empty,
body.single-product .single-product-builder .upsell-products-wrapper:empty {
	display: none !important;
}

/* ==========================================================================
   CUSTOM PRODUCT PAGE FOOTER
   ========================================================================== */

.higuppy-product-footer {
	display: block !important;
	position: relative;
	margin: 28px -16px 0;
	padding: 48px 20px 20px;
	background: #0e2f86;
	color: rgba(255, 255, 255, 0.82);
	overflow: hidden;
}

.higuppy-product-footer__wave {
	position: absolute;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(253, 187, 45, 0.85);
	right: -120px;
	top: -160px;
	pointer-events: none;
}

.higuppy-product-footer__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 28px;
	max-width: 1128px;
	margin: 0 auto 28px;
}

.higuppy-product-footer__logo {
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
}

.higuppy-product-footer__brand p {
	margin: 0 0 8px;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.6;
}

.higuppy-product-footer__contact {
	font-weight: 700;
	color: #fdbb2d;
}

.higuppy-product-footer h3 {
	margin: 0 0 14px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: #fff;
}

.higuppy-product-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.higuppy-product-footer a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 600;
}

.higuppy-product-footer a:hover {
	color: #fdbb2d;
}

.higuppy-product-footer__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	max-width: 1128px;
	margin: 0 auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: var(--hg-font-size-body, 16px);
}

.higuppy-product-footer__payments {
	opacity: 0.75;
}

@media (min-width: 992px) {
	body.single-product .single-product-builder .et_product-block.etheme-woocommerce-product-gallery {
		flex: 0 0 48% !important;
		width: 48% !important;
		max-width: 48% !important;
		padding-right: 14px !important;
	}

	body.single-product .single-product-builder .et_product-block:has(.product_title) {
		flex: 0 0 52% !important;
		width: 52% !important;
		max-width: 52% !important;
	}

	body.single-product .single-product-builder .et_product-block:has(.woocommerce-tabs),
	body.single-product .single-product-builder .et_product-block:has(.related.products),
	body.single-product .single-product-builder .page-heading.et_product-block {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		padding-right: 0 !important;
	}
}

/* Related products: five visible cards with ten total items in a horizontal carousel. */
body.single-product .higuppy-related-carousel {
		position: relative;
		width: min(1160px, calc(100vw - 72px)) !important;
		margin-left: calc((100vw - min(1160px, calc(100vw - 72px))) / 2 - 16px) !important;
}

body.single-product .higuppy-related-carousel > h2 {
		margin-bottom: 20px !important;
}

body.single-product .higuppy-related-carousel__controls {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		gap: 8px;
	}

body.single-product .higuppy-related-carousel__button {
		width: 38px;
		height: 38px;
		border: 1px solid #d7e4ef;
		border-radius: 999px;
		background: #fff;
		color: #082747;
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
	}

body.single-product .higuppy-related-carousel__button:hover {
		background: #082747;
		color: #fff;
	}

body.single-product .higuppy-related-carousel > ul.wc-block-product-template {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 16px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		padding: 0 0 12px !important;
		margin: 0 !important;
		scrollbar-width: thin;
	}

body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product {
		flex: 0 0 calc((100% - 64px) / 5) !important;
		width: calc((100% - 64px) / 5) !important;
		min-width: 0 !important;
		scroll-snap-align: start;
	}

body.single-product .higuppy-related-carousel .wc-block-components-product-image,
body.single-product .higuppy-related-carousel .wc-block-components-product-image img,
body.single-product .higuppy-related-carousel .wc-block-components-product-image a {
		border-radius: 10px !important;
		overflow: hidden;
	}

body.single-product .higuppy-related-carousel .wc-block-components-product-price,
body.single-product .higuppy-related-carousel .wc-block-components-product-price .woocommerce-Price-amount {
		color: #111827 !important;
		font-weight: 800;
	}

body.single-product .higuppy-related-carousel .wc-block-components-product-add-to-cart {
		display: none !important;
	}

body.single-product .hg-related-buy-now {
		width: 100%;
		min-height: 38px;
		margin-top: 10px;
		border: 0;
		border-radius: 999px;
		background: #ff6b4a;
		color: #fff;
		font-size: var(--hg-font-size-body, 16px);
		font-weight: 800;
		cursor: pointer;
	}

body.single-product .hg-related-buy-now:hover {
		background: #e95638;
	}

@media (max-width: 991px) {
	body.single-product .higuppy-related-carousel {
		width: calc(100vw - 20px) !important;
		margin-left: -6px !important;
	}

	body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product:nth-child(n + 7) {
		display: none !important;
	}

	body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product {
		flex-basis: calc((100% - 16px) / 2) !important;
		width: calc((100% - 16px) / 2) !important;
}

/* Mobile carousel final override: two visible cards, six total. */
@media (max-width: 991px) {
	body.single-product .higuppy-related-carousel > ul.wc-block-product-template {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		gap: 16px !important;
	}

	body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product {
		display: block !important;
		flex: 0 0 calc((100% - 16px) / 2) !important;
		width: calc((100% - 16px) / 2) !important;
	}

	body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product:nth-child(n + 7) {
		display: none !important;
	}

	body.single-product .higuppy-related-carousel .hg-related-buy-now {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 38px !important;
		margin-top: 10px !important;
		border: 0 !important;
		border-radius: 999px !important;
		background: #ff6b4a !important;
		color: #fff !important;
		font-size: var(--hg-font-size-body, 16px);
		font-weight: 800;
	}
}
}

/* ==========================================================================
   MAIN PRODUCT LAYOUT
   ========================================================================== */

body.single-product .content-page {
	max-width: 1160px;
}

body.single-product .product.type-product {
	margin-top: 0;
}

body.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin-bottom: 36px;
}

/* ==========================================================================
   GALLERY CARD
   ========================================================================== */

body.single-product .woocommerce-product-gallery {
	background: #fff;
	border: 1px solid var(--hg-product-border);
	border-radius: var(--hg-product-radius);
	box-shadow: var(--hg-product-shadow);
	overflow: hidden;
	padding: 16px !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image {
	border-radius: 12px;
	overflow: hidden;
}

body.single-product .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0 !important;
	padding: 0;
	list-style: none;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	width: calc(25% - 8px) !important;
	margin: 0 !important;
	float: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
	border: 2px solid transparent;
	border-radius: 10px;
	opacity: 0.7;
	transition: border-color 0.2s ease, opacity 0.2s ease;
	cursor: pointer;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
	border-color: var(--hg-product-orange);
	opacity: 1;
}

body.single-product .woocommerce-product-gallery__trigger {
	display: none;
}

/* ==========================================================================
   SUMMARY CARD
   ========================================================================== */

body.single-product .summary.entry-summary {
	background: #fff;
	border: 1px solid var(--hg-product-border);
	border-radius: var(--hg-product-radius);
	box-shadow: var(--hg-product-shadow);
	padding: 28px 26px 24px;
}

body.single-product .product_title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 900;
	color: var(--hg-product-ink) !important;
	letter-spacing: -0.04em;
	line-height: 1.1;
	margin: 0 0 10px !important;
}

body.single-product .woocommerce-product-rating {
	margin: 0 0 14px !important;
}

body.single-product .star-rating {
	color: #fdbb2d;
}

/* Injected eyebrow + badge */
.higuppy-product-eyebrow {
	margin: 0 0 8px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--hg-product-orange);
}

.higuppy-product-category-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--hg-product-blue-soft);
	border: 1px solid rgba(23, 71, 184, 0.12);
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-blue);
}

.higuppy-product-category-badge__icon {
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1;
}

/* Quick specs */
.higuppy-product-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.higuppy-product-specs__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 600;
	color: var(--hg-product-ink);
	line-height: 1.4;
}

.higuppy-product-specs__icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: #17a673;
}

body.single-product .woocommerce-product-details__short-description {
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.65;
	color: var(--hg-product-muted);
	margin-bottom: 16px !important;
}

body.single-product .woocommerce-product-details__short-description p {
	margin: 0 0 10px;
}

body.single-product .wp-block-post-excerpt,
body.single-product .wp-block-post-excerpt__excerpt {
	color: #111827 !important;
}

/* Product header hierarchy: title, description, then the emphasized price. */
body.single-product .wp-block-column:has(> .wp-block-post-title) {
	display: flex !important;
	flex-direction: column !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-post-title {
	order: 1;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-post-excerpt {
	order: 2;
	margin: 8px 0 12px !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-woocommerce-product-price {
	order: 3;
	margin: 4px 0 14px !important;
	font-size: clamp(1.9rem, 4vw, 2.35rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--hg-product-orange) !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-eyebrow { order: 4; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-category-badge { order: 5; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-trust-badges { order: 6; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-ebay-link { order: 7; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-group { order: 8; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-woocommerce-product-meta { order: 9; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-social-links { order: 10; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-shipping-trust { order: 11; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-care-links { order: 12; }
body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-payment-trust { order: 13; }

/* Price */
body.single-product .summary .price,
body.single-product .summary .price ins {
	font-size: 1.625rem;
	font-weight: 900;
	color: var(--hg-product-orange) !important;
	text-decoration: none;
	letter-spacing: -0.02em;
	margin-bottom: 16px !important;
}

body.single-product .summary .price del {
	font-size: 1rem;
	font-weight: 600;
	color: var(--hg-product-muted) !important;
	opacity: 0.75;
}

body.single-product .summary .price .woocommerce-Price-amount {
	color: inherit;
}

/* Add to cart */
body.single-product form.cart {
	margin: 0 0 18px !important;
}

body.single-product form.cart .quantity {
	margin: 0 0 12px !important;
}

body.single-product form.cart .quantity .qty {
	min-height: 48px;
	width: 72px;
	border: 1px solid var(--hg-product-border);
	border-radius: 12px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 700;
	color: var(--hg-product-ink);
	text-align: center;
}

body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px !important;
	height: 48px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--hg-product-coral-control) !important;
	color: #fff !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	box-sizing: border-box !important;
	box-shadow: 0 10px 24px rgba(255, 107, 53, 0.28);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.single-product .single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button.button:hover {
	background: var(--hg-product-coral-control-hover) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(255, 107, 53, 0.32);
}

/* Care links */
.higuppy-product-care-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.higuppy-product-care-links__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--hg-product-blue-soft);
	border: 1px solid rgba(23, 71, 184, 0.1);
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 700;
	color: var(--hg-product-blue);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.higuppy-product-care-links__item:hover {
	background: #dceeff;
	border-color: rgba(23, 71, 184, 0.2);
	color: var(--hg-product-blue);
}

/* Payment trust */
.higuppy-product-payment-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid var(--hg-product-border);
}

.higuppy-product-payment-trust__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 700;
	color: var(--hg-product-muted);
}

.higuppy-product-payment-trust__icons {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.higuppy-product-payment-trust__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid var(--hg-product-border);
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-ink);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.single-product .product_meta {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--hg-product-border);
	font-size: var(--hg-font-size-body, 16px);
	color: var(--hg-product-muted);
}

body.single-product .product_meta a {
	color: var(--hg-product-orange);
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   TABS
   ========================================================================== */

body.single-product .woocommerce-tabs {
	grid-column: 1 / -1;
	background: #fff;
	border: 1px solid var(--hg-product-border);
	border-radius: var(--hg-product-radius);
	box-shadow: var(--hg-product-shadow);
	overflow: hidden;
	margin-top: 4px;
}

body.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 !important;
	padding: 0 16px !important;
	list-style: none !important;
	border-bottom: 1px solid var(--hg-product-border);
	background: linear-gradient(180deg, #fafcff 0%, #fff 100%);
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
	display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 16px 18px !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-muted) !important;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--hg-product-blue) !important;
	border-bottom-color: var(--hg-product-orange);
}

body.single-product .woocommerce-tabs .panel {
	padding: 24px 26px 28px !important;
	margin: 0 !important;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.7;
	color: var(--hg-product-muted);
}

body.single-product .woocommerce-tabs .panel h2 {
	font-size: var(--hg-font-size-h3, 1.25rem);
	font-weight: 900;
	color: var(--hg-product-ink) !important;
	margin: 0 0 12px !important;
}

/* ==========================================================================
   RELATED PRODUCTS
   ========================================================================== */

body.single-product .related.products {
	grid-column: 1 / -1;
	margin-top: 12px;
	padding-top: 8px;
}

body.single-product .related.products > h2 {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 900;
	color: var(--hg-product-blue) !important;
	letter-spacing: -0.03em;
	margin: 0 0 22px !important;
	text-align: center;
}

body.single-product .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
	display: none !important;
}

body.single-product .related.products ul.products > li.product {
	width: auto !important;
	flex: none !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.single-product .related.products .content-product {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hg-product-border);
	border-radius: var(--hg-product-radius);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(23, 71, 184, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.single-product .related.products .content-product:hover {
	transform: translateY(-4px);
	border-color: rgba(23, 71, 184, 0.18);
	box-shadow: var(--hg-product-shadow);
}

body.single-product .related.products .product-image-wrapper {
	background: linear-gradient(180deg, #f3f9ff 0%, #eef5ff 100%);
	border-bottom: 1px solid rgba(23, 71, 184, 0.06);
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

body.single-product .related.products .product-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-product .related.products .product-details {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 14px 16px;
}

body.single-product .related.products .product-details .product-title a {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-ink) !important;
	text-decoration: none;
	line-height: 1.35;
}

body.single-product .related.products .product-details .price {
	font-size: 1rem;
	font-weight: 900;
	color: var(--hg-product-orange) !important;
	margin: 0 0 10px !important;
}

body.single-product .related.products .product-details .button,
body.single-product .related.products .product-details .add_to_cart_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 40px !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--hg-product-coral-control) !important;
	color: #fff !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	margin-top: auto;
}

/* Hide sidebar on product page */
body.single-product .sidebar-position-left .sidebar,
body.single-product .sidebar-position-left aside.sidebar {
	display: none !important;
}

body.single-product .sidebar-position-left > .row {
	display: block;
}

body.single-product .main-products-loop,
body.single-product .content-page > .row > .content {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
	body.single-product .template-content,
	body.single-product .page-wrapper,
	body.single-product .content-page.container {
		overflow: visible !important;
		height: auto !important;
		max-height: none !important;
	}

	body.single-product .single-product-builder > .row,
	body.single-product .single-product-builder > .row > .col-md-12,
	body.single-product .single-product-builder > .row > .col-md-12 > .row {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: visible !important;
		height: auto !important;
		max-height: none !important;
	}

	body.single-product .single-product-builder .et_product-block {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		overflow: visible !important;
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
	}

	body.single-product .single-product-builder .et_product-block[data-sticky],
	body.single-product .single-product-builder .et_product-block:has(.single-product-custom-widget-area) {
		display: none !important;
	}

	body.single-product .single-product-builder .sticky-block,
	body.single-product .single-product-builder .sticky-background {
		position: static !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		transform: none !important;
		overflow: visible !important;
	}

	body.single-product .higuppy-product-specs {
		margin-top: 16px;
		padding: 14px;
		background: #fff;
		border: 1px solid var(--hg-product-border);
		border-radius: 12px;
	}

	body.single-product .higuppy-product-care-links {
		margin-top: 12px;
	}

	body.single-product div.product {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.higuppy-product-specs {
		grid-template-columns: 1fr;
	}

	.higuppy-product-footer__inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.higuppy-product-footer {
		margin-left: -12px;
		margin-right: -12px;
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 767px) {
	html:has(body.single-product),
	body.single-product {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden !important;
		background: #f7fbff;
	}

	body.single-product .page-wrapper,
	body.single-product .template-content,
	body.single-product .content-page,
	body.single-product .content-page.container,
	body.single-product .single-product-builder,
	body.single-product .single-product-builder > .row,
	body.single-product .single-product-builder > .row > .col-md-12,
	body.single-product .single-product-builder > .row > .col-md-12 > .row {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow-x: hidden !important;
	}

	body.single-product .content-page.container {
		padding-left: 12px;
		padding-right: 12px;
		padding-top: 8px;
	}

	body.single-product .single-product-builder .main-images,
	body.single-product .single-product-builder .swiper-entry .main-images {
		min-height: 220px;
	}

	body.single-product .summary.entry-summary {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 22px 18px 20px;
	}

	body.single-product .single-product-builder form.cart {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.single-product .higuppy-qty-wrap {
		width: 100%;
		justify-content: center;
		margin-bottom: 10px;
	}

	body.single-product .higuppy-product-cta-row {
		width: 100%;
		max-width: 100%;
	}

	body.single-product .higuppy-product-buy-now,
	body.single-product .higuppy-product-cta-row .single_add_to_cart_button,
	body.single-product button.single_add_to_cart_button.button {
		min-width: 0 !important;
		white-space: normal !important;
	}

	body.single-product .woocommerce-product-gallery {
		padding: 12px !important;
	}

	body.single-product .related.products,
	body.single-product .related.products ul.products {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.single-product .woocommerce-tabs .panel {
		padding: 18px 16px 22px !important;
	}

	body.single-product .woocommerce-tabs ul.tabs li a {
		padding: 14px 12px !important;
		font-size: var(--hg-font-size-body, 16px);
	}

}

@media (max-width: 480px) {
	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.higuppy-product-care-links {
		flex-direction: column;
	}

	.higuppy-product-care-links__item {
		justify-content: center;
	}
}

/* Albino Platinum White breeder trio: full-width detail card before related products. */
.higuppy-strain-detail { box-sizing: border-box; width: min(100% - 32px, 1160px); margin: 36px auto 28px; padding: 34px; border: 1px solid #dce9e8; border-radius: 22px; background: linear-gradient(135deg, #f7fcfc 0%, #fff 48%, #f3f9f8 100%); box-shadow: 0 16px 42px rgba(18, 74, 76, .08); color: #173f40; }
.higuppy-strain-detail[hidden] { display: none !important; }
.higuppy-strain-detail__head { max-width: 720px; }
.higuppy-strain-detail__eyebrow { margin: 0 0 8px; color: #16807c; font-size: var(--hg-font-size-body, 16px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.higuppy-strain-detail h2, .higuppy-strain-detail h3 { color: #123b3c; }
.higuppy-strain-detail h2 { margin: 0 0 9px; font-size: clamp(25px, 3vw, 35px); line-height: 1.15; }
.higuppy-strain-detail__head > p:last-child { margin: 0; color: #527071; font-size: 16px; line-height: 1.65; }
.higuppy-strain-detail__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.higuppy-strain-detail__facts article { display: flex; gap: 12px; padding: 18px; border: 1px solid #dceaea; border-radius: 14px; background: #fff; }
.higuppy-strain-detail__facts article > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #e5f4f2; font-size: 18px; }
.higuppy-strain-detail__facts strong { display: block; margin: 1px 0 4px; font-size: var(--hg-font-size-body, 16px); }
.higuppy-strain-detail__facts p { margin: 0; color: #5b7475; font-size: var(--hg-font-size-body, 16px); line-height: 1.5; }
.higuppy-strain-detail__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.higuppy-strain-detail__grid > section { padding: 23px; border-radius: 15px; background: #fff; }
.higuppy-strain-detail h3 { margin: 0 0 16px; font-size: var(--hg-font-size-h5, 18px); }
.higuppy-strain-detail dl { margin: 0; }
.higuppy-strain-detail dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid #e5eeee; }
.higuppy-strain-detail dl > div:first-child { padding-top: 0; border-top: 0; }
.higuppy-strain-detail dt { color: #5b7475; font-size: var(--hg-font-size-body, 16px); }
.higuppy-strain-detail dd { margin: 0; color: #173f40; font-size: var(--hg-font-size-body, 16px); font-weight: 700; text-align: right; }
.higuppy-strain-detail__arrival { background: #eaf8f6 !important; border: 1px solid #cfe8e4; color: #173f40; }
.higuppy-strain-detail__arrival h3 { color: #123b3c !important; font-weight: 900; text-shadow: none; }
.higuppy-strain-detail__arrival p { margin: 0 0 16px; color: #3d5657; font-size: var(--hg-font-size-body, 16px); line-height: 1.6; }
.higuppy-strain-detail__links { display: grid; gap: 8px; }
.higuppy-strain-detail__links a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid #d5e8e5; color: #0e2f86 !important; font-size: var(--hg-font-size-body, 16px); font-weight: 700; text-decoration: none; }
.higuppy-strain-detail__links a:hover { color: #1747b8 !important; }
.higuppy-strain-detail__links span { font-size: 18px; }
.higuppy-strain-detail__note { margin: 18px 0 0; color: #698283; font-size: var(--hg-font-size-body, 16px); font-style: italic; line-height: 1.55; }
@media (max-width: 782px) { .higuppy-strain-detail { width: calc(100% - 20px); margin: 28px auto 24px; padding: 23px 18px; border-radius: 17px; } .higuppy-strain-detail__facts, .higuppy-strain-detail__grid { grid-template-columns: 1fr; } .higuppy-strain-detail__facts { gap: 9px; margin: 21px 0; } .higuppy-strain-detail__facts article { padding: 14px; } .higuppy-strain-detail__grid > section { padding: 18px; } }

/* Keep the compact custom Share row; hide the duplicate WordPress social block. */
body.single-product .wp-block-social-links { display: none !important; }

/* Mobile related carousel final override: two visible cards, six total. */
@media (max-width: 991px) {
	body.single-product .higuppy-related-carousel > ul.wc-block-product-template {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		gap: 16px !important;
	}

	body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product {
		display: block !important;
		flex: 0 0 calc((100% - 16px) / 2) !important;
		width: calc((100% - 16px) / 2) !important;
	}

	body.single-product .higuppy-related-carousel > ul.wc-block-product-template > li.wc-block-product:nth-child(n + 7) {
		display: none !important;
	}

	body.single-product .higuppy-related-carousel .hg-related-buy-now {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 38px !important;
		margin-top: 10px !important;
		border: 0 !important;
		border-radius: 999px !important;
		background: #ff6b4a !important;
		color: #fff !important;
		font-size: var(--hg-font-size-body, 16px);
		font-weight: 800;
	}
}

/* ==========================================================================
   MOBILE HEADER — keep hg-nav collapsed until hamburger opens
   ========================================================================== */

@media (max-width: 900px) {
	body.single-product > nav.hg-nav,
	body.single-product nav#hgSiteNav.hg-nav {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 10px;
		border-radius: 22px;
		width: min(100% - 20px, 1160px);
		margin: 10px auto 12px;
		padding: 10px 14px;
		min-height: 58px;
		grid-template-columns: none;
	}

	body.single-product > nav.hg-nav .hg-logo,
	body.single-product nav#hgSiteNav.hg-nav .hg-logo {
		flex: 0 0 auto;
	}

	body.single-product > nav.hg-nav .hg-menu,
	body.single-product nav#hgSiteNav.hg-nav .hg-menu {
		display: none !important;
		order: 4;
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 0 0 10px;
	}

	body.single-product > nav.hg-nav.is-open .hg-menu,
	body.single-product nav#hgSiteNav.hg-nav.is-open .hg-menu {
		display: flex !important;
	}

	body.single-product > nav.hg-nav .hg-menu a,
	body.single-product nav#hgSiteNav.hg-nav .hg-menu a {
		display: block !important;
		width: 100%;
		justify-content: flex-start;
		padding: 8px 0;
	}

	body.single-product > nav.hg-nav .hg-menu a::after,
	body.single-product nav#hgSiteNav.hg-nav .hg-menu a::after {
		display: none;
	}

	body.single-product > nav.hg-nav .hg-actions,
	body.single-product nav#hgSiteNav.hg-nav .hg-actions {
		margin-left: auto;
	}

	body.single-product > nav.hg-nav .hg-menu-toggle,
	body.single-product nav#hgSiteNav.hg-nav .hg-menu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin-left: 4px;
	}
}

/* ==========================================================================
   MOBILE PRODUCT MOCKUP — NEW COMPONENTS
   ========================================================================== */

/* Back button */
.higuppy-product-back {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--hg-product-blue-soft);
	color: var(--hg-product-blue);
	cursor: pointer;
	flex-shrink: 0;
}

.higuppy-product-back--in-nav {
	display: inline-flex;
}

@media (max-width: 900px) {
	body.single-product > nav.hg-nav .hg-logo,
	body.single-product nav#hgSiteNav.hg-nav .hg-logo {
		flex: 1;
		justify-content: center;
		text-align: center;
	}
}

/* Gallery counter */
.higuppy-product-gallery-counter {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(19, 32, 58, 0.72);
	color: #fff;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	letter-spacing: 0.02em;
	pointer-events: none;
}

body.single-product .single-product-builder .main-images,
body.single-product .single-product-builder .swiper-entry .main-images {
	aspect-ratio: 4 / 3;
	min-height: 240px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
body.single-product .single-product-builder .thumbnails-list img.active,
body.single-product .single-product-builder .swiper-thumbs .swiper-slide-thumb-active img {
	border-color: var(--hg-product-blue) !important;
	opacity: 1 !important;
}

/* Sale badge */
.higuppy-product-sale-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ffe8e5;
	color: #d92d20;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	vertical-align: middle;
}

body.single-product .summary .price,
body.single-product .single-product-builder .price {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

/* Trust badges row */
.higuppy-product-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.higuppy-product-trust-badges__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--hg-product-blue-soft);
	border: 1px solid rgba(23, 71, 184, 0.1);
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-blue);
	white-space: nowrap;
}

.higuppy-product-trust-badges__icon {
	display: inline-flex;
	color: #17a673;
}

/* Pack option cards */
.higuppy-product-pack-options {
	margin: 0 0 16px;
}

.higuppy-product-pack-options__label {
	margin: 0 0 10px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-ink);
}

.higuppy-product-pack-options__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.higuppy-product-pack-options__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-height: 88px;
	padding: 12px 10px;
	border: 2px solid var(--hg-product-border);
	border-radius: 14px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.higuppy-product-pack-options__card.is-selected {
	border-color: var(--hg-product-blue);
	box-shadow: 0 0 0 1px rgba(23, 71, 184, 0.12);
}

.higuppy-product-pack-options__card.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.higuppy-product-pack-options__check {
	position: absolute;
	top: 8px;
	right: 8px;
	display: none;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--hg-product-blue);
	color: #fff;
}

.higuppy-product-pack-options__card.is-selected .higuppy-product-pack-options__check {
	display: inline-flex;
}

.higuppy-product-pack-options__name {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-ink);
	line-height: 1.25;
	padding-right: 18px;
}

.higuppy-product-pack-options__price {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 900;
	color: var(--hg-product-orange);
}

.higuppy-product-pack-options__price del {
	display: none;
}

.higuppy-product-variations--hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Quantity stepper */
.higuppy-qty-wrap {
	display: inline-flex !important;
	align-items: center;
	gap: 0;
	border: 1px solid var(--hg-product-border);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.higuppy-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 48px;
	border: 0;
	background: #fff;
	color: var(--hg-product-ink);
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
}

.higuppy-qty-btn:hover {
	background: var(--hg-product-blue-soft);
}

body.single-product form.cart .quantity .qty {
	border: 0 !important;
	border-radius: 0 !important;
	width: 56px !important;
}

/* Dual CTA row */
.higuppy-product-cta-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 4px;
}

.higuppy-product-cta-row .single_add_to_cart_button {
	width: 100% !important;
	background: #fff !important;
	color: var(--hg-product-blue) !important;
	border: 2px solid var(--hg-product-blue) !important;
	box-shadow: none !important;
}

.higuppy-product-cta-row .single_add_to_cart_button:hover {
	background: var(--hg-product-blue-soft) !important;
	transform: none !important;
}

.higuppy-product-buy-now {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	min-height: 52px !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--hg-product-blue) !important;
	color: #fff !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(23, 71, 184, 0.22);
	cursor: pointer;
}

.higuppy-product-buy-now:hover {
	background: #0e2f86 !important;
}

/* Shipping trust strip */
.higuppy-product-shipping-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0 16px;
	padding: 16px;
	border-radius: var(--hg-product-radius);
	background: #f4f7fc;
	border: 1px solid var(--hg-product-border);
}

.higuppy-product-shipping-trust__item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.higuppy-product-shipping-trust__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: #fff;
	color: var(--hg-product-blue);
	border: 1px solid rgba(23, 71, 184, 0.1);
}

.higuppy-product-shipping-trust__icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.higuppy-product-shipping-trust__item strong {
	display: block;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 900;
	color: var(--hg-product-ink);
	margin-bottom: 4px;
}

.higuppy-product-shipping-trust__item p {
	margin: 0;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.45;
	color: var(--hg-product-muted);
}

/* Shared product details renderer */
.higuppy-product-accordions {
	display: block;
	margin-top: 18px;
}

body.single-product .woocommerce-tabs {
	display: none !important;
}

.higuppy-product-accordion {
	border: 1px solid var(--hg-product-border);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	margin-bottom: 10px;
}

.higuppy-product-accordion__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-ink);
}

.higuppy-product-accordion__summary::-webkit-details-marker {
	display: none;
}

.higuppy-product-accordion__icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 8px;
	background: var(--hg-product-blue-soft);
	position: relative;
}

.higuppy-product-accordion__icon--doc::after,
.higuppy-product-accordion__icon--drop::after,
.higuppy-product-accordion__icon--truck::after,
.higuppy-product-accordion__icon--shield::after {
	content: "";
	position: absolute;
	inset: 5px;
	background: var(--hg-product-blue);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

.higuppy-product-accordion__icon--doc::after {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3C/svg%3E");
}

.higuppy-product-accordion__icon--drop::after {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.69l5.66 5.66a8 8 0 1 1-11.32 0z'/%3E%3C/svg%3E");
}

.higuppy-product-accordion__icon--truck::after {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7h13v10H3z'/%3E%3C/svg%3E");
}

.higuppy-product-accordion__icon--shield::after {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l8 3v6c0 5.25-3.5 9.74-8 11-4.5-1.26-8-5.75-8-11V5z'/%3E%3C/svg%3E");
}

.higuppy-product-accordion__title {
	flex: 1;
}

.higuppy-product-accordion__chevron {
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--hg-product-muted);
	border-bottom: 2px solid var(--hg-product-muted);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-right: 4px;
}

.higuppy-product-accordion[open] .higuppy-product-accordion__chevron {
	transform: rotate(-135deg);
	margin-top: 6px;
}

.higuppy-product-accordion__panel {
	padding: 0 18px 18px 52px;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.65;
	color: var(--hg-product-muted);
}

.higuppy-product-accordion__panel a {
	color: var(--hg-product-orange);
	font-weight: 700;
	text-decoration: none;
}

/* Related products header + horizontal scroll */
.higuppy-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}

.higuppy-related-header__title {
	margin: 0 !important;
	font-size: clamp(1.2rem, 3vw, 1.5rem);
	font-weight: 900;
	color: var(--hg-product-blue) !important;
	text-align: left !important;
}

.higuppy-related-header__link {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-orange);
	text-decoration: none;
	white-space: nowrap;
}

body.single-product .related.products > h2 {
	display: none !important;
}

/* Sticky bottom bar */
.higuppy-product-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--hg-product-border);
	box-shadow: 0 -8px 30px rgba(23, 71, 184, 0.12);
	backdrop-filter: blur(8px);
}

.higuppy-product-sticky-bar[hidden] {
	display: none !important;
}

body.single-product.higuppy-sticky-visible {
	padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

.higuppy-product-sticky-bar__thumb {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--hg-product-blue-soft);
}

.higuppy-product-sticky-bar__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.higuppy-product-sticky-bar__info {
	flex: 1;
	min-width: 0;
}

.higuppy-product-sticky-bar__title {
	display: block;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	color: var(--hg-product-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.higuppy-product-sticky-bar__meta {
	display: block;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 600;
	color: var(--hg-product-muted);
}

.higuppy-product-sticky-bar__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.higuppy-product-sticky-bar__price {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 900;
	color: var(--hg-product-orange);
	white-space: nowrap;
}

.higuppy-product-sticky-bar__price del {
	display: none;
}

.higuppy-product-sticky-bar__buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--hg-product-blue);
	color: #fff;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

@media (max-width: 991px) {
	.higuppy-product-accordions {
		display: block;
	}

	.higuppy-product-care-links {
		display: none !important;
	}

	body.single-product .related.products ul.products {
		display: flex !important;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 14px;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}

	body.single-product .related.products ul.products > li.product {
		flex: 0 0 min(72vw, 260px);
		scroll-snap-align: start;
	}
}

@media (min-width: 992px) {
	.higuppy-product-sticky-bar {
		display: none !important;
	}

	.higuppy-product-back {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.higuppy-product-pack-options__grid {
		grid-template-columns: 1fr;
	}

	.higuppy-product-pack-options__card {
		min-height: 0;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.higuppy-product-shipping-trust {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.higuppy-product-trust-badges {
		flex-direction: column;
	}

	.higuppy-product-trust-badges__item {
		justify-content: center;
	}

	body.single-product form.cart > .wp-block-group {
		display: grid !important;
		grid-template-columns: 118px minmax(0, 1fr) !important;
		align-items: center !important;
		gap: 10px !important;
	}

	body.single-product form.cart > .wp-block-group > .wp-block-add-to-cart-with-options-quantity-selector {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
		margin: 0 !important;
	}

	body.single-product form.cart > .wp-block-group > .wp-block-woocommerce-product-button,
	body.single-product form.cart .higuppy-product-cta-row {
		display: contents !important;
	}

	body.single-product form.cart .higuppy-product-cta-row .single_add_to_cart_button {
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-height: 48px !important;
		padding: 0 12px !important;
		background: var(--hg-product-coral-control) !important;
		color: #fff !important;
		border: 0 !important;
		font-size: var(--hg-font-size-body, 16px);
	}

	body.single-product form.cart .higuppy-product-buy-now {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		width: 100% !important;
		background: var(--hg-product-blue) !important;
		color: #fff !important;
	}

	.higuppy-product-sticky-bar__price {
		display: none;
	}
}

/* Mobile CTA layout also covers narrow tablet/browser viewports up to 600px. */
@media (max-width: 600px) {
	body.single-product form.cart > .wp-block-group {
		display: grid !important;
		grid-template-columns: 118px minmax(0, 1fr) !important;
		align-items: center !important;
		gap: 10px !important;
	}

	body.single-product form.cart > .wp-block-group > .wp-block-add-to-cart-with-options-quantity-selector {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
		margin: 0 !important;
	}

	body.single-product form.cart > .wp-block-group > .wp-block-woocommerce-product-button,
	body.single-product form.cart .higuppy-product-cta-row {
		display: contents !important;
	}

	body.single-product form.cart .higuppy-product-cta-row .single_add_to_cart_button {
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-height: 48px !important;
		padding: 0 12px !important;
		background: var(--hg-product-coral-control) !important;
		color: #fff !important;
		border: 0 !important;
		font-size: var(--hg-font-size-body, 16px);
	}

	body.single-product form.cart .higuppy-product-buy-now {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		width: 100% !important;
		background: var(--hg-product-blue) !important;
		color: #fff !important;
	}
}

/*
 * WooCommerce/XStore wraps the related-product template in a viewport and
 * injects cloned cards. The older direct-child selector missed that runtime
 * wrapper, leaving the transformed grid shifted off-screen.
 */
body.single-product .higuppy-related-carousel[hidden],
body.single-product .higuppy-related-header[hidden] {
	display: none !important;
}

body.single-product .higuppy-related-carousel__viewport {
	width: 100%;
	overflow: hidden;
}

body.single-product .higuppy-related-carousel__viewport > ul.wc-block-product-template {
	display: flex !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 0 12px !important;
	gap: 16px !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	transform: none !important;
	transition: none !important;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

body.single-product .higuppy-related-carousel__viewport > ul.wc-block-product-template > li.wc-block-product {
	display: block !important;
	flex: 0 0 calc((100% - 64px) / 5) !important;
	width: calc((100% - 64px) / 5) !important;
	min-width: 0 !important;
	scroll-snap-align: start;
}

body.single-product .higuppy-related-carousel__viewport > ul.wc-block-product-template > li.is-clone,
body.single-product .higuppy-related-carousel__viewport > ul.wc-block-product-template > li:has(img.higuppy-product-fallback-image) {
	display: none !important;
}

/* Shipping trust: a high-contrast confidence panel instead of a quiet utility card. */
body.single-product .higuppy-product-shipping-trust {
	position: relative;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 20px 0 18px;
	padding: 48px 14px 12px;
	border: 0;
	border-radius: 22px;
	background: linear-gradient(135deg, #082747 0%, #0f4f5b 100%);
	box-shadow: 0 16px 34px rgba(8, 39, 71, 0.2);
	overflow: hidden;
}

body.single-product .higuppy-product-shipping-trust::before {
	content: "SHIPPING & POLICY INFORMATION";
	position: absolute;
	top: 16px;
	left: 16px;
	color: #ffd166;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 900;
	letter-spacing: 0.16em;
}

body.single-product .higuppy-product-shipping-trust__item {
	min-width: 0;
	padding: 4px 14px 8px;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
}

body.single-product .higuppy-product-shipping-trust__item:last-child {
	border-right: 0;
}

body.single-product .higuppy-product-shipping-trust__icon {
	width: 38px;
	height: 38px;
	margin-bottom: 10px;
	border: 0;
	border-radius: 13px;
	background: #ffd166;
	color: #082747;
}

body.single-product .higuppy-product-shipping-trust__item strong {
	color: #fff !important;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.25;
}

body.single-product .higuppy-product-shipping-trust__item p {
	color: rgba(255, 255, 255, 0.74) !important;
	font-size: var(--hg-font-size-body, 16px);
	line-height: 1.45;
}

/* The mobile header already provides the back affordance; remove the empty
 * breadcrumb strip so the product gallery starts immediately below it. */
@media (max-width: 600px) {
	body.single-product .page-heading {
		display: none !important;
	}

	body.single-product .higuppy-product-shipping-trust {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 46px 14px 8px;
	}

	body.single-product .higuppy-product-shipping-trust__item {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 12px;
		align-items: center;
		padding: 10px 4px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	}

	body.single-product .higuppy-product-shipping-trust__item:last-child {
		border-bottom: 0;
	}

	body.single-product .higuppy-product-shipping-trust__icon {
		grid-row: span 2;
		margin-bottom: 0;
	}
}

@media (max-width: 991px) {
	body.single-product .higuppy-related-carousel__viewport > ul.wc-block-product-template > li.wc-block-product {
		flex-basis: calc((100% - 16px) / 2) !important;
		width: calc((100% - 16px) / 2) !important;
	}
}

/*
 * Product summary polish — mobile-first hierarchy and purchase focus.
 * Keep this final so it can normalize XStore and block-editor wrappers without
 * changing WooCommerce hooks, product data, or purchase behavior.
 */
body.single-product {
	--hg-product-blue: var(--hg-blue, #2f57d5);
	--hg-product-blue-soft: var(--hg-aqua-soft, #eaf8ff);
	--hg-product-orange: var(--hg-orange, #ff7a4f);
	--hg-product-orange-dark: var(--hg-orange-hover, #d9534f);
	--hg-product-ink: var(--hg-navy, #14234a);
	--hg-product-muted: #33415c;
	--hg-product-border: #d9e5f1;
}

body.single-product .summary.entry-summary {
	padding: 20px 22px 22px;
	border: 1px solid #d7e4f0;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 16px 38px rgba(20, 35, 74, 0.09);
}

/* Make the product header read in a natural scan order: context → title →
 * description → price → category → proof → purchase. */
body.single-product .wp-block-column:has(> .wp-block-post-title) {
	row-gap: 0 !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-eyebrow {
	order: 1;
	align-self: flex-start;
	margin: 0 0 7px !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 900;
	letter-spacing: 0.14em;
	line-height: 1.25;
	color: var(--hg-product-orange) !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-post-title {
	order: 2;
	margin: 0 0 9px !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-post-excerpt {
	order: 3;
	margin: 0 0 13px !important;
}

body.single-product .wp-block-column:has(> .wp-block-post-title) > .wp-block-woocommerce-product-price {
	order: 4;
	margin: 0 0 14px !important;
}

body.single-product .product_title,
body.single-product .wp-block-post-title {
	font-size: clamp(1.7rem, 4.7vw, 2.2rem);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.08;
	color: var(--hg-product-ink) !important;
	text-wrap: balance;
}

body.single-product .woocommerce-product-details__short-description,
body.single-product .wp-block-post-excerpt,
body.single-product .wp-block-post-excerpt__excerpt {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 500;
	line-height: 1.55;
	color: #33415c !important;
}

body.single-product .summary .price,
body.single-product .summary .price ins,
body.single-product .wp-block-woocommerce-product-price {
	font-size: clamp(1.9rem, 5vw, 2.35rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--hg-product-orange) !important;
}

body.single-product .higuppy-product-category-badge {
	order: 5;
	align-self: flex-start;
	width: fit-content !important;
	max-width: 100%;
	margin: 0 0 12px !important;
	padding: 7px 11px;
	border: 1px solid #c9e1f2;
	border-radius: 10px;
	background: #f0f8ff;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	line-height: 1.2;
	color: #1e5fa8 !important;
}

body.single-product .higuppy-product-category-badge__icon {
	font-size: var(--hg-font-size-body, 16px);
}

body.single-product .higuppy-product-trust-badges {
	order: 6;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	box-sizing: border-box;
}

body.single-product .higuppy-product-trust-badges__item {
	min-height: 34px;
	padding: 7px 10px;
	border: 1px solid #cfe1ef;
	border-radius: 10px;
	background: #f8fbfe;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	line-height: 1.15;
	color: #1e5fa8 !important;
}

body.single-product .higuppy-product-trust-badges__icon {
	color: #129c78;
}

/* The eBay module has inline spacing/colors; normalize it to a quiet
 * secondary-channel notice that does not compete with the purchase CTA. */
body.single-product .higuppy-ebay-link {
	order: 7;
	margin: 2px 0 16px !important;
	padding: 9px 11px;
	border: 1px solid #f3d2d4;
	border-radius: 12px;
	background: #fff8f8;
}

body.single-product .higuppy-ebay-link__anchor {
	min-height: 24px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	line-height: 1.25;
	color: #b32635 !important;
}

body.single-product .higuppy-ebay-link__anchor:hover,
body.single-product .higuppy-ebay-link__anchor:focus-visible {
	color: #8f1c2a !important;
	text-decoration: underline;
}

body.single-product .higuppy-product-payment-trust {
	gap: 10px;
	margin: 0 0 17px;
	padding: 9px 11px;
	border: 1px solid #d7e4f0;
	border-radius: 12px;
	background: #f7fbff;
}

body.single-product .higuppy-product-payment-trust__label {
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: #4b5d75 !important;
}

body.single-product .higuppy-product-payment-trust__badge {
	padding: 4px 7px;
	border-color: #d7e4f0;
	border-radius: 6px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 900;
	color: #243552 !important;
}

body.single-product form.cart {
	margin: 2px 0 18px !important;
	padding-top: 2px;
}

body.single-product form.cart > .wp-block-group {
	grid-template-columns: 112px minmax(0, 1fr) !important;
	gap: 10px !important;
}

body.single-product .higuppy-qty-wrap,
body.single-product form.cart .quantity {
	min-height: 48px;
	border-color: #d7e4f0;
	border-radius: 13px;
}

body.single-product .higuppy-qty-btn {
	color: #718096;
}

body.single-product .higuppy-qty-btn:hover,
body.single-product .higuppy-qty-btn:focus-visible {
	background: #edf6ff;
	color: var(--hg-product-blue);
}

body.single-product .higuppy-product-cta-row .single_add_to_cart_button,
body.single-product form.cart .higuppy-product-cta-row .single_add_to_cart_button {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--hg-product-coral-control) !important;
	box-shadow: 0 8px 20px rgba(255, 122, 79, 0.24) !important;
	color: #fff !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 850;
	line-height: 1;
	box-sizing: border-box !important;
}

body.single-product .higuppy-product-cta-row .single_add_to_cart_button:hover,
body.single-product form.cart .higuppy-product-cta-row .single_add_to_cart_button:focus-visible {
	background: var(--hg-product-coral-control-hover) !important;
	box-shadow: 0 10px 24px rgba(255, 122, 79, 0.28) !important;
}

body.single-product .higuppy-product-buy-now {
	min-height: 50px !important;
	margin-top: 10px;
	border-radius: 999px !important;
	background: var(--hg-product-blue) !important;
	box-shadow: 0 9px 22px rgba(47, 87, 213, 0.22) !important;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 850;
}

body.single-product .higuppy-product-buy-now:hover,
body.single-product .higuppy-product-buy-now:focus-visible {
	background: #2346ad !important;
	box-shadow: 0 11px 25px rgba(47, 87, 213, 0.28) !important;
}

body.single-product .product_meta {
	margin-top: 18px;
	padding: 15px 0 0;
	border-top: 1px solid #e1e9f2;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 600;
	line-height: 1.6;
	color: #53627a !important;
}

body.single-product .product_meta > span {
	display: block;
}

body.single-product .product_meta a {
	font-weight: 800;
	color: #3158ba !important;
}

@media (max-width: 600px) {
	body.single-product .summary.entry-summary {
	padding: 18px 14px 18px;
	border-radius: 20px;
	box-shadow: 0 12px 28px rgba(20, 35, 74, 0.07);
	}

	body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-eyebrow {
		margin-bottom: 8px !important;
	}

	body.single-product .higuppy-product-trust-badges,
	body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-trust-badges {
		margin-left: 16px !important;
		margin-right: 16px !important;
		width: auto !important;
		max-width: calc(100% - 32px) !important;
		box-sizing: border-box !important;
	}

	body.single-product .higuppy-product-trust-badges__item {
		flex: 1 1 auto;
		justify-content: center;
		padding-left: 9px;
		padding-right: 9px;
	}

	body.single-product .higuppy-ebay-link {
		margin-bottom: 14px !important;
	}

	body.single-product .higuppy-product-payment-trust {
		align-items: flex-start;
	}
}

@media (max-width: 390px) {
	body.single-product .summary.entry-summary {
		padding-left: 12px;
		padding-right: 12px;
	}

	body.single-product .higuppy-product-trust-badges,
	body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-trust-badges {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-left: 14px !important;
		margin-right: 14px !important;
		max-width: calc(100% - 28px) !important;
	}

	body.single-product .higuppy-product-trust-badges__item {
		width: 100%;
		flex: none;
	}

	body.single-product .higuppy-product-trust-badges__item:last-child {
		grid-column: 1 / -1;
	}

	body.single-product form.cart > .wp-block-group {
		grid-template-columns: 108px minmax(0, 1fr) !important;
	}
}

/* Match Add to cart height with quantity stepper (48px). */
body.single-product .higuppy-product-cta-row,
body.single-product form.cart .higuppy-product-cta-row,
body.single-product form.cart > .wp-block-group.is-layout-flex {
	align-items: center !important;
}

body.single-product .higuppy-qty-wrap,
body.single-product form.cart .quantity.higuppy-qty-wrap,
body.single-product form.cart .wc-block-components-quantity-selector.higuppy-qty-wrap {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	box-sizing: border-box !important;
}

html body.single-product .higuppy-product-cta-row .single_add_to_cart_button,
html body.single-product form.cart .higuppy-product-cta-row .single_add_to_cart_button,
html body.single-product .higuppy-product-cta-row .wp-block-button__link.single_add_to_cart_button,
html body.single-product form.cart .wp-block-button__link.single_add_to_cart_button {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1;
	box-sizing: border-box !important;
}

/* Product summary column: small side inset on mobile. */
@media (max-width: 781px) {
	body.single-product .wp-block-columns.alignwide > .wp-block-column:has(> .wp-block-post-title),
	body.single-product .wp-block-column:has(> .wp-block-post-title) {
		padding-left: 12px !important;
		padding-right: 12px !important;
		box-sizing: border-box !important;
	}

	/* Column padding already insets badges — drop the extra margin. */
	body.single-product .higuppy-product-trust-badges,
	body.single-product .wp-block-column:has(> .wp-block-post-title) > .higuppy-product-trust-badges {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
	}
}

/* Gallery column: small inset so images/trust box aren't edge-flush. */
@media (max-width: 781px) {
	body.single-product .wp-block-columns.alignwide > .wp-block-column:first-child,
	body.single-product .wp-block-columns.alignwide > .wp-block-column:not(:has(> .wp-block-post-title)) {
		padding-top: 3px !important;
		padding-left: 3px !important;
		padding-right: 3px !important;
		box-sizing: border-box !important;
	}
}

/* Qty + Add to cart: equal size, vertically centered (Buy Now stays full-width below). */
body.single-product form.cart > .wp-block-group.is-layout-flex,
body.single-product form.cart > .wp-block-group {
	align-items: center !important;
}

body.single-product form.cart .wp-block-add-to-cart-with-options-quantity-selector {
	display: flex !important;
	align-items: center !important;
	align-self: center !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

body.single-product form.cart .higuppy-qty-wrap,
body.single-product form.cart .quantity.wc-block-components-quantity-selector,
body.single-product form.cart .wc-block-components-quantity-selector {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .wp-block-button__link.single_add_to_cart_button,
body.single-product form.cart .wc-block-components-product-button__button.single_add_to_cart_button {
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1;
	align-self: center !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
}

/* Keep Buy Now out of the 48px ATC row. */
body.single-product form.cart .higuppy-product-buy-now {
	height: auto !important;
	min-height: 50px !important;
	max-height: none !important;
	align-self: stretch !important;
	margin-top: 10px !important;
	box-shadow: 0 9px 22px rgba(47, 87, 213, 0.22) !important;
}
/* Product Detail V3: Trust-first commerce. Scoped to the product surface. */
body.single-product.hg-product-v3 { --hg-navy:#10264d; --hg-blue:#2f5bd8; --hg-water:#eef8fc; --hg-coral:#ff7652; --hg-coral-control:#c84a24; --hg-coral-control-hover:#a63d20; --hg-yellow:#ffd36a; --hg-line:#d8e6f1; --hg-ink:#17243b; color:var(--hg-ink); background:#f7fbfd; }
body.single-product.hg-product-v3 .higuppy-product-shipping-trust, body.single-product.hg-product-v3 .higuppy-product-care-links, body.single-product.hg-product-v3 .higuppy-product-payment-trust { display:none!important; }
body.single-product.hg-product-v3 .site-content { overflow:hidden; }
body.single-product.hg-product-v3 .product.type-product { max-width:1180px; margin:0 auto; }
body.single-product.hg-product-v3 .product .product-page-content, body.single-product.hg-product-v3 .product .woocommerce-product-gallery, body.single-product.hg-product-v3 .product .summary { box-sizing:border-box; }
body.single-product.hg-product-v3 .product .product-page-content { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:30px; align-items:start; }
body.single-product.hg-product-v3 .product .woocommerce-product-gallery { width:100%!important; max-height:520px; aspect-ratio:4/3; overflow:hidden; border-radius:20px; background:#e8f3f8; }
body.single-product.hg-product-v3 .product .woocommerce-product-gallery__wrapper, body.single-product.hg-product-v3 .product .woocommerce-product-gallery__image { height:100%; }
body.single-product.hg-product-v3 .product .woocommerce-product-gallery__image img { width:100%; height:100%; object-fit:cover; }
body.single-product.hg-product-v3 .product .flex-control-thumbs { position:absolute; left:-86px; top:0; width:76px; display:flex; flex-direction:column; gap:10px; margin:0; }
body.single-product.hg-product-v3 .product .flex-control-thumbs li { width:76px; height:58px; margin:0; border-radius:10px; overflow:hidden; }
body.single-product.hg-product-v3 .product .flex-control-thumbs img { width:100%; height:100%; object-fit:cover; opacity:.7; }
body.single-product.hg-product-v3 .product .flex-control-thumbs .flex-active { opacity:1; outline:2px solid var(--hg-coral); }
body.single-product.hg-product-v3 .summary { width:100%!important; padding:4px 0 0; }
body.single-product.hg-product-v3 .summary .product_title { margin:4px 0 10px; color:var(--hg-navy); font-size:clamp(28px,3vw,46px); line-height:1.03; letter-spacing:-.04em; }
body.single-product.hg-product-v3 .summary .price { color:var(--hg-coral); font-size:34px; font-weight:800; margin:14px 0; }
body.single-product.hg-product-v3 .summary .stock { color:#1c7f70; font-weight:700; }
body.single-product.hg-product-v3 .summary form.cart { margin-top:14px; }
body.single-product.hg-product-v3 .hg-v3-variation-picker { padding:14px 0 2px; }
body.single-product.hg-product-v3 .hg-v3-variation-group { border:0; padding:0; margin:0 0 14px; }
body.single-product.hg-product-v3 .hg-v3-variation-group legend { font-weight:700; margin-bottom:8px; }
body.single-product.hg-product-v3 .hg-v3-variation-options { display:flex; flex-wrap:wrap; gap:8px; }
body.single-product.hg-product-v3 .hg-v3-variation-option { border:1px solid var(--hg-line); background:#fff; color:var(--hg-navy); border-radius:10px; padding:10px 14px; font-weight:700; cursor:pointer; }
body.single-product.hg-product-v3 .hg-v3-variation-option.is-selected { border-color:var(--hg-blue); box-shadow:0 0 0 2px #dce5ff; }
body.single-product.hg-product-v3 .hg-v3-variation-option.is-disabled { opacity:.4; cursor:not-allowed; }
body.single-product.hg-product-v3 .variations_form .variations { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; }
body.single-product.hg-product-v3 .summary .single_add_to_cart_button, body.single-product.hg-product-v3 .hg-v3-button { border:0; border-radius:999px; padding:15px 28px; font-weight:800; cursor:pointer; }
body.single-product.hg-product-v3 .summary .single_add_to_cart_button { background:var(--hg-coral-control); color:#fff; }
body.single-product.hg-product-v3 .summary .single_add_to_cart_button:hover { background:var(--hg-coral-control-hover); }
body.single-product.hg-product-v3 .hg-v3-guarantee { display:flex; gap:12px; align-items:flex-start; padding:16px; margin-top:14px; border:1px solid #cce8e9; border-radius:16px; background:#effaf8; }
body.single-product.hg-product-v3 .hg-v3-guarantee-mark { color:#167e73; font-size:22px; font-weight:800; }
body.single-product.hg-product-v3 .hg-v3-guarantee p { margin:4px 0; font-size:var(--hg-font-size-body, 16px); }
body.single-product.hg-product-v3 .hg-v3-guarantee a, body.single-product.hg-product-v3 .hg-v3-text-link { color:var(--hg-blue); font-weight:700; }
body.single-product.hg-product-v3 .hg-v3-trust-strip, body.single-product.hg-product-v3 .hg-v3-receive-review, body.single-product.hg-product-v3 .hg-v3-info-hub, body.single-product.hg-product-v3 .hg-v3-reviews { max-width:1180px; margin:24px auto 0; }
body.single-product.hg-product-v3 .hg-v3-trust-strip { padding:22px 26px; color:#fff; border-radius:22px; background:linear-gradient(110deg,#0c3954,#145d66); }
body.single-product.hg-product-v3 .hg-v3-section-kicker { color:var(--hg-yellow); font-size:var(--hg-font-size-body, 16px); font-weight:800; letter-spacing:.18em; }
body.single-product.hg-product-v3 .hg-v3-receive .hg-v3-section-kicker,
body.single-product.hg-product-v3 .hg-v3-review-summary .hg-v3-section-kicker,
body.single-product.hg-product-v3 .hg-v3-info-hub .hg-v3-section-kicker,
body.single-product.hg-product-v3 .hg-v3-reviews .hg-v3-section-kicker { color:var(--hg-yellow) !important; }
body.single-product.hg-product-v3 .hg-v3-reviews .hg-v3-section-kicker { color:#ef8001 !important; }
body.single-product.hg-product-v3 .hg-v3-related .hg-v3-section-kicker { color:#ef8001 !important; }
body.single-product.hg-product-v3 .hg-v3-trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:14px; }
body.single-product.hg-product-v3 .hg-v3-trust-item { display:flex; gap:10px; color:#fff; text-decoration:none; }
body.single-product.hg-product-v3 .hg-v3-trust-item strong, body.single-product.hg-product-v3 .hg-v3-trust-item small { display:block; }
body.single-product.hg-product-v3 .hg-v3-trust-item small { margin-top:3px; color:#d9eff0; }
body.single-product.hg-product-v3 .hg-v3-trust-icon { color:var(--hg-navy); background:var(--hg-yellow); border-radius:50%; padding:5px 8px; height:max-content; }
body.single-product.hg-product-v3 .hg-v3-receive-review { display:grid; grid-template-columns:1.3fr .7fr; gap:18px; }
body.single-product.hg-product-v3 .hg-v3-receive, body.single-product.hg-product-v3 .hg-v3-review-summary, body.single-product.hg-product-v3 .hg-v3-info-hub, body.single-product.hg-product-v3 .hg-v3-reviews { padding:26px; border:1px solid var(--hg-line); border-radius:20px; background:#fff; }
body.single-product.hg-product-v3 .hg-v3-receive h2, body.single-product.hg-product-v3 .hg-v3-review-summary h2, body.single-product.hg-product-v3 .hg-v3-info-hub h2, body.single-product.hg-product-v3 .hg-v3-reviews h2 { margin:8px 0 16px; color:var(--hg-navy); }
body.single-product.hg-product-v3 .hg-v3-receive-list { display:flex; flex-wrap:wrap; gap:10px; }
body.single-product.hg-product-v3 .hg-v3-receive-list div { min-width:140px; padding:12px; border-radius:12px; background:var(--hg-water); }
body.single-product.hg-product-v3 .hg-v3-receive-list strong, body.single-product.hg-product-v3 .hg-v3-receive-list span { display:block; }
body.single-product.hg-product-v3 .hg-v3-receive-list span { margin-top:4px; font-size:var(--hg-font-size-body, 16px); }
body.single-product.hg-product-v3 .hg-v3-muted { color:#64748b; }
body.single-product.hg-product-v3 .hg-v3-tabs { display:flex; gap:6px; border-bottom:1px solid var(--hg-line); overflow-x:auto; }
body.single-product.hg-product-v3 .hg-v3-tabs button { border:0; border-bottom:3px solid transparent; background:none; padding:12px 14px; color:#53647d; font-weight:700; white-space:nowrap; cursor:pointer; }
body.single-product.hg-product-v3 .hg-v3-tabs button[aria-selected="true"] { border-color:var(--hg-coral); color:var(--hg-navy); }
body.single-product.hg-product-v3 main#wp--skip-link--target,
body.single-product.hg-product-v3 main#wp--skip-link--target > .wp-site-blocks,
body.single-product.hg-product-v3 .wp-site-blocks > main { background-color:#eaf6ff !important; }
body.single-product.hg-product-v3 .hg-v3-tabs button { color:#0f172a !important; }
body.single-product.hg-product-v3 .hg-v3-tabs button[aria-selected="true"] { color:var(--hg-coral) !important; }

@media (min-width: 1025px) {
	body.single-product.hg-product-v3 .wp-block-woocommerce-product-gallery {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-rows: minmax(0, 1fr) 76px !important;
		gap: 10px !important;
	}

	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 100% !important;
		height: 100% !important;
	}

	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails,
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
		grid-column: 1 !important;
		grid-row: 2 !important;
		width: 100% !important;
		max-width: none !important;
		flex: 0 0 100% !important;
		flex-basis: 100% !important;
		height: 76px !important;
	}

	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
		flex-direction: row !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail,
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail__image {
		width: 76px !important;
		min-width: 76px !important;
		max-width: 76px !important;
		flex: 0 0 76px !important;
		height: 68px !important;
	}
}

body.single-product.hg-product-v3 .wc-block-next-previous-buttons__button {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		min-height: 44px !important;
		padding: 0 !important;
		border: 1px solid rgba(16, 38, 77, .14) !important;
		border-radius: 50% !important;
		background: #fff !important;
		box-shadow: 0 8px 20px rgba(16, 38, 77, .16) !important;
		color: var(--hg-navy) !important;
}

body.single-product.hg-product-v3 .wc-block-next-previous-buttons__button:hover,
body.single-product.hg-product-v3 .wc-block-next-previous-buttons__button:focus-visible {
		border-color: var(--hg-coral) !important;
		color: var(--hg-coral) !important;
		transform: scale(1.04);
}
body.single-product.hg-product-v3 .hg-v3-panels { padding-top:20px; }
body.single-product.hg-product-v3 .hg-v3-panels > section[hidden] { display:none; }
body.single-product.hg-product-v3 .hg-v3-specs { max-width:720px; margin-top:24px; }
body.single-product.hg-product-v3 .hg-v3-specs h3 { color:var(--hg-navy); }
body.single-product.hg-product-v3 .hg-v3-specs div, body.single-product.hg-product-v3 .hg-v3-copy-row { display:flex; justify-content:space-between; gap:20px; padding:11px 0; border-bottom:1px solid #edf2f6; }
body.single-product.hg-product-v3 .hg-v3-care-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
body.single-product.hg-product-v3 .hg-v3-care-grid > div { padding:16px; border-radius:14px; background:var(--hg-water); }
body.single-product.hg-product-v3 .hg-v3-care-grid h3 { margin-top:0; color:var(--hg-navy); }
body.single-product.hg-product-v3 .hg-v3-steps { display:flex; gap:28px; padding-left:20px; }
body.single-product.hg-product-v3 :focus-visible { outline:3px solid #f3b942; outline-offset:3px; }
body.single-product.hg-product-v3 .hg-v3-reviews { margin-bottom:60px; }
@media (min-width:782px) and (max-width:1024px) { body.single-product.hg-product-v3 .product.type-product { padding:0 24px; } body.single-product.hg-product-v3 .product .product-page-content { gap:20px; } body.single-product.hg-product-v3 .product .flex-control-thumbs { position:static; width:auto; flex-direction:row; margin-top:10px; } body.single-product.hg-product-v3 .product .flex-control-thumbs li { flex:0 0 68px; } }
@media (max-width:781px) { body.single-product.hg-product-v3 .product.type-product { padding:0 14px; } body.single-product.hg-product-v3 .product .product-page-content { display:block; } body.single-product.hg-product-v3 .product .woocommerce-product-gallery { max-height:none; border-radius:14px; } body.single-product.hg-product-v3 .product .flex-control-thumbs { position:static; width:auto; flex-direction:row; overflow-x:auto; margin-top:8px; } body.single-product.hg-product-v3 .product .flex-control-thumbs li { flex:0 0 68px; height:52px; } body.single-product.hg-product-v3 .summary { padding-top:24px; } body.single-product.hg-product-v3 .summary .product_title { font-size:32px; } body.single-product.hg-product-v3 .hg-v3-trust-strip, body.single-product.hg-product-v3 .hg-v3-receive-review, body.single-product.hg-product-v3 .hg-v3-info-hub, body.single-product.hg-product-v3 .hg-v3-reviews { margin-top:16px; } body.single-product.hg-product-v3 .hg-v3-trust-strip { padding:18px; border-radius:16px; } body.single-product.hg-product-v3 .hg-v3-trust-grid, body.single-product.hg-product-v3 .hg-v3-receive-review, body.single-product.hg-product-v3 .hg-v3-care-grid { grid-template-columns:1fr; } body.single-product.hg-product-v3 .hg-v3-trust-grid { gap:12px; } body.single-product.hg-product-v3 .hg-v3-receive, body.single-product.hg-product-v3 .hg-v3-review-summary, body.single-product.hg-product-v3 .hg-v3-info-hub, body.single-product.hg-product-v3 .hg-v3-reviews { padding:18px; border-radius:16px; } body.single-product.hg-product-v3 .hg-v3-steps { display:block; } body.single-product.hg-product-v3 .hg-v3-copy-row { display:block; } body.single-product.hg-product-v3 .hg-v3-reviews { margin-bottom:90px; } }
@media (max-width:781px) { body.single-product.hg-product-v3 #hg-panel-care > h3 { margin-top:16px !important; } }
@media (prefers-reduced-motion:reduce) { body.single-product.hg-product-v3 *, body.single-product.hg-product-v3 *::before, body.single-product.hg-product-v3 *::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; } }

/* V3 final: WooCommerce Gutenberg Blocks are the single layout architecture. */
body.single-product.hg-product-v3 .higuppy-product-accordions,
body.single-product.hg-product-v3 .higuppy-product-specs,
body.single-product.hg-product-v3 .higuppy-related-header,
body.single-product.hg-product-v3 .wp-block-woocommerce-product-collection {
	display: none !important;
}

body.single-product.hg-product-v3 main > .wp-block-group.alignwide,
body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery),
body.single-product.hg-product-v3 .hg-v3-trust-strip,
body.single-product.hg-product-v3 .hg-v3-receive-review,
body.single-product.hg-product-v3 .hg-v3-info-hub,
body.single-product.hg-product-v3 .hg-v3-reviews,
body.single-product.hg-product-v3 .hg-v3-related {
	width: min(1180px, calc(100% - 32px));
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery) > .wp-block-column {
	min-width: 0;
	flex-basis: auto !important;
}

body.single-product.hg-product-v3 .wp-block-woocommerce-product-gallery {
	display: grid !important;
	grid-template-columns: 76px minmax(0, 1fr);
	height: clamp(430px, 36vw, 520px);
	min-height: 0 !important;
	gap: 10px;
	border-radius: 18px;
	overflow: hidden;
	background: #e8f3f8;
}

body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails,
body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
	width: 100% !important;
	min-width: 100% !important;
	height: 100% !important;
}

body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
	scrollbar-width: thin;
}

body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail,
body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail__image {
	width: 76px !important;
	height: 68px !important;
	min-height: 68px !important;
	border-radius: 10px;
	object-fit: cover;
}

body.single-product.hg-product-v3 .wc-block-product-gallery-large-image,
body.single-product.hg-product-v3 .wc-block-product-gallery-large-image__container,
body.single-product.hg-product-v3 .wc-block-product-gallery-large-image__wrapper,
body.single-product.hg-product-v3 .wc-block-woocommerce-product-gallery-large-image__image {
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
}

body.single-product.hg-product-v3 .wc-block-woocommerce-product-gallery-large-image__image {
	object-fit: cover !important;
}

body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) {
	min-width: 0;
	padding: 4px 0 0 !important;
}

body.single-product.hg-product-v3 .wp-block-post-title {
	max-width: 680px;
	margin: 4px 0 10px !important;
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.04;
	letter-spacing: -0.04em;
	color: var(--hg-navy);
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options {
	display: grid !important;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin-top: 12px;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wc-block-components-product-stock-indicator {
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 6px 0 10px !important;
	font-weight: 800;
	color: #137466;
}

body.single-product.hg-product-v3 .hg-v3-trust-item,
body.single-product.hg-product-v3 .hg-v3-trust-item strong {
  color: #fff !important;
}

body.single-product.hg-product-v3 .hg-v3-trust-item strong {
  font-size: var(--hg-font-size-body, 16px);
  line-height: 1.25;
}

body.single-product.hg-product-v3 .hg-v3-trust-item small {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: var(--hg-font-size-body, 16px);
  line-height: 1.4;
}

@media (max-width: 781px) {
  body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) {
    padding-top: 16px !important;
  }

  body.single-product.hg-product-v3 .wp-block-woocommerce-product-price {
    margin-bottom: 10px !important;
  }

  body.single-product.hg-product-v3 .higuppy-product-category-badge {
    margin-bottom: 8px !important;
  }

  body.single-product.hg-product-v3 .higuppy-product-trust-badges {
    margin-bottom: 8px !important;
  }

  body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) > .wp-block-post-excerpt {
    display: none !important;
  }

  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wp-block-button,
  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wp-block-button__link {
    width: 100% !important;
  }

  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wp-block-button {
    display: block !important;
  }

  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch !important;
  }

  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wc-block-components-product-button__button {
    width: 100% !important;
    max-width: none !important;
    justify-content: center !important;
  }

  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .higuppy-product-buy-now {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
    grid-row: 4 !important;
  }
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group {
	grid-column: 2;
	grid-row: 2;
	width: 100%;
	margin: 0 !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options .wp-block-woocommerce-product-button,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options .single_add_to_cart_button {
	width: 100% !important;
	max-width: none !important;
	white-space: nowrap;
	text-align: center !important;
	justify-content: center;
}

body.single-product.hg-product-v3 .hg-v3-quantity {
	grid-column: 1;
	grid-row: 2;
	display: grid;
	grid-template-columns: 36px minmax(38px, 1fr) 36px;
	height: 48px;
	border: 1px solid var(--hg-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

body.single-product.hg-product-v3 .hg-v3-quantity button,
body.single-product.hg-product-v3 .hg-v3-quantity input {
	min-width: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-weight: 800;
	color: var(--hg-navy);
}

body.single-product.hg-product-v3 .hg-v3-quantity button {
	cursor: pointer;
}

body.single-product.hg-product-v3 .hg-v3-quantity input {
	-moz-appearance: textfield;
}

body.single-product.hg-product-v3 .hg-v3-quantity input::-webkit-inner-spin-button,
body.single-product.hg-product-v3 .hg-v3-quantity input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .higuppy-product-buy-now {
	grid-column: 1 / -1;
	grid-row: 3;
	width: 100%;
	margin: 0 !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
	grid-column: 1 / -1;
	grid-row: 4;
	width: 100%;
	margin: 2px 0 0;
	box-sizing: border-box;
}

@media (min-width: 1025px) {
	body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery) {
		position: relative;
	}

	body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery) > .wp-block-column:nth-child(2) > .wp-block-group:has(> form.wp-block-add-to-cart-with-options) {
		position: static !important;
	}

	body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
		position: absolute;
		left: 0;
		top: calc(clamp(430px, 36vw, 520px) + 10px);
		width: calc((100% - 30px) / 2);
		margin: 0;
		z-index: 2;
	}
}

body.single-product.hg-product-v3 .hg-v3-guarantee-mark {
	width: 40px;
	height: 40px;
	padding: 10px;
	border-radius: 50%;
	background: #ccefee;
	box-sizing: border-box;
}

body.single-product.hg-product-v3 .hg-v3-guarantee-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
	margin-top: 6px;
	font-size: var(--hg-font-size-body, 16px);
	font-weight: 700;
}

body.single-product.hg-product-v3 .hg-v3-guarantee-links .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

body.single-product.hg-product-v3 .hg-v3-trust-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	padding: 9px;
	box-sizing: border-box;
}

body.single-product.hg-product-v3 .hg-v3-tabs button {
	flex: 0 0 auto;
}

body.single-product.hg-product-v3 .hg-v3-related {
	margin-top: 24px;
	margin-bottom: 60px;
	padding: 26px;
	border: 1px solid var(--hg-line);
	border-radius: 20px;
	background: #fff;
}

body.single-product.hg-product-v3 .hg-v3-related-header {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: end;
	margin-bottom: 18px;
}

body.single-product.hg-product-v3 .hg-v3-related-header h2 {
	margin: 6px 0 0;
	color: var(--hg-navy);
}

body.single-product.hg-product-v3 .hg-v3-related-controls {
	display: flex;
	gap: 8px;
}

body.single-product.hg-product-v3 .hg-v3-related-controls button {
	border: 1px solid var(--hg-line);
	border-radius: 999px;
	padding: 8px 14px;
	background: #fff;
	color: var(--hg-navy);
	font-weight: 800;
	cursor: pointer;
}

body.single-product.hg-product-v3 .hg-v3-related-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 4);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

body.single-product.hg-product-v3 .hg-v3-related-track::-webkit-scrollbar {
	display: none;
}

body.single-product.hg-product-v3 .hg-v3-related-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--hg-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	scroll-snap-align: start;
}

body.single-product.hg-product-v3 .hg-v3-related-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hg-water);
}

body.single-product.hg-product-v3 .hg-v3-related-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-product.hg-product-v3 .hg-v3-related-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}

body.single-product.hg-product-v3 .hg-v3-related-body h3 {
	margin: 0;
	font-size: var(--hg-font-size-h6, 16px);
	line-height: 1.25;
}

body.single-product.hg-product-v3 .hg-v3-related-body h3 a {
	color: var(--hg-navy);
	text-decoration: none;
}

body.single-product.hg-product-v3 .hg-v3-related-price {
	margin-top: auto;
	color: var(--hg-coral);
	font-size: 18px;
	font-weight: 900;
}

body.single-product.hg-product-v3 .hg-v3-related-cta {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--hg-navy);
	border-radius: 10px;
	background: #fff;
	color: var(--hg-navy);
	text-align: center;
	text-decoration: none;
	font-weight: 800;
	box-sizing: border-box;
}

@media (min-width: 782px) and (max-width: 1024px) {
	body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery) {
		display: block !important;
	}
	body.single-product.hg-product-v3 .wp-block-woocommerce-product-gallery {
		grid-template-columns: 1fr;
		height: auto;
		gap: 10px;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image {
		grid-row: 1;
		aspect-ratio: 4 / 3;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails {
		grid-row: 2;
		width: 100% !important;
		height: 76px !important;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
		width: 100% !important;
		height: 76px !important;
		flex-direction: row;
		overflow-x: auto;
	}
	body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) {
		padding-top: 24px !important;
	}
	body.single-product.hg-product-v3 .hg-v3-related-track {
		grid-auto-columns: calc((100% - 16px) / 2);
	}
}

@media (max-width: 781px) {
	body.single-product.hg-product-v3 main .wp-block-columns.alignwide:has(.wp-block-woocommerce-product-gallery) {
		display: block !important;
		width: 100%;
	}
	body.single-product.hg-product-v3 .wp-block-woocommerce-product-gallery {
		grid-template-columns: 1fr;
		height: auto;
		gap: 8px;
		border-radius: 0;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image {
		grid-row: 1;
		aspect-ratio: 4 / 3;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails {
		grid-row: 2;
		width: 100% !important;
		height: 70px !important;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
		width: 100% !important;
		height: 70px !important;
		flex-direction: row;
		overflow-x: auto;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail,
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail__image {
		width: 70px !important;
		height: 62px !important;
		min-height: 62px !important;
	}

@media (min-width: 1025px) {
	body.single-product.hg-product-v3 .wp-block-woocommerce-product-gallery {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-rows: minmax(0, 1fr) 76px !important;
		gap: 10px !important;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails,
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
		grid-column: 1 !important;
		grid-row: 2 !important;
		width: 100% !important;
		max-width: none !important;
		flex: 0 0 100% !important;
		flex-basis: 100% !important;
		height: 76px !important;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__scrollable {
		flex-direction: row !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail,
	body.single-product.hg-product-v3 .wc-block-product-gallery-thumbnails__thumbnail__image {
		width: 76px !important;
		min-width: 76px !important;
		max-width: 76px !important;
		flex: 0 0 76px !important;
		height: 68px !important;
	}
}
	body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) {
		padding: 22px 12px 0 !important;
	}
	body.single-product.hg-product-v3 .wp-block-post-title {
		font-size: 30px;
	}
	body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 10px;
	}
	body.single-product.hg-product-v3 .hg-v3-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.single-product.hg-product-v3 .hg-v3-trust-item {
		align-items: flex-start;
		font-size: var(--hg-font-size-body, 16px);
	}
	body.single-product.hg-product-v3 .hg-v3-trust-item small {
		font-size: var(--hg-font-size-body, 16px);
	}
	body.single-product.hg-product-v3 .hg-v3-tabs {
		margin-right: -18px;
		padding-right: 18px;
		scroll-snap-type: x proximity;
	}
	body.single-product.hg-product-v3 .hg-v3-tabs button {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}
	body.single-product.hg-product-v3 .hg-v3-related {
		padding: 18px;
		margin-bottom: 90px;
	}
	body.single-product.hg-product-v3 .hg-v3-related-controls {
		display: none;
	}
	body.single-product.hg-product-v3 .hg-v3-related-track {
		grid-auto-columns: calc((100% - 12px) / 2);
		gap: 12px;
	}
	body.single-product.hg-product-v3 .hg-v3-receive-review {
		grid-template-columns: 1fr;
	}
	body.single-product.hg-product-v3 .hg-v3-receive-review > .hg-v3-review-summary {
		display: none !important;
	}
}
/* Final visual alignment pass: trust strip, responsive gallery, related controls. */
body.single-product.hg-product-v3 .hg-v3-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 16px;
}

body.single-product.hg-product-v3 .hg-v3-trust-item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	min-width: 0;
	min-height: 58px;
	gap: 12px;
}

body.single-product.hg-product-v3 .hg-v3-trust-item > span:last-child {
	min-width: 0;
}

body.single-product.hg-product-v3 .hg-v3-trust-icon {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	line-height: 1;
}

body.single-product.hg-product-v3 .hg-v3-related-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

body.single-product.hg-product-v3 .hg-v3-related-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-left: auto;
}

body.single-product.hg-product-v3 .hg-v3-related-controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #c9dceb;
	border-radius: 999px;
	background: #fff;
	color: var(--hg-navy);
	font-size: 0;
	line-height: 1;
}

body.single-product.hg-product-v3 .hg-v3-related-controls button::before {
	font-size: 20px;
	font-weight: 700;
}

body.single-product.hg-product-v3 .hg-v3-related-controls [data-hg-related-prev]::before {
	content: "<";
}

body.single-product.hg-product-v3 .hg-v3-related-controls [data-hg-related-next]::before {
  content: ">";
}

body.single-product.hg-product-v3 .hg-product-v3-back-top {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 1002;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--hg-coral);
  color: #fff;
  box-shadow: var(--hg-shadow-md);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

body.single-product.hg-product-v3 .hg-product-v3-back-top.is-visible {
  display: grid;
}

body.single-product.hg-product-v3 .hg-product-v3-back-top:hover,
body.single-product.hg-product-v3 .hg-product-v3-back-top:focus-visible {
  background: var(--hg-navy);
  color: #fff;
}

/* Sit above the sticky Add to cart / Buy Now bar on narrow screens. */
@media (max-width: 781px) {
  body.single-product.hg-product-v3 .hg-product-v3-back-top {
    right: 16px;
    bottom: 132px;
    width: 42px;
    height: 42px;
    z-index: 1003;
  }

  body.single-product.hg-product-v3.higuppy-sticky-visible .hg-product-v3-back-top {
    bottom: 148px;
  }
}

body.single-product.hg-product-v3 .hg-v3-related-controls button:hover,
body.single-product.hg-product-v3 .hg-v3-related-controls button:focus-visible {
	border-color: var(--hg-coral);
	background: #fff7f3;
	color: var(--hg-coral);
}

@media (min-width: 1025px) {
	body.single-product.hg-product-v3 .hg-v3-trust-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 782px) and (max-width: 1024px) {
	body.single-product.hg-product-v3 .hg-v3-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 18px;
	}
}

@media (max-width: 781px) {
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image,
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image__container,
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image__wrapper,
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image__wrapper > div,
	body.single-product.hg-product-v3 .wc-block-product-gallery-large-image__wrapper img {
		border-radius: 16px;
		overflow: hidden;
	}

	body.single-product.hg-product-v3 .hg-v3-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 14px;
	}

	body.single-product.hg-product-v3 .hg-v3-trust-item {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 9px;
		min-height: 54px;
	}

	body.single-product.hg-product-v3 .hg-v3-trust-icon {
		width: 40px;
		height: 40px;
	}

	body.single-product.hg-product-v3 .hg-v3-related-header {
		align-items: center;
	}

	body.single-product.hg-product-v3 .hg-v3-related-controls button {
		width: 36px;
		height: 36px;
	}
}

/* === Final ATC row: one qty + Add to cart, full width; Buy Now below === */
body.single-product.hg-product-v3 .hg-v3-quantity {
	display: none !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 12px !important;
	grid-template-columns: none !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wc-block-components-product-stock-indicator {
	width: 100% !important;
	margin: 0 0 2px !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group.is-layout-flex {
	display: grid !important;
	grid-template-columns: 118px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	flex-wrap: nowrap !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group > .wp-block-add-to-cart-with-options-quantity-selector {
	grid-column: 1 !important;
	grid-row: 1 !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	margin: 0 !important;
	height: 48px !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group > .wp-block-woocommerce-product-button,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .higuppy-product-cta-row {
	grid-column: 2 !important;
	grid-row: 1 !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wp-block-button,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wp-block-button__link,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .wc-block-components-product-button__button,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group .single_add_to_cart_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: none !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .higuppy-product-buy-now {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 !important;
	grid-column: auto !important;
	grid-row: auto !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
	width: 100% !important;
	grid-column: auto !important;
	grid-row: auto !important;
	position: static !important;
}

@media (max-width: 781px) {
	body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group,
	body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group.is-layout-flex {
		grid-template-columns: 108px minmax(0, 1fr) !important;
		gap: 10px !important;
	}
}

/* Expand ATC form to full summary column (override WP constrained 500px). */
body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) > .wp-block-group.is-layout-constrained > form.wp-block-add-to-cart-with-options,
body.single-product.hg-product-v3 .is-layout-constrained > form.wp-block-add-to-cart-with-options,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

body.single-product.hg-product-v3 .wp-block-column:has(> .wp-block-post-title) > .wp-block-group.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .wp-block-group,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .higuppy-product-buy-now,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
	max-width: none !important;
	width: 100% !important;
}

/* Center guarantee box content within the full-width form. */
body.single-product.hg-product-v3 .hg-v3-guarantee,
body.single-product.hg-product-v3 form.wp-block-add-to-cart-with-options > .hg-v3-guarantee {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 12px !important;
	text-align: center !important;
}

body.single-product.hg-product-v3 .hg-v3-guarantee > div {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}

body.single-product.hg-product-v3 .hg-v3-guarantee-links {
	justify-content: center !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 10px 16px !important;
}
/* Four-strain money-page trust links. */
body.single-product.hg-product-v3 .higuppy-four-strain-trust-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 8px;
}

body.single-product.hg-product-v3 .higuppy-four-strain-trust-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 14px;
	border: 1px solid rgba(20, 93, 102, .18);
	border-radius: 999px;
	background: #effaf8;
	color: #0c5160;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 600px) {
	body.single-product.hg-product-v3 .higuppy-four-strain-trust-links a {
		width: 100%;
		justify-content: center;
	}
}
