/* =========================================================================
   Simply Chiming — theme.css
   Design tokens are emitted as CSS custom properties via wp_add_inline_style
   (see functions.php). Do not hardcode colors that have a Customizer control.
   ========================================================================= */

:root {
	--radius: 0.75rem;
	--font-display: 'Fraunces', serif;
	--font-body: 'Nunito', sans-serif;

	--shadow-soft: 0 6px 24px -8px rgba(14, 62, 67, 0.18);
	--shadow-elevated: 0 20px 50px -18px rgba(32, 181, 197, 0.35);
	--shadow-chime: 0 10px 30px -12px rgba(13, 116, 130, 0.28);

	--btn-radius: 0.5rem;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.8125rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--checkout-gap: 2rem;
	--header-height: 5rem; /* matches .site-nav height */
	--gutter-x: 1.5rem; /* Lovable container-wide: px-6 */
}

@media (min-width: 1024px) {
	:root {
		--header-height: 6rem;
		--gutter-x: 2rem; /* Lovable container-wide: lg:px-8 */
	}
}

/* -------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

/* Clickable affordance — pointer on interactive controls */
a,
button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"],
label[for],
select,
summary,
.collection-card,
.shop-filter-chip,
.theme-product-thumb,
.faq-item__question,
.cart-toggle,
.mobile-menu-toggle,
.theme-card-link,
.theme-qty-minus,
.theme-qty-plus,
.theme-cart-item__remove,
[data-cart-open],
[data-cart-close],
[data-faq-toggle],
[data-filter-chip],
[data-collection-filter],
[data-menu-toggle] {
	cursor: pointer;
}
.collection-card.is-coming-soon,
.collection-card:disabled,
button:disabled,
[disabled] {
	cursor: not-allowed;
}

/* Heading font-weight reset (Section 2.2 — Tailwind preflight parity) */
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	margin: 0;
}

.text-serif { font-family: var(--font-display); font-style: italic; color: var(--primary); }
.text-serif.text-accent { color: var(--accent); }
.text-serif.text-sunlit { color: var(--sunlit); }
.text-serif.text-primary { color: var(--primary); }

/* Lovable: .container-wide { @apply w-full max-w-7xl mx-auto px-6 lg:px-8; }
   Use padding-left/right only so .section-padding / py-* cannot zero the gutters. */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter-x);
	padding-right: var(--gutter-x);
}
.section-padding { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-padding { padding-top: 7rem; padding-bottom: 7rem; } }

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* -------------------------------------------------------------------------
   COVER IMAGES (Section 15.1 completeness rule)
   ------------------------------------------------------------------------- */
img:not(.cover-img):not(.theme-product-card__image):not(.collection-card__image):not(.site-logo-img):not(.hero-logo):not(.site-footer__logo) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card__image,
.collection-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: uppercase;
	border: none;
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}
.btn-hero-primary, .btn-hero-outline,
.single-product .single_add_to_cart_button { text-transform: none; }

.btn-primary, .theme-btn-primary { background-color: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover, .theme-btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-coral { background-color: var(--coral); color: #fff; }
.btn-coral:hover { opacity: 0.9; }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; height: auto; padding: 1.1rem 2.5rem; }

.btn-hero-primary { background-color: var(--coral); color: #fff; text-transform: uppercase; }
.btn-hero-primary:hover { opacity: 0.95; }
.btn-hero-primary .btn-arrow { transition: transform 0.3s ease; }
.btn-hero-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-hero-outline {
	background: rgba(255,255,255,0.1);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.7);
	color: #fff;
	text-transform: uppercase;
}
.btn-hero-outline:hover { background: #fff; color: var(--accent); }

/* -------------------------------------------------------------------------
   ANIMATION / MOTION (Section 2.1)
   ------------------------------------------------------------------------- */
.reveal-item, .hero-logo, .hero-ctas {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.25,0.4,0.25,1), transform 0.7s cubic-bezier(0.25,0.4,0.25,1);
}
.reveal-item.is-visible, .hero-logo.is-visible, .hero-ctas.is-visible,
body.is-customizer .reveal-item, body.is-customizer .hero-logo, body.is-customizer .hero-ctas {
	opacity: 1;
	transform: translateY(0);
}
.hero-logo { transition-duration: 1s; transition-delay: 0.3s; }
.hero-ctas { transition-duration: 0.7s; transition-delay: 0.7s; }

@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 cubic-bezier(0.4,0,0.2,1) forwards; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .hero-logo, .hero-ctas { transition: none !important; }
	.marquee__track { animation: none !important; }
}

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Keep fixed header clear of the WP admin bar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid, .site-header.menu-open {
	background-color: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--border);
	box-shadow: var(--shadow-soft);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
