/* ==========================================================================
   TP Phantom Wear — theme.css
   Author: The Free Website Guys
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
	--font-display: 'Playfair Display', 'Lora', Georgia, serif;
	--font-serif-soft: 'Lora', Georgia, serif;
	--font-script: 'Lora', Georgia, serif;
	--font-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;

	--radius: 8px;
	--btn-radius: 4px;
	--btn-height: 48px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0;
	--btn-text-transform: none;
	--btn-icon-padding: 0.6rem;
	--header-height: 80px;
	--checkout-gap: 2.5rem;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--shadow-soft: 0 6px 24px -12px color-mix(in srgb, var(--color-primary) 45%, transparent);
	--shadow-elevated: 0 20px 60px -20px rgba(0, 0, 0, 0.6);

	--color-button-text: var(--color-primary-foreground);
	--color-border-token: var(--color-border);
}

/* ---------- 2. Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.theme-product-card__image):not(.category-card__image):not(.theme-product-image) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card__image,
.category-card__image,
.theme-product-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; font-size: inherit; margin: 0; letter-spacing: 0.01em; text-wrap: balance; }
p { margin: 0; }
::selection { background: color-mix(in srgb, var(--color-primary) 25%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) {
	:root { --header-height: 96px; }
	.container-wide { padding: 0 2.5rem; }
}
.scroll-mt-24 { scroll-margin-top: 6rem; }

.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; display: block; font-family: var(--font-body); }
.tppw-text-primary { color: var(--color-primary); }
.font-body { font-family: var(--font-body); }
.font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
.font-serif-soft { font-family: var(--font-serif-soft); }
.font-script { font-family: var(--font-serif-soft); font-style: italic; font-weight: 500; letter-spacing: 0; }

/* ---------- 3. Animations & reveal (Section 2.1) ---------- */
@keyframes tppw-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tppw-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tppw-scale-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes tppw-marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@keyframes tppw-ken-burns { 0% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.12) translate(-1.5%,1%); } 100% { transform: scale(1) translate(0,0); } }

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Customizer preview fallback — reveal content must never stay hidden while editing */
body.is-customizer .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal, .hero-anim { transition: none !important; opacity: 1 !important; transform: none !important; }
	.promise-marquee__track { animation: none !important; }
	[data-hero-media], [data-hero-content] { transform: none !important; }
}

