/* =====================================================================
   Honey Run Products — theme.css
   Ported 1:1 from the original design source (base styles + component markup).
   ===================================================================== */

/* ---------------- ROOT TOKENS (fallback; live values injected inline) ---------------- */
:root {
	--background: #f5f1ea;
	--foreground: #1e1a15;
	--primary: #d39222;
	--primary-foreground: #191410;
	--honey-gold: #d39222;
	--honey-amber: #e99220;
	--honey-ivory: #f9f6f1;
	--honey-ink: #130f0c;
	--honey-noir: #1d1916;

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--shadow-elevated: 0 20px 50px -12px rgba(15, 10, 5, 0.32);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height-header: 56px;
	--logo-height-footer: 80px;
	--header-height: 64px;
	--wp-admin-bar-height: 0px;

	--btn-radius: 0px;
	--btn-height: 52px;
	--btn-padding: 1rem 1.75rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.24em;
	--btn-text-transform: uppercase;
	--color-button-text: var(--primary-foreground);
	--card-radius: 0px;
}

@media (min-width: 768px) {
	:root { --header-height: 84px; }
}
body.admin-bar {
	--wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar { --wp-admin-bar-height: 46px; }
}

#top,
#categories,
#contact,
#shop {
	scroll-margin-top: calc(var(--header-height) + var(--wp-admin-bar-height) + 0.5rem);
}

/* ---------------- RESET / BASE ---------------- */
* { box-sizing: border-box; }
html {
	margin-top: 0 !important;
	max-width: 100%;
	overflow-x: hidden;
}
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	padding-top: calc(var(--header-height) + var(--wp-admin-bar-height));
	background: var(--honey-ivory);
	color: var(--honey-ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-emblem-img):not(.product-card-img):not(.site-logo-img) {
	height: auto;
}
.cover-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.product-card-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: contain;
}
a[href],
button:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"]:not(:disabled),
select,
label[for],
[role="button"],
[role="tab"],
[role="link"],
.theme-nav-link,
.theme-nav-list a,
.category-filter-btn,
.cart-toggle-btn,
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-link,
.header-contact-btn,
.theme-card-link,
.theme-card-image-link,
.theme-card-view-link,
.theme-card-add-btn,
.theme-card-readmore,
.theme-product-thumb,
.contact-card,
.theme-qty-minus,
.theme-qty-plus,
.theme-cart-item-remove,
.theme-cart-empty-btn,
.theme-cart-drawer-close,
.back-to-shop-link,
.footer-nav-link,
.footer-contact-link,
.site-brand,
.add_to_cart_button:not(.disabled):not(.theme-btn-loading),
.single_add_to_cart_button:not(.disabled):not(.theme-btn-loading) {
	cursor: pointer;
}
button:disabled,
input:disabled,
.add_to_cart_button.disabled,
.single_add_to_cart_button.disabled,
.ajax_add_to_cart.theme-btn-loading {
	cursor: not-allowed;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	letter-spacing: -0.005em;
	font-weight: 500;
	margin: 0;
	line-height: 1.1;
}
p { margin: 0; }
input, textarea, select { font-family: inherit; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.625rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--honey-amber);
}
.eyebrow-rule { width: 2rem; height: 1px; background: currentColor; }

.gold-rule {
	height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--honey-gold) 70%, transparent), transparent);
	width: 6rem;
}

.ornament {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	color: var(--honey-gold);
}
.ornament::before, .ornament::after {
	content: '';
	width: 32px;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

/* Decorative line-diamond-line ornament used before section headings
   (matches the Ornament component in the original design). */
.section-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	color: var(--honey-gold);
	margin-bottom: 1.5rem;
}
.section-ornament-line { height: 1px; width: 2.5rem; background: currentColor; opacity: 0.7; }
.section-ornament svg { opacity: 0.9; }

.section-heading-wrap { max-width: 42rem; margin: 0 auto; text-align: center; }
.section-heading { line-height: 1.05; color: var(--honey-ink); }
.section-heading em { font-style: italic; color: var(--honey-gold); font-family: var(--font-display); }
.categories-heading,
.contact-heading,
.startsmall-heading {
	color: var(--honey-ivory);
}
.commitment-heading {
	color: var(--honey-ink);
}

/* ---------------- ANIMATIONS ---------------- */
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.7s var(--transition-smooth) forwards; }
.animate-marquee { animation: marquee 40s linear infinite; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.animate-marquee { animation: none; }
}

.animate-badge-pop { animation: badgePop 0.25s var(--transition-smooth) ease-out; }
@keyframes badgePop {
	0% { transform: scale(0.7); opacity: 0; }
	60% { transform: scale(1.15); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

/* Scroll reveal */
.reveal, .reveal-item {
	opacity: 0;
	will-change: transform, opacity, filter;
	transition: opacity 720ms var(--transition-smooth), transform 820ms var(--transition-smooth), filter 720ms var(--transition-smooth);
}
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-item { transform: translateY(28px); }
.reveal.is-visible, .reveal-item.is-visible {
	opacity: 1;
	transform: none;
	filter: none;
}
/* Never hide content inside the Customizer preview iframe (Section 2.1 / 4.2) */
body.is-customizer .reveal,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

.lift-hover { transition: transform 320ms var(--transition-smooth), box-shadow 320ms var(--transition-smooth), border-color 320ms var(--transition-smooth); }
.lift-hover:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(0,0,0,0.55); }

.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, var(--honey-gold) 18%, transparent) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 700ms var(--transition-smooth);
	pointer-events: none;
	z-index: 1;
}
.shine:hover::after { transform: translateX(120%); }