@media (min-width: 1024px) { .site-nav { height: 6rem; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; }
.site-logo-img {
	height: 3rem; /* Lovable: h-12 */
	width: auto;
	max-height: 3rem;
	object-fit: contain;
	transition: opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
}
.site-header.is-solid .site-logo-img, .site-header.menu-open .site-logo-img { opacity: 1; pointer-events: auto; }
@media (min-width: 768px) {
	.site-logo-img {
		height: var(--logo-height, 3.5rem); /* Lovable: md:h-14 (56px) */
		max-height: var(--logo-height, 3.5rem);
	}
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--foreground); }
.site-brand-name { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--foreground); }

.site-nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; margin: 0; }
.theme-nav-link {
	position: relative;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 600;
	color: rgba(255,255,255,0.95);
	text-shadow: 0 1px 3px rgba(0,0,0,0.25);
	transition: color 0.3s ease;
}
.site-header.is-solid .theme-nav-link, .site-header.menu-open .theme-nav-link { color: color-mix(in srgb, var(--foreground) 75%, transparent); text-shadow: none; }
.theme-nav-link::after {
	content: '';
	position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.theme-nav-link:hover { color: var(--primary); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-toggle, .mobile-menu-toggle {
	position: relative;
	background: none; border: none; padding: 0.5rem;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
	transition: color 0.3s ease;
}
.site-header.is-solid .cart-toggle, .site-header.menu-open .cart-toggle,
.site-header.is-solid .mobile-menu-toggle, .site-header.menu-open .mobile-menu-toggle {
	color: var(--foreground);
	filter: none;
}
.cart-toggle:hover, .mobile-menu-toggle:hover { color: var(--primary); }
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu-toggle .icon-menu,
.mobile-menu-toggle .icon-close {
	display: block;
	flex-shrink: 0;
}
.mobile-menu-toggle .icon-close { display: none; }
.site-header.menu-open .mobile-menu-toggle .icon-menu { display: none; }
.site-header.menu-open .mobile-menu-toggle .icon-close { display: block; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 700;
	background: var(--primary); color: var(--primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

/* Lovable hamburger: flex flex-col gap-3, text-left, text-sm, py-2 */
.mobile-menu { display: none; border-top: 1px solid var(--border); padding: 1rem 0; }
.mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s ease; }
@media (min-width: 1024px) { .mobile-menu, .mobile-menu.is-open { display: none !important; } }
.mobile-menu .theme-mobile-nav-list,
.mobile-menu .theme-nav-list,
.mobile-menu ul {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mobile-menu li { display: block; width: 100%; }
.theme-mobile-nav-list .theme-nav-link,
.mobile-menu .theme-nav-link,
.mobile-menu a {
	display: block;
	width: 100%;
	text-align: left;
	color: color-mix(in srgb, var(--foreground) 80%, transparent);
	text-shadow: none;
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 0.16em;
	font-weight: 600;
	padding: 0.5rem 0;
	background: none;
	border: none;
}
.mobile-menu a:hover,
.mobile-menu .theme-nav-link:hover { color: var(--primary); }
.mobile-menu .theme-nav-link::after { display: none; }

/* -------------------------------------------------------------------------
   HOME HERO
   ------------------------------------------------------------------------- */
body.theme-no-hero .site-main {
	padding-top: calc(var(--header-height) + 2.5rem);
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main {
		padding-top: calc(var(--header-height) + 3rem);
	}
}

.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding-top: 6rem;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--accent) 60%, transparent); }
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 5rem; padding-bottom: 5rem; }
.hero-logo {
	width: 100%;
	max-width: 17rem; /* Lovable: max-w-[17rem] */
	margin: 0 auto;
	height: auto;
	object-fit: contain;
	filter: brightness(0) invert(1) drop-shadow(0 6px 24px rgba(14,124,134,0.45));
}
@media (min-width: 640px) { .hero-logo { max-width: 24rem; } } /* sm:max-w-sm */
@media (min-width: 1024px) { .hero-logo { max-width: 32rem; } } /* lg:max-w-lg */
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding: 0 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* -------------------------------------------------------------------------
   MARQUEE
   ------------------------------------------------------------------------- */
