/* ==========================================================================
   HerbsKraft v2 — ticker, mega-menu, live search, shop sidebar
   Load AFTER herbskraft-shell.css
   ========================================================================== */

/* ---- Promo ticker (sits above the nav) -------------------------------- */
.hk-ticker {
	background: linear-gradient(90deg, #7a4b12 0%, var(--hk-gold) 50%, #7a4b12 100%);
	overflow: hidden;
	position: relative;
	z-index: 401;
}

.hk-ticker-track {
	display: flex;
	white-space: nowrap;
	width: max-content;
	animation: hk-ticker-scroll 28s linear infinite;
	padding: 7px 0;
}

.hk-ticker:hover .hk-ticker-track {
	animation-play-state: paused;
}

.hk-ticker-item {
	display: inline-flex;
	align-items: center;
	font-family: var(--hk-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.4px;
	color: #241505;
	padding: 0 22px;
}

.hk-ticker-sep {
	margin-left: 22px;
	opacity: 0.55;
	font-size: 9px;
}

@keyframes hk-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.hk-ticker-track { animation: none; }
	.hk-ticker { overflow-x: auto; }
}

/* ---- Shop mega-menu ----------------------------------------------------- */
.nav-item-mega {
	position: relative;
}

.nav-mega-trigger {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.nav-caret {
	transition: transform 0.2s ease;
	opacity: 0.75;
}

.nav-item-mega:hover .nav-caret,
.nav-item-mega:focus-within .nav-caret {
	transform: rotate(180deg);
}

.nav-mega-panel {
	position: absolute;
	/* top: calc(100% + 14px); */
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 560px;
	background: #2E1F0A;
	border: 1px solid rgb(133, 7, 7);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	padding: 26px 30px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 500;
}

.nav-item-mega:hover .nav-mega-panel,
.nav-item-mega:focus-within .nav-mega-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.nav-mega-cols {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.nav-mega-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 32px;
	flex: 1;
}

.nav-mega-list a {
	display: block;
	font-family: var(--hk-sans);
	font-size: 13.5px;
	letter-spacing: 0.2px;
	color: rgba(255, 255, 255, 0.78);
	padding: 8px 0;
	border-bottom: 1px solid var(--hk-border-soft);
	white-space: nowrap;
	transition: color 0.15s ease, padding-left 0.15s ease;
}

.nav-mega-list a:hover {
	color: var(--hk-gold-3);
	padding-left: 4px;
}


.nav-mega-list li a{
	padding: 10px;
}


.nav-mega-featured {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 168px;
	flex-shrink: 0;
	border-left: 1px solid var(--hk-border-soft);
	padding-left: 24px;
}

.nav-mega-cta {
	font-family: var(--hk-display);
	font-size: 11px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	padding: 12px 10px;
	border: 1px solid var(--hk-border);
	color: var(--hk-gold-3);
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-mega-cta-all:hover {
	background: var(--hk-gold-3);
	color: var(--hk-ink);
}

.nav-mega-cta-deals {
	background: rgba(184, 146, 42, 0.12);
}

.nav-mega-cta-deals:hover {
	background: var(--hk-gold);
	color: var(--hk-ink);
}

@media (max-width: 900px) {
	.nav-mega-panel {
		position: static;
		transform: none;
		min-width: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		display: none;
		border: none;
		box-shadow: none;
		background: rgba(0, 0, 0, 0.18);
		padding: 6px 0 6px 18px;
	}

	.nav-item-mega.is-open .nav-mega-panel {
		display: block;
	}

	.nav-mega-cols {
		flex-direction: column;
		gap: 16px;
	}

	.nav-mega-featured {
		flex-direction: row;
		border-left: none;
		padding-left: 0;
		border-top: 1px solid var(--hk-border-soft);
		padding-top: 14px;
	}
}

/* ---- Live search suggestions -------------------------------------------- */
.nav-search-form {
	position: relative;
}

.nav-search-suggest {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 340px;
	max-width: 90vw;
	background: #fffdfa;
	border: 1px solid var(--hk-border);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
	max-height: 420px;
	overflow-y: auto;
	z-index: 520;
}

.hk-suggest-label {
	font-family: var(--hk-sans);
	font-size: 10.5px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #8a7350;
	padding: 12px 16px 6px;
}

.hk-suggest-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 14px 14px;
}

.hk-suggest-chip {
	font-family: var(--hk-sans);
	font-size: 12px;
	color: var(--hk-ink-2);
	background: rgba(184, 146, 42, 0.12);
	border: 1px solid var(--hk-border-soft);
	padding: 6px 12px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.hk-suggest-chip:hover {
	background: rgba(184, 146, 42, 0.26);
}

.hk-suggest-product {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	border-top: 1px solid rgba(184, 146, 42, 0.12);
	color: var(--hk-ink-2);
	text-decoration: none;
}

.hk-suggest-product:hover {
	background: rgba(184, 146, 42, 0.08);
}

.hk-suggest-product img {
	width: 42px;
	height: 42px;
	object-fit: cover;
	border: 1px solid var(--hk-border-soft);
	flex-shrink: 0;
	background: #f3ead7;
}

.hk-suggest-product-name {
	font-family: var(--hk-sans);
	font-size: 13px;
	line-height: 1.3;
}

.hk-suggest-product-price {
	font-family: var(--hk-sans);
	font-size: 12px;
	color: var(--hk-gold);
	margin-top: 2px;
}

.hk-suggest-empty {
	padding: 18px 16px;
	font-family: var(--hk-sans);
	font-size: 12.5px;
	color: #8a7350;
}

/* ---- Shop page: left filter rail ---------------------------------------- */
.hk-shop-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px 24px 64px;
	align-items: start;
}

/* ---- Single product page ---------------------------------------------- */
.herbskraft-product-page {
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px 24px 64px;
}

.herbskraft-product-hero-block {
	position: relative;
	overflow: hidden;
	margin-bottom: 28px;
	padding: 32px 34px;
	border-radius: 28px;
	background: linear-gradient(135deg, rgba(250, 240, 220, 0.96) 0%, rgba(255, 251, 243, 0.98) 50%, rgba(240, 224, 189, 0.95) 100%);
	border: 1px solid rgba(184, 146, 42, 0.2);
	box-shadow: 0 24px 70px rgba(61, 45, 20, 0.12);
}

.herbskraft-product-hero-block::before {
	content: "";
	position: absolute;
	right: -40px;
	top: -40px;
	width: 200px;
	height: 200px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(184, 146, 42, 0.28) 0%, rgba(184, 146, 42, 0) 70%);
	pointer-events: none;
}

.herbskraft-product-eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #7e5f2c;
}

