/* =========================================================================
   S and A Tye Dyes — theme stylesheet
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. RESET / BASE
   ---------------------------------------------------------------------- */
* { 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);
	line-height: 1.625;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button, [role="button"], label[for], select, summary { cursor: pointer; }
button { font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
.theme-icon-btn, .theme-nav-link, .theme-link-underline, .theme-collection-tile,
.theme-cat-filter, .theme-product-card, .theme-card-link, .theme-accordion__trigger,
.theme-extras-slider__dot, .theme-product-thumb, .theme-announcement-dismiss,
.theme-qty-minus, .theme-qty-plus, .theme-attr-pill, .theme-price-filter__toggle,
.theme-cart-toggle, .theme-search-scroll, .theme-mobile-toggle, .theme-mobile-nav-btn, .site-identity,
.theme-footer-email, .theme-footer-builtby a { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -------------------------------------------------------------------------
   2. TOKENS (non-color variables — colors are injected inline, Section 6)
   ---------------------------------------------------------------------- */
:root {
	--font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--radius-lg: 1rem;
	--radius-xl: 0.75rem;
	--radius-2xl: 1rem;
	--radius-full: 9999px;
	--shadow-soft: 0 4px 20px -4px rgba(15, 23, 42, 0.08);
	--shadow-elevated: 0 12px 40px -12px rgba(6, 182, 212, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--color-button-text: #FFFFFF;
	--btn-radius: var(--radius-xl);
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.7rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--card-radius: var(--radius-lg);
	--section-padding: 2rem;
	--header-height: 90px;
	--checkout-gap: 1.5rem;
	--checkout-max-width: 80rem;
}

/* -------------------------------------------------------------------------
   3. LAYOUT
   ---------------------------------------------------------------------- */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: 0; }
.theme-page { padding-top: 1rem; padding-bottom: 4rem; }

.page-title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------
   4. ANIMATIONS
   ---------------------------------------------------------------------- */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

.reveal-item, .reveal-fade-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible, .reveal-fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}
body.is-customizer .reveal-item,
body.is-customizer .reveal-fade-up {
	opacity: 1 !important;
	transform: none !important;
}

/* -------------------------------------------------------------------------
   5. TYPOGRAPHY HELPERS
   ---------------------------------------------------------------------- */
.theme-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 0.75rem;
	text-align: center;
}
.theme-eyebrow--marigold { color: var(--color-accent); }
.theme-eyebrow--rosa { color: var(--color-primary); font-weight: 600; }

.section-heading {
	font-family: var(--font-display);
	font-weight: 400;
	text-align: center;
	line-height: 1.15;
}
.theme-collection-section .section-heading { font-size: 1.875rem; }
.theme-featured-section .section-heading { font-size: 1.875rem; }
.theme-about-section .section-heading,
.about-section__heading { font-size: 1.875rem; color: #fff; margin-bottom: 1.5rem; }
.theme-services-section .section-heading,
.offerings-section__heading { font-size: 2.25rem; letter-spacing: -0.02em; }
.theme-extras-heading {
	font-size: 2.25rem;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-align: left;
	color: #fff;
	margin-bottom: 1.75rem;
}
.theme-extras-heading__italic { display: block; font-style: italic; color: var(--color-accent); }
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
.cta-band__title { font-size: 1.875rem; color: #fff; margin-bottom: 1.5rem; }

@media (min-width: 768px) {
	.theme-collection-section .section-heading { font-size: 2.25rem; }
	.theme-featured-section .section-heading { font-size: 3rem; }
	.theme-about-section .section-heading,
	.about-section__heading { font-size: 3rem; }
	.theme-services-section .section-heading,
	.offerings-section__heading { font-size: 3.75rem; }
	.theme-extras-heading { font-size: 3rem; }
	.shop-heading { font-size: 3rem; }
	.cta-band__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.theme-about-section .section-heading,
	.about-section__heading { font-size: 3.75rem; }
	.theme-services-section .section-heading,
	.offerings-section__heading { font-size: 4.5rem; }
	.theme-extras-heading { font-size: 3.75rem; }
	.cta-band__title { font-size: 3.75rem; }
}

.theme-section__head { text-align: center; margin-bottom: 3.5rem; }
.theme-section { padding: 4rem 0; }
@media (min-width: 768px) { .theme-section { padding: 5rem 0; } }

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }
.theme-link-underline--light { color: var(--color-background); }

.theme-section__link-row { text-align: center; margin-top: 3.5rem; }

/* -------------------------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------------------- */
.theme-btn-primary, .theme-btn-hero-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--color-primary);
	color: var(--color-button-text);
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-display);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	box-shadow: var(--shadow-soft);
	transition: all 0.3s ease;
	white-space: nowrap;
}
.theme-btn-primary:hover, .theme-btn-hero-primary:hover {
	opacity: 0.9;
	box-shadow: var(--shadow-elevated);
	transform: translateY(-2px);
}
.theme-btn-hero-primary {
	background: var(--color-background);
	color: var(--color-foreground);
}
.theme-btn-hero-primary, .theme-btn-primary,
.single-product .single_add_to_cart_button,
.woocommerce a.button.single_add_to_cart_button {
	text-transform: uppercase;
}
.btn-hero-primary, .btn-hero-outline,
.single-product .single_add_to_cart_button {
	text-transform: none;
}
.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--btn-radius);
	min-height: 2.75rem;
	padding: 0 1.5rem;
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 500;
	transition: background 0.2s ease;
}
.theme-btn-outline:hover { background: var(--color-secondary); }