.marquee { position: relative; width: 100%; overflow: hidden; background: var(--accent); color: var(--primary-foreground); }
.marquee__fade { position: absolute; top: 0; bottom: 0; width: 4rem; z-index: 1; pointer-events: none; }
.marquee__fade--left { left: 0; background: linear-gradient(to right, var(--accent), transparent); }
.marquee__fade--right { right: 0; background: linear-gradient(to left, var(--accent), transparent); }
@media (min-width: 640px) { .marquee__fade { width: 6rem; } }
.marquee__viewport { padding: 1rem 0; overflow: hidden; }
@media (min-width: 640px) { .marquee__viewport { padding: 1.25rem 0; } }
.marquee__track {
	display: flex;
	align-items: center;
	white-space: nowrap;
	width: max-content;
	animation: theme-marquee linear infinite;
}
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item { display: flex; align-items: center; }
.marquee__text { font-size: 0.875rem; letter-spacing: 0.12em; padding: 0 1.5rem; color: var(--primary-foreground); font-style: italic; }
@media (min-width: 640px) { .marquee__text { font-size: 1rem; padding: 0 2rem; } }
.marquee__item .icon { width: 14px; height: 14px; color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); flex-shrink: 0; }

/* -------------------------------------------------------------------------
   SECTION HEADINGS / EYEBROWS (Section 2.2 — per-section scales)
   ------------------------------------------------------------------------- */
.section-heading-wrap { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.eyebrow--inline { justify-content: flex-start; }
.eyebrow-line { height: 1px; width: 2.5rem; background: var(--primary); }
.eyebrow-line--sunlit { background: var(--sunlit); }
.eyebrow-line--light { background: color-mix(in srgb, var(--primary-foreground) 70%, transparent); }
.eyebrow-text {
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--primary);
}
.eyebrow-text--sunlit { color: var(--sunlit); }
.eyebrow-text--accent { color: var(--accent); }
.eyebrow-icon { color: var(--accent); }

.collections-section .section-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .collections-section .section-heading { font-size: 3.75rem; } }

.about-section .section-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }

.shop-heading { font-size: 2.25rem; line-height: 1.05; font-weight: 600; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.custom-orders-section .section-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .custom-orders-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .custom-orders-section .section-heading { font-size: 3.75rem; } }

.faq-section .section-heading { font-size: 2.25rem; line-height: 1.05; font-weight: 600; }
@media (min-width: 768px) { .faq-section .section-heading { font-size: 3rem; } }

.contact-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }

.section-subtitle { font-size: 1rem; line-height: 1.6; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }
.section-subtitle--light { color: color-mix(in srgb, var(--primary-foreground) 85%, transparent); }

/* -------------------------------------------------------------------------
   GRADIENT BACKGROUNDS
   ------------------------------------------------------------------------- */
.gradient-sunlit {
	background:
		radial-gradient(60% 50% at 18% 18%, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 60%),
		radial-gradient(55% 50% at 88% 25%, color-mix(in srgb, var(--sunlit) 22%, transparent) 0%, transparent 60%),
		radial-gradient(70% 60% at 65% 100%, color-mix(in srgb, var(--seafoam) 28%, transparent) 0%, transparent 65%),
		var(--background);
}
.gradient-shore { background: linear-gradient(180deg, var(--background) 0%, color-mix(in srgb, var(--secondary) 85%, white) 100%); }