/* ---------- 4. Buttons ---------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	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-radius: var(--btn-radius);
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), opacity 0.2s ease;
	border: 1px solid transparent;
	white-space: nowrap;
}
.theme-btn:hover { transform: translateY(-2px); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); box-shadow: var(--shadow-soft); }
.theme-btn-primary:hover { background: var(--color-primary-deep); }
.theme-btn-outline { background: transparent; border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-foreground); }
.theme-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-btn-outline-light { background: transparent; border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); color: var(--color-foreground); }
.theme-btn-outline-light:hover { background: color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-btn-lg { height: 56px; padding: 0 2.25rem; font-size: 0.8rem; }
.theme-btn-block { width: 100%; }
.theme-btn:disabled, .theme-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---------- 5. Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	transition: background 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth), backdrop-filter 0.5s var(--transition-smooth);
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	border-bottom-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}
.site-header__inner { position: relative; z-index: 10; }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 80px; transition: height 0.3s var(--transition-smooth); }
.site-header.is-scrolled .site-nav { height: 64px; }
@media (min-width: 1024px) {
	.site-nav { height: 96px; }
	.site-header.is-scrolled .site-nav { height: 80px; }
}
.site-branding { display: flex; align-items: center; }
.site-logo-wrap {
	display: flex;
	align-items: center;
	height: var(--logo-height, 48px);
	transition: height 0.3s var(--transition-smooth);
}
.site-header.is-scrolled .site-logo-wrap { height: calc(var(--logo-height, 48px) * 0.833); }
@media (min-width: 1024px) {
	.site-header.is-scrolled .site-logo-wrap { height: calc(var(--logo-height, 48px) * 0.857); }
}
.site-logo-wrap--footer { height: 3.5rem; }
.site-logo-img { height: 100% !important; width: auto !important; max-height: none !important; display: block; }
.site-logo-text { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.1rem; color: var(--color-foreground); }
.site-nav__links { display: none; align-items: center; gap: 1.75rem; margin-left: auto; margin-right: 1.5rem; }
@media (min-width: 1024px) { .site-nav__links { display: flex; } }
.theme-nav-list { list-style: none; display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; }
.theme-nav-list a,
.theme-nav-link {
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	position: relative; transition: color 0.3s ease;
}
.theme-nav-list a::after, .theme-nav-link::after {
	content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--transition-smooth);
}
.theme-nav-list a:hover, .theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-list a:hover::after, .theme-nav-link:hover::after { transform: scaleX(1); }
.theme-btn-header-cta {
	display: inline-flex; align-items: center; padding: 0.65rem 1.25rem; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 4px; box-shadow: var(--shadow-soft); transition: background 0.3s ease;
}
.theme-btn-header-cta:hover { background: var(--color-primary-deep); }
.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-toggle, .theme-mobile-toggle { position: relative; padding: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color 0.3s ease; }
.theme-cart-toggle:hover, .theme-mobile-toggle:hover { color: var(--color-primary); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 999px;
	background: var(--color-primary); color: var(--color-primary-foreground); font-size: 10px; font-weight: 500;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.site-header.is-menu-open .theme-mobile-toggle .icon-menu { display: none; }
.site-header.is-menu-open .theme-mobile-toggle .icon-close { display: block; }

.site-mobile-menu { display: none; flex-direction: column; gap: 0.25rem; padding: 1rem 0; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); animation: tppw-fade-in 0.4s var(--transition-smooth); }
.site-header.is-menu-open .site-mobile-menu { display: flex; }
.site-mobile-menu .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.site-mobile-menu .theme-nav-list a, .site-mobile-menu .theme-nav-link { display: block; padding: 0.75rem 0.5rem; font-size: 12px; transition: color 0.3s ease, background 0.3s ease; }
.site-mobile-menu .theme-nav-list a:hover, .site-mobile-menu .theme-nav-link:hover { color: var(--color-primary); background: var(--color-secondary); }
.theme-btn-header-cta--mobile { margin-top: 0.75rem; justify-content: center; }
@media (min-width: 1024px) { .site-mobile-menu { display: none !important; } }

body.theme-no-hero .site-header { background: color-mix(in srgb, var(--color-background) 95%, transparent); }

/* ---------- 6. Hero ---------- */
.hero-section { position: relative; width: 100%; overflow: hidden; min-height: 100svh; background: var(--color-background); }
@media (min-width: 1024px) { .hero-section { height: 100vh; min-height: 720px; } }
.hero-section__media { position: absolute; inset: 0; transform-origin: center center; will-change: transform; }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 70%, transparent); }
.hero-section__gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 60%, transparent) 60%, color-mix(in srgb, var(--color-background) 30%, transparent)); }
.hero-section__content { position: relative; z-index: 10; display: flex; align-items: center; justify-content: center; min-height: 100svh; will-change: transform; }
@media (min-width: 1024px) { .hero-section__content { min-height: 100vh; } }
.hero-section__inner { max-width: 56rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-section__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); margin-bottom: 1.25rem; }
.hero-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 640px) { .hero-section__title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-section__title { font-size: 4rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.75rem; } }
.hero-section__title-line { display: block; }
.hero-section__title-line--gradient {
	padding-bottom: 0.5rem;
	background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 85%, white) 40%, var(--color-accent) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hero-section__subtitle { margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-weight: 300; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }
.hero-section__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }

