/* =====================================================================
   Fair Fight theme stylesheet
   Ported from the source design system (Tailwind-derived utility
   patterns + Teko/Inter type system). Color tokens are emitted as CSS
   variables via
   wp_add_inline_style() from the Customizer (see functions.php) — this
   file never hardcodes a hex value for any color with a Customizer
   control.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens / fallbacks (overridden inline by wp_add_inline_style)
   --------------------------------------------------------------------- */
:root {
	--color-background: #111311;
	--color-foreground: #e3e2dd;
	--color-card: #21231f;
	--color-primary: #cca633;
	--color-primary-foreground: #111311;
	--color-secondary: #21231f;
	--color-secondary-foreground: #c4c2ba;
	--color-muted-foreground: #868379;
	--color-accent: #0c0e0c;
	--color-accent-foreground: #e3e2dd;
	--color-border: #2d302c;
	--color-destructive: #db2424;
	--color-button-text: var(--color-primary-foreground);
	--color-surface: var(--color-card);

	--font-display: 'Teko', sans-serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.25rem;
	--btn-radius: 0.5rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.6rem;

	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--header-height: 64px;
	--checkout-gap: 2rem;
	--container-max: 1280px;

	--shadow-soft: 0 2px 12px -2px rgba(0, 0, 0, 0.4);
	--shadow-elevated: 0 8px 30px -6px rgba(0, 0, 0, 0.6);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 44px;
	--footer-logo-height: 6rem;
	--color-muted: #292b28;
}

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit; /* Tailwind preflight parity (Section 2.2) */
	font-size: inherit;
	font-family: var(--font-display);
	margin: 0;
}
h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card__image):not(.theme-product-main-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-card__image, .theme-product-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

.scroll-mt { scroll-margin-top: 5rem; }

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 700;
	margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-primary, .btn-hero-primary { background: var(--color-primary); color: var(--color-button-text); text-transform: none; }
.btn-primary:hover, .btn-hero-primary:hover { opacity: 0.9; }
.btn-outline, .btn-hero-outline {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	color: var(--color-foreground);
	text-transform: none;
}
.btn-outline:hover, .btn-hero-outline:hover { background: color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.btn.disabled, .btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; cursor: not-allowed; }

/* ---------------------------------------------------------------------
   4. Header
   --------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.3s var(--transition-smooth), box-shadow 0.3s; }
.site-header__bar { background: transparent; transition: background-color 0.3s, box-shadow 0.3s; }
.site-header.is-solid .site-header__bar,
.site-header.menu-open .site-header__bar,
.site-header__bar.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; position: relative; }
@media (min-width: 1024px) { .site-header__inner { height: 4rem; } }

.site-header__menu-toggle { display: flex; padding: 0.5rem; background: none; border: none; color: var(--color-foreground); }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header.is-solid .site-header__menu-toggle,
.site-header.menu-open .site-header__menu-toggle,
body.is-solid .site-header__menu-toggle { color: var(--color-foreground); }
.site-header:not(.is-solid):not(.menu-open) .site-header__menu-toggle { color: color-mix(in srgb, var(--color-accent-foreground) 60%, transparent); }

.site-header__brand { display: flex; align-items: center; gap: 0.5rem; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .site-header__brand { position: static; transform: none; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; text-transform: none; }
.site-header__brand-text { display: none; }
@media (min-width: 640px) { .site-header__brand-text { display: inline; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; text-transform: none; } }

.site-header__nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; margin: 0; }
.theme-nav-list a, .theme-nav-list button { font-size: 0.875rem; font-weight: 500; text-transform: none; letter-spacing: normal; font-family: var(--font-body); color: var(--color-muted-foreground); background: none; border: none; transition: color 0.2s; }
.theme-nav-list a:hover, .theme-nav-list button:hover { color: var(--color-foreground); }
.site-header:not(.is-solid):not(.menu-open) .theme-nav-list a,
.site-header:not(.is-solid):not(.menu-open) .theme-nav-list button { color: color-mix(in srgb, var(--color-accent-foreground) 70%, transparent); }
.site-header:not(.is-solid):not(.menu-open) .site-header__cart { color: color-mix(in srgb, var(--color-accent-foreground) 70%, transparent); }

.site-header__cart { position: relative; padding: 0.5rem; background: none; border: none; color: var(--color-muted-foreground); display: inline-flex; align-items: center; text-decoration: none; transition: color 0.2s; }
.site-header__cart:hover { color: var(--color-primary); }
.site-header__cart--mobile { display: flex; }
@media (min-width: 1024px) { .site-header__cart--mobile { display: none; } }
.theme-cart-count:empty { display: none; }
.theme-cart-count:not(:empty) {
	position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; font-weight: 700; font-family: var(--font-body); display: flex; align-items: center; justify-content: center;
}

.site-header__mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-header__mobile-menu.is-open { display: block; }
.site-header__mobile-menu .theme-nav-list {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	gap: 0.75rem !important;
	margin: 0 !important;
}
.site-header__mobile-menu .theme-nav-list > li {
	display: block !important;
	width: 100% !important;
	float: none !important;
}
.site-header__mobile-menu .theme-nav-list a,
.site-header__mobile-menu .theme-nav-list button {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	padding: 0.5rem 0 !important;
	font-size: 0.875rem;
	text-transform: none;
}
@media (min-width: 1024px) { .site-header__mobile-menu { display: none !important; } }

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.hero-section__media { position: absolute; inset: 0; transform-origin: center center; will-change: transform; }
.hero-section__content { transition: opacity 0.1s linear, transform 0.1s linear; }
.hero-section__video, .hero-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.hero-section__gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 30%, transparent)); }
.hero-section__content { position: relative; z-index: 10; text-align: center; padding: 5rem 1.5rem; max-width: 56rem; margin: 0 auto; }
.hero-section__eyebrow { font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--color-primary); font-weight: 700; margin-bottom: 1.5rem; }
.hero-section__title { font-size: 2.25rem; line-height: 1.05; font-weight: 900; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__title-highlight { color: var(--color-primary); display: inline-block; }
.hero-section__subtitle { color: var(--color-muted-foreground); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; font-family: var(--font-body); }
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.25rem; } }
.hero-section__actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }
.hero-section__actions .btn { padding-left: 2.5rem; padding-right: 2.5rem; }

.hero-section__scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; opacity: 0; animation: scrollIndicatorFade 1s ease 2s forwards; }
.hero-section__scroll-pill { width: 1.5rem; height: 2.5rem; border: 2px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); border-radius: 999px; display: flex; align-items: flex-start; justify-content: center; padding: 0.375rem; animation: scrollBob 2s ease-in-out infinite; }
.hero-section__scroll-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--color-primary); }
@keyframes scrollIndicatorFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

/* ---------------------------------------------------------------------
   6. Section headings (per-section scale — Section 2.2)
   --------------------------------------------------------------------- */
.section-intro { text-align: center; margin-bottom: 4rem; }
.section-intro__subtitle { color: var(--color-muted-foreground); margin-top: 1rem; max-width: 42rem; margin-left: auto; margin-right: auto; font-family: var(--font-body); }

.about-section .section-heading { font-size: 1.875rem; margin-bottom: 1.5rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 2.25rem; } }
.services-section .section-heading, .shop-section .section-heading, .contact-section .section-heading { font-size: 1.875rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .services-section .section-heading, .shop-section .section-heading { font-size: 3rem; } }
.training-section .section-heading { font-size: 1.875rem; margin-bottom: 1.5rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .training-section .section-heading { font-size: 2.25rem; } }
.contact-section .section-heading { }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------
   7. About section
   --------------------------------------------------------------------- */
