/*
 * Pasture & Petal — theme stylesheet.
 * Theme by The Free Website Guys.
 */

:root {
	--color-background: #f4ede1;
	--color-foreground: #3c302a;
	--color-card: #faf6ef;
	--color-primary: #a8462e;
	--color-secondary: #887a3f;
	--color-muted: #eae3d7;
	--color-border: #d9d1c9;
	--color-surface-deep: #3c302a;
	--color-destructive: #9e3d32;
	--color-destructive-foreground: #faf6ef;
	--color-button-text: #fcf8f3;
	--color-muted-foreground: #72615a;

	--logo-height: 73px;

	--font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--shadow-soft: 0 4px 18px -12px rgba(60, 48, 42, 0.16);
	--shadow-elevated: 0 12px 36px -18px rgba(60, 48, 42, 0.24);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0px;
	--btn-height: 52px;
	--btn-padding: 1rem 2rem;
	--btn-font-size: 11px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.24em;
	--btn-text-transform: uppercase;
	--card-radius: 0px;
	--checkout-gap: 2rem;
	--header-height: 82px;
}

/* ---------------------------------------------------------------------
 * BASE / RESET
 * --------------------------------------------------------------------- */

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	margin: 0;
	text-transform: none;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-gallery-main-img):not(.theme-gallery-thumb-img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-gallery-main-img, .theme-gallery-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
.theme-product-card__image-inner img,
.theme-gallery-main-frame img,
.theme-cart-item-thumb .cover-img {
	height: 100% !important;
	max-height: none;
}
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) {
	.container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-primary);
}

.laser-divider {
	display: block;
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.btn-primary-workshop, .btn-hero-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--color-primary);
	color: var(--color-button-text);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-weight: var(--btn-font-weight);
	transition: background-color 0.3s, color 0.3s;
}
.btn-primary-workshop:hover, .btn-hero-primary:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-primary-workshop[disabled], .btn-hero-primary[disabled] { opacity: 0.6; cursor: not-allowed; }

.btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 1px solid rgba(250, 246, 239, 0.4);
	color: #faf6ef;
	padding: 1rem 2rem;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 600;
	transition: background-color 0.3s, color 0.3s;
}
.btn-hero-outline:hover { background: #faf6ef; color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * ANIMATIONS
 * --------------------------------------------------------------------- */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kenBurns { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.animate-fade-in { animation: fadeIn 0.5s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-ken-burns { animation: kenBurns 24s ease-in-out infinite; }

.reveal-item {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-item.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-item.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-item.reveal-delay-4 { transition-delay: 0.28s; }
.reveal-item.reveal-delay-5 { transition-delay: 0.35s; }
.reveal-item.reveal-delay-6 { transition-delay: 0.42s; }
.reveal-item.reveal-delay-7 { transition-delay: 0.49s; }

body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------------------------------------------------------------------
 * HEADER
 * --------------------------------------------------------------------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 50;
	background: rgba(244, 237, 225, 0.85);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.menu-open {
	background: rgba(244, 237, 225, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: var(--color-border);
}
.site-header .theme-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 74px;
}
@media (min-width: 768px) { .site-header .theme-nav-inner { height: 82px; } }

.site-logo-link { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-frame {
	display: flex;
	align-items: center;
	height: var(--logo-height-mobile);
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.site-logo-frame { height: var(--logo-height); }
}
.site-logo-frame--footer { height: var(--logo-height); }
.site-logo-img {
	height: 100% !important;
	width: auto !important;
	max-height: 100%;
	display: block;
	object-fit: contain;
	transition: opacity 0.3s;
}
.site-logo-link:hover .site-logo-img { opacity: 0.8; }
.site-identity-text {
	line-height: var(--logo-height-mobile);
	font-family: var(--font-display);
	font-size: 1.25rem;
	display: block;
}
@media (min-width: 768px) {
	.site-identity-text { line-height: var(--logo-height); }
}
.site-brand-name {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
	color: var(--color-foreground);
	display: block;
}
@media (min-width: 768px) {
	.site-logo-link { gap: 0.75rem; }
}

.theme-nav-list {
	display: none;
	align-items: center;
	gap: 2rem;
}
@media (min-width: 1024px) { .theme-nav-list { display: flex; } }
.theme-nav-link {
	position: relative;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(60, 48, 42, 0.85);
	transition: color 0.3s;
	cursor: pointer;
	background: none;
	border: none;
}
.theme-nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s;
}
.theme-nav-link:hover, .theme-nav-link.is-active { color: var(--color-primary); }
.theme-nav-link:hover::after, .theme-nav-link.is-active::after { transform: scaleX(1); }

.theme-header-icons { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) {
	.theme-header-icons { gap: 0.5rem; margin-left: 0.5rem; padding-left: 1rem; border-left: 1px solid rgba(217, 209, 201, 0.7); }
}
.theme-cart-open-btn { position: relative; padding: 0.5rem; color: rgba(60,48,42,0.8); }
.theme-cart-open-btn:hover { color: var(--color-primary); }
.theme-cart-open-btn svg { width: 20px; height: 20px; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 600;
	background: var(--color-primary); color: #fff;
	border-radius: 999px;
	box-shadow: 0 0 0 2px var(--color-background);
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: block; padding: 0.5rem; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle svg { width: 20px; height: 20px; }

.theme-mobile-nav {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
}
.theme-mobile-nav.is-open {
	display: block;
	animation: fadeIn 0.5s var(--transition-smooth) forwards;
}
.theme-mobile-nav .theme-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.theme-mobile-nav .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(217, 209, 201, 0.6);
	transition: color 0.3s, border-color 0.3s;
}
.theme-mobile-nav .theme-nav-link::after { display: none; }
.theme-mobile-nav .theme-nav-link:hover { color: var(--color-primary); }
.theme-mobile-nav .theme-nav-link.is-active {
	color: var(--color-primary);
	border-bottom-color: var(--color-primary);
}

body.theme-no-hero .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 74px;
}
@media (min-width: 768px) {
	body.theme-no-hero .site-main,
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main {
		padding-top: 82px;
	}
}

/* ---------------------------------------------------------------------
 * HERO
 * --------------------------------------------------------------------- */

.theme-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
}

.theme-hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.theme-hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(18, 14, 12, 0.5); }

.theme-hero-content {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 6rem;
	padding-bottom: 6rem;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	text-align: center;
}
@media (min-width: 640px) {
	.theme-hero-content { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
	.theme-hero-content { padding-top: 8rem; padding-bottom: 8rem; }
}
@media (min-width: 1024px) {
	.theme-hero-content { padding-left: 2rem; padding-right: 2rem; }
}

.theme-hero .eyebrow,
.theme-hero-eyebrow { color: rgba(250, 246, 239, 0.8); margin-bottom: 1.25rem; }
.theme-hero-title {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.015em;
	font-size: 46px;
	line-height: 1.02;
	color: #faf6ef;
	max-width: 56rem;
	text-wrap: balance;
}
@media (min-width: 640px) { .theme-hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero-title { font-size: 4.5rem; } }
.theme-hero-title em { color: var(--color-primary); font-style: italic; }

.theme-hero-subtitle {
	margin-top: 1.5rem;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(250, 246, 239, 0.8);
	max-width: 36rem;
}
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.125rem; } }

.theme-hero-actions {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
}
@media (min-width: 640px) { .theme-hero-actions { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------------------
 * SECTION HEADINGS (per-section scales — Section 2.2.5)
 * --------------------------------------------------------------------- */

.theme-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-section { padding: 7rem 0; } }
.theme-section.bordered { border-top: 1px solid var(--color-border); }

.shop-heading, .services-heading, .contact-title, .about-heading, .faq-heading {
	font-family: var(--font-display);
	font-weight: 400;
}
.shop-heading, .services-heading, .about-heading, .faq-heading {
	font-size: 2.25rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.shop-intro .eyebrow,
.about-copy .eyebrow,
.services-intro .eyebrow,
.faq-intro .eyebrow {
	margin-bottom: 1rem;
}
.shop-intro .js-shop-subtitle {
	margin-top: 1rem;
	color: var(--color-muted-foreground);
	line-height: 1.6;
	font-family: var(--font-body);
}

.services-intro .js-services-subtitle {
	margin-top: 1rem;
	color: var(--color-muted-foreground);
	font-size: 1.125rem;
	line-height: 1.625;
	font-family: var(--font-body);
}
@media (min-width: 768px) { .shop-heading, .services-heading, .about-heading, .faq-heading { font-size: 3rem; } }
.shop-heading em, .services-heading em, .about-heading em, .faq-heading em { color: var(--color-primary); font-style: italic; }

.contact-title {
	font-size: 2.25rem;
	line-height: 1.08;
	letter-spacing: -0.01em;
	max-width: 48rem;
}
@media (min-width: 640px) { .contact-title { font-size: 3rem; } }
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; } }