.hero-anim { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth), filter 0.9s var(--transition-smooth); }
.hero-anim[data-delay="0"] { transition-delay: 0.4s; }
.hero-anim[data-delay="1"] { transition-delay: 0.5s; }
.hero-anim[data-delay="2"] { transition-delay: 0.65s; }
.hero-anim[data-delay="3"] { transition-delay: 0.75s; }
[data-hero-content].is-ready .hero-anim { opacity: 1; transform: translateY(0); filter: blur(0); }
body.is-customizer .hero-anim { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ---------- 7. Categories ---------- */
.categories-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .categories-section { padding: 7rem 0; } }
.categories-section__head { text-align: center; max-width: 42rem; width: 100%; margin: 0 auto 3.5rem; }
@media (min-width: 768px) { .categories-section__head { margin-bottom: 5rem; } }
.categories-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; line-height: 1.05; margin-top: 1rem; }
@media (min-width: 768px) { .categories-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .categories-section__title { font-size: 3.75rem; } }
.categories-section__subtitle { margin-top: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; }
.categories-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .categories-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .categories-section__grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; } }

.category-card { position: relative; display: block; width: 100%; text-align: left; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-card); transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth); height: 100%; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 35%, transparent); border-color: var(--color-primary); }
.category-card__image-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #fff; }
.category-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; transform: scale(1); transition: transform 1.4s ease-out; }
.category-card:hover .category-card__image { transform: scale(1.05); }
.category-card__gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 40%, transparent) 60%, transparent); }
.category-card__frame { position: absolute; inset: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); pointer-events: none; }
.category-card__body { position: relative; z-index: 10; margin-top: -6rem; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; }
@media (min-width: 768px) { .category-card__body { margin-top: -7rem; padding: 1.5rem; } }
.category-card__icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.category-card__script { color: var(--color-accent-soft); font-family: var(--font-serif-soft); font-style: italic; font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; }
@media (min-width: 768px) { .category-card__script { font-size: 0.875rem; } }
@media (min-width: 768px) { .category-card__script { font-size: 0.875rem; } }
.category-card__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.125rem; margin-top: 0.5rem; color: var(--color-foreground); line-height: 1.25; }
@media (min-width: 768px) { .category-card__title { font-size: 1.25rem; } }
.category-card__desc { margin-top: 0.5rem; font-size: 0.8rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.6; }
@media (min-width: 768px) { .category-card__desc { font-size: 0.875rem; } }
.category-card__cta { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--color-primary); transition: color 0.5s ease; }
.category-card:hover .category-card__cta { color: var(--color-foreground); }
.category-card:hover .category-card__cta svg { transform: translateX(4px); }
.category-card__cta svg { transition: transform 0.5s ease; }

/* ---------- 8. Promise marquee ---------- */
.promise-marquee { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); background: var(--color-primary); }
.promise-marquee__track { display: flex; width: max-content; padding: 0.75rem 0; animation: tppw-marquee 60s linear infinite; will-change: transform; }
.promise-marquee__item { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .promise-marquee__item { padding: 0 2.5rem; gap: 1rem; } }
.promise-marquee__icon { color: color-mix(in srgb, var(--color-primary-foreground) 90%, transparent); display: inline-flex; }
.promise-marquee__label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; color: var(--color-primary-foreground); }
@media (min-width: 768px) { .promise-marquee__label { font-size: 0.875rem; } }
.promise-marquee__dot { color: color-mix(in srgb, var(--color-primary-foreground) 50%, transparent); font-size: 0.875rem; }

/* ---------- 9. Shop section ---------- */
.shop-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
@media (min-width: 768px) { .shop-section { padding: 7rem 0; } }
.shop-section__head { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .shop-section__head { grid-template-columns: repeat(12, 1fr); gap: 3rem; margin-bottom: 4rem; } }
.shop-section__head-copy { grid-column: 1 / -1; }
@media (min-width: 768px) { .shop-section__head-copy { grid-column: 1 / span 7; } }
.shop-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; line-height: 1.05; margin-top: 1rem; }
@media (min-width: 768px) { .shop-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section__title { font-size: 3.75rem; } }
.shop-section__subtitle { grid-column: 1 / -1; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; }
@media (min-width: 768px) { .shop-section__subtitle { grid-column: span 5; } }