.float-slow { animation: floatSlow 8s ease-in-out infinite; }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
	.animate-badge-pop, .float-slow { animation: none; }
	.reveal, .reveal-item { opacity: 1; transform: none; filter: none; transition: none; }
	.lift-hover:hover { transform: none; }
	.shine::after { display: none; }
}

/* ---------------- BUTTONS ---------------- */
.btn-gold {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--honey-gold); color: var(--honey-ink);
	padding: 1rem 1.5rem; min-height: 52px;
	font-size: 0.75rem; font-family: var(--font-body); font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.26em;
	border: none; transition: background-color 0.2s ease;
}
.btn-gold:hover { background: var(--honey-amber); }
.btn-outline-gold {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: transparent; color: color-mix(in srgb, var(--honey-ivory) 80%, transparent);
	border: 1px solid color-mix(in srgb, var(--honey-gold) 40%, transparent);
	padding: 0.75rem 1rem; min-height: 44px;
	font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.26em;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-outline-gold:hover { border-color: var(--honey-gold); color: var(--honey-gold); }

/* ================= HEADER ================= */
.site-header {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0; right: 0; z-index: 50;
	background: var(--honey-ink);
	border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent);
	color: var(--honey-ivory);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--honey-ink) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: color-mix(in srgb, var(--honey-gold) 25%, transparent);
	box-shadow: 0 6px 24px -10px rgba(0,0,0,0.7);
}
.site-nav {
	display: flex; align-items: center; justify-content: space-between;
	height: 64px; gap: 1rem;
}
@media (min-width: 768px) { .site-nav { height: 84px; } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
/* h-11 / md:h-14 — must beat WooCommerce `.woocommerce-page img { height: auto }` on single product */
.site-header .site-brand .site-logo-img.site-logo-img--header {
	height: 44px !important;
	max-height: 44px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain;
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.site-header .site-brand .site-logo-img.site-logo-img--header {
		height: 56px !important;
		max-height: 56px !important;
	}
}
.site-brand-text { display: none; flex-direction: column; line-height: 1; min-width: 0; }
@media (min-width: 768px) { .site-brand-text { display: flex; } }
.site-brand-line1 { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; letter-spacing: 0.02em; color: var(--honey-ivory); }
.site-brand-line2 { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--honey-gold); font-weight: 600; margin-top: 0.375rem; }

.theme-nav-list-wrap { display: none; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .theme-nav-list-wrap { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; }
.theme-nav-link, .theme-nav-list a {
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
	color: color-mix(in srgb, var(--honey-ivory) 90%, transparent);
	transition: color 0.2s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--honey-gold); }

.site-header-actions { display: flex; align-items: center; gap: 0.75rem; padding-right: 0.5rem; }
@media (min-width: 768px) { .site-header-actions { gap: 1rem; padding-right: 0.75rem; } }

.header-contact-btn {
	display: none; align-items: center; gap: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--honey-gold) 60%, transparent);
	color: var(--honey-gold); padding: 0.625rem 1.25rem;
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.26em;
	transition: background-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 1024px) { .header-contact-btn { display: inline-flex; } }
.header-contact-btn:hover { background: var(--honey-gold); color: var(--honey-ink); }

.cart-toggle-btn {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; min-width: 44px; min-height: 44px;
	background: var(--honey-ink); border: 1px solid color-mix(in srgb, var(--honey-gold) 60%, transparent);
	color: var(--honey-ivory);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cart-toggle-btn:hover { background: var(--honey-gold); color: var(--honey-ink); border-color: var(--honey-gold); }
.theme-cart-count {
	position: absolute; top: -8px; right: -8px;
	min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 700; line-height: 1;
	background: var(--honey-gold); color: var(--honey-ink);
	border-radius: 999px; border: 2px solid var(--honey-ink);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { display: flex; padding: 0.5rem; color: var(--honey-ivory); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle:hover { color: var(--honey-gold); }

/* Mobile menu overlay */
.mobile-menu-overlay {
	position: fixed;
	top: calc(var(--wp-admin-bar-height) + var(--header-height));
	left: 0; right: 0; bottom: 0;
	z-index: 60;
}
.mobile-menu-overlay[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu-overlay { display: none !important; } }
.mobile-menu-backdrop {
	position: absolute; inset: 0; background: color-mix(in srgb, var(--honey-ink) 70%, transparent);
	backdrop-filter: blur(4px);
	animation: fadeIn 0.3s var(--transition-smooth) forwards;
}
.mobile-menu-panel {
	position: absolute; right: 0; top: 0; height: 100%; width: 100%; max-width: 24rem;
	background: var(--honey-ink); color: var(--honey-ivory);
	border-left: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	animation: slideUp 0.3s var(--transition-smooth) forwards;
}
.mobile-menu-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 1.5rem; height: 64px;
	border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent);
}
.mobile-menu-title { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; }
.mobile-menu-close { padding: 0.5rem; color: var(--honey-ivory); }
.mobile-menu-close:hover { color: var(--honey-gold); }
.mobile-menu-nav { flex: 1; overflow: auto; padding: 2rem 1.5rem; }
.mobile-menu-list { display: flex; flex-direction: column; }
.mobile-menu-list li { border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent); }
.mobile-menu-link {
	display: flex; align-items: center; justify-content: space-between;
	width: 100%; text-align: left; padding: 1.25rem 0;
	font-family: var(--font-display); font-size: 1.5rem; color: var(--honey-ivory);
	transition: color 0.2s ease;
}
.mobile-menu-link:hover { color: var(--honey-gold); }
.mobile-menu-link span:last-child { color: var(--honey-gold); font-size: 0.875rem; letter-spacing: 0.3em; }
.mobile-menu-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent); }
.mobile-menu-footer .ornament { font-size: 0.625rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--honey-gold); justify-content: center; }
.mobile-menu-footer p { font-size: 0.75rem; color: color-mix(in srgb, var(--honey-ivory) 70%, transparent); text-align: center; margin-top: 0.75rem; }

