/* ==========================================================================
   Rosedale Soccer Club theme stylesheet
   ========================================================================== */

:root {
	/* Editable brand tokens — overridden live via wp_add_inline_style (functions.php) */
	--background: #ffffff;
	--foreground: #141f1a;
	--primary: #1a6138;
	--primary-foreground: #ffffff;
	--secondary: #f0f5f2;
	--accent: #cc1f2a; /* "marigold" in the source design */
	--border: #dce5e0;
	--muted-foreground: #576b61;
	--surface-deep: #111d17;
	--surface-deep-fg: #f3f7f5;
	--butter: #f2f7f4;

	/* Derived / non-editable static tokens (Section 6.1) */
	--card: #f6f9f7;
	--card-foreground: var(--foreground);
	--muted: #ebf0ed;
	--destructive: #c31d28;
	--destructive-foreground: #ffffff;
	--input: var(--border);
	--ring: var(--primary);
	--marigold: var(--accent);
	--secondary-foreground: #1b2c24;

	--font-display: 'Archivo', sans-serif;
	--font-body: 'Barlow', sans-serif;

	--radius: 0.25rem;
	--shadow-soft: 0 4px 20px -4px rgba(20, 31, 26, 0.12);
	--shadow-elevated: 0 12px 44px -12px rgba(20, 31, 26, 0.26);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 75px;
	--header-height: 96px;

	--btn-radius: 0px;
	--btn-height: 3.25rem;
	--btn-padding: 1rem 2.25rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--color-button-text: var(--primary-foreground);
	--card-radius: 0.5rem;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;
	--color-primary: var(--primary);
}

/* ==========================================================================
   Base / reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

main { min-width: 0; max-width: 100%; }

body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
[role="button"], [data-contact-open], [data-cart-open], [data-scroll-to], [data-faq-trigger], [data-fixture-ics], [data-announcement-dismiss], [data-mobile-menu-toggle], .press, .link-cta, .link-underline, .site-brand, .footer-contact-link, .footer-brand, .shop-cat-pill, .fixture-calendar-btn, .theme-product-card a, .theme-cart-item-image, label[for] { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.hero-video) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
video.cover-img { position: absolute; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; min-width: 0; }
.container-narrow { width: 100%; max-width: 48rem; margin: 0 auto; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.screen-reader-text { position: absolute; left: -9999px; }

.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 3rem; height: 3rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary, .btn-marigold, .btn-hero-primary, .btn-hero-outline,
.btn-outline, .btn-outline-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	padding: 1rem 2.25rem;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}
.btn-primary, .btn-hero-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover, .btn-hero-primary:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn-marigold, .btn-hero-outline { background: var(--marigold); color: var(--background); }
.btn-marigold:hover, .btn-hero-outline:hover { background: color-mix(in srgb, var(--marigold) 90%, transparent); }
.btn-outline, .btn-outline-primary {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--foreground);
	letter-spacing: 0.22em;
	padding: 0.75rem 1.25rem;
}
.btn-outline-primary { border-color: var(--primary); color: var(--primary); letter-spacing: 0.18em; padding: 0.5rem 1rem; }
.btn-outline:hover { background: var(--secondary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--primary-foreground); }
.press { transition: transform 180ms ease; }
.press:active { transform: scale(0.97); }

.link-cta, .link-underline {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--primary);
	transition: color 0.2s ease;
	position: relative;
}
.link-cta:hover, .link-underline:hover { color: var(--marigold); }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 300ms var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }
.arrow-nudge { transition: transform 300ms ease; }
.link-cta:hover .arrow-nudge { transform: translateX(6px); }

/* ==========================================================================
   Animations (Section 2.1)
   ========================================================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes iconPop { 0% { transform: scale(1) rotate(0deg); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1.08) rotate(0deg); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* Scroll-reveal system (Section 2.1 item 4 & 5): translateY + opacity, staggered by nth-child */