.about-section, .training-section { padding: 5rem 0; }
@media (min-width: 768px) { .about-section, .training-section { padding: 7rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__image-frame { position: relative; aspect-ratio: 1 / 1; max-width: 24rem; margin: 0 auto; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); }
@media (min-width: 1024px) { .about-section__image-frame { margin: 0; } }
.about-section__text { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); line-height: 1.625; font-family: var(--font-body); }
.about-section__text p,
.training-section__text p { margin: 0; }

/* ---------------------------------------------------------------------
   8. Services
   --------------------------------------------------------------------- */
.services-section { padding: 5rem 0; background: var(--color-secondary); }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: 1fr 1fr; } }
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.75rem; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-8px); }
.service-card__image-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.service-card__body { padding: 1.5rem; flex: 1; }
.service-card__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; min-width: 0; }
.service-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; transition: transform 0.2s; }
.service-card:hover .service-card__icon { transform: rotate(8deg) scale(1.1); }
.service-card__icon svg { width: 1.25rem; height: 1.25rem; }
.service-card__title { font-size: 1.125rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.service-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; font-family: var(--font-body); }

/* ---------------------------------------------------------------------
   9. Shop section: category tiles, grid, filter pills, cache block
   --------------------------------------------------------------------- */
.shop-section { padding: 5rem 0; }
@media (min-width: 768px) { .shop-section { padding: 7rem 0; } }
.category-tiles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .category-tiles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.category-tile { padding: 1.5rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.75rem; text-align: center; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
a.category-tile { display: block; text-decoration: none; color: inherit; }
.category-tile:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); box-shadow: var(--shadow-soft); transform: translateY(-6px) scale(1.03); }
.category-tile__icon { width: 3rem; height: 3rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--color-primary); transition: transform 0.2s, background-color 0.2s; }
.category-tile:hover .category-tile__icon { transform: rotate(-10deg) scale(1.15); background: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.category-tile__label { font-size: 0.875rem; font-weight: 600; line-height: 1.35; font-family: var(--font-body); }

.shop-grid-wrap { margin-top: 3.5rem; }
.shop-grid-wrap__heading { font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; letter-spacing: -0.025em; }

.shop-filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-cat-filter { font-size: 0.75rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.theme-cat-filter:hover { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-empty-shop { text-align: center; color: var(--color-muted-foreground); grid-column: 1 / -1; padding: 2rem 0; }

.theme-product-card, .theme-product-card-wrap {
	display: flex; flex-direction: column; height: 100%;
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.5rem; overflow: hidden;
	transition: border-color 0.2s;
}
.theme-product-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-product-card__link { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-product-card__image-wrapper img { transition: transform 0.5s; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-product-card__image-wrapper img,
.theme-product-gallery__main img,
.theme-product-gallery__main .cover-img,
.theme-cart-drawer__item-thumb img {
	height: 100% !important;
	width: 100%;
	object-fit: cover;
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-product-card__info { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; min-width: 0; }
.theme-product-card__category { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-primary); font-weight: 700; font-family: var(--font-body); }
.theme-product-card__title { font-size: 1.25rem; margin-top: 0.5rem; line-height: 1.2; min-width: 0; overflow-wrap: break-word; }
.theme-product-card__blurb { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; line-height: 1.6; flex: 1; font-family: var(--font-body); }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); margin-top: 1rem; text-transform: none; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-card__actions { padding: 0 1.25rem 1.25rem; display: flex; gap: 0.5rem; position: relative; z-index: 1; align-items: stretch; }
.theme-product-card__actions .btn {
	min-height: 2.5rem;
	height: 2.5rem;
	padding: 0 1rem;
	font-size: 0.875rem;
	border-radius: var(--btn-radius);
}
.theme-product-card__actions .btn-primary {
	flex: 1;
	font-weight: 700;
	background: var(--color-primary);
	color: var(--color-button-text);
}
.theme-product-card__actions .btn-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); opacity: 1; }
.theme-product-card__actions .btn-outline {
	flex: 0 0 auto;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
}
.theme-product-card__actions .btn-outline:hover {
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	border-color: var(--color-border);
}
.theme-product-card__add-btn { flex: 1; }
.theme-stock-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; margin-top: 0.75rem; }
.theme-stock-badge--out { background: color-mix(in srgb, var(--color-destructive) 15%, transparent); color: var(--color-destructive); }

.cache-block-wrap { margin-top: 3rem; text-align: center; width: 100%; }
.cache-block { display: inline-block; max-width: 42rem; text-align: center; background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); border-radius: 0.75rem; padding: 2rem; transition: transform 0.2s; }
.cache-block:hover { transform: scale(1.02); }
.cache-block__title { font-size: 1.25rem; color: var(--color-primary); margin-bottom: 0.75rem; letter-spacing: -0.025em; }
.cache-block__text { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.6; font-family: var(--font-body); }
.cache-block__text strong { color: var(--color-foreground); font-weight: 700; }
.cache-block__cta { margin-top: 1.5rem; }

