/* ==========================================================================
   CraftedbyChristy theme stylesheet.
   Color tokens are emitted as CSS variables via wp_add_inline_style
   (functions.php) from Customizer values; static defaults below match the
   HSL->hex conversion of the brand's source color tokens (Section 6.1).
   ========================================================================== */

:root {
	--background: #fcf6f3;
	--foreground: #49273b;
	--card: #fbeff6;
	--primary: #ef95c9;
	--primary-foreground: #401c31;
	--secondary: #f9e7f1;
	--muted-foreground: #7b5b6e;
	--accent: #ed6ead;
	--accent-foreground: #fdf9f7;
	--destructive: #d22d2d;
	--border: #edd4e2;
	--butter: #f6eae4;

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Nunito', sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 24px -8px rgba(80, 30, 55, 0.10);
	--shadow-elevated: 0 12px 48px -12px rgba(80, 30, 55, 0.18);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 8rem;
	--header-height-shrunk: 6rem;
	--logo-height: 96px;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.8125rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--btn-icon-padding: 0.6rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; margin: 0; padding: 0; }
body {
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__image):not(.theme-product-main-image img):not(.theme-product-thumb-frame img):not(.site-logo-img):not(.site-logo-img--footer) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-bg-img,
.theme-product-card__image,
.theme-product-main-image img,
.theme-product-thumb-frame img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Pointer cursor on all interactive elements */
[role="button"], label[for], select, summary,
.theme-nav-link, .theme-cart-toggle, .theme-mobile-toggle,
.link-underline, .faq-item__question, .shop-category-btn,
.theme-product-thumb-btn, .theme-attr-pill, .theme-cart-item__remove,
.theme-qty-minus, .theme-qty-plus, .shop-price-toggle,
input[type="submit"], input[type="button"], input[type="reset"],
.woocommerce a.button, .woocommerce button.button {
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- Layout helpers ---- */
.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }
.section-padding { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section-padding { padding-top: 6rem; padding-bottom: 6rem; } }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.italic-light { font-style: italic; font-weight: 300; text-transform: none; }
.accent-text { color: var(--accent); }
.accent-word { color: var(--accent); font-family: var(--font-display); font-size: 1.25rem; margin-right: 0.25rem; }
.muted-word { color: color-mix(in srgb, var(--muted-foreground) 80%, transparent); margin-right: 0.5rem; }
.eyebrow, .eyebrow-script {
	display: block;
	margin-bottom: 0.75rem;
}
.eyebrow { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); }
.eyebrow-script { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--accent); }
.icon { width: 20px; height: 20px; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 44px; height: 44px; }
.icon-xl { width: 48px; height: 48px; }