/* ================= HERO ================= */
.hero-section {
	position: relative; background: var(--honey-ink); color: var(--honey-ivory);
	overflow: hidden;
	min-height: calc(100svh - var(--header-height) - var(--wp-admin-bar-height));
}
@media (min-width: 768px) { .hero-section { min-height: calc(100svh - var(--header-height) - var(--wp-admin-bar-height)); } }
.hero-bg-decor {
	position: absolute; inset: 0; opacity: 0.9;
	background:
		radial-gradient(ellipse at 75% 30%, color-mix(in srgb, var(--honey-amber) 18%, transparent) 0%, transparent 55%),
		radial-gradient(ellipse at 15% 80%, color-mix(in srgb, var(--honey-gold) 10%, transparent) 0%, transparent 60%);
}
.hero-rule { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--honey-gold) 10%, transparent); display: none; }
.hero-rule--left { left: 2rem; }
.hero-rule--right { right: 2rem; }
@media (min-width: 768px) { .hero-rule { display: block; } }

.hero-inner {
	position: relative; display: flex; flex-direction: column;
	min-height: calc(100svh - var(--header-height) - var(--wp-admin-bar-height));
}
@media (min-width: 768px) { .hero-inner { min-height: calc(100svh - var(--header-height) - var(--wp-admin-bar-height)); } }

.hero-grid {
	flex: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	align-items: center; padding: 3.5rem 0 5rem;
}
@media (min-width: 768px) { .hero-grid { padding: 5rem 0; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }

.hero-copy { max-width: 36rem; }
@media (min-width: 1024px) { .hero-copy { grid-column: span 6; order: 1; } }
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-title {
	font-size: 3rem; line-height: 0.95; color: var(--honey-ivory);
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
.hero-title em { font-style: italic; color: var(--honey-gold); font-family: var(--font-display); }
.hero-gold-rule { width: 6rem; margin: 1.75rem 0; }
.hero-paragraph { font-size: 1.125rem; color: color-mix(in srgb, var(--honey-ivory) 90%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .hero-paragraph { font-size: 1.25rem; } }
.hero-quote { margin-top: 1.25rem; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: color-mix(in srgb, var(--honey-gold) 95%, transparent); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 2rem; }
.hero-btn-primary { box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); }
.hero-btn-secondary {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: color-mix(in srgb, var(--honey-ivory) 90%, transparent);
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em;
	border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 50%, transparent);
	padding-bottom: 0.25rem; transition: color 0.2s ease;
}
.hero-btn-secondary:hover { color: var(--honey-gold); }

.hero-emblem { display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-emblem { grid-column: span 6; order: 2; } }
.hero-emblem-inner { position: relative; }
.hero-emblem-glow {
	position: absolute; inset: -4rem; border-radius: 999px; filter: blur(48px);
	background: radial-gradient(circle, color-mix(in srgb, var(--honey-gold) 28%, transparent), transparent 70%);
}
.hero-emblem-img { position: relative; width: 260px; height: auto; object-fit: contain; }
@media (min-width: 640px) { .hero-emblem-img { width: 340px; } }
@media (min-width: 768px) { .hero-emblem-img { width: 420px; } }
@media (min-width: 1024px) { .hero-emblem-img { width: 500px; } }

.marquee-wrap { position: relative; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 30%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 30%, transparent); background: color-mix(in srgb, var(--honey-ink) 60%, transparent); }
.marquee-viewport { overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; white-space: nowrap; }
.marquee-item { display: inline-flex; align-items: center; padding: 0 1.5rem; flex-shrink: 0; }
.marquee-term { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase; color: color-mix(in srgb, var(--honey-ivory) 90%, transparent); }
@media (min-width: 768px) { .marquee-term { font-size: 0.8125rem; } }
.marquee-dot { margin: 0 2rem; color: var(--honey-gold); }

/* ================= COMMITMENT ================= */
.commitment-section { position: relative; background: var(--honey-ivory); color: var(--honey-ink); padding: 5rem 0; }
@media (min-width: 768px) { .commitment-section { padding: 7rem 0; } }
.commitment-eyebrow { justify-content: center; color: var(--honey-amber); margin-bottom: 1rem; }
.commitment-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .commitment-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .commitment-heading { font-size: 3.75rem; } }