.herbskraft-product-intro {
	max-width: 640px;
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.7;
	color: #5c4630;
}

.herbskraft-product-hero-card,
.herbskraft-product-summary-card,
.herbskraft-product-gallery-card,
.herbskraft-product-highlight {
	border-radius: 24px;
	background: #fffdfa;
	border: 1px solid rgba(184, 146, 42, 0.16);
	box-shadow: 0 12px 30px rgba(61, 45, 20, 0.06);
}

.herbskraft-product-hero-card {
	padding: 24px;
	height: 100%;
}

.herbskraft-product-overview {
	margin-bottom: 24px;
	gap: 20px;
}

.herbskraft-product-gallery-card,
.herbskraft-product-summary-card {
	padding: 20px;
}

.herbskraft-product-quote {
	margin: 0 0 16px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #6f512e;
}

.herbskraft-product-highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.herbskraft-product-highlight {
	padding: 20px 22px;
}

.herbskraft-product-highlight p:last-child {
	margin-bottom: 0;
}

.herbskraft-product-highlight .has-small-font-size {
	margin-bottom: 8px;
	color: #7e5f2c;
}

.herbskraft-product-summary-card .wp-block-woocommerce-product-meta,
.herbskraft-product-summary-card .wp-block-group {
	margin-top: 12px;
}

.herbskraft-product-summary-card .wp-block-group a {
	color: #8a7350;
}

@media (max-width: 900px) {
	.herbskraft-product-highlights {
		grid-template-columns: 1fr;
	}
}

.herbskraft-product-hero {
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	padding: 40px 42px;
	margin-bottom: 32px;
	background: linear-gradient(135deg, rgba(250, 240, 220, 0.95) 0%, rgba(255, 251, 243, 0.98) 45%, rgba(240, 224, 189, 0.95) 100%);
	border: 1px solid rgba(184, 146, 42, 0.2);
	box-shadow: 0 24px 70px rgba(61, 45, 20, 0.12);
}

.herbskraft-product-hero::before,
.herbskraft-product-hero::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
	opacity: 0.6;
}