.reveal-up, .reveal-fade {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	will-change: opacity, transform;
}
.reveal-fade { transform: none; transition: opacity 0.9s var(--transition-smooth); }
.reveal-up.is-visible, .reveal-fade.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item {
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.scroll-reveal-section .reveal-up:nth-child(1) { transition-delay: 0s; }
.scroll-reveal-section .reveal-up:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal-section .reveal-up:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal-section .reveal-up:nth-child(4) { transition-delay: 0.24s; }

/* Customizer preview + no-JS fallback: content must never stay hidden */
body.is-customizer .reveal-up,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-item,
.no-js .reveal-up,
.no-js .reveal-fade,
.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-up, .reveal-fade, .reveal-item,
	.press, .icon-pop, .arrow-nudge, .marquee-track {
		transition: none !important;
		animation: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

.icon-pop { transition: transform 250ms ease; }
.program-row:hover .icon-pop,
.icon-pop:hover { animation: iconPop 500ms cubic-bezier(0.22, 1, 0.36, 1) both; }

.sticker {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1;
	transform: rotate(-8deg);
}
.sticker-marigold { background: var(--marigold); color: var(--background); }
.sticker-primary { background: var(--primary); color: var(--primary-foreground); }

/* Sticker wrappers — matches Lovable mb-4 / mb-5 (alignment from parent text-align) */
.sticker-wrap { margin-bottom: 1rem; }
.sticker-wrap--spacious { margin-bottom: 1.25rem; }

.section-rule { display: block; width: 4rem; height: 4px; background: var(--marigold); margin: 1.25rem auto 0; }
.section-rule-mb { margin-bottom: 1.5rem; }

.numeral-outline {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--primary);
}

.eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 1rem;
}
.eyebrow-marigold { color: var(--marigold); }

.section-heading { font-weight: 800; text-transform: uppercase; line-height: 1.02; margin-bottom: 1rem; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.theme-announcement-bar { position: relative; background: var(--foreground); color: var(--background); }
.theme-announcement-inner { padding-block: 0.5rem; padding-inline: 2.5rem; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; overflow-wrap: anywhere; }
.theme-announcement-dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; color: var(--background);
}
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-scrolled, .site-header.mobile-menu-open {
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 6rem; min-width: 0; gap: 0.75rem; }
@media (min-width: 768px) { .site-nav { height: 7rem; } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 0 1 auto; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; max-height: 82px; object-fit: contain; display: block; flex-shrink: 0; }
.site-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-brand-text { display: none; flex-direction: column; line-height: 1; min-width: 0; }
@media (min-width: 640px) { .site-brand-text { display: flex; } }
.site-brand-name { font-family: var(--font-display); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .site-brand-name { font-size: 1.125rem; } }
.site-brand-sub { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav-center { display: none; align-items: center; gap: 1.25rem; flex-shrink: 1; min-width: 0; }
@media (min-width: 1280px) { .site-nav-center { display: flex; } }
@media (min-width: 1536px) { .site-nav-center { gap: 1.75rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1536px) { .theme-nav-list { gap: 1.75rem; } }
.theme-nav-list li { display: flex; }
.theme-nav-list a, .theme-nav-link {
	font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	cursor: pointer; transition: color 0.3s ease; position: relative;
}
.site-nav-center .theme-nav-list a::after,
.site-nav-center .theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	height: 2px;
	width: 100%;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav-center .theme-nav-list a:hover::after,
.site-nav-center .theme-nav-link:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}
.theme-nav-list a:hover, .theme-nav-link:hover { color: var(--primary); }

.site-nav-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-nav-right { gap: 0.75rem; } }
.btn-support-us {
	display: none;
	background: var(--primary); color: var(--primary-foreground);
	padding: 0.75rem 1.25rem; font-family: var(--font-display); font-size: 12px; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase; transition: background-color 0.2s ease;
}
@media (min-width: 768px) { .btn-support-us { display: inline-flex; align-items: center; justify-content: center; } }
.btn-support-us:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); }

.cart-toggle { position: relative; padding: 0.5rem; transition: transform 0.2s ease, opacity 0.2s ease; }
.cart-toggle:hover { opacity: 0.6; transform: scale(1.1); }
.theme-cart-count-inline { display: none; }
.theme-cart-count.theme-cart-count-badge {
	position: absolute; top: -2px; right: -2px;
	display: flex; align-items: center; justify-content: center;
	height: 1rem; width: 1rem; border-radius: 999px;
	background: var(--primary); color: var(--primary-foreground);
	font-size: 10px; font-weight: 700;
}
.theme-cart-count-badge:empty { display: none; }