/* ---------------------------------------------------------------------
   10. Training
   --------------------------------------------------------------------- */
.training-section { background: var(--color-secondary); }
.training-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.training-section__image-wrap { order: -1; }
@media (min-width: 1024px) {
	.training-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
	.training-section__copy { order: 1; }
	.training-section__image-wrap { order: 2; }
}
.training-section__text { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); line-height: 1.625; font-family: var(--font-body); }
.training-section__quote { color: var(--color-foreground); font-weight: 600; font-style: italic; }
.training-section__tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.training-tag { font-size: 0.75rem; font-weight: 500; padding: 0.375rem 0.75rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); font-family: var(--font-body); transition: transform 0.2s; }
.training-tag:hover { transform: scale(1.08); }
.training-section__image-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); }

/* ---------------------------------------------------------------------
   11. CTA band
   --------------------------------------------------------------------- */
.cta-band { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 768px) { .cta-band { padding: 7rem 0; } }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-band__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 85%, transparent); }
.cta-band__content { position: relative; z-index: 10; text-align: center; max-width: 36rem; margin: 0 auto; }
.cta-band__title { font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 2.25rem; } }
.cta-band__title-highlight { color: var(--color-primary); }
.cta-band__subtitle { color: var(--color-muted-foreground); margin-bottom: 2rem; font-family: var(--font-body); }