.herbskraft-product-hero::before {
	width: 220px;
	height: 220px;
	right: -70px;
	top: -70px;
	background: radial-gradient(circle, rgba(184, 146, 42, 0.3) 0%, rgba(184, 146, 42, 0) 70%);
}

.herbskraft-product-hero::after {
	width: 180px;
	height: 180px;
	left: -60px;
	bottom: -70px;
	background: radial-gradient(circle, rgba(120, 85, 34, 0.18) 0%, rgba(120, 85, 34, 0) 72%);
}

.herbskraft-product-hero__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.herbskraft-product-hero .woocommerce-breadcrumb {
	margin: 0 0 12px;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a7350;
}

.herbskraft-product-hero .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.herbskraft-product-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.65);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #7e5f2c;
}

.herbskraft-product-hero__title {
	margin: 0 0 12px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	color: var(--hk-ink-2, #2b2219);
}

.herbskraft-product-hero__intro {
	margin: 0 0 16px;
	max-width: 640px;
	font-size: 1.02rem;
	line-height: 1.7;
	color: #5c4630;
}

.herbskraft-product-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.herbskraft-product-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.75);
	color: #6f512e;
}

.herbskraft-product-pill--accent {
	background: #3c2a12;
	color: #f9ebc8;
}

.herbskraft-product-main {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 32px;
	align-items: start;
	margin-bottom: 28px;
}

.herbskraft-product-gallery {
	background: #fffdfa;
	border: 1px solid rgba(184, 146, 42, 0.16);
	border-radius: 24px;
	padding: 20px;
	box-shadow: 0 18px 45px rgba(61, 45, 20, 0.08);
}

.herbskraft-product-gallery .woocommerce-product-gallery {
	margin-bottom: 0;
}

.herbskraft-product-gallery .woocommerce-product-gallery__image {
	border-radius: 18px;
	overflow: hidden;
}

.herbskraft-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.herbskraft-product-gallery .flex-control-thumbs li {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(184, 146, 42, 0.16);
}

.herbskraft-product-summary__card {
	position: sticky;
	top: 104px;
	padding: 28px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(255,251,243,0.98) 0%, rgba(247, 239, 223, 0.95) 100%);
	border: 1px solid rgba(184, 146, 42, 0.2);
	box-shadow: 0 22px 60px rgba(61, 45, 20, 0.1);
}

.herbskraft-product-summary__card .product_title {
	margin: 0 0 10px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: 1.8rem;
	color: var(--hk-ink-2, #2b2219);
}

.herbskraft-product-summary__card .price {
	margin: 0 0 16px;
	font-size: 1.65rem;
	font-weight: 700;
	color: #6e401f;
}

.herbskraft-product-summary__card form.cart {
	margin-top: 18px;
	padding-top: 20px;
	border-top: 1px solid rgba(184, 146, 42, 0.2);
}

.herbskraft-product-summary__card .button,
.herbskraft-product-summary__card .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #3f2b14 0%, #7a4f1d 100%);
	color: #fff;
	font-weight: 700;
	border: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.herbskraft-product-summary__card .button:hover,
.herbskraft-product-summary__card .single_add_to_cart_button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(73, 42, 16, 0.2);
}

.herbskraft-product-summary__card .product_meta {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(184, 146, 42, 0.16);
	font-size: 13px;
	color: #6b5636;
}

.herbskraft-product-summary__card .product_meta a {
	color: #8a7350;
}

.herbskraft-product-summary__card .woocommerce-product-rating {
	margin-bottom: 10px;
}

.herbskraft-product-summary__card .woocommerce-product-rating .star-rating {
	font-size: 15px;
}

.herbskraft-product-highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 30px;
}

.herbskraft-product-highlight {
	padding: 20px 22px;
	border-radius: 20px;
	background: #fffdfa;
	border: 1px solid rgba(184, 146, 42, 0.16);
	box-shadow: 0 10px 26px rgba(61, 45, 20, 0.05);
}

.herbskraft-product-highlight h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	color: var(--hk-ink-2, #2b2219);
}

.herbskraft-product-highlight p {
	margin: 0;
	color: #5c4630;
	line-height: 1.65;
}

.herbskraft-product-tabs .woocommerce-tabs {
	margin-top: 12px;
}

.herbskraft-product-tabs .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border-bottom: none;
	margin-bottom: 18px;
}