.mobile-menu-toggle { padding: 0.5rem; display: inline-flex; transition: opacity 0.2s ease; }
.mobile-menu-toggle:hover { opacity: 0.6; }
@media (min-width: 1280px) { .mobile-menu-toggle { display: none; } }
.icon-menu-close { display: none; }
.mobile-menu-toggle.is-open .icon-menu-open { display: none; }
.mobile-menu-toggle.is-open .icon-menu-close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--border); padding: 1rem 0; }
.mobile-menu.is-open { display: block; animation: fadeIn 0.6s var(--transition-smooth); }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
.mobile-nav-list,
.mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mobile-nav-list li,
.mobile-menu .theme-nav-list li { display: block; }
.mobile-nav-list a,
.mobile-nav-link,
.mobile-menu .theme-nav-list a,
.mobile-menu .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
	transition: color 0.2s ease;
}
.mobile-nav-list a:hover,
.mobile-nav-link:hover,
.mobile-menu .theme-nav-list a:hover,
.mobile-menu .theme-nav-link:hover { color: var(--muted-foreground); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section { background: var(--background); }
.hero-video-wrap { position: relative; width: 100%; min-height: 100vh; overflow: hidden; }
.hero-video { z-index: 0; }
.hero-gradient-overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 95%, transparent), color-mix(in srgb, var(--foreground) 80%, transparent), color-mix(in srgb, var(--foreground) 60%, transparent));
}
.hero-content-wrap {
	position: relative; z-index: 2; min-height: 100vh; max-width: 100%;
	display: flex; align-items: center; justify-content: center;
	padding: 6rem 1.5rem; text-align: center;
}
.hero-content { width: 100%; max-width: 42rem; }
.hero-eyebrow { display: block; font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--marigold); font-weight: 600; margin-bottom: 1.25rem; }
.hero-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; line-height: 0.95; color: var(--background); margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { color: color-mix(in srgb, var(--background) 90%, transparent); font-size: 1rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-cta-row { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }
.btn-hero-primary, .btn-hero-outline { text-transform: uppercase; }

/* ==========================================================================
   About
   ========================================================================== */

.about-section { background: var(--background); scroll-margin-top: 6rem; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .about-section { padding: 7rem 5rem; } }
.about-inner { width: 100%; }
.about-header { text-align: center; }
.about-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
.about-paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); font-size: 1.125rem; line-height: 1.7; margin: 2rem 0 1.25rem; }
.about-paragraph.muted { color: var(--muted-foreground); font-size: 1rem; margin-bottom: 2rem; }
.about-cards-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; width: 100%; max-width: 64rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .about-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 5rem; } }
.card-sporty {
	position: relative; background: var(--card); border: 2px solid var(--border);
	padding: 2rem 2.25rem; text-align: left; transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
	overflow: hidden;
}
.card-sporty::before {
	content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--marigold);
	transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.card-sporty:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); border-color: color-mix(in srgb, var(--marigold) 40%, transparent); }
.card-sporty:hover::before { transform: scaleX(1); }
.card-sporty-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.card-sporty-label { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1rem; padding-top: 0.25rem; }
.card-sporty-body { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.75; }

/* ==========================================================================
   Why us / pillars
   ========================================================================== */

.whyus-section { background: var(--surface-deep); border-top: 3px solid var(--foreground); scroll-margin-top: 6rem; }
.whyus-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .whyus-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.whyus-image-wrap { position: relative; min-height: 380px; }
@media (min-width: 768px) { .whyus-image-wrap { min-height: 520px; } }
@media (min-width: 1024px) { .whyus-image-wrap { min-height: 620px; } }
.whyus-content-wrap { display: flex; align-items: center; justify-content: center; background: var(--surface-deep); padding: 4rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .whyus-content-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .whyus-content-wrap { padding: 6rem 5rem; } }
.whyus-content { max-width: 36rem; color: var(--surface-deep-fg); }
.whyus-heading { font-size: 1.875rem; color: var(--surface-deep-fg); }
@media (min-width: 768px) { .whyus-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .whyus-heading { font-size: 3rem; } }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pillar-card {
	padding: 1.25rem; border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--surface-deep-fg) 10%, transparent);
	background: color-mix(in srgb, var(--surface-deep-fg) 3%, transparent);
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
	background: color-mix(in srgb, var(--surface-deep-fg) 7%, transparent);
	border-color: color-mix(in srgb, var(--surface-deep-fg) 20%, transparent);
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--primary) 35%, transparent);
}
.pillar-icon-badge {
	margin: 0 auto 1rem; display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
	border-radius: 999px; border: 1px solid color-mix(in srgb, var(--surface-deep-fg) 30%, transparent);
	color: var(--surface-deep-fg); transition: border-color 0.3s ease, color 0.3s ease;
}
.pillar-card:hover .pillar-icon-badge { border-color: var(--marigold); color: var(--marigold); }
.pillar-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--surface-deep-fg); }
.pillar-desc { font-size: 0.875rem; color: color-mix(in srgb, var(--surface-deep-fg) 70%, transparent); line-height: 1.6; }