/* ---------------------------------------------------------------------
 * SHOP SECTION
 * --------------------------------------------------------------------- */

.shop-section { background: var(--color-card); scroll-margin-top: 5.5rem; }
@media (min-width: 768px) { .shop-section { scroll-margin-top: 6.5rem; } }
.shop-intro { max-width: 42rem; margin-bottom: 3rem; }

.theme-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-filters { gap: 0.75rem; } }

.theme-cat-filter {
	padding: 0.5rem 1rem;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	border: 1px solid var(--color-border);
	background: transparent;
	color: rgba(60, 48, 42, 0.8);
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.theme-cat-filter:hover { border-color: var(--color-foreground); }
.theme-cat-filter.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-price-toggle {
	width: 100%;
	justify-content: center;
	margin-left: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	border: 1px solid var(--color-border);
	transition: border-color 0.2s;
}
.theme-price-toggle:hover { border-color: var(--color-foreground); }
.theme-price-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.theme-price-toggle.is-open svg { transform: rotate(180deg); }
@media (min-width: 640px) { .theme-price-toggle { width: auto; margin-left: auto; } }

.theme-price-panel {
	display: none;
	margin-bottom: 2.5rem;
	max-width: 28rem;
	padding: 1.25rem;
	border: 1px solid var(--color-border);
	background: var(--color-background);
}
.theme-price-panel.is-open { display: block; }
.theme-price-values {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-bottom: 0.75rem;
}

/* Dual-handle range slider — Section 31.4 */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill {
	position: absolute; height: 4px; top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
.range-track-bg { left: 0; right: 0; background: var(--color-muted); }
.range-track-fill { background: var(--color-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;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	pointer-events: auto;
	cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb {
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	pointer-events: auto;
	cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	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: 2.5rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
@media (max-width: 1023px) {
	#shop .theme-product-card-wrap.reveal-item {
		opacity: 1;
		transform: none;
	}
}
.theme-product-card-wrap.js-hidden-by-filter,
.theme-product-card-wrap.js-hidden-by-limit { display: none !important; }

.theme-product-card {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	overflow: hidden;
	transition: transform 0.35s var(--transition-smooth);
}
.theme-product-card-wrap:hover .theme-product-card { transform: translateY(-4px); }

.theme-card-link { position: absolute; inset: 0; z-index: 2; display: block; }
.theme-product-card *:not(.theme-card-link):not(.theme-product-card__quick-add) { pointer-events: none; }
.theme-product-card .theme-card-link { pointer-events: auto; }
.theme-product-card .theme-product-card__quick-add { pointer-events: auto; z-index: 4; }

.theme-product-card__image-wrapper {
	position: absolute;
	inset: 0;
	padding: 0.75rem;
}
@media (min-width: 768px) { .theme-product-card__image-wrapper { padding: 1rem; } }
.theme-product-card__image-inner {
	position: relative;
	width: 100%; height: 100%;
	overflow: hidden;
	background: var(--color-background);
	box-shadow: inset 0 0 0 1px rgba(217, 209, 201, 0.6);
}
.theme-product-card__image-inner img {
	transition: transform 0.8s var(--transition-smooth);
}
.theme-product-card-wrap:hover .theme-product-card__image-inner img { transform: scale(1.05); }
.theme-product-card__image-inner img.is-contain { object-fit: contain; padding: 0.5rem; }
.theme-product-card__image-inner img.is-soldout { opacity: 0.6; }

.theme-card-badge-category {
	position: absolute; top: 1rem; left: 1rem;
	padding: 0.125rem 0.5rem;
	font-family: var(--font-body);
	font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
	background: rgba(250, 246, 239, 0.85);
	color: rgba(60, 48, 42, 0.8);
	box-shadow: inset 0 0 0 1px rgba(217, 209, 201, 0.7);
	backdrop-filter: blur(4px);
	z-index: 3;
}
.theme-card-badge-soldout {
	position: absolute; top: 1rem; right: 1rem;
	padding: 0.25rem 0.6rem;
	font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
	background: var(--color-destructive);
	color: var(--color-destructive-foreground);
	z-index: 3;
}

.theme-product-card__quick-add {
	position: absolute;
	bottom: 1rem; right: 1rem;
	width: 2.75rem; height: 2.75rem;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: var(--shadow-elevated);
	transition: opacity 0.3s, transform 0.2s, background-color 0.3s !important;
	opacity: 1;
	min-height: unset !important;
	padding: 0 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: inherit !important;
}
.theme-product-card__quick-add--link { text-decoration: none; }
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
	.theme-product-card-wrap:hover .theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card__quick-add:hover {
	background: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	transform: scale(1.08);
}
.theme-product-card__quick-add svg { width: 16px; height: 16px; stroke-width: 2; }

.theme-card-info { margin-top: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-card-info__text { min-width: 0; }
.theme-card-title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.375;
	transition: color 0.3s;
}
.theme-product-card-wrap:hover .theme-card-title { color: var(--color-primary); }
.theme-card-cat {
	margin-top: 0.25rem;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(114, 97, 90, 0.8);
}
.theme-card-price {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.theme-empty-filter { text-align: center; padding: 4rem 0; border: 1px dashed var(--color-border); }
.theme-empty-filter p { color: var(--color-muted-foreground); }

.theme-view-all-wrap { text-align: center; margin-top: 3rem; }
.theme-view-all-btn { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }

/* ---------------------------------------------------------------------
 * ABOUT
 * --------------------------------------------------------------------- */

.about-section { background: var(--color-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: 5rem; } }
.about-image { width: 100%; object-fit: contain; }
.about-copy { max-width: 36rem; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p:not(.eyebrow) { color: rgba(60, 48, 42, 0.75); line-height: 1.7; font-family: var(--font-body); }
.about-copy p + p { margin-top: 1.25rem; }

/* ---------------------------------------------------------------------
 * SERVICES ("What I Make")
 * --------------------------------------------------------------------- */

.services-section { background: var(--color-background); }
.services-intro { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }

.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--color-border);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.services-item {
	background: var(--color-background);
	padding: 2rem;
	transition: background-color 0.3s;
}
@media (min-width: 768px) { .services-item { padding: 2.5rem; } }
.services-item:hover { background: var(--color-card); }
.services-item__index { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.24em; color: rgba(114, 97, 90, 0.7); }
.services-item h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-top: 1rem; margin-bottom: 0.75rem; }
.services-item p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.625; }

.services-cta-wrap { margin-top: 3.5rem; display: flex; justify-content: center; }
.services-cta {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: var(--color-foreground); color: var(--color-background);
	padding: 1rem 2rem; font-family: var(--font-body); font-size: 11px; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	transition: background-color 0.3s;
}
.services-cta:hover { background: var(--color-primary); }

/* ---------------------------------------------------------------------
 * FAQ
 * --------------------------------------------------------------------- */

.faq-section { background: var(--color-card); border-top: 1px solid var(--color-border); scroll-margin-top: 6rem; }
.faq-intro { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
	width: 100%;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
	padding: 1.25rem 0;
	text-align: left;
}
.faq-question-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; transition: color 0.2s; }
@media (min-width: 768px) { .faq-question-text { font-size: 1.25rem; } }
.faq-question:hover .faq-question-text { color: var(--color-primary); }
.faq-chevron { width: 16px; height: 16px; margin-top: 6px; flex-shrink: 0; color: rgba(60,48,42,0.7); transition: transform 0.2s; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
	display: none;
	padding-bottom: 1.5rem;
	padding-right: 2rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: rgba(60, 48, 42, 0.75);
	line-height: 1.6;
}
.faq-item.is-open .faq-answer { display: block; }

/* ---------------------------------------------------------------------
 * CONTACT
 * --------------------------------------------------------------------- */

.contact-section {
	position: relative;
	background: var(--color-surface-deep);
	color: #faf6ef;
	overflow: hidden;
	scroll-margin-top: 6rem;
}
.contact-bg {
	position: absolute;
	inset: -10%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.35) translateY(0);
	will-change: transform;
}
.contact-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.contact-section { padding: 0; }
.contact-inner {
	position: relative;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	.contact-inner { padding-top: 8rem; padding-bottom: 8rem; }
}
.contact-section .eyebrow,
.contact-eyebrow-text {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(250, 246, 239, 0.8);
	margin-bottom: 1.5rem;
}
.contact-links { margin-top: 3rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1rem; width: 100%; max-width: 28rem; }
@media (min-width: 640px) { .contact-links { flex-direction: row; align-items: center; gap: 1.5rem; max-width: none; width: auto; } }
.contact-link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
	border: 1px solid rgba(250, 246, 239, 0.25);
	padding: 0.75rem 1.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	transition: background-color 0.3s;
}
.contact-link:hover { background: rgba(250, 246, 239, 0.1); }
.contact-link svg { width: 16px; height: 16px; }
.contact-address-line { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(250,246,239,0.8); }
.contact-address-line svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------
 * FOOTER
 * --------------------------------------------------------------------- */