.shop-filter-bar { background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); padding: 1.5rem; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.shop-filter-bar__row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .shop-filter-bar__row { flex-direction: row; } }
.shop-filter-bar__search { position: relative; flex: 1; }
.shop-filter-bar__search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-filter-bar__search input {
	width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	font-size: 0.875rem; color: var(--color-foreground);
}
.shop-filter-bar__search input:focus { outline: none; border-color: var(--color-primary); }
.shop-filter-bar__sort { position: relative; }
@media (min-width: 640px) { .shop-filter-bar__sort { width: 14rem; } }
.shop-filter-bar__sort svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 50%, transparent); pointer-events: none; }
.shop-filter-bar__sort select {
	width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	font-size: 0.875rem; color: var(--color-foreground); appearance: none;
}
.shop-filter-bar__sort select:focus { outline: none; border-color: var(--color-primary); }
.shop-filter-bar__cats-label { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 0.75rem; }
.shop-filter-bar__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-filter-chip {
	padding: 0.5rem 0.9rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); background: var(--color-background); color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: all 0.3s ease;
}
.theme-filter-chip:hover { border-color: color-mix(in srgb, var(--color-primary) 70%, transparent); color: var(--color-foreground); }
.theme-filter-chip.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-soft); }

.shop-section__count { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1.5rem; }

.theme-product-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 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)); gap: 1.75rem; } }
.theme-product-grid--related { margin-top: 2.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { height: 100%; display: flex; flex-direction: column; }
.theme-product-card-wrap.is-filtered-out { display: none; }
.theme-product-card-wrap.is-extra-hidden { display: none; }

.theme-product-card {
	position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
	background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-product-card:hover { border-color: color-mix(in srgb, var(--color-primary) 70%, transparent); box-shadow: 0 6px 18px -8px rgba(0,0,0,0.4); transform: translateY(-4px); }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); }
.theme-product-card__image-wrapper img,
.theme-product-card__image-wrapper .theme-product-card__image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}
.theme-product-card__badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: 0.3rem 0.6rem; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
	background: color-mix(in srgb, var(--color-background) 90%, transparent); border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary);
}
.theme-product-card__image { transition: transform 0.8s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image.is-muted { opacity: 0.6; }
.theme-product-card__image-frame { position: absolute; inset: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); pointer-events: none; }
.theme-product-card__hover-gradient {
	pointer-events: none;
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 70%, transparent), transparent);
	opacity: 0;
	transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__hover-gradient { opacity: 1; }
.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.5rem; } }
.theme-product-card__tagline { color: var(--color-primary); font-size: 1.125rem; line-height: 1; margin-bottom: 0.5rem; display: block; }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.35; color: var(--color-foreground); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 500; white-space: nowrap; margin-top: 0.15rem; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35rem; }
.theme-product-card__excerpt { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); display: flex; justify-content: flex-end; }
.theme-product-card__view { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--color-primary); }
.theme-product-card:hover .theme-product-card__view svg { transform: translateX(4px); }
.theme-product-card__view svg { transition: transform 0.3s ease; }

.shop-section__empty { border: 1px dashed color-mix(in srgb, var(--color-primary) 40%, transparent); padding: 3rem 0; text-align: center; }
.shop-section__empty-title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop-section__empty-desc { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.shop-section__more { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- 10. About ---------- */
.about-section { position: relative; overflow: hidden; border-top: 1px solid var(--color-border); }
.about-section__bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: tppw-ken-burns 24s ease-in-out infinite; }
.about-section__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 75%, transparent); }
.about-section__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 40%, transparent), color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 80%, transparent)); }
.about-section__content { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .about-section__content { padding: 8rem 0; } }
.about-section__inner { max-width: 48rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.about-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; margin-top: 1rem; line-height: 1.05; text-wrap: balance; }
@media (min-width: 768px) { .about-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__title { font-size: 3.75rem; } }
.about-section__rule { display: block; height: 1px; width: 4rem; background: var(--color-primary); margin: 2rem auto; }
.about-section__body { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-weight: 300; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .about-section__body { font-size: 1.125rem; } }
.about-section__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .about-section__actions { flex-direction: row; } }