/* ==========================================================================
   Programs / services
   ========================================================================== */

.services-section { background: var(--background); scroll-margin-top: 6rem; }
.services-header { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .services-header { padding: 7rem 3.5rem; } }
.services-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-heading { font-size: 3.75rem; } }
.services-desc { margin-top: 1.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; color: var(--muted-foreground); line-height: 1.6; }

.program-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .program-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.program-image-col { position: relative; min-height: 360px; overflow: hidden; }
@media (min-width: 768px) { .program-image-col { min-height: 500px; } }
@media (min-width: 1024px) { .program-image-col { min-height: 560px; } }
.program-image { transition: transform 0.9s var(--transition-smooth); }
.program-row:hover .program-image { transform: scale(1.03); }
.program-numeral {
	position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
	letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--background) 90%, transparent);
	backdrop-filter: blur(4px); color: var(--primary); z-index: 2;
}
.program-content-col { display: flex; align-items: center; background: var(--background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .program-content-col { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .program-content-col { padding: 6rem 5rem; } }
.program-content { max-width: 36rem; }
.program-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.program-icon-badge { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); color: var(--primary); }
.program-kicker { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.program-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.875rem; line-height: 1; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .program-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .program-title { font-size: 3rem; } }
.program-desc { font-size: 1rem; color: var(--muted-foreground); line-height: 1.6; }
@media (min-width: 768px) { .program-desc { font-size: 1.125rem; } }
.order-1 { order: 1; } .order-2 { order: 2; }
/* Programs: mobile always image → text (Lovable uses lg:order-* only). Desktop alternates columns. */
.program-row .program-image-col { order: 1; }
.program-row .program-content-col { order: 2; }
@media (min-width: 1024px) {
	.program-row.is-reversed .program-image-col { order: 2; }
	.program-row.is-reversed .program-content-col { order: 1; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee-band { overflow: hidden; padding: 1.25rem 0; }
@media (min-width: 768px) { .marquee-band { padding: 1.5rem 0; } }
.marquee-dark { background: var(--primary); }
.marquee-light { background: var(--foreground); }
.marquee-track-wrap { width: 100%; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 2rem; animation: marquee 28s linear infinite; }
@media (min-width: 768px) { .marquee-track { gap: 2.5rem; } }
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
@media (min-width: 768px) { .marquee-item { gap: 2.5rem; } }
.marquee-word { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--primary-foreground); }
@media (min-width: 640px) { .marquee-word { font-size: 1.875rem; } }
@media (min-width: 768px) { .marquee-word { font-size: 2.25rem; } }
.marquee-word-light { color: var(--primary); }
.marquee-dot { height: 0.75rem; width: 0.75rem; transform: rotate(45deg); background: var(--marigold); flex-shrink: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section { background: var(--butter); scroll-margin-top: 6rem; }
.faq-inner { padding-block: 5rem; }
@media (min-width: 768px) { .faq-inner { padding-block: 7rem; } }
.faq-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.faq-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.faq-note { font-size: 0.875rem; color: var(--muted-foreground); }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question-wrap { margin: 0; }
.faq-question-btn { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.5rem 0; }
.faq-question-text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.875rem; transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-question-text { font-size: 1rem; } }
.faq-question-btn:hover .faq-question-text { color: var(--primary); }
.faq-toggle-icon { flex-shrink: 0; margin-top: 0.125rem; height: 2rem; width: 2rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--primary); transition: transform 250ms ease; }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: flex; }
.faq-answer { padding-bottom: 1.5rem; padding-right: 3.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
@media (min-width: 768px) { .faq-answer { font-size: 1rem; } }

/* ==========================================================================
   Sponsors
   ========================================================================== */

.sponsors-section { background: var(--surface-deep); color: var(--surface-deep-fg); border-top: 3px solid var(--foreground); scroll-margin-top: 6rem; }
.sponsors-grid { display: grid; grid-template-columns: 1fr; }
/* Mobile: image then copy (Lovable DOM order). Desktop: copy left, image right. */
.sponsors-grid .sponsors-image-wrap { order: 1; }
.sponsors-grid .sponsors-content-wrap { order: 2; }
@media (min-width: 1024px) {
	.sponsors-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.sponsors-grid .sponsors-image-wrap { order: 2; }
	.sponsors-grid .sponsors-content-wrap { order: 1; }
}
.sponsors-image-wrap { position: relative; min-height: 380px; }
@media (min-width: 768px) { .sponsors-image-wrap { min-height: 520px; } }
@media (min-width: 1024px) { .sponsors-image-wrap { min-height: 620px; } }
.sponsors-content-wrap { display: flex; align-items: center; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .sponsors-content-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .sponsors-content-wrap { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .sponsors-content-wrap { padding: 6rem 6rem; } }
.sponsors-content { max-width: 36rem; }
.sponsors-heading { font-size: 1.875rem; line-height: 1; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .sponsors-heading { font-size: 3rem; } }
.sponsors-heading-line1 { display: block; }
.sponsors-heading-highlight { display: block; color: var(--marigold); }
.sponsors-desc { font-size: 1rem; color: color-mix(in srgb, var(--surface-deep-fg) 80%, transparent); line-height: 1.6; margin-bottom: 1.5rem; }
.sponsors-list { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.sponsors-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--surface-deep-fg) 85%, transparent); }
.sponsors-check { color: var(--marigold); flex-shrink: 0; margin-top: 0.125rem; }