.commitment-grid {
	margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	max-width: 64rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .commitment-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.commitment-step-number { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase; color: var(--honey-amber); }
.commitment-step-title { margin-top: 0.75rem; font-size: 1.5rem; line-height: 1.3; color: var(--honey-ink); }
@media (min-width: 768px) { .commitment-step-title { font-size: 1.875rem; } }
.commitment-step-body { font-size: 0.9375rem; line-height: 1.7; color: color-mix(in srgb, var(--honey-ink) 85%, transparent); }
@media (min-width: 768px) { .commitment-step-body { font-size: 1rem; } }
@media (min-width: 768px) {
	.commitment-step--bordered { border-left: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent); padding-left: 2.5rem; }
}

/* ================= START SMALL ================= */
.startsmall-section { position: relative; background: var(--honey-ink); color: var(--honey-ivory); padding: 4rem 0; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent); }
@media (min-width: 768px) { .startsmall-section { padding: 6rem 0; } }
.startsmall-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.startsmall-heading { font-size: 1.875rem; line-height: 1.05; color: var(--honey-ivory); }
@media (min-width: 768px) { .startsmall-heading { font-size: 3rem; } }
.startsmall-heading em { font-style: italic; color: var(--honey-gold); }
.startsmall-paragraph { font-size: 1rem; color: color-mix(in srgb, var(--honey-ivory) 85%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .startsmall-paragraph { font-size: 1.125rem; } }

/* ================= CATEGORIES / SHOP ================= */
.categories-section { position: relative; background: var(--honey-noir); color: var(--honey-ivory); padding: 5rem 0; overflow: hidden; }
@media (min-width: 768px) { .categories-section { padding: 7rem 0; } }
.categories-bg-decor {
	position: absolute; inset: 0; opacity: 0.8;
	background:
		radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--honey-gold) 10%, transparent), transparent 55%),
		radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--honey-amber) 8%, transparent), transparent 55%);
}
.categories-inner { position: relative; }
.categories-eyebrow { justify-content: center; margin-bottom: 1rem; }
.categories-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .categories-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .categories-heading { font-size: 3.75rem; } }
.categories-paragraph { color: color-mix(in srgb, var(--honey-ivory) 80%, transparent); font-size: 0.9375rem; line-height: 1.7; }
@media (min-width: 768px) { .categories-paragraph { font-size: 1rem; } }
.categories-content-wrap { max-width: 1240px; margin: 0 auto; }

.category-filter-tabs {
	margin-top: 3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
}
@media (min-width: 768px) { .category-filter-tabs { gap: 0.625rem; } }
.category-filter-btn {
	white-space: nowrap; padding: 0.5rem 0.75rem; min-height: 42px;
	font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--honey-gold) 40%, transparent);
	color: color-mix(in srgb, var(--honey-ivory) 85%, transparent);
	background: transparent; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 768px) { .category-filter-btn { padding: 0.5rem 0.875rem; font-size: 0.8125rem; } }
.category-filter-btn:hover { color: var(--honey-gold); border-color: color-mix(in srgb, var(--honey-gold) 80%, transparent); }
.category-filter-btn.is-active { background: var(--honey-gold); color: var(--honey-ink); border-color: var(--honey-gold); }

.categories-empty-message, .categories-empty-filtered-message, .shop-empty-message {
	margin-top: 2.5rem; text-align: center; color: color-mix(in srgb, var(--honey-ivory) 70%, transparent);
}

/* ================= PRODUCT GRID / CARDS ================= */
.theme-product-grid {
	margin-top: 2.5rem;
	display: grid; grid-template-columns: 1fr; gap: 1.25rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }

.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%;
	background: var(--honey-ink);
	border: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent);
	transition: border-color 0.2s ease;
}
.theme-product-card:hover { border-color: color-mix(in srgb, var(--honey-gold) 60%, transparent); }

.theme-card-link {
	position: absolute; inset: 0; z-index: 2; pointer-events: auto;
}
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-card-view-link,
.theme-product-card .theme-card-add-btn,
.theme-product-card .theme-card-readmore,
.theme-product-card .theme-card-image-link,
.theme-product-card .theme-product-card-title a {
	position: relative; z-index: 3; pointer-events: auto;
}

.theme-product-card__image-wrapper {
	position: relative; display: block; overflow: hidden;
	height: 200px;
	border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent);
	background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--honey-amber) 22%, transparent) 0%, var(--honey-ink) 70%);
}
@media (min-width: 640px) { .theme-product-card__image-wrapper { height: 210px; } }
@media (min-width: 768px) { .theme-product-card__image-wrapper { height: 220px; } }
@media (min-width: 1024px) { .theme-product-card__image-wrapper { height: 230px; } }
.theme-product-card__image-wrapper--square { height: auto; aspect-ratio: 1 / 1; border-bottom: none; }
.theme-product-card__image-wrapper .product-card-img,
.theme-product-card__image-wrapper img.cover-img {
	object-fit: contain;
	padding: 1.25rem;
}
@media (min-width: 768px) {
	.theme-product-card__image-wrapper .product-card-img,
	.theme-product-card__image-wrapper img.cover-img { padding: 1.5rem; }
}
.theme-product-card:hover .theme-product-card__image-wrapper img { filter: brightness(1.06); }

