/* ==========================================================================
   Rhonda Creates — theme.css
   ========================================================================== */

:root {
	--color-background: #f9f8fb;
	--color-foreground: #241f2e;
	--color-primary: #6f38a3;
	--color-primary-foreground: #ffffff;
	--color-secondary: #ebe6f1;
	--color-secondary-foreground: #2f2740;
	--color-muted: #dfdae4;
	--color-muted-foreground: #75708a;
	--color-accent: #9b3fce;
	--color-border: #dedae2;
	--color-destructive: #ef4343;
	--color-card: #f1eef4;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	--radius: 0.5rem;
	--btn-radius: 0.375rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--shadow-soft: 0 4px 20px -4px rgba(36, 31, 46, 0.06);
	--shadow-elevated: 0 8px 40px -8px rgba(36, 31, 46, 0.1);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 96px;
	--header-height-scrolled: 64px;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
img.cover-img,
img.theme-product-card__image,
img.theme-cart-item-img,
#product-main-img,
.theme-thumb-btn img,
.hero-video,
.contact-cta-video,
.contact-video {
	max-width: none;
}

img:not(.cover-img):not(.theme-product-card__image):not(.theme-cart-item-img):not(#product-main-img):not(.theme-thumb-btn-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card__image,
#product-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	font-weight: 600;
	margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

.section-padded { padding-top: 5rem; padding-bottom: 5rem; }
.section-padded-sm { padding-top: 4rem; padding-bottom: 4rem; }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-lg { width: 3rem; height: 3rem; }

/* ==========================================================================
   ANIMATION UTILITIES (Section 2.1)
   ========================================================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item[data-reveal="fade"] { transform: none; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

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

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .animate-fade-in, .animate-slide-up { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

.image-zoom { transition: transform 0.7s ease-out; }
.image-zoom:hover { transform: scale(1.05); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	height: var(--btn-height);
	padding: var(--btn-padding);
	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, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}
.btn-full { width: 100%; }

.btn-hero-primary,
.btn-secondary,
.single_add_to_cart_button.button,
.add_to_cart_button.button {
	text-transform: none;
}

.btn-hero-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 0 2rem;
}
.btn-hero-primary:hover { opacity: 0.9; }

.btn-hero-outline {
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(4px);
	color: #fff;
	border: 1px solid #fff;
	padding: 0 2rem;
}
.btn-hero-outline:hover { background-color: rgba(255, 255, 255, 0.2); }

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	padding: 0 2rem;
}
.btn-outline:hover { background-color: var(--color-secondary); }

.btn-outline-square {
	background-color: transparent;
	border: 1px solid var(--color-border);
	border-radius: 0;
	color: var(--color-foreground);
	padding: 0 2rem;
}
.btn-outline-square:hover { background-color: var(--color-secondary); }

.btn-outline-pill {
	background-color: transparent;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-foreground);
	padding: 0 2rem;
}
.btn-outline-pill:hover { background-color: var(--color-secondary); }

.btn-secondary {
	background-color: var(--color-background);
	color: var(--color-foreground);
	padding: 0 2rem;
}
.btn-secondary:hover { opacity: 0.9; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	transition: height 0.3s ease;
	overflow: hidden;
}
.site-header.is-scrolled .site-nav { height: 3.5rem; }
@media (min-width: 1024px) {
	.site-nav { height: 6rem; }
	.site-header.is-scrolled .site-nav { height: 4rem; }
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; max-height: 100%; }
.site-logo-img { width: auto !important; max-height: 100%; height: auto; display: block; object-fit: contain; transition: height 0.3s ease, max-height 0.3s ease; }
.site-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }

.site-logo--mobile { display: flex; align-items: center; }
.site-logo--mobile .site-logo-img { height: 3.5rem; max-height: 3.5rem; }
.site-header.is-scrolled .site-logo--mobile .site-logo-img { height: 2.5rem; max-height: 2.5rem; }

.site-nav__desktop { display: none; }
@media (min-width: 1024px) {
	.site-nav__desktop { display: flex; align-items: center; justify-content: center; flex: 1; }
	.site-nav__group { display: flex; align-items: center; gap: 2.5rem; flex: 1; }
	.site-nav__group--left { justify-content: flex-end; }
	.site-nav__group--right { justify-content: flex-start; }
	.site-logo--desktop { flex-shrink: 0; margin: 0 4rem; transition: margin 0.3s ease; max-height: 100%; }
	.site-header.is-scrolled .site-logo--desktop { margin: 0 2.5rem; }
	.site-logo--desktop .site-logo-img { height: 5rem; max-height: 5rem; }
	.site-header.is-scrolled .site-logo--desktop .site-logo-img { height: 3rem; max-height: 3rem; }
	.site-logo--mobile { display: none; }
}

.theme-nav-list { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list a {
	position: relative;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.025em;
}
.theme-nav-list a::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after { transform: scaleX(1); }

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.cart-toggle-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s ease; }
.cart-toggle-btn:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute;
	top: -0.125rem; right: -0.125rem;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { padding: 0.5rem; position: relative; width: 2.25rem; height: 2.25rem; }
.mobile-menu-toggle .icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle.is-open .icon-open { display: none; }
.mobile-menu-toggle.is-open .icon-close { display: block; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-menu.is-open { display: block; }
.theme-nav-list--mobile { flex-direction: column; gap: 1rem; }
.theme-nav-list--mobile a { display: block; padding: 0.5rem 0; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

body.theme-no-hero .site-main,
body.theme-no-hero main { padding-top: var(--header-height); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.hero-content { position: relative; z-index: 10; padding: 6rem 0 8rem; }
.hero-content__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.hero-eyebrow { display: inline-block; font-size: 0.875rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.hero-title { font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.5rem; color: #fff; line-height: 1.1; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { color: rgba(255,255,255,0.8); font-size: 1.25rem; max-width: 32rem; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

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

.section-eyebrow { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.section-eyebrow--primary { color: var(--color-primary); font-weight: 500; }
.section-heading-wrap { text-align: center; margin-bottom: 3rem; }
.section-heading { font-size: 1.875rem; font-weight: 500; margin-top: 0.5rem; }
@media (min-width: 768px) { .section-heading { font-size: 2.25rem; } }

/* ==========================================================================
   NEW CREATIONS
   ========================================================================== */

.new-creations-section { }
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-product-grid { gap: 2rem; } }
.theme-product-grid--fixed-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--fixed-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */

.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.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 .theme-quick-add,
.theme-product-card .add_to_cart_button { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image { transition: transform 0.7s ease-out; }

.theme-badge {
	position: absolute;
	padding: 0.25rem 0.75rem;
	font-size: 0.6875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 0.25rem;
	z-index: 3;
}
.theme-badge--sold-out { top: 0.75rem; left: 0.75rem; background-color: var(--color-foreground); color: var(--color-background); }
.theme-badge--new { top: 0.75rem; right: 0.75rem; background-color: var(--color-primary); color: #fff; }
.theme-badge--customizable { bottom: 0.75rem; left: 0.75rem; background-color: color-mix(in srgb, var(--color-background) 80%, transparent); backdrop-filter: blur(4px); text-transform: uppercase; }

.theme-quick-add {
	position: absolute;
	bottom: 0.75rem; right: 0.75rem;
	z-index: 3;
	width: 2rem; height: 2rem;
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	color: var(--color-foreground);
	box-shadow: 0 4px 6px -1px rgba(36, 31, 46, 0.1), 0 2px 4px -2px rgba(36, 31, 46, 0.1);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	font-family: var(--font-body);
	line-height: 1;
}
.theme-quick-add .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.theme-quick-add:hover { background-color: var(--color-primary); color: #fff; transform: scale(1.1); }
.theme-quick-add .theme-quick-add__icon-check { display: none; }
.theme-quick-add.is-added { background-color: var(--color-primary); color: #fff; transform: scale(1.1); }
.theme-quick-add.is-added .theme-quick-add__icon-plus { display: none; }
.theme-quick-add.is-added .theme-quick-add__icon-check { display: block; }

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; font-family: var(--font-body); }
.theme-product-card__cat { font-family: var(--font-body); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card:hover .theme-product-card__title { opacity: 0.7; transition: opacity 0.2s ease; }
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; font-weight: 400; color: var(--color-muted-foreground); }

/* Card compact add-to-cart button override */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .theme-quick-add.add_to_cart_button {
	min-height: unset !important;
	height: 2rem !important;
	width: 2rem !important;
	min-width: 2rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background-color: color-mix(in srgb, var(--color-background) 90%, transparent) !important;
	color: var(--color-foreground) !important;
	box-shadow: 0 4px 6px -1px rgba(36, 31, 46, 0.1), 0 2px 4px -2px rgba(36, 31, 46, 0.1) !important;
	font-size: 0 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	backdrop-filter: blur(4px);
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover,
.theme-product-card .theme-quick-add.add_to_cart_button:hover {
	background-color: var(--color-primary) !important;
	color: #fff !important;
	transform: scale(1.1);
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.is-added,
.theme-product-card .theme-quick-add.is-added {
	background-color: var(--color-primary) !important;
	color: #fff !important;
	transform: scale(1.1);
}

.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; }

/* ==========================================================================
   ABOUT PREVIEW (home)
   ========================================================================== */

.about-preview-section { padding: 5rem 0; position: relative; overflow: hidden; }
.about-preview-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .about-preview-grid { grid-template-columns: 1fr 1fr; } }
.about-preview-image-wrap { position: relative; }
.about-preview-image-clip { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 3rem 3rem 0; }
@media (min-width: 1024px) { .about-preview-image-clip { border-radius: 0 4rem 4rem 0; } }
.about-preview-copy { padding: 2.5rem 1.5rem; }
@media (min-width: 1024px) { .about-preview-copy { padding: 2.5rem 1rem 2.5rem 4rem; } }
.about-preview-title { font-size: 1.5rem; font-weight: 600; margin-top: 0.75rem; margin-bottom: 1.5rem; line-height: 1.25; }
@media (min-width: 768px) { .about-preview-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .about-preview-title { font-size: 2.25rem; } }
.about-preview-text { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 0.9375rem; }
@media (min-width: 768px) { .about-preview-text { font-size: 1rem; } }

.rose-art { position: absolute; opacity: 0.05; pointer-events: none; user-select: none; z-index: 0; }
.rose-art--value-props { left: -5rem; top: 50%; transform: translateY(-50%) scaleX(-1); height: 100%; }
.rose-art--feature-banner { left: 0; top: 0; height: 90%; transform: translateX(-33%) scaleX(-1); }
.rose-art--mission-left { left: -2.5rem; top: 50%; transform: translateY(-50%) scaleX(-1); height: 130%; opacity: 0.08; }
.rose-art--mission-right { right: -2.5rem; top: 50%; transform: translateY(-50%); height: 130%; opacity: 0.08; }

/* ==========================================================================
   VALUE PROPS
   ========================================================================== */

.value-props-section { border-top: 1px solid var(--color-border); position: relative; overflow: hidden; padding: 2.5rem 0; }
.value-props-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .value-props-grid { grid-template-columns: repeat(3, 1fr); } }
.value-prop-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.value-prop-icon { color: var(--color-primary); width: 1.25rem; height: 1.25rem; }
.value-prop-title { font-size: 1.125rem; font-weight: 500; }
.value-prop-text { font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 220px; }

/* ==========================================================================
   FEATURE BANNER
   ========================================================================== */

.feature-banner-section { position: relative; overflow: hidden; }
.feature-banner-outer { padding-bottom: 4rem; position: relative; z-index: 1; }
.feature-banner-card { position: relative; border-radius: 1rem; overflow: hidden; background-color: var(--color-secondary); }
.feature-banner-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .feature-banner-grid { grid-template-columns: 1fr 1fr; } }
.feature-banner-copy { padding: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
@media (min-width: 768px) { .feature-banner-copy { padding: 4rem; } }
.feature-banner-title { font-size: 1.875rem; font-weight: 600; margin: 0.75rem 0; }
@media (min-width: 768px) { .feature-banner-title { font-size: 2.25rem; } }
.feature-banner-subtitle { color: var(--color-primary); font-weight: 500; margin-bottom: 1.5rem; }
.feature-banner-image-wrap { position: relative; height: 16rem; min-height: 300px; }
@media (min-width: 768px) { .feature-banner-image-wrap { height: 100%; } }

/* ==========================================================================
   SHOP
   ========================================================================== */

.shop-heading-wrap { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; font-weight: 500; margin: 0.5rem 0 2rem; }
@media (min-width: 768px) { .shop-heading { font-size: 2.25rem; } }

.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 1.5rem; }
.shop-search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search-input {
	width: 100%; height: 2.5rem; border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background-color: var(--color-background);
	padding: 0 2.5rem;
	font-size: 0.875rem;
}
.shop-search-input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.shop-search-input::placeholder { color: var(--color-muted-foreground); }
.shop-search-clear { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search-clear:hover { color: var(--color-foreground); }

.shop-cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.cat-filter-btn {
	padding: 0.625rem 1.25rem; font-size: 0.875rem; border-radius: var(--radius);
	background-color: var(--color-secondary); color: var(--color-secondary-foreground);
	transition: all 0.3s ease;
}
.cat-filter-btn:hover { background-color: var(--color-muted); }
.cat-filter-btn.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); }

.shop-empty-message { text-align: center; color: var(--color-muted-foreground); margin: 3rem 0; }
.shop-show-all-wrap { text-align: center; margin-top: 2rem; }
.shop-empty-state { text-align: center; padding: 5rem 0; }
.shop-empty-state p { color: var(--color-muted-foreground); margin-bottom: 1rem; }

/* ==========================================================================
   CUSTOM CTA
   ========================================================================== */

.custom-cta-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .custom-cta-grid { grid-template-columns: 1fr 1fr; } }
.custom-cta-box { border-radius: var(--radius); padding: 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.custom-cta-box--muted { background-color: var(--color-secondary); }
.custom-cta-box--primary { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.custom-cta-icon { width: 2rem; height: 2rem; margin-bottom: 1rem; }
.custom-cta-box--muted .custom-cta-icon { color: var(--color-primary); }
.custom-cta-box--primary .custom-cta-icon { opacity: 0.8; }
.custom-cta-title { font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }
@media (min-width: 768px) { .custom-cta-title { font-size: 1.875rem; } }
.custom-cta-text { max-width: 24rem; margin: 0 auto 2rem; }
.custom-cta-box--muted .custom-cta-text { color: var(--color-muted-foreground); }
.custom-cta-box--primary .custom-cta-text { opacity: 0.9; }

/* ==========================================================================
   CONTACT CTA (home)
   ========================================================================== */

.contact-cta-section { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.contact-cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-cta-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.contact-cta-content { position: relative; z-index: 1; padding: 6rem 0; text-align: center; }
.contact-cta-quote { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: #fff; line-height: 1.6; max-width: 48rem; margin: 0 auto; font-style: italic; }
@media (min-width: 768px) { .contact-cta-quote { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-cta-quote { font-size: 3rem; } }
.contact-cta-attribution { display: inline-block; margin-top: 1.5rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-secondary); }
.site-footer__inner { padding: 3rem 1.5rem; }
@media (min-width: 768px) { .site-footer__inner { padding: 3rem 2rem; } }
@media (min-width: 1024px) { .site-footer__inner { padding: 4rem 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-col--brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-col--brand { grid-column: span 2; } }
.footer-logo { display: inline-flex; align-items: center; max-height: 5rem; }
.footer-logo .site-logo-img { height: 5rem; max-height: 5rem; width: auto; object-fit: contain; }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.6; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social-link { padding: 0.5rem; transition: opacity 0.2s ease; }
.footer-social-link:hover { opacity: 0.6; }
.footer-col-title { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.footer-nav-list, .footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.footer-nav-list a:hover { color: var(--color-foreground); }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-contact-item--address { align-items: flex-start; }
.footer-contact-item a { transition: color 0.2s ease; }
.footer-contact-item a:hover { color: var(--color-foreground); }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright, .footer-price-note, .footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); }
.footer-bottom-right { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .footer-bottom-right { flex-direction: row; gap: 1rem; } }
.footer-credit a { text-decoration: underline; transition: color 0.2s ease; }
.footer-credit a:hover { color: var(--color-foreground); }

/* ==========================================================================
   BACK LINK / GENERIC
   ========================================================================== */

.back-link { display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; transition: color 0.2s ease; }
.back-link:hover { color: var(--color-foreground); }
.back-link .icon { margin-right: 0.5rem; }

body.theme-no-hero main,
.theme-generic-main,
.about-page-main,
.contact-page-main,
.faq-page-main,
.shop-archive-main,
.theme-404-main {
	padding-top: var(--header-height);
}

.single-product {
	padding-top: 3.5rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero main.single-product,
	.single-product { padding-top: 4rem; }
}
body.theme-no-hero main.single-product {
	padding-top: 3.5rem;
}

/* ==========================================================================
   404
   ========================================================================== */

.theme-404-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--color-muted); }
.theme-404-inner { text-align: center; }
.theme-404-code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 0; margin-bottom: 5rem; }
@media (min-width: 1024px) { .about-hero-grid { grid-template-columns: 1fr 1fr; } }
.about-hero-image-wrap { position: relative; }
.about-hero-image-clip { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 3rem 3rem 0; }
@media (min-width: 1024px) { .about-hero-image-clip { border-radius: 0 4rem 4rem 0; } }
.about-hero-copy { padding: 2.5rem 1.5rem; }
@media (min-width: 1024px) { .about-hero-copy { padding: 2.5rem 1rem 2.5rem 4rem; } }
.about-page-title { font-size: 1.875rem; font-weight: 600; margin: 0.75rem 0 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .about-page-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-page-title { font-size: 3rem; } }
.about-hero-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }

.about-mission-box { position: relative; overflow: hidden; background-color: var(--color-secondary); border-radius: 1rem; padding: 2.5rem 1.5rem; text-align: center; margin-bottom: 5rem; }
@media (min-width: 1024px) { .about-mission-box { padding: 4rem; } }
.about-mission-title { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.5rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .about-mission-title { font-size: 1.875rem; } }
.about-mission-quote { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-muted-foreground); max-width: 42rem; margin: 0 auto; line-height: 1.6; font-style: italic; position: relative; z-index: 1; }
@media (min-width: 768px) { .about-mission-quote { font-size: 1.5rem; } }
.about-mission-text { color: var(--color-muted-foreground); margin-top: 1.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }

.about-wim-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
@media (min-width: 1024px) { .about-wim-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-wim-image-wrap { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; order: 2; }
@media (min-width: 1024px) { .about-wim-image-wrap { order: 1; } }
.about-wim-copy { order: 1; }
@media (min-width: 1024px) { .about-wim-copy { order: 2; } }
.about-wim-title { font-size: 1.875rem; font-weight: 500; margin-bottom: 1.5rem; }
.about-wim-list { display: flex; flex-direction: column; gap: 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }
.about-wim-list strong { color: var(--color-foreground); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-page-main {
	position: relative;
	min-height: 100vh;
}

.contact-back-wrap {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

.contact-back-link {
	margin-bottom: 0;
}

.contact-overlap {
	position: relative;
}

.contact-video-wrap {
	position: absolute;
	left: 0;
	right: 0;
	top: 360px;
	bottom: 0;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.contact-video-wrap { top: 380px; }
}

.contact-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-video-overlay {
	position: absolute;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
}

.contact-content {
	position: relative;
	z-index: 1;
	padding-bottom: 20rem;
}

.contact-content__inner {
	max-width: 64rem;
	margin: 0 auto;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	align-items: flex-start;
}
@media (min-width: 1024px) {
	.contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-col {
	padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
	.contact-info-col {
		padding-right: 3rem;
		padding-bottom: 0;
	}
}

.contact-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}
@media (min-width: 768px) {
	.contact-title { font-size: 2.25rem; }
}

.contact-intro {
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	font-size: 0.875rem;
	line-height: 1.625;
	margin-bottom: 2.5rem;
	max-width: 28rem;
}

.contact-details-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-details-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.contact-details-list__address {
	align-items: flex-start;
}

.contact-details-list__address .icon {
	margin-top: 0.125rem;
	flex-shrink: 0;
}

.contact-details-list .icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	color: var(--color-primary);
}

.contact-details-list a {
	transition: color 0.2s ease;
}

.contact-details-list a:hover {
	color: var(--color-primary);
}

.contact-socials {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.contact-social-link {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-social-link:hover {
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.contact-form-card {
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	box-shadow: 0 10px 15px -3px rgba(36, 31, 46, 0.1), 0 4px 6px -4px rgba(36, 31, 46, 0.1);
	padding: 2rem;
}

@media (min-width: 768px) {
	.contact-form-card { padding: 2.5rem; }
}

.contact-form-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

@media (min-width: 768px) {
	.contact-form-title { font-size: 1.5rem; }
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-input,
.contact-page-main .theme-input {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5;
}

.contact-input:focus,
.contact-page-main .theme-input:focus {
	outline: none;
	box-shadow: 0 0 0 1px var(--color-primary);
}

.contact-input::placeholder,
.contact-page-main .theme-input::placeholder {
	color: var(--color-muted-foreground);
}

.contact-page-main .theme-textarea {
	resize: none;
}

.contact-submit-btn .btn-label-default {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.contact-submit-btn .icon {
	margin-left: 0.25rem;
}

.contact-form-error {
	color: var(--color-destructive);
	font-size: 0.8125rem;
	text-align: center;
}

.contact-success-page {
	padding: 5rem 0;
}

.contact-success-page__inner {
	max-width: 42rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	text-align: center;
}

.contact-success-page__icon {
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1.5rem;
	border-radius: 999px;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-success-page__title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 500;
	margin-bottom: 1rem;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.contact-success-page__title { font-size: 2.25rem; }
}

.contact-success-page__text {
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
	line-height: 1.6;
}

/* ==========================================================================
   FAQ PAGE
   ========================================================================== */

.faq-inner { max-width: 48rem; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-title { font-size: 1.875rem; font-weight: 500; margin-bottom: 1rem; }
@media (min-width: 768px) { .faq-title { font-size: 2.25rem; } }
.faq-intro { color: var(--color-muted-foreground); }
.faq-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.faq-category-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); }
.faq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; text-align: left; transition: background-color 0.2s ease; }
.faq-question:hover { background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.faq-question-text { font-weight: 500; font-size: 0.875rem; padding-right: 1rem; }
.faq-question .icon { color: var(--color-muted-foreground); flex-shrink: 0; }
.faq-answer { padding: 0 1.25rem 1.25rem; animation: fadeIn 0.3s ease; }
.faq-answer[hidden] { display: none; }
.faq-answer p { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.7; }

/* ==========================================================================
   SINGLE PRODUCT
   ========================================================================== */

.pdp-back-link-wrap { padding-top: 0; }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-thumbnails-main { position: relative; aspect-ratio: 3 / 4; background-color: var(--color-secondary); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; cursor: zoom-in; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 100%; }
.theme-thumb-btn { width: 5rem; height: 5rem; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; flex-shrink: 0; }
.theme-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.theme-thumb-btn:hover { opacity: 1; }
.theme-thumb-btn.is-active { border-color: var(--color-foreground); opacity: 1; }

.theme-product-info { padding: 0 0 2.5rem; }
@media (min-width: 1024px) { .theme-product-info { padding: 2.5rem 0; } }
.theme-product-cat, .theme-product-cat a { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 0.5rem 0 1rem; line-height: 1.25; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-price .amount { font-weight: 500; }
.theme-stock-indicator--out { display: inline-block; padding: 0.5rem 1rem; background-color: var(--color-muted); color: var(--color-muted-foreground); font-size: 0.875rem; font-weight: 500; border-radius: var(--radius); margin-bottom: 1rem; }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin-bottom: 1em; }

.theme-gift-wrap-box { margin-bottom: 2rem; padding: 1rem; background-color: var(--color-secondary); border-radius: var(--radius); }
.theme-checkbox-label { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; margin-bottom: 0.5rem; }
.theme-checkbox-label input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--color-primary); }
.theme-checkbox-label .icon { color: var(--color-primary); }
.theme-checkbox-label span { font-size: 0.875rem; font-weight: 500; }
.theme-gift-message { width: 100%; margin-top: 0.5rem; padding: 0.5rem 0.75rem; background-color: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 0.875rem; resize: none; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0 0.75rem; height: var(--btn-height); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: none; -moz-appearance: textfield; height: var(--btn-height); }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-dispatch-note { font-size: 0.75rem; color: var(--color-muted-foreground); text-align: center; margin: 1rem 0; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details__title { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.theme-product-details__body ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__body li { position: relative; padding-left: 1.25rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-product-details__body li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 0.375rem; height: 0.375rem; border-radius: 999px; background-color: var(--color-primary); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section .theme-product-card__image-wrapper { position: relative; }
.related-products-section .theme-product-card__image,
.related-products-section .theme-product-card__image-wrapper img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}
.related-products-title { font-size: 1.25rem; font-weight: 500; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-title { font-size: 1.5rem; } }

.posted_in, .woocommerce-product-details__short-description, .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

/* Add-to-cart button style 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: opacity 0.2s ease !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_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; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.btn-label-added { align-items: center; display: inline-flex; gap: 0.5rem; }

/* Variable product variation pills */
.theme-variations-wrap { margin-bottom: 1.5rem; position: relative; z-index: 2; }
.theme-variation-row { margin-bottom: 1.5rem; position: relative; }
.theme-variation-label { display: block; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.75rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.25rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
	pointer-events: auto;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-selected {
	border-color: var(--color-foreground);
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-variation-select-hidden,
.single-product .variations select.theme-variation-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.single-product .variations { display: none; }
.variations label { font-family: var(--font-body); font-weight: 500; font-style: normal; }
.woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-body); }

/* ==========================================================================
   SIDE CART DRAWER
   ========================================================================== */

#theme-cart-overlay { position: fixed; inset: 0; z-index: 60; background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); 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-color: var(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { 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(--color-border); }
.theme-cart-drawer__heading-group { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 500; }
.theme-cart-empty-btn { font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-empty-btn:hover { color: var(--color-destructive); }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.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 { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-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 { width: 5rem; height: 6rem; background-color: var(--color-secondary); border-radius: var(--radius); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img,
.theme-cart-item-img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.theme-cart-item__gift-message { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; font-style: italic; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__badges { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.375rem; }
.theme-mini-badge { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.625rem; background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); padding: 0.125rem 0.5rem; border-radius: var(--radius); }
.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: var(--radius); transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-remove-btn:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-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(--color-muted-foreground); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   WOOCOMMERCE NOTICES (scoped)
   ========================================================================== */

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 1rem 1.5rem;
	font-size: 0.875rem;
	list-style: none;
	margin: 1rem 0;
}
.woocommerce-error { background-color: color-mix(in srgb, var(--color-destructive) 10%, transparent); color: var(--color-destructive); }

/* ==========================================================================
   CHECKOUT / CART / ACCOUNT / THANK YOU (Section 13)
   ========================================================================== */

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-generic-main,
body.woocommerce-cart .theme-generic-main,
body.woocommerce-account .theme-generic-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 1.875rem;
	font-weight: 500;
	margin-bottom: 2rem;
	text-align: center;
}

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

@media (min-width: 768px) {
	body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .wp-block-woocommerce-checkout {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 3rem 4rem;
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout {
		display: contents !important;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		width: 100%;
		min-width: 0;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
}

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) !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	background-color: var(--color-background) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
	border-color: var(--color-border) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-textarea label {
	font-family: var(--font-body);
	font-size: 0.875rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
}

/* Thank you page */
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 { max-width: 48rem; margin: 0 auto 2rem; }
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 1.5rem; background-color: var(--color-secondary); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.25rem; font-weight: 500; padding: 1.5rem 0 1rem; }
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); font-size: 0.875rem; }
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; overflow-wrap: break-word; font-size: 0.875rem; line-height: 1.6; }