/* ==========================================================================
   Schedule & notices
   ========================================================================== */

.schedule-section { background: var(--butter); scroll-margin-top: 6rem; }
.schedule-inner { padding-block: 5rem; }
@media (min-width: 768px) { .schedule-inner { padding-block: 7rem; } }
.schedule-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.schedule-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .schedule-heading { font-size: 3rem; } }
.schedule-note { font-size: 0.875rem; color: var(--muted-foreground); }
.schedule-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .schedule-grid { grid-template-columns: 2fr 1fr; gap: 2rem; } }
.fixtures-card, .notices-card { background: var(--background); border: 1px solid var(--border); }
.fixtures-card-header, .notices-card-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.fixtures-card-header h3, .notices-card-header h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.875rem; }
.fixtures-download-all { margin-left: auto; }
.fixtures-list { margin: 0; }
.fixture-item { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.fixture-item:last-child { border-bottom: none; }
@media (min-width: 640px) { .fixture-item { flex-direction: row; align-items: center; gap: 1.5rem; } }
.fixture-date-col { flex-shrink: 0; }
@media (min-width: 640px) { .fixture-date-col { width: 8rem; } }
.fixture-date { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.875rem; }
.fixture-kickoff { font-size: 12px; color: var(--muted-foreground); }
.fixture-info-col { flex: 1; min-width: 0; }
.fixture-vs { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 90%, transparent); }
.fixture-venue { font-size: 12px; color: var(--muted-foreground); }
.fixture-type-badge { align-self: flex-start; padding: 0.25rem 0.75rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
@media (min-width: 640px) { .fixture-type-badge { align-self: center; } }
.fixture-calendar-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--border); color: var(--muted-foreground); padding: 0.5rem 0.75rem; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; transition: color 0.2s ease, border-color 0.2s ease; }
@media (min-width: 640px) { .fixture-calendar-btn { align-self: center; } }
.fixture-calendar-btn:hover { color: var(--primary); border-color: var(--primary); }
.notices-icon { color: var(--marigold); }
.notices-list { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.notices-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.notice-dot { margin-top: 0.375rem; height: 0.375rem; width: 0.375rem; border-radius: 999px; background: var(--marigold); flex-shrink: 0; }
.notices-cta-wrap { padding: 0 1.5rem 1.5rem; }
.notices-cta { width: 100%; padding: 1rem 1.5rem; letter-spacing: 0.24em; }

/* ==========================================================================
   Shop section
   ========================================================================== */

.shop-section { background: var(--background); scroll-margin-top: 6rem; }
.shop-inner { padding-block: 4rem; }
@media (min-width: 768px) { .shop-inner { padding-block: 6rem; } }
.shop-header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-desc { color: var(--muted-foreground); max-width: 36rem; margin: 0 auto 2.5rem; }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.shop-search-input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none;
	border-bottom: 1px solid var(--border); border-radius: 0; outline: none; transition: border-color 0.2s ease;
}
.shop-search-input:focus { border-color: var(--foreground); }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.shop-cat-pill {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--border); background: transparent; color: var(--foreground);
	transition: all 0.3s ease;
}
.shop-cat-pill:hover { border-color: var(--primary); color: var(--primary); }
.shop-cat-pill.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.shop-empty-state { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }
.shop-bottom-cta { text-align: center; margin-top: 3.5rem; }