.theme-product-card-badge {
	position: absolute; top: 0.625rem; left: 0.625rem; z-index: 2;
	font-size: 0.5625rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	color: var(--honey-gold); background: color-mix(in srgb, var(--honey-ink) 80%, transparent);
	border: 1px solid color-mix(in srgb, var(--honey-gold) 40%, transparent);
	padding: 0.125rem 0.375rem; max-width: 85%;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.theme-product-card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.875rem; flex: 1; }
@media (min-width: 768px) { .theme-product-card-body { padding: 1rem; } }

.theme-product-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.3; color: var(--honey-ivory); }
@media (min-width: 768px) { .theme-product-card-title { font-size: 1.125rem; } }
.theme-product-card-title--grid {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.6em;
}
.theme-product-card:hover .theme-product-card-title--grid { color: var(--honey-gold); }
.theme-product-card-title a { color: var(--honey-ivory); }
.theme-product-card-title a:hover { color: var(--honey-gold); }

.theme-product-card-cat { font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--honey-gold); }
.theme-product-card-size { font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-ivory) 70%, transparent); }

.theme-product-card-desc-wrap { min-width: 0; }
.theme-product-card-desc {
	font-size: 0.8125rem; line-height: 1.6; color: color-mix(in srgb, var(--honey-ivory) 75%, transparent);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card-desc.is-expanded { -webkit-line-clamp: unset; overflow: visible; }
.theme-card-readmore {
	margin-top: 0.375rem; font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	color: var(--honey-gold); transition: color 0.2s ease;
}
.theme-card-readmore:hover { color: var(--honey-amber); }

.theme-product-card-footer {
	margin-top: auto; padding-top: 0.75rem; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 20%, transparent);
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap;
}
.theme-product-card-price, .theme-product-card-price .woocommerce-Price-amount {
	font-family: var(--font-display); font-size: 1.125rem; color: var(--honey-gold); line-height: 1;
}
.theme-product-card-price del { opacity: 0.5; margin-right: 0.375rem; }
.theme-product-card-actions { display: flex; align-items: center; gap: 0.375rem; }
.theme-card-view-link {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.5rem;
	font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
	color: color-mix(in srgb, var(--honey-ivory) 85%, transparent);
	text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--honey-gold) 40%, transparent);
	text-underline-offset: 4px;
	transition: color 0.2s ease;
}
.theme-card-view-link:hover { color: var(--honey-gold); }

/* Card add-to-cart button (compact variant — Section 11.4.1 card override) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-card-add-btn {
	display: inline-flex !important; align-items: center !important; gap: 0.375rem !important;
	background: var(--honey-gold) !important; color: var(--honey-ink) !important;
	padding: 0.5rem 0.75rem !important; min-height: 40px !important; height: auto !important;
	font-size: 0.625rem !important; letter-spacing: 0.2em !important; text-transform: uppercase !important; font-weight: 700 !important;
	border: none !important; border-radius: 0 !important;
	transition: background-color 0.2s ease !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-card-add-btn:hover {
	background: var(--honey-amber) !important; color: var(--honey-ink) !important;
}

/* ================= STOCK INDICATOR ================= */
.stock-indicator.out-of-stock {
	font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
	color: var(--honey-amber); margin-top: 0.25rem;
}

/* ================= CONTACT ================= */
.contact-section {
	position: relative; isolation: isolate; background: var(--honey-ink); color: var(--honey-ivory);
	padding: 5rem 0; overflow: hidden;
}
@media (min-width: 768px) { .contact-section { padding: 7rem 0; } }
.contact-bg-video, .contact-bg-poster {
	position: absolute; inset: 0; z-index: -20; width: 100%; height: 100%;
	object-fit: cover; pointer-events: none;
}
.contact-bg-poster { background-size: cover; background-position: center; display: none; }
@media (prefers-reduced-motion: reduce) {
	.contact-bg-video { display: none; }
	.contact-bg-poster { display: block; }
}
.contact-overlay {
	position: absolute; inset: 0; z-index: -10;
	background:
		radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--honey-ink) 72%, transparent) 0%, color-mix(in srgb, var(--honey-ink) 88%, transparent) 70%, color-mix(in srgb, var(--honey-ink) 95%, transparent) 100%),
		linear-gradient(180deg, color-mix(in srgb, var(--honey-amber) 10%, transparent), color-mix(in srgb, var(--honey-ink) 40%, transparent));
}
.contact-inner { position: relative; }
.contact-eyebrow { justify-content: center; margin-bottom: 1rem; }
.contact-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.75rem; } }
.contact-paragraph { color: color-mix(in srgb, var(--honey-ivory) 85%, transparent); font-size: 0.9375rem; line-height: 1.7; }
@media (min-width: 768px) { .contact-paragraph { font-size: 1rem; } }

.contact-cards-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .contact-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .contact-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.75rem;
	background: color-mix(in srgb, var(--honey-ink) 70%, transparent);
	backdrop-filter: blur(8px);
	border: 1px solid color-mix(in srgb, var(--honey-gold) 40%, transparent);
	color: var(--honey-ivory);
	padding: 1.5rem; min-height: 176px;
	box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
	transition: border-color 0.2s ease;
}
@media (min-width: 768px) { .contact-card { padding: 2rem; } }
.contact-card:hover { border-color: var(--honey-gold); }
.contact-card--address { grid-column: span 1; }
@media (min-width: 768px) and (max-width: 1023px) { .contact-card--address { grid-column: span 2; } }
.contact-card-label { font-size: 0.75rem; letter-spacing: 0.36em; text-transform: uppercase; color: var(--honey-gold); font-weight: 600; }
.contact-card-value { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.6; transition: color 0.2s ease; word-break: break-word; overflow-wrap: break-word; }
.contact-card:hover .contact-card-value { color: var(--honey-gold); }