/* ---------- 11. Custom order ---------- */
.custom-order-section { padding: 5rem 0; border-top: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
@media (min-width: 768px) { .custom-order-section { padding: 7rem 0; } }
.custom-order-section__head { max-width: 48rem; width: 100%; margin: 0 auto 3rem; text-align: center; }
.custom-order-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; margin-top: 0.75rem; line-height: 1.05; }
@media (min-width: 768px) { .custom-order-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .custom-order-section__title { font-size: 3.75rem; } }
.custom-order-section__subtitle { margin-top: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; }
.custom-order-notice {
	max-width: 48rem; margin: 0 auto 2rem; border: 1px solid var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	padding: 1.25rem 1.5rem; border-radius: 4px; display: flex; gap: 1rem; align-items: flex-start;
}
.custom-order-notice svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.custom-order-notice__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; color: var(--color-primary); margin-bottom: 0.25rem; }
.custom-order-notice__text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; }
.custom-order-form { max-width: 48rem; margin: 0 auto; position: relative; border: 1px solid var(--color-border); background: var(--color-card); padding: 1.5rem; box-shadow: var(--shadow-soft); border-radius: 4px; display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .custom-order-form { padding: 2.5rem; } }
.contact-section .contact-form {
	max-width: none;
	margin: 0;
	position: relative;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	padding: 2rem;
	box-shadow: var(--shadow-soft);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
@media (min-width: 768px) { .contact-section .contact-form { padding: 2.5rem; } }
.tppw-input, .custom-order-form input, .custom-order-form select, .custom-order-form textarea,
.contact-form input, .contact-form textarea {
	width: 100%; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	font-size: 0.875rem; color: var(--color-foreground); border-radius: 2px; font-family: var(--font-body);
}
.custom-order-form select { cursor: pointer; }
.custom-order-form input:focus, .custom-order-form select:focus, .custom-order-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.custom-order-form textarea, .contact-form textarea { resize: none; }
.custom-order-form__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .custom-order-form__grid { grid-template-columns: 1fr 1fr; } }
.custom-order-form__full { grid-column: 1 / -1; }
.custom-order-form__full label { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 0.5rem; }
.custom-order-form__design p { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 0.75rem; }
.custom-order-form__design-options { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .custom-order-form__design-options { grid-template-columns: 1fr 1fr; } }
.custom-order-design-option {
	display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 1px solid var(--color-border); background: var(--color-background); border-radius: 2px; cursor: pointer; transition: all 0.2s ease;
}
.custom-order-design-option input { position: absolute; opacity: 0; pointer-events: none; }
.custom-order-design-option svg { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.custom-order-design-option span:last-child { font-size: 0.875rem; font-weight: 500; }
.custom-order-design-option.is-active { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.custom-order-design-option.is-active svg { color: var(--color-primary); }
.custom-order-form__status, .contact-form__status { font-size: 0.8rem; color: var(--color-primary); text-align: center; min-height: 1em; }

/* ---------- 12. FAQ ---------- */
.faq-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.faq-section__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--color-border); }
@media (min-width: 1024px) { .faq-section__media { position: sticky; top: 7rem; } }
.faq-section__media-frame { position: absolute; inset: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); pointer-events: none; }
.faq-section__media-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 80%, transparent), transparent); }
@media (min-width: 768px) { .faq-section__media-caption { padding: 2rem; } }
.faq-section__quote { font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.35; max-width: 24rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .faq-section__quote { font-size: 1.5rem; } }
.faq-section__author { margin-top: 0.75rem; font-family: var(--font-display); text-transform: uppercase; font-size: 1.125rem; color: var(--color-primary); }
.faq-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.875rem; margin-top: 0.75rem; line-height: 1.05; word-break: break-word; }
@media (min-width: 640px) { .faq-section__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .faq-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section__title { font-size: 3.75rem; } }
.faq-section__subtitle { margin-top: 1.25rem; max-width: 32rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; }
.faq-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.faq-accordion__item { border-bottom: 1px solid var(--color-border); }
.faq-accordion__question { width: 100%; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; text-align: left; }
@media (min-width: 768px) { .faq-accordion__question { gap: 1.75rem; padding: 1.75rem 0; } }
.faq-accordion__num { font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); flex-shrink: 0; transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-accordion__num { font-size: 1.25rem; } }
.faq-accordion__item.is-open .faq-accordion__num { color: var(--color-primary); }
.faq-accordion__q-text { flex: 1; font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-accordion__q-text { font-size: 1.125rem; } }
.faq-accordion__item.is-open .faq-accordion__q-text { color: var(--color-foreground); }
.faq-accordion__plus { flex-shrink: 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: transform 0.3s ease, color 0.3s ease; }
.faq-accordion__item.is-open .faq-accordion__plus { transform: rotate(45deg); color: var(--color-primary); }
.faq-accordion__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--transition-smooth); }
.faq-accordion__item.is-open .faq-accordion__answer { grid-template-rows: 1fr; }
.faq-accordion__answer-inner { overflow: hidden; }
.faq-accordion__answer p { padding: 0 1.5rem 1.5rem 2.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; font-size: 0.875rem; max-width: 42rem; margin: 0; }
@media (min-width: 768px) { .faq-accordion__answer p { padding-left: 3rem; padding-bottom: 1.75rem; font-size: 1rem; } }