.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 3 / 4; background: var(--secondary); overflow: hidden; margin-bottom: 1.25rem;
	transition: transform 0.4s var(--transition-smooth);
}
.theme-product-card__image-link { display: block; width: 100%; height: 100%; }
.theme-product-card:hover .theme-product-card__image-wrapper .product-card-img { transform: scale(1.04); }
.product-card-img { transition: transform 0.7s var(--transition-smooth); }
.theme-card-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
}
.theme-card-badge-soldout { background: var(--foreground); color: var(--background); border-radius: 999px; }
.theme-card-add-btn {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--background); color: var(--foreground); box-shadow: var(--shadow-soft);
	border: none; padding: 0; cursor: pointer;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
@media (min-width: 768px) { .theme-card-add-btn { opacity: 0; } .theme-product-card:hover .theme-card-add-btn { opacity: 1; } }
.theme-card-add-btn:hover { transform: scale(1.08); }
.theme-card-add-btn:active { transform: scale(0.92); }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card__title {
	font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
	font-size: 0.875rem; line-height: 1.4; color: var(--foreground);
	min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card__title-link { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title-link { color: var(--primary); }
.theme-product-card__price { font-size: 1rem; color: var(--foreground); font-weight: 400; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact-section { position: relative; background: var(--background); overflow: hidden; border-top: 3px solid var(--foreground); scroll-margin-top: 6rem; }
.contact-banner-img { z-index: 0; }
.contact-inner { position: relative; z-index: 1; padding-block: 6rem; }
@media (min-width: 768px) { .contact-inner { padding-block: 8rem; } }
.contact-card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--background) 95%, transparent); backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated); padding: 3rem 2rem;
	border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
@media (min-width: 768px) { .contact-card { padding: 4rem 3.5rem; } }
.contact-title { font-size: 1.875rem; color: var(--foreground); }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
.contact-desc { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.6; margin-bottom: 2rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.contact-email-link { display: block; font-size: 0.875rem; color: var(--primary); margin-bottom: 0.5rem; word-break: break-all; }
.contact-email-link:hover { text-decoration: underline; }
.contact-phone-link { display: block; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 2rem; transition: color 0.2s ease; }
.contact-phone-link:hover { color: var(--foreground); }
.contact-cta-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .contact-cta-row { flex-direction: row; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid var(--border); background: var(--butter); }
.site-footer-inner { padding-block: 3rem 1.5rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-block: 4rem 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-col-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { height: 3.5rem !important; width: 3.5rem !important; object-fit: contain; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; }
.footer-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.footer-col-heading { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a {
	display: block; text-align: left; font-family: var(--font-body); font-size: 0.875rem; font-weight: 400;
	text-transform: none; letter-spacing: normal; color: var(--muted-foreground); transition: color 0.2s ease;
}
.footer-nav-list a:hover { color: var(--foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s ease; word-break: break-all; }
.footer-contact-link:hover { color: var(--foreground); }
.footer-support-desc { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.6; }
.btn-footer-support { padding: 0.75rem 1.25rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom p { font-size: 12px; color: var(--muted-foreground); letter-spacing: 0.02em; }
.footer-bottom-left { font-family: var(--font-display); }
.footer-bottom-right a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s ease; }
.footer-bottom-right a:hover { color: var(--foreground); }

/* ==========================================================================
   Contact modal
   ========================================================================== */

.theme-modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
.theme-modal {
	position: fixed; left: 50%; top: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; visibility: hidden;
	background: var(--background); border: 1px solid var(--border); box-shadow: var(--shadow-elevated);
	padding: 1.5rem; border-radius: 0.5rem;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
body.contact-open .theme-modal-overlay,
body.contact-open .theme-modal { opacity: 1; visibility: visible; }
body.contact-open .theme-modal { transform: translate(-50%, -50%) scale(1); }
.theme-modal-close { position: absolute; right: 1rem; top: 1rem; padding: 0.375rem; opacity: 0.7; transition: opacity 0.2s ease; border-radius: 0.25rem; }
.theme-modal-close:hover { opacity: 1; background: var(--secondary); }
.theme-modal-header { margin-bottom: 1rem; }
.theme-modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.375rem; }
.theme-modal-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.5; }
.theme-modal-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-contact-row a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; word-break: break-all; }
.theme-modal-contact-row a:hover { color: var(--foreground); }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-form-row-2 { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-row-2 .theme-form-field { margin-bottom: 0; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--background); border: 1px solid var(--border);
	border-radius: 0.375rem; font-size: 1rem; resize: none; transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.theme-form-actions { display: flex; justify-content: flex-end; }
.btn-modal-submit { border-radius: 0.375rem; padding: 0.625rem 1.5rem; letter-spacing: normal; text-transform: none; font-size: 0.875rem; }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-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; }
.theme-contact-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { font-size: 0.875rem; color: var(--muted-foreground); }
.form-message { margin-top: 0.75rem; font-size: 0.875rem; }
.form-message.is-error { color: var(--destructive); }

/* ==========================================================================
   Cart drawer
   ========================================================================== */

#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--foreground) 20%, transparent); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 96;
	background: var(--background); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
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(--border); }
.theme-cart-drawer-header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-close:hover { opacity: 1; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty svg { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-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; display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-meta { margin-top: 0.375rem; display: flex; flex-direction: column; gap: 0.25rem; font-size: 12px; color: var(--muted-foreground); }
.theme-cart-item-meta-row { display: flex; align-items: center; gap: 0.375rem; flex-wrap: wrap; }
.theme-cart-item-meta-swatch {
	width: 0.75rem; height: 0.75rem; border-radius: 999px; flex-shrink: 0;
	background: var(--swatch-color, var(--border)); border: 1px solid var(--border);
}
.theme-cart-item-meta-label { font-weight: 500; }
.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: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.theme-cart-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-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row span:last-child { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; }

/* ==========================================================================
   Single product page (Section 11.13)
   ========================================================================== */

.single-product-main { padding: 0 0 6rem; }
.product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.product-breadcrumb a { transition: color 0.2s ease; }
.product-breadcrumb a:hover { color: var(--foreground); }
.product-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb-current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; 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%; }

.gallery-mobile { display: block; }
@media (min-width: 1024px) { .gallery-mobile { display: none; } }
.gallery-main-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
.product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--secondary); }
.product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.product-thumb:hover img, .product-thumb.is-active img { opacity: 1; }
.product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--foreground); opacity: 0; transition: opacity 0.2s ease; }
.product-thumb.is-active::after { opacity: 1; }