/* ================= FOOTER ================= */
.site-footer { background: var(--honey-ink); color: var(--honey-ivory); }
.site-footer-inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-block: 5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.footer-col-brand { }
@media (min-width: 768px) { .footer-col-brand { grid-column: span 5; } }
.footer-brand .site-logo-img--footer { height: var(--logo-height-footer); width: auto !important; object-fit: contain; }
@media (max-width: 767px) { .footer-brand .site-logo-img--footer { height: calc(var(--logo-height-footer) * 0.8); } }
.footer-brand-text .site-brand-line1 { font-size: 1.5rem; }
@media (min-width: 768px) { .footer-brand-text .site-brand-line1 { font-size: 1.875rem; } }
.footer-brand { display: flex; }
.footer-tagline { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--honey-ivory) 80%, transparent); line-height: 1.7; max-width: 24rem; }
@media (min-width: 768px) { .footer-tagline { font-size: 1rem; } }
.footer-col-nav { }
@media (min-width: 768px) { .footer-col-nav { grid-column: span 3; } }
.footer-col-contact { }
@media (min-width: 768px) { .footer-col-contact { grid-column: span 4; } }
.footer-heading { display: block; font-size: 0.75rem; letter-spacing: 0.36em; text-transform: uppercase; color: var(--honey-gold); font-weight: 600; margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a, .footer-nav-link { font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--honey-ivory) 90%, transparent); transition: color 0.2s ease; }
.footer-nav-list a:hover, .footer-nav-link:hover { color: var(--honey-gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--honey-ivory) 90%, transparent); transition: color 0.2s ease; overflow-wrap: anywhere; }
.footer-contact-link:hover { color: var(--honey-gold); }
.footer-address { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--honey-ivory) 90%, transparent); }
.footer-address svg { margin-top: 0.25rem; flex-shrink: 0; }

.footer-bottom {
	margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copyright, .footer-bottom-tagline {
	font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--honey-ivory) 60%, transparent);
}

/* ================= CART DRAWER ================= */
#theme-cart-overlay {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0; right: 0; bottom: 0;
	z-index: 59;
	background: color-mix(in srgb, var(--honey-ink) 70%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0; pointer-events: none; transition: opacity 0.3s var(--transition-smooth);
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

.theme-cart-drawer {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0; right: 0; bottom: 0;
	z-index: 60;
	pointer-events: none;
}
body.cart-open .theme-cart-drawer { pointer-events: auto; }
.theme-cart-drawer-panel {
	position: absolute; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--honey-ink); color: var(--honey-ivory);
	border-left: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open .theme-cart-drawer-panel { transform: translateX(0); }
.theme-cart-drawer.is-updating .theme-cart-drawer-panel { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent); }
.theme-cart-drawer-eyebrow { display: block; font-size: 0.625rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--honey-gold); margin-bottom: 0.25rem; }
.theme-cart-drawer-title { font-size: 1.5rem; line-height: 1; color: var(--honey-ivory); }
.theme-cart-drawer-close { padding: 0.5rem; color: var(--honey-ivory); }
.theme-cart-drawer-close:hover { color: var(--honey-gold); }

.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-drawer-empty-icon { width: 64px; height: 64px; border: 1px solid color-mix(in srgb, var(--honey-gold) 40%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: color-mix(in srgb, var(--honey-gold) 70%, transparent); }
.theme-cart-drawer-empty-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--honey-ivory); }
.theme-cart-drawer-empty-text { font-size: 0.875rem; color: color-mix(in srgb, var(--honey-ivory) 70%, transparent); margin-bottom: 1.5rem; max-width: 20rem; }

.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-item { display: flex; gap: 1rem; background: var(--honey-noir); border: 1px solid color-mix(in srgb, var(--honey-gold) 20%, transparent); padding: 0.75rem; }
.theme-cart-item-thumb {
	width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--honey-gold) 30%, transparent);
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--honey-amber) 28%, transparent) 0%, var(--honey-ink) 75%);
}
.theme-cart-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.375rem; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.theme-cart-item-name { font-family: var(--font-display); font-size: 0.875rem; color: var(--honey-ivory); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
@media (min-width: 768px) { .theme-cart-item-name { font-size: 1rem; } }
.theme-cart-item-price { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--honey-gold); flex-shrink: 0; }
.theme-cart-item-size { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-ivory) 60%, transparent); margin-top: 0.25rem; }
.theme-cart-item-unit { font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-ivory) 50%, transparent); margin-top: 0.125rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-qty-wrapper--sm { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--honey-gold) 30%, transparent); background: var(--honey-ink); }
.theme-qty-btn { padding: 0.375rem 0.5rem; color: var(--honey-ivory); transition: background-color 0.2s ease, color 0.2s ease; display: flex; align-items: center; }
.theme-qty-btn:hover { background: var(--honey-gold); color: var(--honey-ink); }
.theme-qty-value { padding: 0 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; min-width: 28px; text-align: center; color: var(--honey-ivory); }
.theme-cart-item-remove { margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-ivory) 60%, transparent); transition: color 0.2s ease; }
.theme-cart-item-remove:hover { color: var(--honey-gold); }