/* -------------------------------------------------------------------------
   7. ANNOUNCEMENT BAR
   ---------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	z-index: 51;
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement-bar .container-wide { padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-dismiss {
	position: absolute; right: 0.75rem; top: 50%;
	transform: translateY(-50%);
	opacity: 0.7;
	padding: 0.25rem;
}
.theme-announcement-dismiss:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   8. HEADER
   ---------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
body.admin-bar .customize-partial-edit-shortcut-button {
	z-index: 100001;
}

/* Mobile: fixed header so sticky works reliably on touch browsers */
@media (max-width: 1023px) {
	body.admin-bar .site-header,
	.site-header {
		position: fixed;
		top: var(--mobile-header-top, 0);
		width: 100%;
	}
	.site-header-spacer {
		display: block;
		height: var(--mobile-header-spacer, var(--header-offset, var(--header-height)));
		pointer-events: none;
	}
}
@media (min-width: 1024px) {
	.site-header-spacer {
		display: none;
	}
}

.site-header.is-solid,
body.mobile-menu-open .site-header {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	height: 90px;
	transition: height 0.3s ease;
}
.site-header.is-solid .site-nav { height: 64px; }
body.mobile-menu-open .site-header:not(.is-solid) .site-nav { height: 90px; }

.site-identity { display: flex; align-items: center; gap: 0.5rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: height 0.3s ease; }
.site-header.is-solid .site-logo-img { height: calc(var(--logo-height) * 0.55) !important; }
body.mobile-menu-open .site-header:not(.is-solid) .site-logo-img { height: var(--logo-height) !important; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.site-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }

.site-nav__center { display: none; }
.theme-nav-list, .theme-mobile-nav-list, .theme-footer-nav-list {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0; padding: 0;
}
.theme-nav-link {
	font-size: 14px;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	position: relative;
}
.theme-nav-link::after {
	content: '';
	position: absolute; bottom: -4px; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }

@media (min-width: 1024px) {
	.site-nav__center {
		display: flex;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav__actions { gap: 0.75rem; } }
.theme-icon-btn {
	position: relative;
	padding: 0.5rem;
	transition: opacity 0.2s ease;
}
.theme-icon-btn:hover { opacity: 0.6; }
.theme-search-scroll { display: none; }
@media (min-width: 768px) { .theme-search-scroll { display: inline-flex; } }

.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500;
	background: var(--color-primary);
	color: var(--color-button-text);
	border-radius: var(--radius-full);
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.theme-mobile-menu {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	padding: 0;
	border-top: 1px solid transparent;
	transition:
		max-height 0.45s var(--transition-smooth),
		opacity 0.35s ease,
		padding 0.35s ease,
		border-color 0.35s ease;
}
.theme-mobile-menu.is-open {
	max-height: 24rem;
	opacity: 1;
	padding: 1rem 0;
	border-top-color: var(--color-border);
}
.theme-mobile-menu__inner {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.theme-mobile-nav-btn {
	display: block;
	width: 100%;
	padding: 0.5rem 0;
	margin: 0;
	text-align: left;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-foreground);
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
	opacity: 0;
	transform: translateY(-10px);
}
.theme-mobile-menu.is-open .theme-mobile-nav-btn {
	animation: theme-mobile-item-in 0.5s var(--transition-smooth) forwards;
}
.theme-mobile-menu.is-open .theme-mobile-nav-btn:nth-child(1) { animation-delay: 0.06s; }
.theme-mobile-menu.is-open .theme-mobile-nav-btn:nth-child(2) { animation-delay: 0.12s; }
.theme-mobile-menu.is-open .theme-mobile-nav-btn:nth-child(3) { animation-delay: 0.18s; }
.theme-mobile-menu.is-open .theme-mobile-nav-btn:nth-child(4) { animation-delay: 0.24s; }
.theme-mobile-menu.is-open .theme-mobile-nav-btn:nth-child(5) { animation-delay: 0.3s; }
@keyframes theme-mobile-item-in {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}
.theme-mobile-nav-btn:hover,
.theme-mobile-nav-btn:focus-visible {
	color: var(--color-muted-foreground);
}
@media (min-width: 1024px) {
	.theme-mobile-menu {
		display: none !important;
		max-height: none !important;
		opacity: 1 !important;
		padding: 0 !important;
		border: 0 !important;
	}
}

/* -------------------------------------------------------------------------
   9. HERO
   ---------------------------------------------------------------------- */
body.theme-no-hero .site-main { padding-top: 0; }
.theme-hero { background: var(--color-background); }
.theme-hero__media-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: var(--hero-height, calc(100dvh - var(--header-height)));
	min-height: 480px;
}
.theme-hero__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.theme-hero__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-foreground) 60%, transparent),
		color-mix(in srgb, var(--color-foreground) 50%, transparent),
		color-mix(in srgb, var(--color-foreground) 60%, transparent));
}
.theme-hero__content {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
}
.theme-hero__inner { max-width: 36rem; text-align: center; }
.theme-hero__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--color-background);
	margin-bottom: 1.5rem;
}
.theme-hero__title-cyan { color: var(--color-primary); }
.theme-hero__title-white { color: var(--color-background); }
.theme-hero__title-accent { color: var(--color-hero-accent); }
@media (min-width: 768px) {
	.theme-hero__title { font-size: 3.75rem; white-space: nowrap; }
}
@media (min-width: 1280px) {
	.theme-hero__title { font-size: 4.5rem; }
}
.theme-hero__subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__cta-row { display: flex; justify-content: center; }

/* -------------------------------------------------------------------------
   10. SHOP BY COLLECTION
   ---------------------------------------------------------------------- */