.gallery-desktop { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .gallery-desktop { display: flex; } }
.gallery-desktop-image { position: relative; aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; }

@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; position: sticky; top: 7rem; align-self: start; } }
.product-category-label { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.product-title {
	font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem;
	text-transform: none; overflow-wrap: break-word; word-break: break-word;
}
@media (min-width: 768px) { .product-title { font-size: 2.5rem; } }
.product-price { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--foreground); }
.product-price .woocommerce-Price-amount { font-family: var(--font-body); }
.product-short-desc { color: var(--muted-foreground); line-height: 1.6; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.product-stock-indicator { margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 600; }
.product-stock-indicator.out-of-stock { color: var(--destructive); text-transform: uppercase; letter-spacing: 0.1em; }

.theme-attribute-selectors { margin-bottom: 1.5rem; }
.theme-attribute-group + .theme-attribute-group { margin-top: 1.5rem; }
.theme-attribute-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; font-weight: 400; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pills--color { gap: 0.75rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--border); border-radius: 999px; transition: all 0.2s ease; font-family: var(--font-body);
	background: transparent; color: inherit; cursor: pointer;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-attr-pill--color {
	display: inline-flex; align-items: center; gap: 0.5rem; text-transform: none; letter-spacing: 0.05em;
}
.theme-color-swatch {
	width: 0.75rem; height: 0.75rem; border-radius: 999px; flex-shrink: 0;
	background: var(--swatch-color, var(--border)); border: 1px solid var(--border);
}
.theme-attr-pill--color.is-selected {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	color: var(--foreground);
}
.theme-attr-pill--license.is-selected {
	background: var(--foreground); color: var(--background); border-color: var(--foreground);
}
.theme-variation-select-wrap--hidden { display: none !important; }
.theme-attr-select-hidden { display: none !important; }
.theme-attribute-select-wrap { margin-top: 0.25rem; }
.theme-attr-select,
.theme-attribute-select-wrap select {
	width: 100%; max-width: 20rem; padding: 0.625rem 0.875rem;
	font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.05em;
	border: 1px solid var(--border); border-radius: 0.375rem; background: var(--background); color: var(--foreground);
	appearance: auto;
}
.theme-attr-select:focus,
.theme-attribute-select-wrap select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.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; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input {
	width: 3.5rem; min-width: 3.5rem; text-align: center; padding: 0.5rem 0.25rem; border: none; background: transparent;
	-moz-appearance: textfield; font-size: 0.875rem;
}
.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,
.theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem;
}
.single-product .single_add_to_cart_button,
.single-product .theme-btn-primary { flex: 1 1 auto; min-width: 160px; }