.site-footer { background: var(--color-background); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 0 5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }
.footer-brand { max-width: 20rem; }
.footer-brand .site-logo-frame { height: var(--logo-height); }
.footer-brand img:not(.site-logo-img) { height: 100%; width: auto; }
.footer-brand p { margin-top: 1rem; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.footer-heading { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; }
.theme-footer-nav-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-footer-nav-link { font-family: var(--font-body); font-size: 0.875rem; color: rgba(60,48,42,0.9); transition: color 0.2s; }
.theme-footer-nav-link:hover { color: var(--color-primary); }
.footer-connect-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-family: var(--font-body); font-size: 0.875rem; }
.footer-connect-list a { display: inline-flex; align-items: center; gap: 0.75rem; color: rgba(60,48,42,0.9); transition: color 0.2s; }
.footer-connect-list a:hover { color: var(--color-primary); }
.footer-connect-list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-muted-foreground); }
.footer-connect-list li.address-line { display: inline-flex; align-items: flex-start; gap: 0.75rem; color: rgba(60,48,42,0.9); }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(217,209,201,0.7); display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; justify-content: space-between; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-bottom p { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); }
.footer-bottom a { font-weight: 600; color: var(--color-foreground); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------
 * SIDE CART DRAWER
 * --------------------------------------------------------------------- */

#theme-cart-overlay {
	position: fixed; inset: 0;
	background: rgba(60, 48, 42, 0.4);
	backdrop-filter: blur(2px);
	z-index: 60;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
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(--color-background);
	z-index: 70;
	box-shadow: var(--shadow-elevated);
	border-left: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-header .eyebrow { margin-bottom: 0.375rem; }
.theme-cart-header::after {
	content: '';
	position: absolute;
	left: 1.5rem;
	right: 1.5rem;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(168, 70, 46, 0.5), transparent);
}
.theme-cart-header h2 { font-size: 1.25rem; letter-spacing: 0.02em; }
.theme-cart-close { padding: 0.5rem; color: rgba(60,48,42,0.7); }
.theme-cart-close:hover { color: var(--color-primary); }
.theme-cart-close svg { width: 20px; height: 20px; }