.herbskraft-product-tabs .woocommerce-tabs ul.tabs li {
	margin: 0;
	border: 1px solid rgba(184, 146, 42, 0.16);
	background: #fffdfa;
	border-radius: 999px;
	overflow: hidden;
}

.herbskraft-product-tabs .woocommerce-tabs ul.tabs li a {
	padding: 10px 16px;
	font-weight: 600;
	color: #6f512e;
}

.herbskraft-product-tabs .woocommerce-tabs ul.tabs li.active {
	background: linear-gradient(135deg, #3f2b14 0%, #7a4f1d 100%);
}

.herbskraft-product-tabs .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
}

.herbskraft-product-tabs .panel {
	padding: 24px;
	border-radius: 22px;
	background: #fffdfa;
	border: 1px solid rgba(184, 146, 42, 0.16);
	box-shadow: 0 12px 28px rgba(61, 45, 20, 0.05);
}

.herbskraft-product-tabs .related.products {
	margin-top: 32px;
}


@media (max-width: 980px) {
	.herbskraft-product-main {
		grid-template-columns: 1fr;
	}

	.herbskraft-product-summary__card {
		position: static;
	}

	.herbskraft-product-highlights {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.herbskraft-product-page {
		padding: 16px 16px 48px;
	}

	.herbskraft-product-hero {
		padding: 24px 20px;
		border-radius: 24px;
	}

	.herbskraft-product-gallery {
		padding: 14px;
	}

	.herbskraft-product-summary__card {
		padding: 20px;
	}
}

/* ---- Single product: editorial HerbsKraft finish --------------------- */
body.single-product {
	background: #f8f3e9;
}

.single-product .wp-site-blocks {
	overflow: clip;
}

.herbskraft-product-page,
.single-product .herbskraft-product-hero-block,
.single-product .herbskraft-product-overview,
.single-product .herbskraft-product-highlights,
.single-product .wc-block-components-product-details,
.single-product .wp-block-woocommerce-related-products {
	max-width: 1280px;
}

.herbskraft-product-hero,
.herbskraft-product-hero-block--editorial {
	background:
		radial-gradient(circle at 89% 13%, rgba(190, 145, 50, .27) 0 2px, transparent 2.5px),
		radial-gradient(circle at 84% 18%, rgba(190, 145, 50, .18) 0 38px, transparent 39px),
		linear-gradient(122deg, #f4ead5 0%, #fffdf7 49%, #e7d3a4 100%);
}

.herbskraft-product-hero-block--editorial {
	padding: 28px 34px 32px;
}

.herbskraft-product-hero-block--editorial .wc-block-breadcrumbs,
.herbskraft-product-hero-block--editorial .woocommerce-breadcrumb {
	position: relative;
	z-index: 1;
	margin: 0 0 24px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #806337;
}

.herbskraft-product-hero-block--editorial .wc-block-breadcrumbs a {
	color: inherit;
}

.herbskraft-product-hero-block--editorial h1 {
	margin: 0 0 14px;
	font-family: var(--hk-display, Georgia, serif);
	font-weight: 600;
	color: #2b2219;
}

.herbskraft-product-hero-card {
	position: relative;
	overflow: hidden;
	padding: 25px;
	background: rgba(255, 253, 248, .82);
	backdrop-filter: blur(8px);
}

.herbskraft-product-hero-card::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(#b68a31, #493112);
}

.herbskraft-product-hero-card .wc-block-components-product-price,
.herbskraft-product-hero-card .price {
	margin: 12px 0 18px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: 1.8rem;
	font-weight: 600;
	color: #60421e;
}

.herbskraft-product-summary__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #987330;
}

.herbskraft-product-summary__label span {
	font-size: 15px;
}

.herbskraft-product-summary__card .quantity .qty,
.herbskraft-product-hero-card .wc-block-components-quantity-selector__input {
	min-height: 48px;
	border: 1px solid rgba(125, 92, 35, .28);
	border-radius: 999px;
	background: #fffdf7;
	color: #342618;
}

.herbskraft-product-summary__card .single_add_to_cart_button,
.herbskraft-product-hero-card .wc-block-components-product-button__button,
.herbskraft-product-hero-card .wc-block-components-button {
	min-height: 50px;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 11px;
}

.herbskraft-product-assurance {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(140, 105, 43, .18);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #6b5636;
}

.herbskraft-product-assurance span,
.herbskraft-product-assurance b {
	color: #95712e;
}

.herbskraft-product-gallery {
	position: relative;
	background: linear-gradient(145deg, #fffefa, #eee0c2);
}

.herbskraft-product-gallery::before {
	content: "";
	position: absolute;
	inset: 13px;
	border: 1px solid rgba(174, 130, 44, .2);
	border-radius: 17px;
	pointer-events: none;
}

.herbskraft-product-gallery .woocommerce-product-gallery__wrapper,
.herbskraft-product-gallery-card .wc-block-woocommerce-product-gallery {
	position: relative;
	z-index: 1;
}

.herbskraft-product-gallery-card {
	background: linear-gradient(145deg, #fffefa, #eee0c2);
}

.herbskraft-product-gallery-card img {
	mix-blend-mode: multiply;
}

.herbskraft-product-quote {
	font-family: var(--hk-display, Georgia, serif);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-style: italic;
	line-height: 1.35;
}

.herbskraft-product-highlight {
	position: relative;
	overflow: hidden;
}

.herbskraft-product-highlight::before {
	content: "";
	display: block;
	width: 25px;
	height: 2px;
	margin-bottom: 14px;
	background: #b58a38;
}

.herbskraft-product-tabs .panel,
.single-product .wc-block-components-product-details {
	background: #fffdf9;
	border: 1px solid rgba(184, 146, 42, .16);
	border-radius: 22px;
	box-shadow: 0 12px 28px rgba(61, 45, 20, .05);
}

.single-product .wc-block-components-product-details {
	padding: 24px;
}

@media (max-width: 640px) {
	.herbskraft-product-hero-block--editorial {
		padding: 22px 20px;
	}

	.herbskraft-product-hero-block--editorial .wp-block-columns {
		gap: 20px;
	}

	.herbskraft-product-hero-card {
		padding: 20px;
	}
}

/* ---- Classic single product: gallery-safe editorial layout ------------ */
.single-product .herbskraft-product-page {
	width: min(100% - 32px, 1240px);
	margin: clamp(24px, 4vw, 64px) auto;
	padding: 0;
}

.single-product .herbskraft-product-hero {
	margin-bottom: clamp(20px, 3vw, 34px);
	padding: clamp(28px, 5vw, 58px);
	border-radius: 30px;
}

.single-product .herbskraft-product-main {
	gap: clamp(20px, 3vw, 42px);
}

/* WooCommerce initially hides this gallery until wc-single-product runs.
 * Keep it visible as a reliable fallback when a cache/plugin delays JS. */
.single-product .herbskraft-product-gallery .woocommerce-product-gallery {
	float: none;
	width: 100%;
	margin: 0;
	opacity: 1 !important;
}

.single-product .herbskraft-product-gallery .woocommerce-product-gallery__wrapper {
	overflow: hidden;
	border-radius: 18px;
	background: #f6ecd7;
}

.single-product .herbskraft-product-gallery .woocommerce-product-gallery__image a,
.single-product .herbskraft-product-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
}

.single-product .herbskraft-product-gallery .woocommerce-product-gallery__image img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .45s ease;
}

.single-product .herbskraft-product-gallery .woocommerce-product-gallery__image a:hover img {
	transform: scale(1.035);
}

.single-product .herbskraft-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	gap: 10px;
	padding: 0;
	list-style: none;
}