.product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.product-accordion { border-bottom: 1px solid var(--border); }
.product-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.product-accordion-trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.accordion-chevron { transition: transform 0.2s ease; }
.product-accordion.is-open .accordion-chevron { transform: rotate(180deg); }
.product-accordion-panel { padding-bottom: 1.5rem; }
.product-description { font-size: 15px; color: var(--muted-foreground); line-height: 1.6; margin-bottom: 1rem; }
.product-details-heading { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 700; }
.product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li { display: flex; align-items: flex-start; font-size: 15px; color: var(--muted-foreground); }
.product-details-list li::before { content: ''; width: 4px; height: 4px; border-radius: 999px; background: var(--foreground); margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); margin-top: 2rem; }
.related-products-header { text-align: center; margin-bottom: 3rem; }
.related-products-eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--marigold); font-weight: 600; margin-bottom: 0.75rem; }
.related-products-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-title { font-size: 2.25rem; } }

/* ==========================================================================
   WooCommerce global button overrides (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,
button.single_add_to_cart_button {
	background-color: var(--primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	box-shadow: none !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(--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(--primary) !important;
}

/* Card compact circular button — overrides global rules (scoped, after) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .add_to_cart_button,
.theme-product-card button.theme-card-add-btn {
	min-height: unset !important;
	height: 2.5rem !important;
	width: 2.5rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background-color: var(--background) !important;
	color: var(--foreground) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	box-shadow: var(--shadow-soft) !important;
}
.theme-product-card .add_to_cart_button:hover {
	background-color: var(--background) !important;
	color: var(--foreground) !important;
	opacity: 1 !important;
}

.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; }

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
.single-product .woocommerce-error,
.theme-product-wc-notices .woocommerce-error {
	display: block;
	margin-bottom: 1rem;
}
.theme-product-form-notice {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: var(--primary);
}
.theme-product-form-notice.is-error { color: var(--destructive); }
.theme-product-form-notice[hidden] { display: none !important; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: 0.375rem; border-top: none; padding: 1rem 1.5rem;
	background: var(--secondary); color: var(--foreground); list-style: none;
}
.woocommerce-error { background: color-mix(in srgb, var(--destructive) 12%, white); color: var(--destructive); }

/* ==========================================================================
   Shop archive
   ========================================================================== */

.shop-archive-main { padding: 3rem 0 6rem; }
.shop-archive-header { text-align: center; margin-bottom: 3rem; }
.shop-archive-header .shop-heading { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; }
.shop-empty-message { text-align: center; padding: 4rem 0; color: var(--muted-foreground); }

/* ==========================================================================
   404
   ========================================================================== */

.theme-404-main { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.theme-404-inner { text-align: center; padding-block: 4rem; }
.theme-404-title { font-family: var(--font-display); font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--primary); text-decoration: underline; }

/* ==========================================================================
   Generic page (checkout/account/cart/my-account host page)
   ========================================================================== */

.site-main { padding-top: 2rem; padding-bottom: 4rem; min-width: 0; max-width: 100%; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.page-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; margin: 1.5rem 0; }

/* ==========================================================================
   Checkout — header, spacing, layout (Sections C–G)
   ========================================================================== */

body.woocommerce-checkout .theme-checkout-main { padding-top: 0; }

.theme-checkout-shell {
	padding-block: 0.5rem 4rem;
	padding-inline: 1.5rem;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}

.theme-checkout-header,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

.theme-checkout-header { margin-bottom: 0; }

.checkout-continue-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	margin-bottom: 1rem; font-size: 0.875rem; color: var(--muted-foreground);
	transition: color 0.2s ease; font-family: var(--font-body);
}
.checkout-continue-link:hover { color: var(--foreground); }

.theme-checkout-title {
	font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.25rem);
	font-weight: 700; margin: 0;
}

.theme-checkout-intro { margin: 0.75rem 0 0; color: var(--muted-foreground); font-size: 0.9375rem; }

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout,
.entry-content .wc-block-checkout {
	margin-top: 0;
	padding-top: 0;
	min-width: 0;
}

body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide { margin-top: 0; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--card);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	background: var(--background);
	color: var(--foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius);
	font-family: var(--font-display);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 0.375rem;
	font-family: var(--font-body);
}

/* ==========================================================================
   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 { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; 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: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ==========================================================================
   Cart / account width parity (Section 13.7)
   ========================================================================== */

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; }

/* ==========================================================================
   Variations table layout tweak inside single_variation_wrap
   ========================================================================== */

.single_variation_wrap { margin-top: 0.5rem; }
.woocommerce-variation-description { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.woocommerce-variation-price { margin-bottom: 1rem; }
.posted_in { overflow-wrap: break-word; word-break: break-word; }