.theme-cart-drawer-footer { border-top: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--honey-noir) 60%, transparent); }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-subtotal-label { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--honey-ivory) 70%, transparent); }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--honey-gold); }
.theme-cart-checkout-btn { width: 100%; padding: 1rem 1.5rem; min-height: 52px; }
.theme-cart-continue-btn { width: 100%; padding: 0.75rem 1rem; min-height: 44px; }
.theme-cart-empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-ivory) 50%, transparent); transition: color 0.2s ease; padding: 0.5rem 0; }
.theme-cart-empty-btn:hover { color: var(--honey-gold); }

/* Hide WooCommerce's own "View cart" link injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* ================= ADD TO CART BUTTON STYLE OVERRIDE (Section 11.4.1) ================= */
.single-product-main .single_add_to_cart_button.button,
.single-product-main a.single_add_to_cart_button {
	background-color: var(--honey-ink) !important;
	color: var(--honey-ivory) !important;
	border: none !important;
	border-radius: 0 !important;
	min-height: 52px !important;
	padding: 1.25rem 2.25rem !important;
	margin-top: 2rem;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.28em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease !important;
}
.single-product-main .single_add_to_cart_button.button:hover,
.single-product-main a.single_add_to_cart_button:hover {
	background-color: var(--honey-gold) !important;
	color: var(--honey-ink) !important;
	opacity: 1 !important;
}
.single-product-main .single_add_to_cart_button.button:active,
.single-product-main a.single_add_to_cart_button:active {
	transform: scale(0.98);
}
.single-product-main .single_add_to_cart_button.button:disabled,
.single-product-main .single_add_to_cart_button.button.disabled,
.single-product-main a.single_add_to_cart_button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease, background-color 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--primary) !important;
}
.theme-btn-primary {
	width: 100%;
}
@media (min-width: 640px) { .theme-btn-primary { width: auto; } }

/* ================= SINGLE PRODUCT PAGE ================= */
.single-product-main { background: var(--honey-ivory); color: var(--honey-ink); }
.single-product-breadcrumb { background: var(--honey-ink); color: var(--honey-ivory); border-bottom: 1px solid color-mix(in srgb, var(--honey-gold) 20%, transparent); }
.single-product-breadcrumb-inner { padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-ivory) 80%, transparent); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--honey-gold); }
.single-product-breadcrumb-cat { display: none; font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--honey-gold) 80%, transparent); }
@media (min-width: 640px) { .single-product-breadcrumb-cat { display: inline; } }
.single-product-breadcrumb-cat a { color: inherit; }

.single-product-section { padding: 2.5rem 0; }
@media (min-width: 768px) { .single-product-section { padding: 4rem 0; } }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 6; } }
@media (min-width: 1024px) {
	.theme-product-info {
		grid-column: span 6;
		position: sticky;
		top: calc(var(--header-height) + var(--wp-admin-bar-height) + 1.75rem);
	}
}

.theme-product-main-image-wrap.cover-img-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid color-mix(in srgb, var(--honey-gold) 30%, transparent); background: radial-gradient(ellipse at 50% 42%, color-mix(in srgb, var(--honey-amber) 28%, transparent) 0%, var(--honey-ink) 72%); }
.theme-product-main-image-wrap .cover-img { object-fit: contain; padding: 3.5rem; }
@media (min-width: 768px) { .theme-product-main-image-wrap .cover-img { padding: 5rem; } }

.theme-product-thumbnails { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 100%; }
.theme-product-thumb { width: 4.5rem; height: 4.5rem; border: 1px solid color-mix(in srgb, var(--honey-gold) 30%, transparent); overflow: hidden; opacity: 0.7; transition: opacity 0.2s ease, border-color 0.2s ease; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--honey-gold); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-eyebrow { display: inline-block; font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--honey-amber); }
.product-title { margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.05; color: var(--honey-ink); font-weight: 500; }
@media (min-width: 768px) { .product-title { font-size: 3rem; } }
.product-title-rule { width: 4rem; margin: 1.5rem 0; }
.product-price-row { display: flex; align-items: baseline; gap: 0.75rem; }
.product-price-amount,
.product-price-row .woocommerce-Price-amount { font-family: var(--font-display); font-size: 2.25rem; color: var(--honey-ink); line-height: 1; }
.product-price-currency {
	font-size: 0.6875rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 600;
	color: color-mix(in srgb, var(--honey-ink) 60%, transparent);
}
.product-price-row del .woocommerce-Price-amount { font-size: 1.25rem; opacity: 0.5; }

.product-field-label { display: block; font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--honey-ink) 70%, transparent); margin-bottom: 0.75rem; }
.product-size-block { margin-top: 2rem; }
.product-size-badge { display: inline-flex; align-items: center; padding: 0.625rem 1rem; min-height: 44px; border: 1px solid var(--honey-gold); background: color-mix(in srgb, var(--honey-gold) 10%, transparent); color: var(--honey-ink); font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.product-qty-block { margin-top: 2rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--honey-ink) 30%, transparent); background: var(--honey-ivory); }
.theme-qty-minus, .theme-qty-plus {
	padding: 0.75rem 0.875rem; min-height: 44px; min-width: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--honey-ink); color: var(--honey-ivory); }