.single-product .herbskraft-product-gallery .flex-control-thumbs li {
	width: auto;
	float: none;
	border: 1px solid transparent;
	border-radius: 14px;
	overflow: hidden;
	background: #f6ecd7;
	transition: border-color .2s ease, transform .2s ease;
}

.single-product .herbskraft-product-gallery .flex-control-thumbs li:hover {
	border-color: #a87523;
	transform: translateY(-2px);
}

.single-product .herbskraft-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	opacity: .72;
}

.single-product .herbskraft-product-gallery .flex-control-thumbs .flex-active {
	border-color: #b8872c;
	opacity: 1;
}

.single-product .herbskraft-product-summary__card {
	border-top: 4px solid #b68a31;
}

.single-product .herbskraft-product-summary__card .price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.single-product .herbskraft-product-summary__card .price del {
	font-family: var(--hk-sans, sans-serif);
	font-size: .95rem;
	font-weight: 500;
	color: #8c7a61;
}

.single-product .herbskraft-product-summary__card .price ins {
	text-decoration: none;
}

.single-product .herbskraft-product-summary__card .woocommerce-product-details__short-description {
	margin: 0 0 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(140, 105, 43, .18);
	color: #5c4630;
	line-height: 1.7;
}

.single-product .herbskraft-product-summary__card form.cart .quantity {
	margin: 0 10px 10px 0;
}