.theme-collection-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 64rem;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.theme-collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.theme-collection-tile { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.theme-collection-tile__image-wrap {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: var(--color-secondary);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease, transform 0.3s ease;
}
.theme-collection-tile:hover .theme-collection-tile__image-wrap { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-collection-tile__image { filter: blur(1.5px); transition: filter 0.5s ease, transform 0.7s var(--transition-smooth); }
.theme-collection-tile:hover .theme-collection-tile__image { filter: blur(0); transform: scale(1.06); }
.theme-collection-tile__overlay {
	position: absolute; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 25%, transparent);
	transition: background 0.5s ease;
}
.theme-collection-tile:hover .theme-collection-tile__overlay { background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-collection-tile__label {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@media (min-width: 768px) { .theme-collection-tile__label { font-size: 18px; } }

/* -------------------------------------------------------------------------
   11. PRODUCT GRID / CARDS
   ---------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--3col { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap.is-filter-hidden { display: none !important; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-width: 0;
}
.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__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	background: var(--color-secondary);
	overflow: hidden;
	border-radius: var(--radius-xl);
	margin-bottom: 1.25rem;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	transition: box-shadow 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-product-card__image-wrapper img { transition: transform 0.7s var(--transition-smooth); filter: brightness(1.06) contrast(1.03) saturate(1.04); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	padding: 0.25rem 0.75rem;
	font-size: 12px; font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: var(--radius-full);
	z-index: 1;
}
.theme-product-card__add {
	position: absolute; bottom: 0.75rem; right: 0.75rem;
	z-index: 3;
	width: 2.5rem; height: 2.5rem;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--color-background);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	pointer-events: auto !important;
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
@media (min-width: 768px) {
	.theme-product-card__add { opacity: 0; }
	.theme-product-card:hover .theme-product-card__add { opacity: 1; }
}
.theme-product-card__add:hover { transform: scale(1.08); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; text-align: center; margin-top: 0.5rem; }
.theme-product-card__title {
	font-size: 14px;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.4;
	color: var(--color-foreground);
	transition: color 0.3s ease;
	overflow: hidden;
	text-overflow: ellipsis;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 16px; } }
.theme-product-card__price { font-size: 16px; font-family: var(--font-body); color: var(--color-foreground); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 18px; } }
.theme-product-card__price del { color: var(--color-muted-foreground); margin-right: 0.4rem; }
.theme-product-card__price ins { text-decoration: none; }

/* -------------------------------------------------------------------------
   12. ABOUT
   ---------------------------------------------------------------------- */
.theme-about-section { position: relative; overflow: hidden; }
.theme-about-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-about-section__overlay {
	position: absolute; inset: 0;
	background: color-mix(in srgb, var(--color-coral) 30%, transparent);
	background-image: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-coral) 15%, transparent),
		color-mix(in srgb, var(--color-coral) 25%, transparent),
		color-mix(in srgb, var(--color-coral) 40%, transparent));
}
.theme-about-section__inner {
	position: relative;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	.theme-about-section__inner {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}
}
.theme-about-section__content { max-width: 56rem; margin: 0 auto; text-align: center; }
.theme-about-section__paragraph {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	line-height: 1.7;
	max-width: 42rem;
	margin: 0 auto 1.25rem;
}

/* -------------------------------------------------------------------------
   13. SERVICES / AROUND THE STUDIO
   ---------------------------------------------------------------------- */
.theme-services-section { background: var(--color-coral-subtle); padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-services-section { padding-bottom: 6rem; } }
.theme-services-section__head {
	padding: 5rem 0 5rem;
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.theme-services-section__head {
		padding: 7rem 0 7rem;
	}
}
.theme-services-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1rem;
}
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }

.theme-service-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-elevated);
	height: 20rem;
	transition: transform 0.3s ease;
}
@media (min-width: 768px) { .theme-service-card { height: 26.25rem; } }
.theme-service-card:hover { transform: translateY(-4px); }
.theme-service-card__image { transition: transform 0.7s ease; }
.theme-service-card:hover .theme-service-card__image { transform: scale(1.05); }
.theme-service-card__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.55), rgba(0,0,0,0.2));
	transition: background 0.3s ease;
}
.theme-service-card:hover .theme-service-card__gradient { background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.8), rgba(0,0,0,0.5)); }
.theme-service-card__numeral {
	position: absolute; top: 1rem; left: 1rem;
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	border-radius: 6px;
	z-index: 1;
}
.theme-service-card--rosa .theme-service-card__numeral { color: var(--color-primary); }
.theme-service-card--marigold .theme-service-card__numeral { color: var(--color-accent); }
.theme-service-card__body {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	color: #fff;
	padding: 1.25rem 1.5rem;
	z-index: 1;
}
.theme-service-card__kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.theme-service-card__icon {
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	width: 2rem; height: 2rem;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	backdrop-filter: blur(4px);
	transition: color 0.3s ease;
}
.theme-service-card--marigold .theme-service-card__icon { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); color: var(--color-accent); }
.theme-service-card:hover .theme-service-card__icon { color: #fff; }
.theme-service-card__kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.theme-service-card--rosa .theme-service-card__kicker { color: var(--color-primary); }
.theme-service-card--marigold .theme-service-card__kicker { color: var(--color-accent); }
.theme-service-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.theme-service-card__desc {
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255,255,255,0.9);
	transition: color 0.3s ease;
}
.theme-service-card:hover .theme-service-card__desc { color: #fff; }

/* -------------------------------------------------------------------------
   14. FAMILY MAKERS / EXTRAS SLIDER
   ---------------------------------------------------------------------- */
.theme-extras-section { background: var(--color-foreground); color: #fff; }
.theme-extras-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; overflow: hidden; }
@media (min-width: 1024px) { .theme-extras-grid { grid-template-columns: 1fr 1fr; } }
.theme-extras-grid__slider { position: relative; padding: 2rem 1rem; order: 2; }
@media (min-width: 1024px) { .theme-extras-grid__slider { padding: 3.5rem 1.5rem; } }
.theme-extras-slider { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); background: rgba(0,0,0,0.1); }
@media (min-width: 1024px) { .theme-extras-slider { aspect-ratio: auto; height: 100%; } }
.theme-extras-slider__track { position: relative; width: 100%; height: 100%; }
.theme-extras-slider__slide {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}
.theme-extras-slider__slide.is-active { opacity: 1; }
.theme-extras-slider__dots {
	position: absolute; bottom: 0.75rem; left: 50%;
	transform: translateX(-50%);
	display: flex; gap: 0.375rem;
	z-index: 2;
}
.theme-extras-slider__dot {
	height: 6px; width: 6px;
	border-radius: var(--radius-full);
	background: rgba(255,255,255,0.5);
	transition: all 0.3s ease;
}
.theme-extras-slider__dot.is-active { width: 1.5rem; background: #fff; }

.theme-extras-grid__content { display: flex; align-items: center; padding: 2rem 1.5rem; order: 1; }
@media (min-width: 768px) { .theme-extras-grid__content { padding: 2.5rem 3rem; } }
@media (min-width: 1024px) { .theme-extras-grid__content { padding: 3.5rem 4rem; } }
.theme-extras-grid__content-inner { max-width: 36rem; }
.theme-extras-section .theme-eyebrow {
	text-align: left;
	margin-bottom: 1.25rem;
}
.theme-extras-grid__paragraph { color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-extras-grid__paragraph--italic { color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 2.5rem; }

/* -------------------------------------------------------------------------
   15. SHOP SECTION
   ---------------------------------------------------------------------- */
.theme-shop-section { padding: 2.5rem 0; }
@media (min-width: 768px) { .theme-shop-section { padding: 4rem 0; } }
.theme-shop-section__head { text-align: center; margin-bottom: 3rem; }
.theme-shop-search {
	position: relative;
	max-width: 28rem;
	margin: 0 auto 2rem;
}
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	font-size: 1rem;
	color: var(--color-foreground);
	outline: none;
	transition: border-color 0.2s ease;
}
.theme-shop-search input:focus { border-bottom-color: var(--color-foreground); }
.theme-shop-search input::placeholder { color: var(--color-muted-foreground); }

.theme-shop-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border-radius: var(--radius-full);
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-button-text); }

.theme-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter__toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.theme-price-filter__toggle:hover { color: var(--color-foreground); }
.theme-price-filter__toggle svg { transition: transform 0.3s ease; }
.theme-price-filter__toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter__current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-price-filter__panel {
	width: 100%; max-width: 24rem;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-price-filter__panel.is-open { max-height: 200px; opacity: 1; padding-top: 0.5rem; }
.theme-price-filter__labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.5rem; }
.range-track-bg, .range-track-fill {
	position: absolute; height: 4px; top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	border-radius: var(--radius-full);
}
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.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;
	pointer-events: auto;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
	margin-top: -8px;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; border: none; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-section__more { text-align: center; margin-top: 3rem; }
.theme-shop-section__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   16. FINAL CTA
   ---------------------------------------------------------------------- */