/* ---------------------------------------------------------------------
   12. Contact
   --------------------------------------------------------------------- */
.contact-section { background: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .contact-section { padding: 7rem 0; } }
.contact-section__inner { max-width: 56rem; margin: 0 auto; }
.contact-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.contact-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.75rem; transition: border-color 0.2s, transform 0.2s; }
.contact-card:hover { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); transform: translateY(-6px) scale(1.03); }
.contact-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--color-primary); transition: background-color 0.2s; }
.contact-card:hover .contact-card__icon { background: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.contact-card__title { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-card__value { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.contact-section__social { margin-top: 3rem; text-align: center; }
.contact-section__social-heading { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; font-family: var(--font-body); }
.contact-section__social-icons { display: flex; justify-content: center; gap: 1rem; }
.site-footer__social { display: flex; gap: 0.75rem; }
.social-icon-btn, .site-footer__social-link { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-muted-foreground); transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.social-icon-btn:hover { color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); transform: scale(1.2) rotate(5deg); }

/* ---------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-accent); color: var(--color-accent-foreground); }
.site-footer__inner { padding: 3rem 1.25rem; }
@media (min-width: 1024px) { .site-footer__inner { padding: 3rem 2rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.site-footer__logo {
	height: var(--footer-logo-height) !important;
	max-height: var(--footer-logo-height) !important;
	width: auto !important;
	max-width: 100%;
	display: block;
	object-fit: contain;
}
.site-footer__tagline { font-size: 0.875rem; color: color-mix(in srgb, var(--color-accent-foreground) 60%, transparent); margin-top: 0.75rem; line-height: 1.6; font-family: var(--font-body); }
.site-footer__heading { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: color-mix(in srgb, var(--color-accent-foreground) 80%, transparent); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-accent-foreground) 60%, transparent); font-family: var(--font-body); transition: color 0.2s; }
.site-footer__contact-item:hover { color: var(--color-primary); }
.site-footer__contact-item svg { flex-shrink: 0; margin-top: 0.15em; }
.site-footer__social-link:hover { color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-accent-foreground) 10%, transparent); text-align: center; }
.site-footer__copyright, .site-footer__credit { font-size: 0.75rem; color: color-mix(in srgb, var(--color-accent-foreground) 40%, transparent); font-family: var(--font-body); }
.site-footer__credit { margin-top: 0.5rem; }
.site-footer__credit a { text-decoration: underline; }
.site-footer__credit a:hover { color: var(--color-accent-foreground); }

/* ---------------------------------------------------------------------
   14. Reveal animations (Section 2.1) — CSS keeps the .reveal-* classes
   that main.js toggles via IntersectionObserver.
   --------------------------------------------------------------------- */
.reveal-item { opacity: 0; will-change: opacity, transform, filter; }
.reveal-fade { transition: opacity 0.6s var(--transition-smooth); }
.reveal-up { transform: translateY(45px); filter: blur(8px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth), filter 0.7s var(--transition-smooth); }
.reveal-left { opacity: 0; transform: translateX(-60px); filter: blur(6px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth), filter 0.7s var(--transition-smooth); }
.reveal-right { opacity: 0; transform: translateX(60px); filter: blur(6px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth), filter 0.7s var(--transition-smooth); }
.reveal-scale { opacity: 0; transform: scale(0.85); filter: blur(10px); transition: opacity 0.55s var(--transition-smooth), transform 0.55s var(--transition-smooth), filter 0.55s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: none; filter: blur(0); }
.hero-section__title, .hero-section__subtitle, .hero-section__actions, .hero-section__eyebrow { opacity: 0; animation: heroFade 0.8s var(--transition-smooth) forwards; }
.hero-section__eyebrow { animation-delay: 0.4s; }
.hero-section__title { animation-delay: 0.6s; }
.hero-section__title-highlight { animation: heroHighlightScale 0.6s var(--transition-smooth) 1.1s forwards; opacity: 0; transform: scale(0.8); }
.hero-section__subtitle { animation-delay: 1s; }
.hero-section__actions { animation-delay: 1.2s; }
@keyframes heroFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroHighlightScale { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .hero-section__title, .hero-section__subtitle, .hero-section__actions, .hero-section__eyebrow, .hero-section__title-highlight, .hero-section__scroll-indicator {
		opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important;
	}
}

/* Customizer preview must never show hidden content (Section 2.1 §5). */
body.is-customizer .reveal-item,
body.is-customizer .hero-section__title,
body.is-customizer .hero-section__subtitle,
body.is-customizer .hero-section__actions,
body.is-customizer .hero-section__eyebrow,
body.is-customizer .hero-section__title-highlight,
body.is-customizer .hero-section__scroll-indicator {
	opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important;
}

/* ---------------------------------------------------------------------
   15. WooCommerce — add to cart 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 {
	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;
	gap: 0.5rem !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart { min-height: var(--btn-height); }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2). */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Button loading state (Section 31.8) */
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Product card click overlay pattern is not used here: Pattern B is used
   (image link + title link + separate add-to-cart), so no universal
   pointer-events rule is required. */

/* ---------------------------------------------------------------------
   16. WooCommerce notices (Section 14.1 — scoped)
   --------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 1rem 1.25rem; font-family: var(--font-body); color: var(--color-foreground); list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ---------------------------------------------------------------------
   17. Single product page (Section 11, 11.13)
   --------------------------------------------------------------------- */
.single-product-page { padding: 6rem 0 5rem; }
@media (min-width: 768px) { .single-product-page { padding: 8rem 0 7rem; } }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s; }
.back-to-shop-link:hover { color: var(--color-primary); }

.single-product .theme-product-layout,
.theme-product-layout {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
	margin-top: 1.5rem;
	min-width: 0;
	width: 100%;
}
@media (min-width: 1024px) {
	.single-product .theme-product-layout,
	.theme-product-layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
	}
}
.single-product__main { margin-top: 0; }