/* -------------------------------------------------------------------------
   COLLECTIONS GRID
   ------------------------------------------------------------------------- */
.collections-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .collections-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .collections-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; } }

.collection-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: left;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
	padding: 0;
}
.collection-card:not(.is-coming-soon):hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--primary) 50%, transparent); }
.collection-card.is-coming-soon { background: color-mix(in srgb, var(--muted) 40%, transparent); border: 1px dashed color-mix(in srgb, var(--primary) 30%, transparent); cursor: not-allowed; }
.collection-card__media { position: relative; aspect-ratio: 4/3; width: 100%; overflow: hidden; background: var(--secondary); }
.collection-card__image { transition: transform 0.7s ease; }
.collection-card:not(.is-coming-soon):hover .collection-card__image { transform: scale(1.05); }
.collection-card.is-coming-soon .collection-card__image { filter: grayscale(1); opacity: 0.6; }
.collection-card__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--accent) 60%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 60%, transparent); }
.collection-card__icon {
	position: absolute; top: 0.75rem; left: 0.75rem;
	width: 2.5rem; height: 2.5rem;
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--primary), var(--seafoam));
	color: var(--primary-foreground);
	box-shadow: var(--shadow-chime);
}
.collection-card.is-coming-soon .collection-card__icon { background: color-mix(in srgb, var(--background) 80%, transparent); color: var(--accent); }
.collection-card__badge {
	position: absolute; top: 0.75rem; right: 0.75rem;
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: var(--sunlit); color: var(--accent);
	box-shadow: var(--shadow-soft);
}
.collection-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.collection-card__name { font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.25rem; }
.collection-card__tagline { font-size: 0.875rem; margin-bottom: 0.75rem; }
.collection-card.is-coming-soon .collection-card__tagline { color: color-mix(in srgb, var(--foreground) 55%, transparent); font-style: normal; font-family: var(--font-body); }
.collection-card__desc { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; }
.collection-card__cta {
	margin-top: auto; padding-top: 1.25rem;
	display: inline-flex; align-items: center; gap: 0.25rem;
	font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
	color: var(--primary);
}
.collection-card.is-coming-soon .collection-card__cta { color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.collection-card:not(.is-coming-soon):hover .collection-card__cta { gap: 0.5rem; }

/* -------------------------------------------------------------------------
   SHOP SECTION
   ------------------------------------------------------------------------- */
.shop-heading-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-active-tagline { display: none; margin-top: 0.75rem; font-size: 1.125rem; color: var(--primary); font-family: var(--font-display); font-style: italic; }

.shop-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.shop-filter-chip {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 700;
	background: var(--card);
	border: 1px solid var(--border);
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
	transition: all 0.2s ease;
}
@media (min-width: 768px) { .shop-filter-chip { font-size: 0.875rem; } }
.shop-filter-chip:hover { border-color: color-mix(in srgb, var(--primary) 60%, transparent); color: var(--primary); }
.shop-filter-chip.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); box-shadow: var(--shadow-chime); }