/* ---------- 13. Contact ---------- */
.contact-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .contact-section { padding: 7rem 0; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-section__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; margin-top: 0.75rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__title { font-size: 3.75rem; } }
.contact-section__subtitle { margin-top: 1.5rem; max-width: 28rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; }
.contact-section__links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__link { display: flex; align-items: center; gap: 1rem; }
.contact-section__link-icon { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-primary); transition: border-color 0.3s ease; }
.contact-section__link:hover .contact-section__link-icon { border-color: var(--color-primary); }
.contact-section__link span:last-child { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); word-break: break-all; transition: color 0.3s ease; }
.contact-section__link:hover span:last-child { color: var(--color-primary); }
.contact-form__frame { position: absolute; inset: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); pointer-events: none; border-radius: 2px; }
.contact-form__title { font-family: var(--font-display); font-weight: 700; font-style: normal; text-transform: uppercase; color: var(--color-primary); font-size: 1.5rem; line-height: 1; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .contact-form__title { font-size: 1.875rem; } }
.contact-form__sub { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.contact-form__fields { display: flex; flex-direction: column; gap: 1rem; position: relative; }

/* ---------- 14. Footer ---------- */
.site-footer { background: color-mix(in srgb, var(--color-secondary) 70%, transparent); border-top: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); }
.site-footer__inner { padding-block: 4rem 2rem; }
@media (min-width: 768px) { .site-footer__inner { padding-block: 5rem 2rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.site-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 768px) { .site-footer__brand { grid-column: span 5; align-items: flex-start; text-align: left; } }
.site-footer__tagline { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 26rem; line-height: 1.7; font-weight: 300; }
.site-footer__col { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__col { grid-column: span 2; } }
.site-footer__col--reach { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__col--reach { grid-column: span 3; } }
.site-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.25rem; font-weight: 500; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a, .site-footer__list button { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; transition: color 0.3s ease; }
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary); }
.site-footer__list--icons li { display: flex; align-items: flex-start; gap: 0.75rem; }
.site-footer__list--icons svg { color: var(--color-primary); margin-top: 0.15rem; flex-shrink: 0; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); display: flex; justify-content: center; }
.site-footer__copyright { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ---------- 15. Cart drawer & overlay ---------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); backdrop-filter: blur(4px); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-card);
	border-left: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
.theme-cart-drawer__script { color: var(--color-primary); font-size: 1.5rem; line-height: 1; }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 0.25rem; }
.theme-cart-drawer__close { padding: 0.25rem; transition: color 0.3s ease; }
.theme-cart-drawer__close:hover { color: var(--color-primary); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); overflow: hidden; display: block; }
.theme-cart-item__image img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s ease; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__meta, .theme-cart-item__note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-item__note { font-style: italic; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-primary); margin-top: 0.15rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 4px; transition: background 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: color 0.3s ease; }
.theme-cart-item__remove:hover { color: var(--color-primary); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; color: var(--color-primary); }
.theme-cart-drawer__note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------- 16. WooCommerce global overrides ---------- */
.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 .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-left: 3px solid var(--color-primary);
	padding: 1rem 1.5rem; color: var(--color-foreground); font-size: 0.875rem; border-radius: 2px; list-style: none;
}

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.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; }