.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: 0.5rem; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-secondary); }
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; max-width: 100%; }
.theme-product-thumb { width: 4.5rem; height: 4.5rem; border-radius: 0.375rem; overflow: hidden; border: 2px solid var(--color-border); padding: 0; background: none; flex-shrink: 0; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info__categories { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-primary); font-weight: 700; font-family: var(--font-body); }
.theme-product-info__categories a { color: inherit; }
.product-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.025em; font-size: 1.875rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .product-title { font-size: 3rem; } }
.theme-product-details__heading { font-family: var(--font-display); font-weight: 700; }
.single-product__main { opacity: 0; transform: translateY(30px); filter: blur(8px); animation: singleProductEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes singleProductEnter { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
	.single-product__main { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}
.theme-product-price { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-primary); margin-top: 1rem; text-transform: none; }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.625; margin-top: 1.5rem; font-family: var(--font-body); }
.theme-product-details { margin-top: 2rem; }
.theme-product-details__heading { font-size: 1.125rem; margin-bottom: 1rem; text-transform: none; letter-spacing: normal; font-family: var(--font-display); font-weight: 700; }
.single-product .theme-product-description,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .theme-add-to-cart-area,
.theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
}
.single-product .theme-add-to-cart-area .btn,
.theme-add-to-cart-area .btn {
	min-height: 2.75rem;
	height: 2.75rem;
	padding: 0 2rem;
	font-weight: 700;
	border-radius: var(--radius);
	font-size: 0.875rem;
}
.single-product .theme-add-to-cart-area .btn-outline,
.theme-add-to-cart-area .btn-outline {
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
}
.single-product .theme-add-to-cart-area .btn-outline:hover,
.theme-add-to-cart-area .btn-outline:hover {
	background: var(--color-accent);
	color: var(--color-accent-foreground);
}
.single-product .single_add_to_cart_button,
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-buy-now-button { flex: 0 1 auto; min-width: 120px; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.single-product .theme-quantity-wrapper .theme-qty-minus,
.single-product .theme-quantity-wrapper .theme-qty-plus { width: 2.75rem; height: 2.75rem; }
.single-product .theme-quantity-wrapper .theme-qty-input { width: 3rem; height: 2.75rem; }
.theme-qty-minus, .theme-qty-plus { width: 2.75rem; height: var(--btn-height); background: none; border: none; color: var(--color-muted-foreground); font-size: 1.1rem; transition: color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 3rem; height: var(--btn-height); border: none; background: none; text-align: center; color: var(--color-foreground); font-family: var(--font-body); font-weight: 600; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-quantity-wrapper--sm { transform: scale(0.85); transform-origin: left center; }
.theme-qty-display { width: 2rem; text-align: center; font-size: 0.875rem; font-weight: 600; }

.fairfight-feature-list { display: flex; flex-direction: column; gap: 0.75rem; }
.fairfight-feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.fairfight-feature-list li::before {
	content: '';
	width: 1rem; height: 1rem; margin-top: 0.15em; flex-shrink: 0;
	background-color: var(--color-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Variations table (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-family: var(--font-body); font-weight: 600; font-style: normal; text-transform: none; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.theme-attr-pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill {
	font-size: 0.75rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px;
	border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-muted-foreground);
	font-family: var(--font-body); transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.theme-attr-pill:hover:not(.is-selected) { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-attr-pill:disabled { opacity: 0.4; cursor: not-allowed; }

.related-products-section { margin-top: 5rem; }
.related-products-section__heading { font-size: 1.5rem; margin-bottom: 1.5rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 1.875rem; } }

/* ---------------------------------------------------------------------
   18. Shop archive
   --------------------------------------------------------------------- */
.shop-archive-page { padding: 7rem 0 5rem; }
.shop-archive-page .page-title { font-size: 1.875rem; margin-bottom: 2rem; text-align: center; }

/* ---------------------------------------------------------------------
   19. Generic page / 404
   --------------------------------------------------------------------- */
.generic-page { padding: 7rem 0 5rem; min-height: 50vh; }
.generic-page .page-title { font-size: 1.875rem; margin-bottom: 2rem; letter-spacing: -0.025em; }
@media (min-width: 768px) { .generic-page .page-title { font-size: 3rem; } }
.generic-page .entry-content { font-family: var(--font-body); line-height: 1.7; color: var(--color-muted-foreground); }
.not-found-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); padding: 0; }
.not-found-page__inner { text-align: center; }
.not-found-page__code { font-size: 2.25rem; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; color: var(--color-foreground); margin-bottom: 1rem; }
.not-found-page__message { color: var(--color-muted-foreground); font-size: 1.25rem; margin-bottom: 1rem; font-family: var(--font-body); }
.not-found-page__link { color: var(--color-primary); text-decoration: underline; font-family: var(--font-body); transition: color 0.2s; }
.not-found-page__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------------------------------------------------
   20. Side cart drawer + overlay (Section 12)
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 90; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100vh; width: 100%; max-width: 26rem;
	background: var(--color-background); border-left: 1px solid var(--color-border);
	display: flex; flex-direction: column; z-index: 100;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-size: 1.25rem; letter-spacing: -0.025em; }
.theme-cart-drawer__close { background: none; border: none; color: var(--color-muted-foreground); padding: 0.25rem; }
.theme-cart-drawer__close:hover { color: var(--color-foreground); }
.theme-cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.theme-cart-drawer__empty { text-align: center; padding: 3rem 0; }
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-size: 1.25rem; margin-top: 1rem; text-transform: uppercase; }
.theme-cart-drawer__empty-message { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.5rem 0 1.5rem; font-family: var(--font-body); }
.theme-cart-drawer__items { display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__item-thumb { width: 4.5rem; height: 4.5rem; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); display: block; }
.theme-cart-drawer__item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-weight: 600; font-size: 0.9375rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-price { display: block; color: var(--color-primary); font-family: var(--font-display); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.theme-cart-drawer__remove { background: none; border: none; color: var(--color-muted-foreground); padding: 0.25rem; }
.theme-cart-drawer__remove:hover { color: var(--color-destructive); }
.theme-cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.25rem; }
.theme-cart-drawer__checkout, .theme-cart-drawer__continue { width: 100%; }

/* ---------------------------------------------------------------------
   21. WooCommerce Checkout / Cart Blocks (Section 13)
   --------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
	padding-top: 6rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main {
		padding-top: 8rem;
		padding-bottom: 7rem;
	}
}

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.875rem;
	letter-spacing: -0.025em;
	margin-bottom: 0;
	scroll-margin-top: 5rem;
}
body.woocommerce-checkout .page-title { text-transform: uppercase; }
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title { font-size: 3rem; }
}

body.woocommerce-checkout .generic-page,
body.woocommerce-cart .generic-page {
	padding-left: 0;
	padding-right: 0;
	min-height: 0;
}

/* page.php already wraps in .container-wide — no duplicate horizontal padding */
body.woocommerce-checkout .container-wide .alignwide,
body.woocommerce-cart .container-wide .alignwide {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content { margin-top: 2.5rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main-and-sidebar,
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
		display: grid !important;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
		gap: 2rem !important;
		align-items: start !important;
	}
}

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

body.woocommerce-checkout .wc-block-checkout__main > * {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-cart .wc-block-cart-items {
	width: 100% !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}
body.woocommerce-cart .wc-block-cart-items thead { display: none !important; }
body.woocommerce-cart .wc-block-cart-items tbody { display: block; width: 100%; }

body.woocommerce-cart .wc-block-cart-items__row {
	display: flex !important;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
	width: 100% !important;
	padding: 1.25rem !important;
	margin-bottom: 1rem !important;
	background: var(--color-card) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--card-radius) !important;
}
@media (max-width: 639px) {
	body.woocommerce-cart .wc-block-cart-items__row {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
	}
	body.woocommerce-cart .wc-block-cart-item__product {
		flex: 1 1 100% !important;
	}
	body.woocommerce-cart .wc-block-cart-item__quantity,
	body.woocommerce-cart .wc-block-cart-items__row > td:last-child {
		flex: 0 0 auto !important;
		width: auto !important;
		margin-top: 0 !important;
	}
}
@media (min-width: 640px) {
	body.woocommerce-cart .wc-block-cart-items__row {
		flex-direction: row !important;
		align-items: center !important;
	}
}

body.woocommerce-cart .wc-block-cart-item__image { display: none !important; }

body.woocommerce-cart .wc-block-cart-items__row > td {
	display: block !important;
	width: auto !important;
	border: none !important;
	padding: 0 !important;
}
body.woocommerce-cart .wc-block-cart-item__product { flex: 1; min-width: 0; }

body.woocommerce-cart .wc-block-cart-item__wrap {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.75rem !important;
	width: 100% !important;
}

body.woocommerce-cart .wc-block-components-product-name {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	font-size: 1.125rem !important;
}
body.woocommerce-cart .wc-block-components-product-name a {
	color: inherit;
	transition: color 0.2s;
}
body.woocommerce-cart .wc-block-components-product-name a:hover { color: var(--color-primary); }
body.woocommerce-cart .wc-block-components-product-metadata {
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.14em !important;
	color: var(--color-primary) !important;
	font-weight: 700 !important;
	margin-top: 0.25rem !important;
}
body.woocommerce-cart .wc-block-components-product-price {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: var(--color-muted-foreground) !important;
	margin-top: 0.25rem !important;
}

body.woocommerce-cart .wc-block-cart-item__quantity {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	margin-top: 0.5rem !important;
}
@media (min-width: 640px) {
	body.woocommerce-cart .wc-block-cart-item__quantity {
		margin-top: 0 !important;
		margin-left: auto !important;
	}
}
body.woocommerce-cart .wc-block-components-quantity-selector {
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector__input,
body.woocommerce-cart .wc-block-components-quantity-selector input {
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart .wc-block-components-product-metadata__description {
	color: var(--color-muted-foreground) !important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
	color: var(--color-destructive) !important;
}

body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart-items__row > td:last-child {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	flex-shrink: 0 !important;
}
@media (min-width: 640px) {
	body.woocommerce-cart .wc-block-cart-item__total,
	body.woocommerce-cart .wc-block-cart-items__row > td:last-child {
		margin-left: 0 !important;
	}
}
body.woocommerce-cart .wc-block-cart-item__total-price,
body.woocommerce-cart .wc-block-cart-item__total .wc-block-formatted-money-amount {
	font-family: var(--font-display) !important;
	font-size: 1.25rem !important;
	color: var(--color-primary) !important;
	min-width: 6rem;
	text-align: right;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-components-main {
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-cart .wc-block-components-order-summary-item {
	border-color: var(--color-border) !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
	background: var(--color-card) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--card-radius) !important;
	padding: 1.5rem !important;
	margin-bottom: 2rem !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	font-size: 1.25rem !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

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,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-address-form select {
	width: 100% !important;
	max-width: none !important;
	min-height: 2.75rem !important;
	height: auto !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	appearance: auto !important;
}

body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button {
	text-align: left !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label {
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	color: var(--color-muted-foreground) !important;
	margin-bottom: 0.5rem !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--card-radius) !important;
	padding: 1.5rem !important;
	position: sticky;
	top: 6rem;
}
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-card) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--card-radius) !important;
	padding: 1.5rem !important;
	position: static;
	top: auto;
}
@media (min-width: 1024px) {
	body.woocommerce-cart .wc-block-cart__sidebar {
		position: sticky;
		top: 6rem;
	}
}

body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-cart .wc-block-components-order-summary {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-cart .wc-block-components-order-summary__title {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	font-size: 1.25rem !important;
	text-transform: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none !important;
	font-family: var(--font-body) !important;
	font-weight: 700 !important;
	border: none !important;
	min-height: 2.75rem !important;
	width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-button:not(.wc-block-components-checkout-place-order-button),
body.woocommerce-cart .wc-block-components-button:not(.wc-block-cart__submit-button) {
	background: transparent !important;
	border: 1px solid var(--color-border) !important;
	color: var(--color-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	min-height: 2.75rem !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); }

/* ---------------------------------------------------------------------
   22. Thank-you page (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
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 { font-family: var(--font-body); color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0.75rem 1rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--color-border); }
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; }

/* ---------------------------------------------------------------------
   23. Customizer media control (also loaded standalone as
   customizer-controls.css, duplicated intentionally so the admin panel
   never depends on the frontend stylesheet)
   --------------------------------------------------------------------- */