.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 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.shop-empty, .archive-product-grid:empty::after { color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* -------------------------------------------------------------------------
   PRODUCT CARD (Pattern A — hit-area overlay, Section 31.3)
   ------------------------------------------------------------------------- */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.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__image-wrapper {
	position: relative;
	aspect-ratio: 1/1;
	width: 100%;
	overflow: hidden;
	background: var(--secondary);
	margin-bottom: 1rem;
	border-radius: 0;
}
.theme-product-card__image { transition: transform 0.6s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__badge {
	position: absolute; top: 0.5rem; left: 0.5rem;
	padding: 0.35rem 0.75rem;
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background: var(--foreground); color: var(--background);
	z-index: 1;
}
@media (min-width: 768px) { .theme-product-card__badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__info { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.theme-product-card__title { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 700; color: color-mix(in srgb, var(--foreground) 65%, transparent); font-family: var(--font-body); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 2fr 3fr; gap: 4rem; } }
.about-media { position: relative; }
.about-media__frame { position: relative; aspect-ratio: 4/5; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); border: 2px solid color-mix(in srgb, var(--primary) 20%, transparent); }
.about-quote-card {
	position: absolute; bottom: -1.5rem; right: -1rem;
	background: var(--card); border: 1px solid var(--border);
	border-radius: 1rem; box-shadow: var(--shadow-chime);
	padding: 1rem 1.5rem; max-width: 220px;
}
@media (min-width: 768px) { .about-quote-card { right: -2rem; } }
.about-quote { font-size: 1rem; line-height: 1.3; }
.about-quote-author { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-top: 0.5rem; }
.about-paragraph { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 80%, transparent); margin-bottom: 1rem; }
.about-paragraph:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .about-paragraph:first-of-type { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   CUSTOM ORDERS SECTION
   ------------------------------------------------------------------------- */
.custom-orders-section { position: relative; overflow: hidden; background: var(--accent); color: var(--primary-foreground); }
.custom-orders-bg { z-index: 0; }
.custom-orders-overlay { position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--accent) 60%, transparent); }
.custom-orders-inner { position: relative; z-index: 2; }

.custom-steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 64rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 768px) { .custom-steps-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.custom-step-card {
	position: relative;
	display: flex; flex-direction: column; text-align: left;
	background: color-mix(in srgb, var(--primary-foreground) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--primary-foreground) 20%, transparent);
	backdrop-filter: blur(4px);
	border-radius: 1rem; padding: 2rem;
	transition: transform 0.5s ease, background-color 0.5s ease, box-shadow 0.5s ease;
}
.custom-step-card:hover { transform: translateY(-8px); background: color-mix(in srgb, var(--primary-foreground) 15%, transparent); box-shadow: var(--shadow-elevated); }
.custom-step-card__num { position: absolute; top: 1rem; right: 1.25rem; font-size: 3.75rem; font-weight: 700; color: color-mix(in srgb, var(--primary-foreground) 10%, transparent); pointer-events: none; font-family: var(--font-display); }
.custom-step-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--coral); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--coral) 30%, transparent); color: #fff; }
.custom-step-card__title {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--primary-foreground);
}
.custom-step-card__desc { font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--primary-foreground) 85%, transparent); }

.custom-orders-cta { text-align: center; margin-top: 3.5rem; }
.custom-orders-shipping-note { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--primary-foreground) 70%, transparent); }

/* -------------------------------------------------------------------------
   FAQ SECTION
   ------------------------------------------------------------------------- */