.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-empty-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--color-card); border: 1px solid var(--color-border); margin-bottom: 1.5rem; }
.theme-cart-empty-icon svg { width: 28px; height: 28px; color: var(--color-muted-foreground); }
.theme-cart-empty p.title { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.5rem; }
.theme-cart-empty p.copy { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; max-width: 20rem; }

.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(217,209,201,0.7); }
.theme-cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.theme-cart-item-thumb { position: relative; width: 80px; height: 96px; background: var(--color-card); border: 1px solid var(--color-border); flex-shrink: 0; overflow: hidden; }
.theme-cart-item-thumb img { height: 100% !important; width: 100% !important; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-cat { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.theme-cart-item-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-title:hover { color: var(--color-primary); }
.theme-cart-item-price { font-size: 0.875rem; margin-top: 0.25rem; font-variant-numeric: tabular-nums; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-qty-wrap-sm { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-wrap-sm button { padding: 0.375rem 0.5rem; }
.theme-qty-wrap-sm button:hover { background: var(--color-card); }
.theme-qty-wrap-sm button svg { width: 12px; height: 12px; }
.theme-qty-wrap-sm span { padding: 0.375rem 0.75rem; font-size: 12px; min-width: 32px; text-align: center; font-variant-numeric: tabular-nums; }
.theme-cart-item-remove { margin-left: auto; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-cart-item-remove:hover { color: var(--color-primary); }

.theme-cart-footer { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--color-border); background: rgba(250, 246, 239, 0.6); }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.25rem; }
.theme-cart-subtotal-row .label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-cart-subtotal-row .value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-cart-note { font-size: 11px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { margin-top: 0.75rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); padding: 0.5rem 0; }
.theme-cart-empty-btn:hover { color: var(--color-primary); }
.theme-cart-empty-btn svg { width: 14px; height: 14px; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide WooCommerce's injected "View cart" link everywhere */
.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; }

/* Scoped WooCommerce notices */
.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-top-color: var(--color-primary);
	background: var(--color-card);
	color: var(--color-foreground);
}

/* ---------------------------------------------------------------------
 * ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
 * --------------------------------------------------------------------- */

.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: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: background-color 0.3s, color 0.3s !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	opacity: 1 !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,
.add_to_cart_button.button:disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}

.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	width: 2.75rem !important;
	height: 2.75rem !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: inherit !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}