.single-product .herbskraft-product-summary__card .variations select {
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(125, 92, 35, .28);
	border-radius: 10px;
	background: #fffdf7;
}

.single-product .herbskraft-product-tabs {
	margin-top: 38px;
}

@media (max-width: 640px) {
	.single-product .herbskraft-product-page {
		width: min(100% - 24px, 1240px);
	}

	.single-product .herbskraft-product-hero {
		padding: 28px 22px;
		border-radius: 24px;
	}
}

/* ---- Premium ecommerce product layout -------------------------------- */
.single-product .hk-product {
	color: #332719;
}

.single-product .hk-product-breadcrumb {
	margin-bottom: 22px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(101, 76, 37, .15);
}

.single-product .hk-product-breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #87683a;
}

.single-product .hk-product-breadcrumb .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.single-product .hk-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(340px, .86fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
	margin: 0;
}

.single-product .hk-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(16px, 2.3vw, 24px);
	border: 1px solid rgba(150, 113, 44, .18);
	border-radius: 28px;
	background: linear-gradient(145deg, #fffef8 0%, #f4e6c8 100%);
	box-shadow: 0 24px 60px rgba(64, 43, 15, .08);
}

.single-product .hk-product-gallery__frame {
	position: relative;
	padding: 14px;
	border-radius: 22px;
	background: linear-gradient(145deg, #fbf2e0 0%, #f2dfbf 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

.single-product .hk-product-gallery__badge {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.single-product .hk-product-gallery__badge span {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(150, 113, 44, .16);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #8c6a2d;
}

.single-product .hk-product-gallery__notes {
	padding: 18px 20px;
	border: 1px solid rgba(150, 113, 44, .16);
	border-radius: 18px;
	background: rgba(255, 255, 255, .72);
}

.single-product .hk-product-gallery__notes strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: 1.05rem;
	color: #3d2c18;
}

.single-product .hk-product-gallery__notes p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #6a5034;
}

.single-product .hk-product-purchase .herbskraft-product-summary__card {
	position: sticky;
	top: 32px;
	padding: clamp(24px, 3vw, 42px);
	border: 1px solid rgba(150, 113, 44, .18);
	border-radius: 28px;
	border-top: 4px solid #b68a31;
	box-shadow: 0 20px 50px rgba(64, 43, 15, .08);
	background: linear-gradient(145deg, #fffdf8 0%, #f6e8ca 100%);
}

.single-product .hk-product-category,
.single-product .hk-product-purchase-label {
	margin: 0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #9a742f;
}

.single-product .hk-product-title {
	margin: 10px 0 14px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: clamp(2.25rem, 4.2vw, 4rem);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.035em;
	color: #2d2216;
}

.single-product .hk-product-rating-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.single-product .hk-product-rating-row .woocommerce-product-rating {
	margin: 0;
	font-size: 13px;
}

.single-product .hk-product-rating-row .star-rating {
	color: #b8872c;
}

.single-product .hk-product-stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #517043;
}

.single-product .hk-product-stock > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px rgba(81, 112, 67, .12);
}

.single-product .hk-product-stock.is-out-of-stock {
	color: #9d4d42;
}

.single-product .hk-product-price {
	padding: 20px 0 22px;
	border-top: 1px solid rgba(101, 76, 37, .16);
	border-bottom: 1px solid rgba(101, 76, 37, .16);
}

.single-product .hk-product-price .price {
	margin: 0;
	font-size: clamp(2rem, 3vw, 2.75rem);
	color: #64431a;
}

.single-product .hk-product-description {
	margin-top: 22px;
}

.single-product .hk-product-description .woocommerce-product-details__short-description {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.75;
}

