/* ==========================================================================
   Pink Crown Press — theme.css
   Fonts loaded via Google Fonts <link> (Marcellus + Manrope). Color tokens
   are emitted as CSS variables by PHP from the Customizer (Section 22.9).
   ========================================================================== */

:root {
	--font-display: 'Marcellus', 'Georgia', serif;
	--font-body: 'Manrope', system-ui, sans-serif;
	--radius: 0.5rem;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 96px;
	--btn-radius: 999px;
	--btn-height: 48px;
	--btn-padding: 14px 28px;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.08em;
	--btn-text-transform: uppercase;
	--checkout-gap: 2rem;
	--card-radius: 0.75rem;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.005em;
	color: var(--color-foreground);
}
p, span, a, button, li, label, input, textarea, select, small, time { font-size: max(0.875rem, 14px); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
ul, ol { margin: 0; padding: 0; }

img:not(.cover-img):not(.hero-media-img):not(.about-media-img):not(.about-media-video):not(.custom-orders-bg):not(.services-media-img):not(.services-media-video):not(.category-card-img):not(.site-logo-img):not(.footer-logo-img):not(.theme-product-card__image):not(.theme-thumb-main img):not(.theme-thumb-btn img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-media-img,
.about-media-img,
.about-media-video,
.custom-orders-bg,
.services-media-img,
.services-media-video,
.category-card-img,
.theme-product-card__image,
.theme-thumb-main img,
.theme-thumb-btn img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.theme-icon { width: 20px; height: 20px; flex-shrink: 0; }
.theme-icon-sm { width: 16px; height: 16px; }
.theme-icon-xs { width: 14px; height: 14px; }
.theme-icon-lg { width: 48px; height: 48px; }

.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 480px) { .container-wide { padding: 0 2rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.cs-label {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	line-height: 1.2;
	color: var(--color-cta);
	display: inline-block;
}

.pcp-underline { position: relative; display: inline-block; }
.pcp-underline::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 2px;
	background-color: var(--color-cta);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 400ms var(--transition-smooth);
}
.group:hover .pcp-underline::after,
a:hover .pcp-underline::after,
button:hover .pcp-underline::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.pcp-btn-cta, .btn-hero-primary {
	background-color: var(--color-cta);
	color: var(--color-button-text);
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 14px;
	padding: 14px 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: transform 300ms var(--transition-smooth), background-color 300ms var(--transition-smooth), opacity 200ms ease;
}
.pcp-btn-cta:hover { transform: scale(1.03); background-color: var(--color-cta-hover); }

.pcp-btn-outline, .btn-hero-outline {
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 14px;
	padding: 13px 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: transform 300ms var(--transition-smooth), border-color 300ms var(--transition-smooth), color 300ms var(--transition-smooth);
}
.pcp-btn-outline:hover { transform: scale(1.03); border-color: var(--color-cta); color: var(--color-cta); }

.pcp-price, .product-card-price, .product-detail-price-row .woocommerce-Price-amount {
	color: var(--color-cta);
	font-family: var(--font-display);
	font-weight: 400;
}

.pcp-card-hover {
	transition: transform 500ms var(--transition-smooth), border-color 300ms ease-out;
	will-change: transform;
	border: 1px solid transparent;
}
.pcp-card-hover:hover { transform: scale(1.02); border-color: var(--color-cta); }

/* --------------------------------------------------------------------------
   Reveal / scroll animation system (Section 2.1)
   -------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms var(--transition-smooth), transform 900ms var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0ms);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	.pcp-card-hover, .pcp-card-hover:hover, .pcp-btn-cta:hover, .pcp-btn-outline:hover { transition: none !important; transform: none !important; }
	.pcp-hero-gradient::before, .pcp-hero-gradient::after, .pcp-ken-burns-img { animation: none !important; }
}

.animate-fade-in { animation: pcpFadeIn 0.6s var(--transition-smooth) forwards; }
@keyframes pcpFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid var(--color-border);
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 80px; }
@media (min-width: 768px) { .site-nav { height: 96px; } }
.site-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; transition: transform 500ms var(--transition-smooth); }
.site-header .site-brand {
	position: relative;
	z-index: 1;
	max-width: min(12rem, 52vw);
	overflow: hidden;
	line-height: 0;
}
.site-brand:hover { transform: scale(1.04); }
.site-logo-img {
	height: var(--logo-height, 56px) !important;
	max-height: var(--logo-height, 56px) !important;
	width: auto !important;
	max-width: 100% !important;
	display: block;
	object-fit: contain;
	position: static !important;
	inset: auto !important;
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.site-header .site-brand .site-logo-img:not(.footer-logo-img) {
		height: max(var(--logo-height, 56px), 64px) !important;
		max-height: max(var(--logo-height, 56px), 64px) !important;
	}
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }

.site-nav-links { display: none; align-items: center; gap: 2rem; margin-left: auto; }
@media (min-width: 768px) { .site-nav-links { display: flex; } }
.theme-nav-list, .theme-mobile-nav-list, .footer-nav-list { list-style: none; margin: 0; padding: 0; }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .theme-nav-list a {
	font-family: var(--font-body);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-foreground);
	transition: color 300ms ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-cta); }
.theme-nav-list .current-menu-item a { color: var(--color-cta); }

.site-nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-btn {
	position: relative;
	width: 40px; height: 40px;
	border-radius: 999px;
	border: 1px solid var(--color-foreground);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	transition: color 300ms ease, border-color 300ms ease;
}
.theme-cart-btn:hover { border-color: var(--color-cta); color: var(--color-cta); }
.theme-cart-count {
	position: absolute; top: -4px; right: -4px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px;
	background-color: var(--color-cta);
	color: #fff;
	font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .theme-icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-icon-close { display: block; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0 1.25rem; }
.theme-mobile-menu.is-open { display: block; animation: pcpFadeIn 0.3s var(--transition-smooth); }
.theme-mobile-menu .theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
}
.theme-mobile-menu .theme-mobile-nav-list a,
.theme-mobile-menu .theme-nav-list a,
.theme-mobile-menu .theme-nav-list .theme-nav-link {
	display: block;
	padding: 0.75rem 0.25rem;
	border-radius: 6px;
}
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-mobile-nav-list a {
	display: block; padding: 0.75rem 0.5rem; border-radius: 6px;
	color: var(--color-foreground);
	font-size: 15px; text-transform: uppercase; letter-spacing: 0.15em;
	transition: background-color 200ms ease, color 200ms ease;
}
.theme-mobile-nav-list a:hover { background-color: var(--color-secondary); color: var(--color-cta); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-section { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; background-color: var(--color-background); }
body.theme-no-hero .hero-section { display: none; }
.hero-inner { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 1.5rem 2rem; }
@media (max-width: 1023px) {
	.hero-inner.container-wide { padding-inline: clamp(1.5rem, 5.5vw, 2.5rem); }
}
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding-block: 2rem; } }
.hero-copy { display: flex; flex-direction: column; }
.hero-label { margin-top: 0.5rem; }
.hero-title { font-family: var(--font-display); color: var(--color-foreground); margin-top: 0.5rem; letter-spacing: -0.01em; line-height: 0.92; font-size: clamp(3rem, 8vw, 5rem); }
@media (min-width: 768px) { .hero-title { font-size: clamp(4.5rem, 8vw, 9.5rem); } }
.hero-title-line { display: block; font-size: inherit; }
.hero-title-accent { color: var(--color-cta); }
.hero-paragraph { margin-top: 0.75rem; max-width: 32rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .hero-paragraph { font-size: 16px; } }
.hero-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-media { position: relative; width: 100%; height: 100%; min-height: 360px; }
.hero-media-frame { position: relative; width: 100%; height: 100%; min-height: 360px; overflow: hidden; background-color: var(--color-secondary); border: 1px solid var(--color-secondary); border-radius: 20px; }
.hero-media-img { transition: transform 500ms var(--transition-smooth); object-position: top center; }
.hero-media-frame:hover .hero-media-img { transform: scale(1.02) rotate(2deg); }
.hero-floating-card {
	position: absolute; left: 1rem; bottom: 1rem; z-index: 10;
	background-color: var(--color-background);
	border: 1px solid var(--color-secondary);
	display: flex; align-items: center; gap: 0.75rem;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	border-radius: 14px;
	transition: transform 300ms ease, border-color 300ms ease;
}
@media (min-width: 768px) { .hero-floating-card { left: 1.25rem; bottom: 1.25rem; padding: 0.625rem 0.625rem 0.625rem 1.25rem; } }
.hero-floating-card:hover { transform: scale(1.05); border-color: var(--color-cta); }
.hero-floating-card-name { font-family: var(--font-display); color: var(--color-foreground); font-size: 0.95rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hero-floating-card-price { color: var(--color-cta); font-size: 0.9rem; font-weight: 600; margin-top: 2px; display: block; }
.hero-floating-card-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; background-color: var(--color-cta); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

.pcp-hero-gradient { position: relative; isolation: isolate; }
.pcp-hero-gradient::before, .pcp-hero-gradient::after { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none; will-change: transform, background-position; }
.pcp-hero-gradient::before {
	background:
		radial-gradient(60% 55% at 20% 30%, color-mix(in srgb, var(--color-primary) 75%, transparent) 0%, transparent 65%),
		radial-gradient(55% 55% at 80% 25%, color-mix(in srgb, var(--color-accent) 55%, transparent) 0%, transparent 65%),
		radial-gradient(65% 60% at 50% 85%, color-mix(in srgb, var(--color-primary) 55%, transparent) 0%, transparent 70%),
		radial-gradient(50% 50% at 85% 75%, color-mix(in srgb, var(--color-accent) 50%, transparent) 0%, transparent 70%);
	background-size: 200% 200%;
	animation: pcpBlobA 18s ease-in-out infinite;
	filter: blur(30px);
}
.pcp-hero-gradient::after {
	background:
		radial-gradient(50% 50% at 70% 40%, color-mix(in srgb, var(--color-primary) 55%, transparent) 0%, transparent 70%),
		radial-gradient(55% 55% at 30% 70%, color-mix(in srgb, var(--color-accent) 50%, transparent) 0%, transparent 70%);
	background-size: 220% 220%;
	animation: pcpBlobB 20s ease-in-out infinite;
	filter: blur(40px);
	mix-blend-mode: multiply;
}
@keyframes pcpBlobA { 0% { background-position: 0% 0%; transform: translate3d(-3%, -2%, 0) scale(1); } 50% { background-position: 100% 100%; transform: translate3d(4%, 3%, 0) scale(1.1); } 100% { background-position: 0% 0%; transform: translate3d(-3%, -2%, 0) scale(1); } }
@keyframes pcpBlobB { 0% { background-position: 100% 0%; transform: translate3d(3%, 2%, 0) scale(1.05); } 50% { background-position: 0% 100%; transform: translate3d(-4%, -3%, 0) scale(0.95); } 100% { background-position: 100% 0%; transform: translate3d(3%, 2%, 0) scale(1.05); } }

/* Home hero must fill viewport under the fixed transparent header */
body.theme-no-hero .site-main,
body.theme-no-hero .theme-page-main,
body.theme-no-hero .theme-shop-archive-main,
body.theme-no-hero .single-product-main { padding-top: var(--header-height); }

/* --------------------------------------------------------------------------
   Section headings (per-section scale, Section 2.2.5)
   -------------------------------------------------------------------------- */
.section-heading-wrap { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
.section-subtext, .section-note { margin-top: 1rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 768px) { .section-subtext { font-size: 16px; } }

.categories-section, .shop-section, .reviews-section, .services-section, .faq-section, .contact-section, .about-section {
	padding: 5rem 0;
}
@media (min-width: 1024px) { .categories-section, .shop-section, .reviews-section, .services-section, .faq-section, .contact-section, .about-section { padding: 7rem 0; } }

.categories-heading, .services-heading, .about-heading { font-size: 2.25rem; line-height: 1.2; margin-top: 1rem; }
@media (min-width: 768px) { .categories-heading, .services-heading, .about-heading { font-size: 3.75rem; } }
.shop-heading, .reviews-heading, .faq-heading { font-size: 2.25rem; line-height: 1.2; margin-top: 1rem; }
@media (min-width: 768px) { .shop-heading, .reviews-heading, .faq-heading { font-size: 3.75rem; } }
.contact-title { font-size: 3rem; line-height: 1.2; margin-top: 1rem; }
@media (min-width: 768px) { .contact-title { font-size: 4.5rem; } }

.categories-heading em, .shop-heading em, .reviews-heading em, .about-heading em, .contact-title em, .faq-heading em { font-style: italic; color: var(--color-accent); }

/* --------------------------------------------------------------------------
   Categories grid
   -------------------------------------------------------------------------- */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.category-card {
	position: relative; display: block; width: 100%;
	aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px;
	background-color: var(--color-secondary);
	text-align: left; padding: 0;
}
.category-card-img { object-fit: contain; padding: 2rem; }
.category-card-placeholder { object-fit: cover; padding: 0; filter: blur(10px); transform: scale(1.1); }
.category-card-coming-soon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.category-card-badge {
	font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em;
	color: var(--color-foreground);
	background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
	padding: 0.375rem 0.75rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.category-card-label-wrap {
	position: absolute; inset-inline: 0; bottom: 0; padding: 1rem;
	background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 80%, transparent), transparent);
}
.category-card-title { font-size: 1.25rem; }
@media (min-width: 768px) { .category-card-title { font-size: 1.5rem; } }

/* --------------------------------------------------------------------------
   Shop filter + grid
   -------------------------------------------------------------------------- */
.shop-filter-bar { margin-bottom: 2.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .shop-filter-bar { flex-direction: row; } }
.shop-filter-label { color: var(--color-accent); flex-shrink: 0; }
.shop-filter-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.shop-filter-btn {
	padding: 0.375rem 1rem; border-radius: 999px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em;
	font-weight: 500; border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	color: var(--color-foreground); background: transparent; transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}
.shop-filter-btn:hover { border-color: var(--color-cta); color: var(--color-cta); }
.shop-filter-btn.is-active { background-color: var(--color-cta); color: #fff; border-color: var(--color-cta); }

.theme-product-grid, .shop-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.shop-archive-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .shop-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background-color: var(--color-background);
	border-radius: 8px; overflow: hidden;
	transition: transform 500ms var(--transition-smooth), border-color 300ms ease-out;
	border: 1px solid transparent;
}
.theme-product-card:hover { transform: scale(1.02); border-color: var(--color-cta); }
.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, .coming-soon-image {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden; background-color: var(--color-secondary);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image { transition: transform 500ms var(--transition-smooth); }
.coming-soon-image { position: relative; }
.coming-soon-blur { filter: blur(10px); transform: scale(1.1); }
.coming-soon-overlay { position: absolute; inset: 0; z-index: 1; background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.coming-soon-badge-wrap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.coming-soon-tile .theme-product-card { cursor: not-allowed; opacity: 0.95; }
.coming-soon-tile .theme-product-card:hover { transform: none; border-color: transparent; }
.coming-soon-pill {
	flex-shrink: 0;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-accent);
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	white-space: nowrap;
}
.theme-stock-badge {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	background-color: var(--color-foreground); color: #fff;
	font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
	padding: 0.25rem 0.625rem; border-radius: 999px;
}

.theme-product-card__info { flex: 1; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__text { flex: 1; min-width: 0; }
.product-card-category { display: block; font-size: 14px; color: var(--color-accent); }
.product-card-title { font-size: 1.25rem; margin-top: 0.25rem; line-height: 1.2; }
@media (min-width: 768px) { .product-card-title { font-size: 1.5rem; } }
.product-card-shown-on { margin-top: 0.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.product-card-price { font-size: 1.125rem; font-weight: 500; white-space: nowrap; flex-shrink: 0; }

.shop-empty-message { text-align: center; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); padding: 4rem 0; }

.theme-pagination { margin-top: 2.5rem; display: flex; justify-content: center; gap: 0.5rem; }
.theme-pagination .page-numbers { padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--color-border); }
.theme-pagination .page-numbers.current { background-color: var(--color-cta); color: #fff; border-color: var(--color-cta); }

/* --------------------------------------------------------------------------
   Trust marquee
   -------------------------------------------------------------------------- */
.trust-strip-section { padding: 2rem 0 2.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.pcp-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pcp-marquee-track { display: flex; flex-shrink: 0; min-width: 100%; gap: 3rem; padding-right: 3rem; animation: pcpMarquee 28s linear infinite; will-change: transform; list-style: none; }
.pcp-marquee:hover .pcp-marquee-track { animation-play-state: paused; }
@keyframes pcpMarquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.trust-item { display: flex; align-items: center; gap: 0.75rem; color: var(--color-foreground); white-space: nowrap; }
.trust-icon { color: var(--color-cta); }
.trust-item span { font-size: 14px; letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card { background-color: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column; transition: border-color 300ms ease; }
.review-card:hover { border-color: var(--color-cta); }
.review-stars { display: flex; align-items: center; gap: 0.25rem; color: var(--color-cta); margin-bottom: 1rem; }
.review-star { fill: var(--color-cta); }
.review-quote { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; flex: 1; }
@media (min-width: 768px) { .review-quote { font-size: 15px; } }
.review-meta { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.review-name { font-family: var(--font-display); font-size: 14px; }
.review-location { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-section { position: relative; overflow: hidden; background-color: var(--color-secondary); }
.about-watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 0; pointer-events: none; user-select: none; overflow: hidden; }
.about-watermark span {
	font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.02em;
	font-size: 15vw; line-height: 1; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1.5px var(--color-accent); opacity: 0.14;
}
.about-inner { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-bio { margin-top: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px; line-height: 1.7; }
@media (min-width: 768px) { .about-bio { font-size: 16px; } }
.about-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.about-tag { display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 999px; background-color: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); font-size: 14px; }
.about-cta { margin-top: 2rem; }
.about-media { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background-color: var(--color-background); }

/* --------------------------------------------------------------------------
   Custom orders CTA
   -------------------------------------------------------------------------- */
.custom-orders-section { position: relative; overflow: hidden; padding: 6rem 0; }
@media (min-width: 1024px) { .custom-orders-section { padding: 8rem 0; } }
.custom-orders-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 45%, transparent); z-index: 1; }
.custom-orders-inner { position: relative; z-index: 10; }
.custom-orders-content { max-width: 42rem; margin: 0 auto; text-align: center; color: var(--color-background); }
.custom-orders-heading { font-size: 2.25rem; line-height: 1.2; margin-top: 1rem; color: var(--color-background); }
@media (min-width: 768px) { .custom-orders-heading { font-size: 3.75rem; } }
.custom-orders-paragraph { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-background) 85%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .custom-orders-paragraph { font-size: 16px; } }
.custom-orders-content .pcp-btn-cta { margin-top: 2rem; }

.pcp-ken-burns-img { will-change: transform; animation: pcpKenBurns 13s ease-in-out infinite alternate; }
@keyframes pcpKenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

/* --------------------------------------------------------------------------
   Services / How It Works
   -------------------------------------------------------------------------- */
.services-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .services-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.services-media-frame { position: relative; height: 100%; width: 100%; max-width: 520px; margin: 0 auto; min-height: 320px; border-radius: 8px; overflow: hidden; background-color: var(--color-secondary); border: 1px solid var(--color-border); }
.services-list { list-style: none; }
.services-list > .service-item + .service-item { margin-top: 2rem; }
.service-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.service-icon-wrap {
	margin-top: 0.25rem; width: 48px; height: 48px; border-radius: 999px;
	background-color: var(--color-secondary); color: var(--color-cta);
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	transition: transform 300ms var(--transition-smooth), background-color 300ms var(--transition-smooth), color 300ms var(--transition-smooth);
}
.service-item:hover .service-icon-wrap { transform: scale(1.08); background-color: var(--color-cta); color: #fff; }
.service-title { font-size: 1.5rem; line-height: 1.2; }
.service-body { margin-top: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; max-width: 32rem; }
@media (min-width: 768px) { .service-body { font-size: 15px; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-section { background-color: var(--color-secondary); }
.faq-container { max-width: 48rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background-color: var(--color-background); border-radius: 8px; border: 1px solid var(--color-border); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem; transition: color 200ms ease; }
.faq-question:hover { color: var(--color-cta); }
.faq-question span { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 768px) { .faq-question span { font-size: 1.25rem; } }
.faq-chevron { transition: transform 200ms ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--color-cta); }
.faq-answer { padding: 0 1.25rem 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .faq-answer { font-size: 15px; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 2.5rem; } }
.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-reach-card { background-color: var(--color-secondary); border-radius: 8px; padding: 1.5rem; }
@media (min-width: 768px) { .contact-reach-card { padding: 2rem; } }
.contact-card-heading { margin-bottom: 1rem; }
.contact-reach-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; font-size: 14px; }
.contact-reach-link { display: inline-flex; align-items: flex-start; gap: 0.75rem; color: var(--color-foreground); transition: color 200ms ease; word-break: break-all; }
.contact-reach-link:hover { color: var(--color-cta); }
.contact-phone-note { display: block; margin-top: 0.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.contact-hours-card { background-color: var(--color-background); border: 1px solid var(--color-border); border-radius: 8px; padding: 1.5rem; }
@media (min-width: 768px) { .contact-hours-card { padding: 2rem; } }
.contact-hours-text { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; }
.contact-form { background-color: var(--color-background); border: 1px solid var(--color-border); border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; color: var(--color-foreground); }
.contact-field .required { color: var(--color-cta); margin-left: 0.125rem; }
.contact-field input, .contact-field textarea {
	width: 100%; padding: 0.75rem 1rem; background-color: var(--color-background);
	border: 1px solid var(--color-border); font-size: 14px; color: var(--color-foreground);
	border-radius: 6px; font-family: var(--font-body);
}
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--color-cta); }
.contact-submit-btn { align-self: flex-start; text-transform: none; }
.contact-form-status { font-size: 14px; color: var(--color-cta); min-height: 1em; }
.contact-form-status.is-error { color: #c0392b; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { position: relative; border-top: 1px solid var(--color-border); background-color: var(--color-secondary); }
.site-footer-inner { padding-block: 4rem 5rem; }
@media (max-width: 1023px) {
	.site-footer-inner.container-wide { padding-inline: clamp(1.5rem, 5.5vw, 2.5rem); }
}
@media (min-width: 1024px) { .site-footer-inner { padding-block: 5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.footer-col-brand { grid-column: span 5; }
.footer-col-nav { grid-column: span 3; }
.footer-col-contact { grid-column: span 4; }
.site-footer .site-brand { display: inline-flex; align-items: center; }
.site-footer .site-brand:hover { transform: scale(1.03); }
.site-footer .footer-logo-img,
.site-footer .site-brand .site-logo-img.footer-logo-img {
	height: 64px !important;
	width: auto !important;
	max-width: none;
	max-height: 64px;
	object-fit: contain;
	display: block;
}
@media (min-width: 768px) {
	.site-footer .footer-logo-img,
	.site-footer .site-brand .site-logo-img.footer-logo-img {
		height: 80px !important;
		max-height: 80px;
	}
}
.footer-bio { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; }
.footer-heading { color: var(--color-cta); margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.footer-nav-item { margin: 0; padding: 0; }
.footer-col-nav .theme-nav-list { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.footer-col-nav .theme-nav-link { font-size: 14px; text-transform: none; letter-spacing: normal; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.footer-col-nav .theme-nav-link:hover { color: var(--color-cta); }
.footer-nav-list a, .footer-policy-btn {
	display: inline-block;
	width: 100%;
	font-family: var(--font-body);
	font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 200ms ease;
	text-align: left;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.footer-nav-list a:hover, .footer-policy-btn:hover { color: var(--color-cta); }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); word-break: break-all; transition: color 200ms ease; }
.footer-contact-link:hover { color: var(--color-cta); }
.footer-social { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent); display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground); transition: border-color 200ms ease, color 200ms ease; }
.footer-social-btn:hover { border-color: var(--color-cta); color: var(--color-cta); }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copyright { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin: 0; }
.footer-backtotop { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 200ms ease; }
.footer-backtotop:hover { color: var(--color-cta); }

/* --------------------------------------------------------------------------
   Policy modal
   -------------------------------------------------------------------------- */
body.policy-modal-open { overflow: hidden; }
.theme-policy-modal { position: fixed; inset: 0; z-index: 120; display: none; padding: 1.5rem; }
.theme-policy-modal.is-open { display: flex; align-items: center; justify-content: center; }
.theme-policy-modal-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-policy-modal-panel {
	position: relative; z-index: 1; width: 100%; max-width: 42rem; max-height: min(85vh, 640px); overflow-y: auto;
	background-color: var(--color-background); border: 1px solid var(--color-border); border-radius: 8px;
	padding: 1.5rem; box-shadow: 0 25px 50px -12px color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-policy-modal-close {
	position: absolute; top: 1rem; right: 1rem;
	width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground); transition: color 200ms ease;
}
.theme-policy-modal-close:hover { color: var(--color-cta); }
.theme-policy-modal-title { margin: 0 2rem 1rem 0; font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; color: var(--color-foreground); }
.theme-policy-modal-body { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-policy-modal-body p { margin: 0 0 1rem; }
.theme-policy-modal-body p:last-child {
	margin-bottom: 0;
	font-style: italic;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	padding-top: 0.5rem;
	border-top: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   Floating back to top
   -------------------------------------------------------------------------- */
.theme-floating-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	background-color: var(--color-primary); border: 1px solid var(--color-primary); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform 200ms var(--transition-smooth), opacity 200ms ease;
	opacity: 0; pointer-events: none;
}
@media (min-width: 768px) {
	.theme-floating-back-to-top { width: 3rem; height: 3rem; }
}
.theme-floating-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-floating-back-to-top:hover { transform: scale(1.1); }
body.admin-bar .theme-floating-back-to-top { bottom: calc(2rem + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .theme-floating-back-to-top { bottom: calc(2rem + 46px); }
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */

/* Hide "View cart" injected by WooCommerce after AJAX add (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; }

/* Scoped notice visibility (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 {
	font-family: var(--font-body); border-radius: 6px; padding: 1rem 1.25rem; margin: 1rem 0;
	border-top: 3px solid var(--color-cta); background-color: var(--color-secondary); list-style: none;
}

/* Add-to-cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: 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(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* --------------------------------------------------------------------------
   Single product
   -------------------------------------------------------------------------- */
.single-product-main { padding: 1.5rem 0 5rem; background-color: var(--color-background); }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-accent); font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.5rem; transition: color 200ms ease; }
.back-to-shop-link:hover { color: var(--color-cta); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-product-thumb-main, .theme-thumb-main { position: relative; aspect-ratio: 1 / 1; background-color: var(--color-secondary); border-radius: 8px; overflow: hidden; }
.product-shown-on-caption { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.product-shown-on-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); flex-shrink: 0; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-thumb-btn { position: relative; width: 72px; height: 72px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background-color: var(--color-secondary); }
.theme-thumb-btn.is-active { border-color: var(--color-cta); }

@media (min-width: 1024px) { .theme-product-info { position: sticky; top: calc(var(--header-height) + 1rem); } }
.product-detail-category { display: block; color: var(--color-cta); }
.product-detail-title { font-size: 2.5rem; margin-top: 0.5rem; line-height: 1.15; }
@media (min-width: 768px) { .product-detail-title { font-size: 3rem; } }
.product-detail-subtitle { margin-top: 0.75rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.product-detail-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 1.25rem; }
.product-detail-price { font-size: 2.25rem; }
.product-detail-price-tier { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.product-detail-price-row .woocommerce-Price-amount { font-size: inherit; }
.theme-stock-indicator { margin-top: 0.5rem; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.theme-stock-out { color: #c0392b; }

.variations.shop_attributes { margin-top: 2rem; border: none; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; border: none; padding: 0; }
.single-product .variations tbody tr + tr { margin-top: 2rem; }
.single-product .variations tbody td.label { padding-bottom: 0.75rem; }
.single-product .variations tbody td.label label,
.product-variation-label { font-family: var(--font-body); font-weight: 600; font-style: normal; text-transform: uppercase; letter-spacing: 0.15em; font-size: 14px; color: var(--color-foreground); }
.product-variation-color-value,
.product-variation-size-value { color: var(--color-accent); text-transform: uppercase; }
.product-variation-size-price { color: var(--color-cta); text-transform: none; }
.product-variation-hint { margin-top: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.5; }
.single-product .variations tbody td.value { padding-top: 0; position: relative; }
.theme-attr-select-hidden { display: none !important; }

.theme-swatch-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-swatch-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); transition: transform 200ms ease, border-color 200ms ease; }
.theme-swatch-btn:hover { transform: scale(1.05); }
.theme-swatch-btn.is-active { border-color: var(--color-cta); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-cta) 40%, transparent); }

.theme-size-select-wrap { position: relative; width: 100%; }
.theme-size-select,
.variation-row-size select:not(.theme-attr-select-hidden) {
	width: 100%; appearance: none;
	background-color: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 6px; padding: 0.75rem 2.5rem 0.75rem 1rem; font-family: var(--font-body); font-size: 14px; color: var(--color-foreground);
	transition: border-color 200ms ease;
}
.theme-size-select:hover,
.theme-size-select:focus,
.variation-row-size select:not(.theme-attr-select-hidden):hover,
.variation-row-size select:not(.theme-attr-select-hidden):focus { outline: none; border-color: var(--color-cta); }
.theme-size-select-wrap::after {
	content: "";
	position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
	width: 1rem; height: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232b2b2b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center; pointer-events: none; opacity: 0.6;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-description,
.single-product .woocommerce-variation-availability { display: none !important; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; height: var(--btn-height); }
.theme-qty-minus, .theme-qty-plus { width: 44px; height: 100%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.125rem; transition: background-color 200ms ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input { width: 48px; height: 100%; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 15px; -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-top: 1.5rem;
}
.single-product .theme-quantity-wrapper { display: none; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; justify-content: center; }
.single_variation_wrap { margin-top: 0; }

.product-detail-warning { margin-top: 2rem; border-left: 4px solid var(--color-cta); background-color: var(--color-secondary); border-radius: 6px; padding: 1rem; display: flex; gap: 0.75rem; }
.product-detail-warning .theme-icon { color: var(--color-cta); flex-shrink: 0; margin-top: 2px; }
.product-detail-warning p { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; }

.product-detail-description, .product-detail-block { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.product-detail-block-heading { margin-bottom: 0.75rem; }
.product-detail-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.product-detail-list li { display: flex; align-items: flex-start; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.product-detail-list .bullet { width: 6px; height: 6px; margin-top: 0.5rem; margin-right: 0.75rem; border-radius: 999px; background-color: var(--color-cta); flex-shrink: 0; }
.product-detail-list-plain { list-style: disc; padding-left: 1.25rem; }
.product-detail-list-plain li { display: list-item; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-size-chart { margin-top: 4rem; border: 1px solid var(--color-border); border-radius: 8px; background-color: var(--color-background); overflow: hidden; }
.theme-size-chart-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; transition: color 200ms ease; }
.theme-size-chart-toggle:hover { color: var(--color-cta); }
.size-chart-chevron { transition: transform 200ms ease; }
.theme-size-chart-toggle[aria-expanded="true"] .size-chart-chevron { transform: rotate(180deg); color: var(--color-cta); }
.theme-size-chart-body { padding: 0 1.5rem 1.5rem; overflow-x: auto; }
.theme-size-chart-table { min-width: 520px; font-size: 14px; }
.theme-size-chart-table th { text-align: left; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--color-border); font-weight: 600; }
.theme-size-chart-table td { padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-size-chart-table tr:nth-child(even) td { background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.theme-size-chart-table td:first-child { font-weight: 600; color: var(--color-foreground); }

/* --------------------------------------------------------------------------
   Side cart drawer
   -------------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 420px;
	background-color: var(--color-background); z-index: 61; display: flex; flex-direction: column;
	border-left: 1px solid var(--color-border);
	transform: translateX(100%); transition: transform 400ms 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-title { font-size: 1.5rem; }
.theme-cart-drawer-close { padding: 0.25rem; transition: color 200ms ease; }
.theme-cart-drawer-close:hover { color: var(--color-cta); }
.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 .theme-icon-lg { color: color-mix(in srgb, var(--color-foreground) 40%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer-empty p { color: color-mix(in srgb, var(--color-foreground) 70%, 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: 80px; height: 96px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background-color: var(--color-secondary); }
.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: 14px; font-weight: 500; display: block; }
.theme-cart-item-variation { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-top: 0.125rem; }
.theme-cart-item-price { font-size: 14px; color: var(--color-cta); font-weight: 600; margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 4px; transition: background-color 200ms ease; }
.theme-cart-qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-qty-value { font-size: 14px; width: 24px; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: color 200ms ease; }
.theme-cart-remove-btn:hover { color: var(--color-cta); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-subtotal-row span:first-child { font-weight: 500; }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-cta); }
.theme-cart-checkout-btn { width: 100%; justify-content: center; }
.theme-cart-empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: color 200ms ease; }
.theme-cart-empty-btn:hover { color: var(--color-cta); }

/* --------------------------------------------------------------------------
   Generic / 404 / page templates
   -------------------------------------------------------------------------- */
.theme-page-main, .theme-generic-main, .theme-shop-archive-main { padding: 3rem 0 5rem; }
.page-title { font-size: 2.5rem; margin-bottom: 2rem; }
.theme-404-main { padding: 6rem 0; }
.theme-404-inner { text-align: center; max-width: 32rem; margin: 0 auto; }
.theme-404-title { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-text { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   Thank-you page (Section 22.8)
   -------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou-content { text-align: center; max-width: 40rem; margin: 0 auto; }
.theme-thankyou-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 999px; background-color: var(--color-cta); color: #fff; display: flex; align-items: center; justify-content: center; }
.theme-thankyou-title { font-size: 3rem; margin-bottom: 0.75rem; }
.theme-thankyou-text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem;
	background-color: var(--color-secondary); border-radius: 8px;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
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-details table { width: 100%; table-layout: fixed; margin-top: 1rem; }
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 table th,
body.theme-thankyou-page .woocommerce-order-details table 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; }

/* --------------------------------------------------------------------------
   Cart / My Account width parity (Section 13.7)
   -------------------------------------------------------------------------- */
.woocommerce-cart .entry-content, .woocommerce-account .entry-content { max-width: 100%; }

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

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 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

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,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background-color: var(--color-background);
	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-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	outline: none;
	border-color: var(--color-cta);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-cta) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 6px; font-family: var(--font-body); grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout h2 { font-family: var(--font-display); font-weight: 400; }

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body); border: 1px solid var(--color-border); border-radius: 6px;
}