/* ---------- 17. Single product ---------- */
.single-product .site-main {
	padding-top: 6rem;
	padding-bottom: 5rem;
	animation: tppw-fade-in 0.7s var(--transition-smooth);
}
@media (min-width: 1024px) { .single-product .site-main { padding-top: 7rem; } }
.single-product__back { padding: 1.5rem 0; }
.single-product__back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease; }
.single-product__back-link:hover { color: var(--color-primary); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 3/4; background: var(--color-secondary); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__frame { position: absolute; inset: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); pointer-events: none; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 2px solid color-mix(in srgb, var(--color-primary) 25%, transparent); opacity: 0.6; transition: all 0.2s ease; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { border-color: var(--color-primary); opacity: 1; }
.theme-product-gallery__main > img,
.theme-product-gallery__main .theme-product-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.theme-product-thumb img { width: 100%; height: 100% !important; object-fit: cover; }
.theme-product-info__cat { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }
.theme-product-info__tagline { color: var(--color-primary); font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.875rem; line-height: 1; margin-top: 1rem; }
@media (min-width: 768px) { .theme-product-info__tagline { font-size: 2.25rem; } }
.theme-product-info__title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; margin-top: 0.75rem; margin-bottom: 1rem; line-height: 1.1; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
.theme-product-info__price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-info__price del { opacity: 0.5; margin-right: 0.5rem; }
.theme-product-info__stock.is-out { color: var(--color-primary); font-size: 0.875rem; margin-bottom: 1.5rem; font-weight: 500; }
.theme-product-info__description { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-size-select { margin-bottom: 1.5rem; }
.theme-size-select__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.theme-size-select__selected { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-family: var(--font-body); }
.theme-size-select__label { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-family: var(--font-body); }
.theme-size-select__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-chip { min-width: 52px; padding: 0.6rem 0.75rem; font-size: 0.875rem; font-weight: 500; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); background: var(--color-background); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: all 0.2s ease; }
.theme-size-chip:hover { border-color: var(--color-primary); color: var(--color-foreground); }
.theme-size-chip.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-soft); }
.theme-note-field { margin-bottom: 1.5rem; }
.theme-note-field__label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-note-field input { width: 100%; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); font-size: 0.875rem; color: var(--color-foreground); }
.theme-note-field input:focus { outline: none; border-color: var(--color-primary); }
.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 100%; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3.5rem; min-width: 48px; text-align: center; background: transparent; border: none; color: var(--color-foreground); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-info__details-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-family: var(--font-body); }
.theme-product-info__details { border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); padding-top: 2rem; margin-top: 1rem; }
.theme-product-info__details-body { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; font-size: 0.875rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.theme-product-details-list li::before { content: ''; width: 6px; height: 6px; margin-top: 0.45rem; flex-shrink: 0; border-radius: 999px; background: var(--color-primary); }
.related-products-section { padding-top: 4rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
.related-products-section__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 1.875rem; } }