.theme-cta-section { position: relative; overflow: hidden; }
.theme-cta-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cta-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cta-section__inner {
	position: relative;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	.theme-cta-section__inner {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}
}
.theme-cta-section__content { max-width: 56rem; margin: 0 auto; text-align: center; }
.theme-cta-section__paragraph { color: color-mix(in srgb, var(--color-background) 90%, transparent); line-height: 1.7; max-width: 28rem; margin: 0 auto 2.5rem; }
.theme-cta-section__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-cta-section__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-secondary); }
.site-footer .container-wide { padding-top: 2.5rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 3rem; padding-bottom: 2rem; } }
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__identity { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.theme-footer-nav-list { gap: 0.75rem 1rem; }
.site-footer__nav .theme-nav-link,
.theme-footer-nav-list .theme-nav-link {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-weight: 400;
}
.site-footer__nav .theme-nav-link:hover,
.theme-footer-nav-list .theme-nav-link:hover { color: var(--color-foreground); }
.theme-footer-email {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.8125rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.theme-footer-email:hover { color: var(--color-foreground); }
.site-footer__bottom {
	margin-top: 2rem; padding-top: 1rem;
	border-top: 1px solid var(--color-border);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	align-items: center;
	text-align: center;
}
@media (min-width: 640px) { .site-footer__bottom { grid-template-columns: repeat(3, 1fr); } }
.theme-footer-copy, .theme-footer-builtby { font-size: 12px; color: var(--color-muted-foreground); }
@media (min-width: 640px) { .theme-footer-copy { text-align: left; } .theme-footer-builtby { text-align: right; } }
.theme-footer-builtby a { text-decoration: underline; }
.theme-footer-builtby a:hover { color: var(--color-foreground); }
.theme-footer-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	border-radius: var(--radius-full);
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
	justify-self: center;
}
.theme-footer-badge svg { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   18. CONTACT MODAL
   ---------------------------------------------------------------------- */
body.contact-modal-open { overflow: hidden; }

.theme-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	visibility: hidden;
	pointer-events: none;
}
.theme-modal.is-open,
.theme-modal.is-closing {
	visibility: visible;
}
.theme-modal.is-open { pointer-events: auto; }
.theme-modal.is-closing { pointer-events: none; }

.theme-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.theme-modal.is-open .theme-modal__overlay { opacity: 1; }
.theme-modal.is-closing .theme-modal__overlay { opacity: 0; }

.theme-modal__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	box-shadow: var(--shadow-elevated);
	opacity: 0;
	transform: scale(0.95) translateY(0.5rem);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.theme-modal.is-open .theme-modal__content {
	opacity: 1;
	transform: scale(1) translateY(0);
}
.theme-modal.is-closing .theme-modal__content {
	opacity: 0;
	transform: scale(0.95) translateY(0.5rem);
}
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; padding: 0.25rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 1rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__description { color: var(--color-muted-foreground); line-height: 1.6; }
.theme-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal__meta-item { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__meta-item:hover { color: var(--color-foreground); }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%;
	padding: 0.625rem 1rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	font-size: 1rem;
	transition: box-shadow 0.3s ease;
}
.theme-form-field input:focus, .theme-form-field textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-form-field textarea { resize: none; }
.theme-modal__submit { width: 100%; margin-top: 0.25rem; }
.theme-modal__error { color: #C32222; font-size: 0.875rem; margin-bottom: 0.75rem; }
.theme-modal__success { text-align: center; padding: 2rem 0; opacity: 0; transform: scale(0.98); }
.theme-modal__success.is-visible {
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.theme-modal__success-icon {
	width: 3.5rem; height: 3.5rem;
	background: var(--color-primary);
	color: var(--color-button-text);
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	margin: 0 auto 1rem;
	transform: scale(0);
}
.theme-modal__success.is-visible .theme-modal__success-icon {
	animation: theme-modal-success-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}
@keyframes theme-modal-success-pop {
	from { transform: scale(0); }
	to { transform: scale(1); }
}
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { color: var(--color-muted-foreground); font-size: 0.875rem; }

/* -------------------------------------------------------------------------
   19. SIDE CART DRAWER
   ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 90;
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0;
	height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 91;
	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__header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); }

.theme-cart-drawer__items { flex: 1; overflow-y: 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; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; border-radius: 8px; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__controls button { padding: 0.25rem; border-radius: 4px; transition: background 0.2s ease; }
.theme-cart-item__controls button:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove: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 span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; font-size: 0.875rem; padding: 0.5rem 1rem; min-height: 2.25rem; }

/* Hide WooCommerce injected "View cart" link (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
   20. WOOCOMMERCE 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: 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;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--radius-xl);
	border: 1px solid var(--color-border);
	background: var(--color-secondary);
	color: var(--color-foreground);
	padding: 1rem 1.25rem;
	font-family: var(--font-body);
	list-style: none;
}
.woocommerce-error { border-color: #C32222; }

/* -------------------------------------------------------------------------
   21. SINGLE PRODUCT PAGE
   ---------------------------------------------------------------------- */
.single-product .site-main { padding-top: 1.5rem; padding-bottom: 4rem; }
.theme-breadcrumb {
	padding: 0.5rem 0 1rem;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: 1rem 0 3rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
	border-radius: var(--radius-xl);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.product-main-img-el { filter: brightness(1.06) contrast(1.03) saturate(1.04); transition: transform 0.3s ease, filter 0.3s ease; }
.theme-product-gallery__main:hover .product-main-img-el { filter: brightness(1.08) contrast(1.03) saturate(1.04); transform: scale(1.02); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
.theme-product-thumb {
	position: relative;
	width: 5rem; height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width: 768px) { .theme-product-thumb { width: 6rem; height: 6rem; } }
.theme-product-thumb img { opacity: 0.6; filter: brightness(1.06) contrast(1.03) saturate(1.04); transition: opacity 0.3s ease; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.875rem;
	line-height: 1.1;
	margin: 0.75rem 0 1.25rem;
	overflow-wrap: break-word;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.25rem; }
.theme-product-info__price del { color: var(--color-muted-foreground); margin-right: 0.5rem; }
.theme-product-info__stock.is-out { color: #C32222; font-weight: 500; margin-bottom: 1rem; }
.theme-product-info__excerpt { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; text-align: center;
	border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
	background: transparent;
	padding: 0.5rem 0.25rem;
	font-size: 0.875rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem 0;
	text-align: left;
	font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-accordion__trigger svg { transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; font-family: var(--font-body); }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__desc { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__list li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.theme-accordion__list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-foreground); margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.theme-related-products { padding: 4rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.theme-related-products__head { text-align: center; margin-bottom: 2.5rem; }
.theme-related-products__pre { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }

.posted_in, .woocommerce-product-details__short-description, .woocommerce-variation-description {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; font-family: var(--font-body); font-style: normal; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-full);
	transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }
.theme-variable-cart .theme-add-to-cart-area { margin-top: 1.25rem; }

/* -------------------------------------------------------------------------
   22. CHECKOUT BLOCK (Section 13)
   ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-top: 0;
	padding-bottom: 4rem;
}

/* Unlock parent wrappers so the checkout block controls width. */
body.woocommerce-checkout .site-main .container-wide,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .site-main > article {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

body.woocommerce-checkout .page-title {
	max-width: var(--checkout-max-width);
	margin: 0 auto 2rem;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .page-title { padding: 0 2rem; }
}

/* Checkout block container */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: var(--checkout-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .entry-content .wc-block-checkout,
	.entry-content .wp-block-woocommerce-checkout,
	.entry-content .wc-block-checkout {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout .wc-block-checkout {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* Notices: full width, aligned with checkout content */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices,
body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices,
.entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Two-column sidebar layout */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .entry-content .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	grid-column: 1 / -1;
	order: 1;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	order: 2;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	order: 3;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar {
		min-width: 360px;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	background: var(--color-background);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
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-display) !important;
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius-xl);
	font-family: var(--font-body);
}

/* -------------------------------------------------------------------------
   23. THANK YOU / CART / ACCOUNT PAGES
   ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 0; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details { max-width: 60rem; margin: 0 auto; }
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0; margin: 1rem 0 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
@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; }

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

/* -------------------------------------------------------------------------
   24. 404
   ---------------------------------------------------------------------- */
.theme-404 { display: flex; min-height: 60vh; align-items: center; justify-content: center; }
.theme-404__inner { text-align: center; padding: 4rem 0; }
.theme-404__code { font-size: 4rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__title { font-size: 1.5rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; max-width: 30rem; margin-left: auto; margin-right: auto; }