/* ---------------------------------------------------------------------
 * SINGLE PRODUCT PAGE
 * --------------------------------------------------------------------- */

.single-product .site-main { padding-top: 74px; }
@media (min-width: 768px) { .single-product .site-main { padding-top: 82px; } }
.theme-breadcrumb { padding: 1.5rem 0 2rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-display); }
@media (min-width: 768px) { .theme-breadcrumb { padding: 2rem 0; } }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.4; }
.theme-breadcrumb .current { color: rgba(60,48,42,0.8); text-transform: none; letter-spacing: 0.04em; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 0.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; padding-bottom: 7rem; } }

.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery-desktop { display: grid; grid-template-columns: 2fr 10fr; gap: 1rem; }
	.theme-product-gallery-desktop--single { grid-template-columns: 1fr; }
	.theme-product-gallery-desktop--single .theme-gallery-main { grid-column: 1 / -1; }
}
.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-mobile .theme-gallery-main { box-shadow: var(--shadow-soft); }
.theme-product-gallery-mobile .theme-gallery-main-inner { position: absolute; inset: 0; padding: 0.75rem; }
.theme-product-gallery-mobile .theme-gallery-main-frame { position: relative; width: 100%; height: 100%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(217, 209, 201, 0.6); }
.theme-product-gallery-mobile .theme-gallery-badge { top: 1.25rem; left: 1.25rem; padding: 0.15rem 0.5rem; font-size: 9px; letter-spacing: 0.22em; }
@media (min-width: 1024px) { .theme-product-gallery-mobile { display: none; } }

.theme-product-thumbnails { display: flex; gap: 0.75rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; margin-top: 1rem; }
@media (min-width: 1024px) { .theme-product-thumbnails { flex-direction: column; margin-top: 0; flex-wrap: nowrap; } }
.theme-thumb-btn { position: relative; width: 80px; height: 80px; flex-shrink: 0; background: var(--color-card); border: 1px solid var(--color-border); overflow: hidden; }
@media (min-width: 1024px) { .theme-thumb-btn { width: 100%; aspect-ratio: 1/1; height: auto; } }
.theme-thumb-btn img { opacity: 0.7; transition: opacity 0.2s; }
.theme-thumb-btn:hover img { opacity: 1; }
.theme-thumb-btn.is-active { border-color: var(--color-primary); }
.theme-thumb-btn.is-active img { opacity: 1; }