/* ---------- 18. Shop archive ---------- */
.archive-product { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 5rem; }
.archive-product__header { margin-bottom: 2.5rem; }
.archive-product__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; }
.archive-product__pagination { margin-top: 3rem; display: flex; justify-content: center; }
.archive-product__empty { text-align: center; padding: 4rem 0; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* ---------- 19. Generic page (Policies, 404, generic) ---------- */
.theme-page-main, .theme-generic-main, .theme-404-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 5rem; }
.theme-policies-main { padding-top: 0; padding-bottom: 0; }
.theme-page-title-wrap { margin-bottom: 2rem; }
.page-title { font-family: var(--font-display); text-transform: uppercase; font-size: 2.25rem; }
.theme-404-main {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 0;
	padding-bottom: 0;
	background: var(--color-muted);
}
.theme-404 {
	text-align: center;
	padding: 0;
	width: 100%;
	animation: tppw-scale-in 0.6s var(--transition-smooth) both;
}
.theme-404__code { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; transition: color 0.3s ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

.policies-hero { padding-top: 8rem; padding-bottom: 4rem; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
@media (min-width: 768px) { .policies-hero { padding-top: 10rem; padding-bottom: 5rem; } }
.policies-hero__inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.policies-hero__script { font-size: 1.875rem; line-height: 1; margin-top: 0.75rem; }
@media (min-width: 768px) { .policies-hero__script { font-size: 2.25rem; } }
.policies-hero__title { font-family: var(--font-display); text-transform: none; font-size: 2.25rem; margin-top: 1rem; line-height: 1.05; }
@media (min-width: 768px) { .policies-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .policies-hero__title { font-size: 3.75rem; } }
.policies-hero__rule { width: 6rem; height: 1px; background: color-mix(in srgb, var(--color-primary) 60%, transparent); margin: 2rem auto; }
.policies-hero__intro { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; line-height: 1.7; }
.policies-list { padding: 5rem 0; }
.policies-list__inner { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.policy-card { position: relative; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); background: var(--color-card); padding: 2rem; box-shadow: var(--shadow-soft); }
@media (min-width: 1024px) { .policy-card { padding: 2.5rem; } }
.policy-card__frame { position: absolute; inset: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); pointer-events: none; }
.policy-card__icon { width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--color-primary) 60%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--color-primary); }
.policy-card__title { font-family: var(--font-display); font-size: 1.5rem; }
@media (min-width: 768px) { .policy-card__title { font-size: 1.625rem; } }
.policy-card__rule { width: 3rem; height: 1px; background: color-mix(in srgb, var(--color-primary) 70%, transparent); margin: 1.25rem 0 1.5rem; }
.policy-card__body { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-weight: 300; line-height: 1.7; font-size: 0.875rem; }
@media (min-width: 768px) { .policy-card__body { font-size: 0.9375rem; } }
.policies-cta { padding-bottom: 6rem; }
.policies-cta__inner { max-width: 48rem; margin: 0 auto; text-align: center; border-top: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); padding-top: 4rem; }
.policies-cta__eyebrow { font-size: 1.5rem; line-height: 1; }
.policies-cta__title { font-family: var(--font-display); font-size: 1.875rem; margin-top: 0.75rem; }
.policies-cta__text { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; line-height: 1.7; }
.policies-cta__actions { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .policies-cta__actions { flex-direction: row; } }

/* ---------- 20. Checkout Block overrides ---------- */
body.woocommerce-checkout .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control button,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-select select {
	font-family: var(--font-body) !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent) !important;
	border-radius: 2px !important;
	font-size: 0.875rem !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: color-mix(in srgb, var(--color-foreground) 40%, transparent) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-size: var(--btn-font-size);
	height: var(--btn-height);
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.01em;
}
body.woocommerce-checkout .wc-block-components-product-name {
	font-family: var(--font-display);
	font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: var(--color-primary-deep) !important; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 2px; border-left: 3px solid var(--color-primary); font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
.shop-section__more[hidden] { display: none !important; }

body.woocommerce-checkout .wc-block-components-select select,
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 {
	font-family: var(--font-body) !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent) !important;
	border-radius: 2px !important;
	font-size: 0.875rem !important;
	box-shadow: none !important;
	min-height: auto !important;
}
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button {
	width: 100% !important;
	max-width: none !important;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-medium,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: var(--checkout-gap) !important;
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		grid-column: auto !important;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-form,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
		display: block !important;
		grid-template-columns: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill {
		display: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner { grid-column: 1 / -1; }
}

/* ---------- 21. Thank-you page ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou { max-width: 48rem; margin: 0 auto; text-align: center; }
.theme-thankyou__icon { width: 4rem; height: 4rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: var(--shadow-soft); }
.theme-thankyou__title { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; margin-bottom: 1.5rem; }
body.theme-thankyou-page .woocommerce-order { text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-family: var(--font-display); font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; color: var(--color-primary); }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; 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; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7; }

/* ---------- 22. Customizer media control ---------- */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; margin-top: 0.5rem; }