.text-chunky { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 0.98; text-transform: none; }
.section-heading {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 0.98;
	text-transform: none;
	color: var(--foreground);
}
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ---- Buttons ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: var(--btn-height); padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: opacity 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--foreground); }
.btn-outline-accent {
	background: color-mix(in srgb, var(--background) 95%, transparent);
	border: 1px solid var(--accent);
	color: var(--accent);
	text-transform: var(--btn-text-transform);
}
.btn-outline-accent:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-hero-outline, .single-product .single_add_to_cart_button { text-transform: none; }
.btn-hero-primary {
	height: 2.75rem;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
	text-transform: uppercase;
	background: var(--primary);
	color: var(--primary-foreground);
	box-shadow: var(--shadow-soft);
	font-size: 13px;
	letter-spacing: 0.16em;
	font-family: var(--font-body);
	font-weight: 500;
	border-radius: 999px;
}
.btn-hero-primary:hover { opacity: 0.9; }
.btn-hero-primary:active { transform: scale(0.97); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent; border-bottom: 1px solid transparent;
	color: #fff;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, top 0.2s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--primary) 95%, transparent);
	border-bottom-color: color-mix(in srgb, var(--primary) 30%, transparent);
	color: var(--primary-foreground);
	backdrop-filter: blur(8px);
}
.site-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 1.5rem;
	height: 8rem;
	transition: height 0.3s ease;
}
.site-header.is-shrunk .site-nav { height: 6rem; }
.site-nav__start {
	grid-column: 1;
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}
.site-logo-link { display: flex; align-items: center; gap: 0.75rem; }
.theme-mobile-toggle { display: block; padding: 0.5rem; }
.icon-close { display: none; }
.theme-mobile-toggle .icon-hamburger { display: block; }
body.mobile-menu-open .theme-mobile-toggle .icon-close { display: block; }
body.mobile-menu-open .theme-mobile-toggle .icon-hamburger { display: none; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.site-logo-img {
	height: var(--logo-height);
	max-height: 6rem;
	width: auto !important;
	object-fit: contain;
	transition: height 0.3s ease;
}
.site-header.is-shrunk .site-logo-img {
	height: calc(var(--logo-height) * 2 / 3);
	max-height: 4rem;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.75rem; }

.site-nav__links {
	display: none;
	grid-column: 2;
	justify-self: center;
}
@media (min-width: 1024px) {
	.site-nav__links {
		display: flex;
		align-items: center;
		justify-content: center;
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .theme-nav-list a {
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: inherit;
	background: none;
	border: none;
	padding: 0;
}
.theme-cart-toggle {
	grid-column: 3;
	justify-self: end;
	position: relative;
	padding: 0.5rem;
}
@media (max-width: 1023px) {
	.site-nav {
		grid-template-columns: 1fr auto;
	}
	.site-nav__start { grid-column: 1; }
	.theme-cart-toggle { grid-column: 2; }
}
.theme-cart-toggle:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500;
	background: var(--foreground);
	color: var(--background);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-menu { display: none; }
body.mobile-menu-open .theme-mobile-menu {
	display: block;
	border-top: 1px solid var(--border);
	padding-block: 1rem;
	animation: themeFadeIn 0.6s var(--transition-smooth) forwards;
}
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-mobile-nav-list a,
.theme-mobile-menu .theme-nav-list a,
.theme-mobile-nav-list button {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: inherit;
	letter-spacing: 0.025em;
	text-transform: none;
	padding: 0.5rem 0;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
}
.theme-mobile-nav-list .link-underline::after,
.theme-mobile-menu .theme-nav-list .link-underline::after { display: none; }

@keyframes themeFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section { position: relative; background: var(--background); overflow: hidden; }
.hero-media { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at center, rgba(60,30,50,0.5) 0%, rgba(60,30,50,0.35) 60%, rgba(60,30,50,0.2) 100%);
}
.hero-content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem; }
@media (min-width: 640px) { .hero-content { padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1280px) { .hero-content { padding-left: 7rem; padding-right: 7rem; } }
.hero-content__inner { max-width: 42rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }
.hero-title { font-family: var(--font-display); color: #fff; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.96; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero-title__line { font-weight: 500; }
.hero-title__script { font-style: italic; font-weight: 300; color: var(--butter); }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--butter); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .hero-tagline { font-size: 1.875rem; } }
.hero-description { color: #fff; font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 28rem; }
@media (min-width: 1024px) { .hero-description { font-size: 1.125rem; } }
.hero-cta .btn { padding-left: 2.5rem; padding-right: 2.5rem; height: 2.75rem; }

.hero-marquee { background: var(--accent); color: var(--accent-foreground); overflow: hidden; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.hero-marquee__track { display: flex; width: max-content; white-space: nowrap; padding: 0.75rem 0; animation: theme-marquee 45s linear infinite; }
.hero-marquee__item { display: flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .hero-marquee__item { font-size: 1.875rem; } }
.hero-marquee__dot { color: var(--butter); font-size: 1.5rem; font-style: normal; }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   SCROLL REVEAL (Section 2.1)
   ========================================================================== */
.reveal-item { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.hero-eyebrow.reveal-item, .hero-title.reveal-item, .hero-tagline.reveal-item, .hero-description.reveal-item, .hero-cta.reveal-item {
	transition-duration: 1.1s;
}
.reveal-item[data-reveal-index="0"] { transition-delay: 0s; }
.reveal-item[data-reveal-index="1"] { transition-delay: 0.08s; }
.reveal-item[data-reveal-index="2"] { transition-delay: 0.16s; }
.reveal-item[data-reveal-index="3"] { transition-delay: 0.24s; }
.reveal-item[data-reveal-index="4"] { transition-delay: 0.32s; }
.reveal-item[data-reveal-index="5"] { transition-delay: 0.4s; }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-section { background: var(--background); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (min-width: 1024px) { .about-copy { padding-left: 1rem; } }
.about-image-wrap { position: relative; }
.about-image-frame { overflow: hidden; border-radius: 2rem; position: relative; height: 420px; }
@media (min-width: 768px) { .about-image-frame { height: 560px; } }
.about-badge {
	position: absolute; bottom: 1.5rem; left: 1.5rem;
	background: var(--accent); color: var(--accent-foreground);
	border-radius: 1rem; padding: 1.25rem 1.75rem; box-shadow: var(--shadow-elevated);
	max-width: 16rem; font-family: var(--font-display); font-size: 1.875rem; line-height: 1.15;
}
@media (min-width: 768px) { .about-badge { bottom: 2rem; left: 2rem; padding: 1.5rem 2.25rem; font-size: 2.25rem; } }
.about-section__heading {
	font-size: 2.25rem;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.75rem; } }
.about-section__heading .italic-light { font-weight: 300; }
.about-quote { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); line-height: 1.4; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .about-quote { font-size: 1.25rem; } }
.about-paragraph { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 1rem; }
.about-social { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.about-social__avatars { display: flex; }
.about-social__avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; margin-left: -12px; border: 2px solid var(--background); }
.about-social__avatars .about-social__avatar:first-child { margin-left: 0; }
.about-social__text { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); }

/* ==========================================================================
   VALUES
   ========================================================================== */
.values-section { background: var(--secondary); }
.values-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .values-header { margin-bottom: 4rem; } }
.values-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .values-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .values-section__heading { font-size: 3.75rem; } }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.value-item { text-align: center; padding: 0 1rem; }
.value-item__icon { display: flex; justify-content: center; margin-bottom: 1.25rem; color: var(--accent); }
.value-item__title { font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .value-item__title { font-size: 1.875rem; } }
.value-item__desc { font-size: 0.9375rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; max-width: 20rem; margin: 0 auto; }

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop-section { background: var(--background); }
.shop-header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-controls { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 1024px) { .shop-controls { flex-direction: row; justify-content: center; gap: 1.25rem; } }
.shop-search { position: relative; width: 100%; max-width: 24rem; margin: 0 auto; }
@media (min-width: 1024px) { .shop-search { width: 18rem; margin: 0; } }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.shop-search__input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.5rem; background: transparent; border: none; border-bottom: 1px solid var(--border);
	font-family: var(--font-body);
}
.shop-search__input:focus { outline: none; border-color: var(--foreground); }
.shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.shop-category-btn {
	padding: 0.5rem 1.25rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
	border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--foreground);
	transition: all 0.3s ease;
}
.shop-category-btn:hover { border-color: var(--foreground); }
.shop-category-btn.is-active { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.shop-price-toggle { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); white-space: nowrap; }
.shop-price-toggle:hover { color: var(--foreground); }
.shop-price-toggle__value { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-toggle__chev { transition: transform 0.3s ease; }
.shop-price-toggle.is-open .shop-price-toggle__chev { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 24rem; margin: 0.5rem auto 0; }
.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--border); }
.range-track-fill { background: var(--primary); }
.range-input {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	width: 20px; height: 20px; border-radius: 999px; background: var(--background);
	border: 2px solid var(--primary); cursor: pointer;
}
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--background); border: 2px solid var(--primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted-foreground); }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .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: 3rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.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(--card); border-radius: 1rem; padding: 0.75rem;
	box-shadow: var(--shadow-soft); transition: box-shadow 0.7s ease, transform 0.3s ease;
}
.theme-product-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-product-card > .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 .add_to_cart_button,
.theme-product-card .theme-qty-minus,
.theme-product-card .theme-qty-plus { position: relative; z-index: 3; pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; border-radius: 0.75rem; margin-bottom: 1rem; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__image { transition: transform 1.2s cubic-bezier(0.22,1,0.36,1); }
.theme-badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; padding: 0.25rem 0.75rem; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; border-radius: 999px; }
.theme-badge--sold-out { background: var(--destructive); color: #fff; }
.theme-product-card__info { flex: 1; padding: 0 0.5rem 0.5rem; display: flex; flex-direction: column; }
.theme-product-card__title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__title { font-size: 1rem; line-height: 1.2; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card__price { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; color: var(--accent); white-space: nowrap; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1rem; } }
.theme-product-card__from { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); margin-right: 0.25rem; }
.theme-product-card__meta { margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.shop-empty-message { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }
.shop-view-all { text-align: center; margin-top: 3rem; }
.shop-view-all button { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ==========================================================================
   OWNER
   ========================================================================== */
.owner-section { background: var(--butter); }
.owner-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.owner-copy { order: 2; }
.owner-image-wrap { order: 1; position: relative; }
@media (min-width: 1024px) { .owner-copy { order: 1; } .owner-image-wrap { order: 2; } }
.owner-section__heading { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .owner-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .owner-section__heading { font-size: 3.75rem; } }
.owner-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; }
.owner-cta { margin-top: 2rem; }
.owner-image-frame { overflow: hidden; border-radius: 2rem; position: relative; height: 420px; }
@media (min-width: 768px) { .owner-image-frame { height: 560px; } }
.owner-badge {
	position: absolute; bottom: -1rem; left: -1rem;
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(6px); border-radius: 1rem; padding: 1rem 1.5rem; box-shadow: var(--shadow-elevated); max-width: 14rem;
}
@media (min-width: 768px) { .owner-badge { bottom: 1.5rem; left: 1.5rem; } }
.owner-badge__name { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.owner-badge__title { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 70%, transparent); margin-top: 0.25rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { background: var(--background); }
.faq-container { max-width: 48rem; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 3.75rem; } }
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-list .faq-item:last-child { border-bottom: none; }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.5rem; } }
.faq-item__icon-plus, .faq-item__icon-minus { flex-shrink: 0; color: var(--accent); }
.faq-item__icon-minus { display: none; }
.faq-item.is-open .faq-item__icon-plus { display: none; }
.faq-item.is-open .faq-item__icon-minus { display: block; }
.faq-item__answer { height: 0; overflow: hidden; transition: height 0.3s cubic-bezier(0.22,1,0.36,1); }
.faq-item.is-open .faq-item__answer { height: auto; }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; }
.faq-footer-cta { text-align: center; margin-top: 3rem; }
.faq-footer-cta a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section { background: var(--secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-title { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }
.contact-desc { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; }
.contact-links { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-email-link { display: flex; align-items: center; gap: 1rem; transition: color 0.2s ease; }
.contact-email-link:hover { color: var(--accent); }
.contact-icon-circle {
	width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--border); border-radius: 999px; background: var(--background); transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-email-link:hover .contact-icon-circle { border-color: var(--accent); }
.contact-socials { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.5rem; }
.contact-socials a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form { background: var(--background); padding: 2rem; border-radius: 0.25rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-field label { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.theme-field--underline input, .theme-field--underline textarea {
	width: 100%; padding: 0.75rem 0; background: transparent; border: none; border-bottom: 1px solid var(--border);
	transition: border-color 0.2s ease; resize: none;
}
.theme-field--underline input:focus, .theme-field--underline textarea:focus { outline: none; border-color: var(--accent); }
.theme-form-submit-row { padding-top: 0.5rem; }
.contact-form-status { font-size: 0.875rem; }
.contact-form-status.is-error { color: var(--destructive); }
.contact-form-status.is-success { color: var(--accent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid rgba(255,255,255,0.15); background: var(--foreground); color: var(--background); }
.site-footer__inner { padding-block: 3.5rem 4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.site-logo-img--footer { height: 7rem; }
.site-footer__desc { font-size: 0.875rem; color: color-mix(in srgb, var(--background) 70%, transparent); line-height: 1.7; max-width: 20rem; }
.site-footer__heading { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; color: var(--background); }
.theme-footer-nav-list, .site-footer__col .theme-nav-list {
	display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem;
	margin: 0; padding: 0; list-style: none; width: 100%;
}
.theme-footer-nav-list a, .site-footer__col .theme-nav-list a, .theme-footer-nav-list button {
	text-align: left; font-size: 0.875rem; color: color-mix(in srgb, var(--background) 70%, transparent); text-transform: none; letter-spacing: normal;
}
.theme-footer-nav-list a:hover, .site-footer__col .theme-nav-list a:hover { color: var(--background); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-mail-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--background) 70%, transparent); }
.theme-mail-link:hover { color: var(--background); }
.site-footer__socials { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.site-footer__socials a { color: color-mix(in srgb, var(--background) 70%, transparent); }
.site-footer__socials a:hover { color: var(--background); }
.site-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__bottom p { font-size: 13px; color: color-mix(in srgb, var(--background) 60%, transparent); letter-spacing: 0.02em; }
.site-footer__bottom a { color: var(--background); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: var(--accent); }

/* ==========================================================================
   CART DRAWER + OVERLAY
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--foreground) 20%, transparent);
	z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty .icon-xl { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; width: 80px; height: 96px; background: var(--secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 4px; }
.theme-cart-qty-btn:hover { background: var(--secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--muted-foreground); }
.theme-cart-item__remove:hover { color: var(--foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; font-size: 0.875rem; height: 2.5rem; text-transform: none; letter-spacing: normal; }

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */
#theme-contact-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
body.contact-modal-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 71; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--background); border-radius: 0.75rem; box-shadow: var(--shadow-elevated);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease;
	padding: 1.75rem;
}
body.contact-modal-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-modal__desc { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-modal__email { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal-form .theme-field label { text-transform: none; letter-spacing: normal; font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.theme-modal-form .theme-field input, .theme-modal-form .theme-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; background: var(--background); border: 1px solid var(--border); border-radius: 0.375rem; font-size: 1rem;
}
.theme-modal-form .theme-form-submit-row { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success__icon { width: 56px; height: 56px; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; border-radius: 999px; margin: 0 auto 1rem; }
.theme-modal-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal-success p { color: var(--muted-foreground); font-size: 0.875rem; }

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */
.single-product-main { padding-top: 6rem; background: var(--background); }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.single-product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.single-product-breadcrumb a:hover { color: var(--foreground); }
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-desktop-gallery { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .theme-product-desktop-gallery { display: flex; } }
.theme-product-gallery-frame,
.theme-product-main-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--secondary);
	overflow: hidden;
}
.theme-product-gallery-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.theme-product-mobile-gallery { display: block; }
@media (min-width: 1024px) { .theme-product-mobile-gallery { display: none; } }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
.theme-product-thumb-btn { position: relative; width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--secondary); }
.theme-product-thumb-btn .theme-product-gallery-img { width: 100%; height: 100%; aspect-ratio: auto; }
.theme-product-thumb-btn img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb-btn.is-active img { opacity: 1; }
.theme-product-thumb-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb-btn.is-active::after { opacity: 1; }

.theme-product-info { position: sticky; top: 7rem; }
@media (max-width: 1023px) { .theme-product-info { position: static; } }
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-teaser { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 2rem; }
.theme-stock-status--out { color: var(--destructive); font-weight: 600; margin-bottom: 1.5rem; }

.theme-attr-group { margin-bottom: 1.5rem; }
.theme-variable-product-form { position: relative; }
.theme-attr-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 999px; transition: all 0.2s ease; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.theme-variations-data { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.theme-attr-select-hidden { display: none !important; }

.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; }
.single-product .variations { margin-bottom: 1.5rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.85rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input { width: 3rem; padding: 0.6rem 0.25rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.theme-accordion { border-bottom: 1px solid var(--border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__chev { transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion__chev { transform: rotate(180deg); }
.theme-accordion__panel { padding-bottom: 1.5rem; }
.theme-product-description { font-size: 15px; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { font-size: 15px; color: var(--muted-foreground); display: flex; align-items: flex-start; }
.theme-bullet { width: 4px; height: 4px; background: var(--foreground); border-radius: 999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.related-products-section { padding-top: 5rem; padding-bottom: 5rem; border-top: 1px solid var(--border); }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-heading__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.related-products-heading__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-heading__title { font-size: 2.25rem; } }

.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in { overflow-wrap: break-word; word-break: break-word; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* ==========================================================================
   ADD TO CART BUTTON OVERRIDES (Section 11.4.1 / 11.4.2)
   ========================================================================== */
.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(--color-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;
	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: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button {
	background-color: color-mix(in srgb, var(--background) 95%, transparent) !important;
	border: 1px solid var(--accent) !important;
	color: var(--accent) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single-product .single_add_to_cart_button.button:hover {
	background-color: var(--accent) !important;
	color: var(--accent-foreground) !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(--color-primary) !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; }

.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 .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--secondary); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem 1.5rem;
	font-family: var(--font-body); list-style: none; margin: 0 0 1.5rem;
}

/* ==========================================================================
   SHOP ARCHIVE
   ========================================================================== */
.shop-archive-main { padding-top: 7rem; }
.shop-archive-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 2rem; text-align: center; }
.woocommerce-pagination { text-align: center; margin-top: 3rem; }

/* ==========================================================================
   WOOCOMMERCE CHECKOUT BLOCK (Section 13)
   ========================================================================== */
body.woocommerce-checkout .theme-generic-main {
	padding-top: var(--header-height, 96px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	margin-bottom: 2rem;
}

/* Unconstrain parent wrappers so the checkout block controls width */
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout .theme-generic-main,
body.woocommerce-checkout .container-wide,
body.woocommerce-checkout .entry-content,
.entry-content:has(.wc-block-checkout) #page-content,
.entry-content:has(.wc-block-checkout) .container-wide {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

/* Checkout block container */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	display: block;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Notices — full width, aligned with checkout */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-checkout .wc-block-components-notices {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	/* Default: 2-column grid on sidebar layout */
	body.woocommerce-checkout .wc-block-components-sidebar-layout:has(> .wc-block-checkout__main),
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout:has(> .wc-block-checkout__main),
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout:has(> .wc-block-checkout__main),
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout:has(> .wc-block-checkout__main) {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: 1.5rem;
		align-items: start;
		width: 100%;
		max-width: 80rem;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	/* Notices outside sidebar layout — grid on checkout root, flatten sidebar wrapper */
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-components-notices):has(> .wc-block-components-sidebar-layout),
	.entry-content .wc-block-checkout:has(> .wc-block-components-notices):has(> .wc-block-components-sidebar-layout) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: 1.5rem;
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-components-notices) > .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout:has(> .wc-block-components-notices) > .wc-block-components-sidebar-layout {
		display: contents !important;
	}

	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-checkout__main {
		order: 2;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-checkout__sidebar {
		order: 3;
		min-width: 360px;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__sidebar {
	background-color: var(--secondary);
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	background: var(--background);
	padding: revert;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--accent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none !important;
	font-family: var(--font-body) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notices .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: 0.5rem;
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

/* ==========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-generic-main { padding-top: var(--header-height, 96px); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); padding: 0 0 1rem; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--border); }
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-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }

/* ==========================================================================
   GENERIC PAGE / 404
   ========================================================================== */
.theme-generic-main { padding-top: 7rem; min-height: 60vh; }
.theme-404-main { padding-top: 7rem; min-height: 70vh; display: flex; align-items: center; }
.theme-404-content { text-align: center; }
.theme-404-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 1rem; }
.theme-404-text { color: var(--muted-foreground); margin-bottom: 2rem; }

/* ==========================================================================
   HOMEPAGE: NO TOP PADDING (fixed transparent header over full-bleed hero)
   ========================================================================== */
/* The homepage hero is full-bleed under the fixed transparent header by
   design (.hero-media is 100vh with no top offset). Inner-page templates
   (.theme-generic-main, .theme-404-main, .single-product-main,
   .shop-archive-main) each set their own padding-top above so their
   content is not hidden behind the solid fixed header. */