.theme-gallery-main {
	position: relative;
	aspect-ratio: 1/1;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
	overflow: hidden;
}
#product-main-img-wrap { position: absolute; inset: 0; padding: 1rem; }
#product-main-img-inner { position: relative; width: 100%; height: 100%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(217,209,201,0.6); }
#product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-gallery-badge { position: absolute; top: 1.5rem; left: 1.5rem; padding: 0.25rem 0.6rem; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; background: rgba(250,246,239,0.85); box-shadow: inset 0 0 0 1px rgba(217,209,201,0.7); backdrop-filter: blur(4px); z-index: 2; }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { position: sticky; top: 7rem; padding-left: 1rem; } }
.product-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.875rem; line-height: 1.05; text-wrap: balance; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info > .eyebrow { margin-bottom: 1rem; }
.product-title { margin-bottom: 1.25rem; }

.theme-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; }
.theme-price-row .price,
.theme-price-row .price .woocommerce-Price-amount,
.theme-price-row .price bdi,
.theme-price-row .price ins .woocommerce-Price-amount,
.theme-price-row .price > .amount {
	font-family: var(--font-display) !important;
	font-size: 1.5rem !important;
	font-weight: 600 !important;
	font-variant-numeric: tabular-nums !important;
	color: var(--color-foreground) !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}
@media (min-width: 768px) {
	.theme-price-row .price,
	.theme-price-row .price .woocommerce-Price-amount,
	.theme-price-row .price bdi,
	.theme-price-row .price ins .woocommerce-Price-amount,
	.theme-price-row .price > .amount {
		font-size: 1.875rem !important;
	}
}
.theme-price-row .price del,
.theme-price-row .price del .woocommerce-Price-amount,
.theme-price-row .price del bdi {
	font-size: 1.125rem !important;
	opacity: 0.6;
}
.theme-price-row .price .woocommerce-Price-currencySymbol {
	font-family: inherit !important;
}
.theme-stock-badge { padding: 0.25rem 0.5rem; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; background: var(--color-destructive); color: var(--color-destructive-foreground); }