.faq-inner { max-width: 56rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.faq-item.is-open { border-color: color-mix(in srgb, var(--primary) 50%, transparent); box-shadow: var(--shadow-soft); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; background: none; border: none; }
.faq-item__q-text { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 999px; background: var(--secondary); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.faq-item__icon .icon-minus { display: none; }
.faq-item.is-open .faq-item__icon .icon-plus { display: none; }
.faq-item.is-open .faq-item__icon .icon-minus { display: block; }
.faq-item__answer { max-height: 0; overflow: hidden; padding: 0 1.5rem; transition: max-height 0.3s cubic-bezier(0.25,0.4,0.25,1), padding 0.3s ease; }
.faq-item.is-open .faq-item__answer { max-height: 600px; padding: 0 1.5rem 1.5rem; }
.faq-item__answer p { font-size: 0.9375rem; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
@media (min-width: 768px) { .faq-item__answer p { font-size: 1rem; } }

/* -------------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; }
.contact-bg-video { z-index: 0; }
.contact-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 85%, transparent), color-mix(in srgb, var(--accent) 75%, transparent), color-mix(in srgb, var(--accent) 90%, transparent)); }
.contact-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2.5rem; max-width: 48rem; margin: 0 auto; }
@media (min-width: 1024px) { .contact-inner { gap: 3.5rem; } }
.contact-header { text-align: center; display: flex; flex-direction: column; align-items: center; color: var(--primary-foreground); }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 700; }
.contact-subtitle { color: color-mix(in srgb, var(--primary-foreground) 90%, transparent); font-size: 1rem; margin-bottom: 2rem; max-width: 36rem; }
@media (min-width: 768px) { .contact-subtitle { font-size: 1.125rem; } }
.contact-info-list { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
@media (min-width: 640px) { .contact-info-list { flex-direction: row; justify-content: center; gap: 2rem; } }
.contact-info-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--primary-foreground); }
.contact-info-list a:hover { color: var(--sunlit); }
.contact-info-list svg { color: var(--sunlit); flex-shrink: 0; }

.contact-form-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 1.5rem; }
@media (min-width: 768px) { .contact-form-card { padding: 2rem; } }
.contact-form__intro { margin-bottom: 1.5rem; }
.contact-form__title { font-size: 1.5rem; line-height: 1.3; }
@media (min-width: 768px) { .contact-form__title { font-size: 1.875rem; } }
.contact-form__subtitle { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.6; }

.form-field { margin-bottom: 1rem; }
.form-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; margin-bottom: 0.5rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.form-input {
	width: 100%; padding: 0.75rem 1rem;
	background: color-mix(in srgb, var(--secondary) 50%, transparent);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	transition: all 0.2s ease;
	color: var(--foreground);
}
.form-input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.form-input:focus { outline: none; border-color: var(--primary); background: var(--background); }
.form-textarea { resize: none; }
.form-hint { margin-top: 0.5rem; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

.contact-form-success { text-align: center; padding: 1.5rem 0; }
.contact-form-success__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-form-success__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-success__text { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 60%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.site-footer__logo { height: 4rem; max-height: 4rem; width: auto; object-fit: contain; } /* Lovable: h-16 */
.site-footer__tagline-1 { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); max-width: 20rem; line-height: 1.6; }
.site-footer__tagline-2 { margin-top: 0.75rem; font-size: 1rem; }
.site-footer__social { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.site-footer__social-link { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: color-mix(in srgb, var(--foreground) 65%, transparent); transition: color 0.2s ease, border-color 0.2s ease; }
.site-footer__social-link:hover { color: var(--primary); border-color: var(--primary); }
.site-footer__heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem; color: var(--primary); }
.site-footer__nav-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}
.site-footer__nav-list .theme-nav-list,
.site-footer__nav-list ul {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__nav-list li {
	display: block;
	width: 100%;
}
.site-footer__nav-list a,
.site-footer__nav-list button,
.site-footer__nav-list .theme-nav-link {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--foreground) 65%, transparent);
	background: none;
	border: none;
	padding: 0;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
	text-shadow: none;
}
.site-footer__nav-list a:hover,
.site-footer__nav-list button:hover,
.site-footer__nav-list .theme-nav-link:hover { color: var(--primary); }
.site-footer__nav-list .theme-nav-link::after { display: none; }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.site-footer__contact-list svg { color: var(--primary); flex-shrink: 0; }
.site-footer__contact-list a { word-break: break-all; }
.site-footer__contact-list a:hover { color: var(--primary); }
.site-footer__note { margin-top: 1.5rem; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.6; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__copy, .site-footer__credit { font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.site-footer__credit a { color: var(--primary); }
.site-footer__credit a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55;
	background: color-mix(in srgb, var(--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: var(--background);
	z-index: 56;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.25,0.4,0.25,1), opacity 0.2s ease;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; color: var(--foreground); }
.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 svg { color: color-mix(in srgb, var(--foreground) 50%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-bottom: 1.5rem; }

.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 { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--secondary); overflow: hidden; border-radius: 0.375rem; }
.theme-cart-item__image img,
.theme-cart-item__image .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { background: none; border: none; padding: 0.25rem; border-radius: 0.25rem; color: var(--foreground); }
.theme-cart-qty-btn:hover { background: var(--secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; background: none; border: none; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); padding: 0; }
.theme-cart-item__remove:hover { color: var(--foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (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; }

/* -------------------------------------------------------------------------
   ADD TO CART BUTTON — WooCommerce 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(--primary) !important;
	color: var(--primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--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; }

/* -------------------------------------------------------------------------
   SINGLE PRODUCT PAGE
   ------------------------------------------------------------------------- */
.single-product-main {
	padding-top: calc(var(--header-height) + 2.5rem);
}
@media (min-width: 1024px) {
	.single-product-main {
		padding-top: calc(var(--header-height) + 3rem);
	}
}
.back-to-shop-row { padding: 1.5rem 0 1rem; }
.back-to-shop-link { display: inline-flex; align-items: center; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--foreground); }
.back-to-shop-link svg { margin-right: 0.5rem; }

.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-main-image { position: relative; aspect-ratio: 3/4; background: var(--secondary); overflow: hidden; margin-bottom: 1rem; border-radius: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 0.375rem; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; padding: 0; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--primary); }

.theme-product-category { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-product-category a { color: inherit; text-decoration: none; }
.theme-product-category a:hover { color: var(--primary); }
.product-title { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; }
.theme-product-price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-stock-status--out { display: inline-block; margin-bottom: 1rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--destructive, #dd3c41); }
.theme-product-description { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area, .theme-product-info .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; background: none; border: none; color: var(--foreground); transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: none; font-family: var(--font-body); -moz-appearance: textfield; padding: 0.75rem 0; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-details { border-top: 1px solid var(--border); padding-top: 2rem; }
.theme-product-details__heading { font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-product-details__content ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__content li { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); display: flex; align-items: flex-start; }
.theme-product-details__content li::before {
	content: '';
	width: 6px; height: 6px; border-radius: 999px;
	background: var(--primary);
	margin-top: 0.45rem; margin-right: 0.75rem; flex-shrink: 0;
}
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.related-products-heading { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }

/* Variation 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; }
.single-product .variations tbody td.value { padding-top: 0; }
/* -------------------------------------------------------------------------
   WOOCOMMERCE NOTICES (Section 14.1)
   ------------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem;
	border-radius: 0.5rem; font-size: 0.875rem;
	background: var(--secondary); color: var(--foreground);
	border-left: 3px solid var(--primary);
}
.woocommerce-error { border-left-color: var(--destructive, #dd3c41); }

/* -------------------------------------------------------------------------
   ARCHIVE / SHOP PAGE
   ------------------------------------------------------------------------- */
.woocommerce-archive-main {
	padding-top: calc(var(--header-height) + 2.5rem);
}
@media (min-width: 1024px) {
	.woocommerce-archive-main {
		padding-top: calc(var(--header-height) + 3rem);
	}
}
.theme-pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.5rem; }
.theme-pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--border); border-radius: 0.4rem; }
.theme-pagination .page-numbers.current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* -------------------------------------------------------------------------
   GENERIC PAGE / 404
   ------------------------------------------------------------------------- */
.page-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }
.not-found-page { text-align: center; padding-top: 9rem; padding-bottom: 6rem; }
.not-found-text { color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   CHECKOUT BLOCK (Section 13)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 2.5rem);
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main {
		padding-top: calc(var(--header-height) + 3rem);
	}
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	background-color: var(--card);
	padding: revert;
}
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-text-input input:focus-visible { border-color: var(--primary); outline: none; }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: color-mix(in srgb, var(--secondary) 60%, transparent);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	font-weight: 700 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }

/* Site container / title parity (Section 13.2.1) */
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin: 0 auto 1.5rem; }

/* WooCommerce blocks sometimes add their own side padding; gutters live on .container-wide. */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce {
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}
@media (max-width: 767px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		padding: 1.25rem;
	}
}

/* -------------------------------------------------------------------------
   THANK YOU PAGE (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { border-right: 1px solid var(--border); padding-right: 1.5rem; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-body); font-weight: 700; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
@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; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; font-style: normal; }

/* -------------------------------------------------------------------------
   FLEX TEXT SAFETY / MIN-WIDTH (Section 31.9)
   ------------------------------------------------------------------------- */
.site-brand, .theme-product-card__info { min-width: 0; }