.single-product .hk-product-purchase-form {
	margin-top: 26px;
	padding: 22px;
	border: 1px solid rgba(150, 113, 44, .18);
	border-radius: 16px;
	background: linear-gradient(145deg, #fffdf9, #f4ead8);
}

.single-product .hk-product-purchase-form .hk-product-purchase-label {
	margin-bottom: 14px;
}

.single-product .hk-product-purchase-form form.cart {
	margin: 0;
	padding: 0;
	border: 0;
}

.single-product .hk-product-purchase-form .single_add_to_cart_button {
	min-height: 54px;
	letter-spacing: .12em;
	font-size: 11px;
}

.single-product .hk-product-delivery-note {
	display: flex;
	gap: 12px;
	margin: 20px 0;
	padding: 0 2px;
	font-size: 13px;
	line-height: 1.55;
	color: #6a5435;
}

.single-product .hk-product-delivery-note > span {
	color: #b8872c;
	font-size: 18px;
}

.single-product .hk-product-delivery-note p {
	margin: 0;
}

.single-product .hk-product-purchase .product_meta {
	font-size: 12px;
}

.single-product .hk-product-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: clamp(32px, 5vw, 64px) 0 0;
	border: 1px solid rgba(150, 113, 44, .16);
	border-radius: 18px;
	overflow: hidden;
	background: #fffdf9;
}

.single-product .hk-product-service {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 24px;
	border-right: 1px solid rgba(150, 113, 44, .16);
}

.single-product .hk-product-service:last-child {
	border-right: 0;
}

.single-product .hk-product-service-icon {
	display: grid;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: #f1e1be;
	color: #835d1e;
	font-weight: 700;
}

.single-product .hk-product-service strong,
.single-product .hk-product-service span {
	display: block;
}

.single-product .hk-product-service strong {
	margin: 1px 0 5px;
	font-family: var(--hk-display, Georgia, serif);
	font-size: 1.1rem;
	color: #392a18;
}

.single-product .hk-product-service div > span {
	font-size: 12px;
	line-height: 1.55;
	color: #756144;
}

.single-product .hk-product-details {
	margin-top: clamp(38px, 6vw, 72px);
}

@media (max-width: 900px) {
	.single-product .hk-product-layout {
		grid-template-columns: 1fr;
	}

	.single-product .hk-product-purchase .herbskraft-product-summary__card {
		position: static;
		padding: 10px 0 0;
	}

	.single-product .hk-product-service-grid {
		grid-template-columns: 1fr;
	}

	.single-product .hk-product-service {
		border-right: 0;
		border-bottom: 1px solid rgba(150, 113, 44, .16);
	}

	.single-product .hk-product-service:last-child {
		border-bottom: 0;
	}
}

.hk-shop-sidebar {
	border: 1px solid rgba(184, 146, 42, 0.18);
	background: linear-gradient(180deg, #fffdfa 0%, #f7efdf 100%);
	padding: 24px 22px;
	position: sticky;
	top: 96px;
}

.hk-filter-group {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(184, 146, 42, 0.18);
}

.hk-filter-group:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.hk-filter-title {
	font-family: var(--hk-display);
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--hk-ink-2);
	margin: 0 0 12px;
}

.hk-filter-option {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--hk-sans);
	font-size: 13px;
	color: #4a3a20;
	padding: 6px 0;
	cursor: pointer;
}

.hk-filter-option input {
	accent-color: var(--hk-gold);
	width: 15px;
	height: 15px;
}

.hk-filter-count {
	margin-left: auto;
	color: #a48d61;
	font-size: 11.5px;
}
w
.hk-price-range {
	width: 100%;
	accent-color: var(--hk-gold);
}

.hk-price-values {
	display: flex;
	justify-content: space-between;
	font-family: var(--hk-sans);
	font-size: 12px;
	color: #6b5636;
	margin-top: 6px;
}

.hk-filter-clear {
	display: block;
	text-align: center;
	font-family: var(--hk-sans);
	font-size: 12px;
	letter-spacing: 0.3px;
	color: #8a7350;
	text-decoration: underline;
	margin-top: 4px;
}

.hk-mobile-filter-toggle {
	display: none;
}

@media (max-width: 900px) {
	.hk-shop-layout {
		grid-template-columns: 1fr;
	}

	.hk-shop-sidebar {
		position: static;
		display: none;
	}

	.hk-shop-sidebar.is-open {
		display: block;
	}

	.hk-mobile-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-family: var(--hk-display);
		font-size: 12px;
		letter-spacing: 1px;
		text-transform: uppercase;
		background: var(--hk-ink-2);
		color: var(--hk-gold-3);
		border: 1px solid var(--hk-border);
		padding: 12px 18px;
		margin-bottom: 18px;
	}
}