.theme-qty-minus:active, .theme-qty-plus:active { transform: scale(0.95); }
.theme-qty-value,
.theme-qty-input {
	padding: 0.75rem 1.25rem;
	min-width: 48px;
	text-align: center;
	border: none;
	background: transparent;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	color: inherit;
	line-height: 1;
}
.theme-qty-input { width: auto; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-info-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent); }
.product-details-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 25%, transparent); }
.product-description, .product-short-description {
	font-size: 0.9375rem; line-height: 1.7; color: color-mix(in srgb, var(--honey-ink) 85%, transparent); max-width: 42rem;
	overflow-wrap: break-word; word-break: break-word;
}
@media (min-width: 768px) { .product-description, .product-short-description { font-size: 1rem; } }
.posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ================= RELATED PRODUCTS ================= */
.related-products-section { background: var(--honey-noir); color: var(--honey-ivory); padding: 4rem 0; border-top: 1px solid color-mix(in srgb, var(--honey-gold) 15%, transparent); }
@media (min-width: 768px) { .related-products-section { padding: 6rem 0; } }
.related-products-heading { font-size: 1.875rem; line-height: 1.2; color: var(--honey-ivory); }
@media (min-width: 768px) { .related-products-heading { font-size: 2.25rem; } }
.related-products-heading-wrap { max-width: 42rem; }
.related-products-ornament { margin-bottom: 1.25rem; }
.related-products-gold-rule { width: 4rem; margin: 1.5rem auto; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.theme-product-card--related { flex-direction: column; }
.theme-product-card--related .theme-product-card-body { gap: 0.5rem; }
.theme-product-card--related .theme-product-card-title { font-size: 1.125rem; }

/* ================= SHOP ARCHIVE ================= */
.shop-archive-main { background: var(--honey-ivory); color: var(--honey-ink); padding: 3rem 0 5rem; }
.shop-heading { font-family: var(--font-display); font-weight: inherit; font-size: 2.5rem; margin-bottom: 1.5rem; }

/* ================= GENERIC PAGE / 404 ================= */
.page-main { padding: 3rem 0 5rem; background: var(--honey-ivory); color: var(--honey-ink); }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }
.notfound-main { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--honey-ivory); }
.notfound-inner { text-align: center; padding: 2rem; }
.notfound-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-text { font-size: 1.25rem; color: color-mix(in srgb, var(--honey-ink) 65%, transparent); margin-bottom: 1rem; }
.notfound-link { color: var(--primary); text-decoration: underline; }
.notfound-link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ================= HEADINGS RESET (Tailwind preflight parity, Section 2.2) ================= */
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; }
.hero-title, .commitment-heading, .startsmall-heading, .categories-heading, .contact-heading,
.section-heading, .related-products-heading, .product-title, .theme-cart-drawer-title,
.theme-cart-drawer-empty-title, .commitment-step-title { font-weight: 500; }
.notfound-title { font-family: var(--font-body); font-weight: 700; }

/* No uppercase / display-face leakage onto sentence-case elements (Section 2.2) */
.single_add_to_cart_button, .add_to_cart_button, .product-title, .theme-cart-item-name,
.theme-product-card-title { text-transform: none; }
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* ================= WOOCOMMERCE VARIATIONS TABLE (Section 11.5.1) ================= */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

/* ================= WOOCOMMERCE NOTICES (scoped — Section 14.1) ================= */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: 0; padding: 1rem 1.25rem;
	background: var(--honey-ivory); border-top: 3px solid var(--honey-gold); color: var(--honey-ink);
}

/* ================= CHECKOUT BLOCK OVERRIDE (Section 13) ================= */
body.woocommerce-checkout .site-main { padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title { max-width: 80rem; margin: 2rem auto 1.5rem; padding: 0 1.25rem; }
@media (min-width: 1024px) { body.woocommerce-checkout .page-title { padding: 0 2rem; } }

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
		flex-wrap: unset;
		margin-left: 0;
		margin-right: 0;
	}
}
/* WC defaults: main 65% + sidebar 35% with %-based gutters — reset to full grid cells */
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__main {
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}
/* Order summary + totals — span full sidebar column */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .checkout-order-summary-block-fill-wrapper,
body.woocommerce-checkout .checkout-order-summary-block-fill,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
	width: 100%;
	min-width: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-product-name {
	max-width: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-checkout__sidebar .slot-wrapper .wc-block-components-panel {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary {
	padding: 0 !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border: none;
	border-radius: 0;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); border: 2px solid color-mix(in srgb, var(--honey-ink) 25%, transparent);
	background: var(--honey-ivory); color: var(--honey-ink);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--honey-gold);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--honey-gold) !important; color: var(--honey-ink) !important;
	border-radius: 0 !important; font-family: var(--font-body); font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.2em;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar {
	background-color: var(--honey-ivory);
	border-radius: var(--card-radius);
	padding: 2rem !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0; }

/* ================= THANK YOU PAGE (Section 22.8) ================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 30rem; overflow-wrap: break-word; }

/* ================= RESPONSIVE SAFETY (Section 15.1 flex text) ================= */
.theme-cart-item-row, .product-price-row { min-width: 0; }