.theme-short-desc { color: rgba(60,48,42,0.75); line-height: 1.6; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.theme-qty-heading, .theme-attr-heading { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; color: rgba(60,48,42,0.8); margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); background: var(--color-background); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-card); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 14px; height: 14px; }
.theme-qty-input { width: 52px; padding: 0.75rem 0.5rem; text-align: center; font-family: var(--font-display); font-size: 0.875rem; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); background: transparent; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-trust-strip { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.theme-trust-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--color-border); background: var(--color-card); }
.theme-trust-item svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }
.theme-trust-item .t1 { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; }
.theme-trust-item .t2 { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion-btn .label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; }
.theme-accordion-btn .label--features { font-family: var(--font-display); font-weight: 600; }
.theme-accordion-btn .label--order { font-family: var(--font-body); font-weight: 700; }
.theme-accordion-btn:hover .label { color: var(--color-primary); }
.theme-accordion-btn svg { width: 16px; height: 16px; color: rgba(60,48,42,0.7); transition: transform 0.2s; }
.theme-accordion.is-open .theme-accordion-btn svg { transform: rotate(180deg); }
.theme-accordion-panel { display: none; padding-bottom: 1.5rem; }
.theme-accordion.is-open .theme-accordion-panel { display: block; }
.theme-accordion-panel p { font-size: 15px; color: rgba(60,48,42,0.75); line-height: 1.6; margin-bottom: 1rem; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.theme-details-list { margin-top: 0.25rem; }
.theme-details-list ul { list-style: none; margin: 0; padding: 0; }
.theme-details-list li { font-size: 14px; color: rgba(60,48,42,0.75); display: flex; align-items: flex-start; line-height: 1.6; margin-bottom: 0.6rem; }
.theme-details-list li::before { content: ''; width: 6px; height: 6px; background: var(--color-primary); margin-top: 8px; margin-right: 0.75rem; flex-shrink: 0; }
.related-products-header .related-catalog-link { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; }
.related-products-header .related-catalog-link:hover { color: var(--color-primary); }

.related-products-section { padding: 4rem 0 6rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .related-products-section { padding: 6rem 0; } }
.related-products-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.related-products-header h2 { font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.01em; }
@media (min-width: 768px) { .related-products-header h2 { font-size: 2.25rem; } }
.related-products-header h2 em { color: var(--color-primary); font-style: italic; }
.related-products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .related-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* ---------------------------------------------------------------------
 * CHECKOUT / CART PAGES / THANK YOU
 * --------------------------------------------------------------------- */

.theme-page-header { padding-top: 0; padding-bottom: 0; }
.page-title { font-size: 2.25rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(74px + 2rem);
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main {
		padding-top: calc(82px + 2rem);
	}
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .entry-content {
	font-family: var(--font-body);
	color: var(--color-foreground);
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 2.5rem !important;
		align-items: start !important;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: contents !important;
	}
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		grid-column: auto !important;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner {
		grid-column: 1 / -1 !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
	border: 1px solid var(--color-border);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-country-input .wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-state-input .wc-block-components-select__select,
body.woocommerce-checkout .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--btn-radius) !important;
	width: 100% !important;
	max-width: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input::placeholder {
	color: rgba(114, 97, 90, 0.7) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus,
body.woocommerce-checkout .components-custom-select-control__button:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: var(--color-foreground) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(168, 70, 46, 0.3) !important;
}
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control .components-form-token-field__suggestions-list,
body.woocommerce-checkout select option,
body.woocommerce-checkout .wc-block-components-select select option {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: var(--color-foreground) !important;
	background: var(--color-background) !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
	color: var(--color-foreground) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	font-weight: var(--btn-font-weight) !important;
	min-height: var(--btn-height) !important;
	padding: 0 2rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0;
	font-family: var(--font-body);
}

/* Thank you page */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	font-family: var(--font-body);
	max-width: 48rem;
	margin: 0 auto 2rem;
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	padding: 1.5rem;
	background: var(--color-card);
	border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
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(--color-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; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; border: 1px solid var(--color-border); padding: 1rem; }

/* ---------------------------------------------------------------------
 * VARIABLE PRODUCT PILLS
 * --------------------------------------------------------------------- */

.theme-variations-table { width: 100%; border: none; margin-bottom: 0; border-collapse: collapse; }
.theme-variations-table th,
.theme-variations-table td { border: none; padding: 0; vertical-align: top; }
.theme-variations-table tbody { display: block; }
.theme-attr-row { display: block; margin-bottom: 1.5rem; }
.theme-attr-row .value { display: block; width: 100%; }

.theme-attr-group { display: block; }
.theme-attr-group > .theme-attr-heading {
	display: block;
	margin-bottom: 0.75rem;
}

.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-family: var(--font-display);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	background: transparent;
	color: rgba(60, 48, 42, 0.8);
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}

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

.theme-variation-atc {
	display: block;
	margin-bottom: 1.5rem;
}
.theme-variation-qty-block {
	margin-bottom: 1.25rem;
}
.theme-variation-qty-block .theme-qty-heading {
	display: block;
	margin-bottom: 0.75rem;
}
.theme-variation-atc .single_add_to_cart_button {
	display: flex !important;
	width: 100%;
	min-width: 0;
}

.theme-variations-form .single_add_to_cart_button:disabled,
.theme-variations-form .single_add_to_cart_button.disabled,
.theme-variations-form .single_add_to_cart_button.wc-variation-selection-needed {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

/* ---------------------------------------------------------------------
 * 404
 * --------------------------------------------------------------------- */

.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 0; }
.theme-404 .eyebrow { justify-content: center; display: inline-flex; margin-bottom: 1rem; }
.theme-404 .page-title { margin-bottom: 1.25rem; }
.theme-404 .theme-404-copy { color: var(--color-muted-foreground); margin-bottom: 2rem; }
.theme-mobile-toggle .theme-icon-menu,
.theme-mobile-toggle .theme-icon-x { display: block; }
.theme-mobile-toggle .theme-icon-x { display: none; }
.theme-mobile-toggle.is-open .theme-icon-menu { display: none; }
.theme-mobile-toggle.is-open .theme-icon-x { display: block; }

/* ---------------------------------------------------------------------
 * PRODUCT LOOP EQUAL HEIGHT + FLEX TEXT SAFETY
 * --------------------------------------------------------------------- */

.theme-card-title-row { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.theme-card-title-row .title { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
