/*!
 * Fifty One and Beyond — theme stylesheet.
 * Author: The Free Website Guys.
 */

:root {
	--color-background: #fcf9f8;
	--color-foreground: #403037;
	--color-card: #ffffff;
	--color-primary: #b3566d;
	--color-primary-foreground: #fcf9f8;
	--color-secondary: #f9f1f3;
	--color-muted-foreground: #756169;
	--color-accent: #3b8791;
	--color-border: #eae1e4;
	--color-surface-blush: #f9f0f3;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Karla', system-ui, sans-serif;
	--font-script: 'Parisienne', 'Cormorant Garamond', cursive;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--shadow-soft: 0 4px 24px -8px rgb(179 86 109 / 0.10);
	--shadow-elevated: 0 18px 60px -24px rgb(179 86 109 / 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 82px;
	--header-height: 100px;

	--btn-radius: 999px;
	--btn-height: 2.5rem;
	--btn-padding: 0 1.25rem;
	--btn-font-size: 0.75rem;
	--btn-font-size-compact: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--text-11: 0.6875rem;
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--leading-relaxed: 1.625;
	--leading-snug: 1.375;
	--leading-tight: 1.25;
	--tracking-eyebrow: 0.22em;
	--tracking-nav: 0.18em;
	--tracking-widest: 0.1em;
	--tracking-meta: 0.2em;

	--checkout-max-width: 1280px;
	--checkout-gap: 2rem;
}

@media (min-width: 1024px) {
	:root { --header-height: 128px; }
}

/* WordPress admin bar + fixed header */
body.admin-bar {
	--wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}
body.admin-bar .site-header {
	top: var(--wp-admin-bar-height, 0px);
}
.theme-header-spacer {
	height: var(--header-height);
	flex-shrink: 0;
}
html #wpadminbar {
	position: fixed;
}

/* ---------------------------------------------------------------------
 * Base reset
 * ------------------------------------------------------------------- */
* { border-color: var(--color-border); box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin: 0;
}

p, li {
	text-wrap: pretty;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; cursor: text; }
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select { cursor: pointer; }
label { cursor: pointer; }
.theme-clickable,
[role="button"],
[data-cart-open],
[data-cart-close],
[data-mobile-menu-toggle],
[data-section-anchor],
.add_to_cart_button,
.single_add_to_cart_button,
.theme-portfolio-btn,
.theme-pill-link,
.theme-nav-link,
.theme-footer-nav-list button,
.theme-footer-nav-list a,
.theme-mobile-nav-link,
.theme-cart-item__remove,
.theme-qty-minus,
.theme-qty-plus,
.theme-cart-drawer__close {
	cursor: pointer;
}
button:disabled,
input:disabled,
.single_add_to_cart_button.disabled {
	cursor: not-allowed;
}
ul { margin: 0; padding: 0; list-style: none; }

img:not(.hero-section__video):not(.hero-section__poster-img):not(.about-section__image):not(.blog-card__image):not(.theme-single-post__image):not(.theme-product-card__img):not(.theme-product-gallery__main):not(.theme-pdp-related-card__img):not(.theme-cart-item__image img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}

.theme-icon { width: 20px; height: 20px; flex-shrink: 0; }
.theme-icon-sm { width: 14px; height: 14px; }
.theme-icon-xs { width: 12px; height: 12px; }

.font-script { font-family: var(--font-script); }
.font-display { font-family: var(--font-display); }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	box-sizing: border-box;
	min-width: 0;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--text-11);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--tracking-eyebrow);
	color: color-mix(in srgb, var(--color-primary) 80%, transparent);
}
.micro-label {
	font-family: var(--font-body);
	font-size: var(--text-11);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--tracking-eyebrow);
}
.scroll-mt-20 { scroll-margin-top: 5rem; }

/* ---------------------------------------------------------------------
 * Motion utilities (Section 2.1)
 * ------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item[data-reveal='fade-right'] { transform: translateX(-30px); }
.reveal-item[data-reveal='fade-left'] { transform: translateX(30px); }
.reveal-item[data-reveal='fade'] { transform: none; }
.reveal-item.is-visible { opacity: 1; transform: none; }

.stagger-children .stagger-item {
	opacity: 0;
	transform: translateY(25px);
	transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}
.stagger-children .stagger-item.is-visible { opacity: 1; transform: none; }

/* Customizer preview fallback — never hide content while editing (Section 2.1.5) */
body.is-customizer .reveal-item,
body.is-customizer .stagger-children .stagger-item {
	opacity: 1 !important;
	transform: none !important;
}

.icon-nudge { transition: transform 0.4s var(--transition-smooth); }
.group:hover .icon-nudge,
a:hover .icon-nudge,
button:hover .icon-nudge { transform: translateX(4px); }

.icon-bloom { transition: transform 0.5s var(--transition-smooth), color 0.5s var(--transition-smooth); }
.offering-card:hover .icon-bloom,
.gallery-card:hover .icon-bloom { transform: translateY(-2px) scale(1.12) rotate(-4deg); }

.link-shimmer { position: relative; display: inline-block; }
.link-shimmer::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	height: 1px;
	width: 100%;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--transition-smooth);
}
.link-shimmer:hover::after { transform: scaleX(1); transform-origin: left; }

.press { transition: transform 0.2s var(--transition-smooth); }
.press:active { transform: scale(0.96); }

.img-zoom { overflow: hidden; display: block; }
.img-zoom img { transition: transform 1.2s var(--transition-smooth); will-change: transform; }
.img-zoom:hover img { transform: scale(1.06); }

.card-raise { transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth); }
.card-raise:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--color-accent) 45%, transparent); box-shadow: var(--shadow-elevated); }

.theme-badge--breathe { animation: theme-breathe 6s ease-in-out infinite; }
@keyframes theme-breathe {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
.theme-mobile-menu.is-open { animation: theme-fade-in 0.3s var(--transition-smooth); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

.motion-reduce-hide { display: block; }
.motion-reduce-show { display: none; }
@media (prefers-reduced-motion: reduce) {
	.motion-reduce-hide { display: none; }
	.motion-reduce-show { display: block; }
}

/* ---------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	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);
	white-space: nowrap;
	transition: all 0.3s var(--transition-smooth);
}
.theme-btn-pill,
.theme-btn-hero-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
	box-shadow: var(--shadow-soft);
	text-transform: none;
}
.theme-btn-pill:hover { background-color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.theme-btn-pill .theme-icon { transition: transform 0.3s var(--transition-smooth); }
.theme-btn-pill:hover .theme-icon { transform: translateX(4px); }

.theme-btn-outline,
.theme-btn-hero-outline {
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	text-transform: none;
}
.theme-btn-hero-outline {
	background: color-mix(in srgb, #ffffff 10%, transparent);
	color: #fff;
	border-color: color-mix(in srgb, #ffffff 50%, transparent);
}
.theme-btn-hero-outline:hover { background: #fff; color: var(--color-foreground); }
.theme-btn-outline:hover { background-color: var(--color-secondary); }

.theme-btn-sm { height: 2.25rem; padding: 0 1rem; font-size: var(--btn-font-size-compact); }

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 40;
	max-width: 100%;
	transition: background-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
	background: transparent;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
	background-color: var(--color-background);
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.site-header.is-menu-open .site-header__top-fade { opacity: 0; }
.site-header.is-menu-open:not(.is-solid):not(.is-scrolled) .site-logo-img { filter: none; }
.site-header.is-menu-open .theme-cart-button,
.site-header.is-menu-open .theme-mobile-toggle { color: var(--color-foreground); }
.site-header__top-fade {
	position: absolute; inset-inline: 0; top: 0; height: 8rem;
	pointer-events: none;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 40%, transparent), transparent);
}
.site-header.is-scrolled .site-header__top-fade,
.site-header.is-solid .site-header__top-fade { opacity: 0; }
.site-header__inner { position: relative; }

.site-nav { display: flex; align-items: center; justify-content: space-between; height: 100px; gap: 0.5rem; min-width: 0; width: 100%; }
@media (min-width: 1024px) { .site-nav { height: 128px; } }

.site-logo-link { display: flex; align-items: center; flex-shrink: 0; min-width: 0; max-width: calc(100% - 6rem); }
.site-logo-img {
	height: var(--logo-height, 82px);
	width: auto;
	max-width: 100%;
	max-height: none;
	transition: filter 0.3s var(--transition-smooth);
}
@media (min-width: 1024px) {
	.site-header .site-logo-img { height: 109px; max-width: none; }
	.site-logo-link { max-width: none; }
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-img { filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.45)); }
.site-logo-text {
	font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-text { color: #fff; }

.site-nav__links { display: none; margin-left: auto; min-width: 0; flex-shrink: 1; }
@media (min-width: 1024px) { .site-nav__links { display: flex; align-items: center; gap: 1.75rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.theme-nav-link,
.site-nav__links a {
	font-size: var(--text-11);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--tracking-nav);
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: color 0.3s var(--transition-smooth);
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-link,
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-nav__links a {
	color: color-mix(in srgb, #ffffff 90%, transparent);
}
.theme-nav-link:hover,
.site-nav__links a:hover { color: var(--color-foreground); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-link:hover,
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-nav__links a:hover { color: #fff; }

.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; margin-left: 0; }
@media (min-width: 1024px) { .site-nav__actions { margin-left: 1.5rem; } }
.theme-cart-button { position: relative; padding: 0.5rem; border-radius: 999px; color: var(--color-foreground); transition: opacity 0.2s; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-cart-button { color: #fff; }
.theme-cart-button:hover { opacity: 0.7; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; background: var(--color-accent); color: #fff;
	font-size: 10px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }
.theme-cart-count-inline { font-size: 0.6875rem; font-variant-numeric: tabular-nums; margin-left: 0.15rem; }
.theme-cart-count-badge[hidden] { display: none !important; }

.theme-mobile-toggle { display: flex; padding: 0.5rem; color: var(--color-foreground); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-mobile-toggle { color: #fff; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle__icon-close { display: none; }
.theme-mobile-toggle.is-active .theme-mobile-toggle__icon-menu { display: none; }
.theme-mobile-toggle.is-active .theme-mobile-toggle__icon-close { display: inline-flex; }

.theme-mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 0.75rem 0;
	background: var(--color-background);
}
.theme-mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
.theme-mobile-menu[hidden]:not(.is-open) { display: none !important; }

.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-link {
	display: flex;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.4;
	padding: 0.75rem 0;
	min-height: 2.75rem;
	color: var(--color-foreground);
	text-decoration: none;
	transition: color 0.2s var(--transition-smooth);
}
.theme-mobile-nav-link:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------- */
body.home .theme-home { padding-top: 0; overflow-x: clip; }
.site-main { overflow-x: clip; max-width: 100%; }
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow-x: clip; }
.hero-section__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-section__video,
.hero-section__poster-img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-section__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 60%, transparent) 45%, color-mix(in srgb, var(--color-foreground) 30%, transparent));
}
.hero-section__tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.hero-section__content { position: relative; z-index: 10; width: 100%; padding-top: 8rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .hero-section__content { padding-bottom: 5rem; } }

.hero-section__script {
	font-family: var(--font-script);
	font-size: 1.875rem;
	color: #fff;
	text-shadow: 0 2px 12px rgb(0 0 0 / 0.55);
}
@media (min-width: 640px) { .hero-section__script { font-size: 2.25rem; } }

.hero-section__title {
	margin-top: 0.75rem;
	font-size: 2.25rem;
	line-height: 1.02;
	color: #fff;
	max-width: 48rem;
	text-shadow: 0 3px 18px rgb(0 0 0 / 0.55);
	font-weight: 400;
	overflow-wrap: anywhere;
	word-break: break-word;
}
@media (min-width: 640px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }

.hero-section__subtitle {
	margin-top: 1.25rem;
	max-width: 36rem;
	font-size: 1rem;
	line-height: var(--leading-relaxed);
	color: #fff;
	text-shadow: 0 2px 10px rgb(0 0 0 / 0.6);
}
@media (min-width: 640px) { .hero-section__subtitle { font-size: 1.125rem; } }

.hero-section__ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-section__ctas { flex-direction: row; } }

/* ---------------------------------------------------------------------
 * About section
 * ------------------------------------------------------------------- */
.about-section { padding: 5rem 0; background-color: var(--color-background); overflow-x: clip; }
@media (min-width: 1024px) { .about-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: 5rem; } }

.about-section__media { position: relative; min-width: 0; max-width: 100%; }
.about-section__image-wrap {
	aspect-ratio: 4/5;
	background-color: #f9eaea;
	overflow: hidden;
	border-radius: 0.125rem;
	border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	box-shadow: var(--shadow-soft);
}
.about-section__image { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.7s var(--transition-smooth); }
.about-section__media:hover .about-section__image { transform: scale(1.05); }
.about-section__deco { position: absolute; bottom: -1.5rem; left: -1.5rem; width: 8rem; height: 8rem; border: 1px solid var(--color-accent); z-index: -1; display: none; }
@media (min-width: 768px) { .about-section__deco { display: block; } }

.about-section__script { display: block; margin-top: 0.5rem; font-family: var(--font-script); font-size: 1.875rem; color: var(--color-accent); }
.about-section__heading { margin-top: 0.75rem; font-size: 2.25rem; line-height: var(--leading-tight); color: var(--color-foreground); }
@media (min-width: 1024px) { .about-section__heading { font-size: 3rem; } }

.about-section__divider { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; }
.about-section__divider-line { height: 1px; width: 2rem; background: var(--color-accent); }
.about-section__divider-label { font-family: var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-widest); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted-foreground); }

.about-section__copy { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }
@media (min-width: 640px) { .about-section__copy { font-size: 1rem; } }

.about-section__badges { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.theme-badge { padding: 0.25rem 0.75rem; border: 1px solid var(--color-border); font-family: var(--font-body); font-size: 0.625rem; letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-portfolio-btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.75rem 2rem;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	color: var(--color-foreground);
	font-size: var(--text-sm); letter-spacing: var(--tracking-widest); text-transform: uppercase; font-family: var(--font-body);
	transition: background-color 0.3s, color 0.3s;
}
.theme-portfolio-btn:hover { background-color: var(--color-accent); color: #fff; }

.about-section__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; }
.theme-stat__value { font-size: 1.875rem; color: var(--color-foreground); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .theme-stat__value { font-size: 2.25rem; } }
.theme-stat__label { margin-top: 0.25rem; font-family: var(--font-body); font-size: var(--text-11); text-transform: uppercase; letter-spacing: var(--tracking-nav); color: var(--color-muted-foreground); }

.offerings-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .offerings-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .offerings-grid { grid-template-columns: repeat(4, 1fr); margin-top: 6rem; } }
.offering-card {
	height: 100%;
	border-radius: 1rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}
.offering-card__icon { color: var(--color-accent); }
.offering-card__title { margin-top: 1rem; font-size: 1.5rem; color: var(--color-foreground); }
.offering-card__body { margin-top: 0.5rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
 * Gallery section
 * ------------------------------------------------------------------- */
.gallery-section { padding: 5rem 0; background-color: var(--color-background); overflow-x: clip; }
@media (min-width: 1024px) { .gallery-section { padding: 7rem 0; } }
.gallery-section__intro { max-width: 42rem; }
.gallery-section__heading { margin-top: 0.75rem; font-size: 2.25rem; line-height: var(--leading-tight); color: var(--color-foreground); }
@media (min-width: 1024px) { .gallery-section__heading { font-size: 3rem; } }
.gallery-section__paragraph { margin-top: 1rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }
@media (min-width: 640px) { .gallery-section__paragraph { font-size: 1rem; } }

.gallery-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-card {
	height: 100%;
	border-radius: 1rem;
	border: 1px dashed var(--color-border);
	background-color: var(--color-surface-blush);
	padding: 2rem;
	text-align: center;
	transition: border-style 0.3s;
}
.gallery-card:hover { border-style: solid; }
.gallery-card__icon { color: var(--color-primary); margin: 0 auto; }
.gallery-card__title { margin-top: 1rem; font-size: 1.5rem; color: var(--color-foreground); }
.gallery-card__sub { margin-top: 0.5rem; color: var(--color-muted-foreground); }

.gallery-pinterest { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gallery-pinterest__pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	border-radius: 999px; border: 1px solid var(--color-border);
	background: var(--color-card); padding: 0.625rem 1rem; font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: all 0.3s var(--transition-smooth);
}
.gallery-pinterest__pill:hover { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); background: var(--color-secondary); }

/* ---------------------------------------------------------------------
 * Blog section
 * ------------------------------------------------------------------- */
.blog-section { padding: 5rem 0; background-color: var(--color-surface-blush); overflow-x: clip; }
@media (min-width: 1024px) { .blog-section { padding: 7rem 0; } }
.blog-section__top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .blog-section__top { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.blog-section__heading { margin-top: 0.75rem; font-size: 2.25rem; line-height: var(--leading-tight); color: var(--color-foreground); }
@media (min-width: 1024px) { .blog-section__heading { font-size: 3rem; } }
.blog-section__paragraph { margin-top: 1rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }

.blog-section__panel { border-radius: 1rem; border: 1px dashed var(--color-border); padding: 1.5rem; }
@media (min-width: 1024px) { .blog-section__panel { padding: 2rem; } }
.blog-section__panel-script { font-family: var(--font-script); font-size: 1.5rem; color: var(--color-primary); }
.blog-section__panel-text { margin-top: 0.25rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }
.blog-section__panel-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-pill-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	border-radius: 999px; border: 1px solid var(--color-border);
	padding: 0.625rem 1rem; font-size: 0.875rem;
	transition: all 0.3s var(--transition-smooth);
}
.theme-pill-link:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); background: var(--color-secondary); transform: translateY(-2px); }

.blog-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog-grid { margin-top: 4rem; } }
.blog-card { border-radius: 1rem; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-card); box-shadow: var(--shadow-soft); }
a.blog-card { display: block; color: inherit; text-decoration: none; }
a.blog-card:hover .blog-card__title { color: var(--color-primary); }
.blog-card__read { margin-top: 1rem; color: var(--color-primary); }
.blog-card__image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.blog-card__body { padding: 1.25rem; }
.blog-card__tag { color: var(--color-primary); }
.blog-card__title { margin-top: 0.5rem; font-size: 1.125rem; line-height: var(--leading-snug); color: var(--color-foreground); transition: color 0.3s; }
.blog-card:hover .blog-card__title { color: var(--color-primary); }
.blog-card__excerpt { margin-top: 0.5rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }
.blog-card__soon { margin-top: 1rem; color: var(--color-muted-foreground); }

body.single-post-page .theme-single-post-main {
	padding-top: 0 !important;
	padding-bottom: 0;
	overflow-x: clip;
}
.theme-single-post__shell {
	padding-block: 7rem 5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-single-post__shell { padding-block: 9rem 7rem; }
}
.theme-single-post__back {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.875rem; color: var(--color-muted-foreground);
	margin-bottom: 2rem; transition: color 0.2s;
}
.theme-single-post__back:hover { color: var(--color-foreground); }
.theme-single-post__header { max-width: 42rem; }
.theme-single-post__title {
	margin-top: 0.75rem; font-size: 2.25rem; line-height: var(--leading-tight);
	color: var(--color-foreground); font-weight: 400;
}
@media (min-width: 640px) { .theme-single-post__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-single-post__title { font-size: 3.5rem; } }
.theme-single-post__meta {
	margin-top: 1rem; font-size: var(--text-sm); color: var(--color-muted-foreground);
}
.theme-single-post__featured {
	margin-top: 2.5rem; border-radius: 1rem; overflow: hidden;
	border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
}
.theme-single-post__image {
	display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
}
.theme-single-post__content {
	margin-top: 2.5rem; max-width: 42rem;
	font-size: var(--text-base); line-height: var(--leading-relaxed);
	color: color-mix(in srgb, var(--color-foreground) 88%, transparent);
}
.theme-single-post__content p { margin: 0 0 1.25rem; }
.theme-single-post__content p:last-child { margin-bottom: 0; }
.theme-single-post__content a { color: var(--color-primary); text-decoration: underline; }
.theme-single-post__content h2,
.theme-single-post__content h3 {
	font-family: var(--font-display); font-weight: 400; margin: 2rem 0 0.75rem;
	color: var(--color-foreground);
}

/* ---------------------------------------------------------------------
 * Shop section + product cards (shared, Section 31.13)
 * ------------------------------------------------------------------- */
.shop-section { padding: 5rem 0; background-color: var(--color-background); overflow-x: clip; }
@media (min-width: 1024px) { .shop-section { padding: 7rem 0; } }
.shop-section__intro { max-width: 42rem; }
.shop-heading { margin-top: 0.75rem; font-size: 2.25rem; line-height: var(--leading-tight); color: var(--color-foreground); }
@media (min-width: 1024px) { .shop-heading { font-size: 3rem; } }
.shop-section__paragraph { margin-top: 1rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }
@media (min-width: 640px) { .shop-section__paragraph { font-size: 1rem; } }

.theme-product-grid {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	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)); } }
.theme-product-grid--related { margin-top: 2rem; }

.theme-product-card-wrap { height: 100%; }
.theme-product-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 1rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}
.theme-product-card__image-link { position: relative; display: block; overflow: hidden; }
.theme-product-card__img {
	width: 100%; aspect-ratio: 1/1; object-fit: cover;
}
.theme-product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.theme-product-card__title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-product-card__footer { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); min-width: 0; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-card__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.theme-stock-badge { display: inline-block; margin-top: 0.5rem; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.theme-stock-badge--out { color: var(--color-primary); }

.theme-no-products { margin-top: 2rem; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
 * Contact section
 * ------------------------------------------------------------------- */
.contact-section { padding: 5rem 0; background-color: var(--color-background); overflow-x: clip; }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-title { margin-top: 0.75rem; font-size: 2.25rem; line-height: var(--leading-tight); color: var(--color-foreground); }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }
.contact-section__paragraph { margin-top: 1rem; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }

.contact-section__details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__details li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.contact-section__details .theme-icon { color: var(--color-primary); }
.theme-mailto-link, .theme-tel-link { transition: color 0.3s; overflow-wrap: break-word; word-break: break-word; }
.theme-mailto-link:hover, .theme-tel-link:hover { color: var(--color-foreground); }

.contact-section__find-me { margin-top: 2rem; }
.contact-section__social-pills { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.contact-section__social-pills a {
	border-radius: 999px; border: 1px solid var(--color-border);
	padding: 0.625rem 1rem; font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.3s, border-color 0.3s;
}
.contact-section__social-pills a:hover { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }

.contact-form { border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 1.75rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 1024px) { .contact-form { padding: 2.25rem; } }
.contact-form__field label { display: block; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-foreground); margin-bottom: 0.5rem; }
.theme-input {
	width: 100%; border-radius: 0.75rem; border: 1px solid var(--color-border);
	background: var(--color-background); padding: 0.625rem 0.75rem; font-size: var(--text-sm);
	color: var(--color-foreground);
}
.theme-input:focus, .theme-input:focus-visible { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-textarea { resize: vertical; }
.theme-form-submit { width: 100%; }
@media (min-width: 640px) { .theme-form-submit { width: auto; } }
.contact-form__status { font-size: var(--text-sm); color: var(--color-muted-foreground); min-height: 1em; }
.contact-form__status.is-error { color: var(--color-primary); }
.contact-form__status.is-success { color: var(--color-accent); }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-secondary); }
.site-footer__inner {
	padding-block: 3rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.site-footer__inner { padding-block: 4rem; }
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.site-footer .site-logo-img,
.site-footer__logo {
	height: 136px;
	width: auto;
	max-width: none;
	max-height: none;
	margin-left: -0.5rem;
}
.site-footer__tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 20rem; line-height: 1.85; }
.site-footer__col h4 { margin-bottom: 1rem; color: var(--color-foreground); }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list button,
.theme-footer-nav-list a { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s; text-align: left; }
.theme-footer-nav-list button:hover,
.theme-footer-nav-list a:hover { color: var(--color-foreground); }
.site-footer__social { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__social a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.site-footer__social a:hover { color: var(--color-foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__contact .theme-icon { margin-top: 0.15rem; }

.site-footer__bottom {
	margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
	text-align: center;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.3s; }
.site-footer__credit:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------- */
.theme-404-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-secondary); }
.theme-404-container { text-align: center; }
.theme-404-heading { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------------------------------------------------
 * Generic page / index shell
 * ------------------------------------------------------------------- */
.theme-page-main,
.theme-generic-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.page-title { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* =======================================================================
 * WooCommerce — Single Product (Lovable ProductDetail)
 * ===================================================================== */
body.single-product-page .single-product-main,
body.theme-no-hero.single-product-page .single-product-main {
	padding-top: 0 !important;
	padding-bottom: 0;
	overflow-x: clip;
}
body.single-product-page .theme-header-spacer {
	display: none;
}
.single-product-hero {
	padding-top: 7rem;
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	.single-product-hero {
		padding-top: 9rem;
		padding-bottom: 6rem;
	}
}
.surface-blush { background-color: var(--color-surface-blush); }
.bg-background { background-color: var(--color-background); }

.back-to-shop-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.875rem; color: var(--color-muted-foreground);
	margin-bottom: 2rem; transition: color 0.3s;
}
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 5rem;
	}
}
.theme-product-info { padding-top: 0; min-width: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 1rem; } }

.theme-product-gallery { position: relative; min-width: 0; max-width: 100%; }
.theme-product-gallery__deco {
	position: absolute; top: -1rem; left: -1rem; width: 100%; height: 100%;
	border-radius: 2rem;
	background-color: color-mix(in srgb, var(--color-accent) 15%, transparent);
	z-index: 0;
	pointer-events: none;
}
@media (max-width: 639px) {
	.theme-product-gallery__deco { left: 0; top: -0.5rem; width: calc(100% - 0.5rem); }
}
.theme-product-gallery__main-wrap {
	position: relative; z-index: 1;
	border-radius: 2rem;
	border: 1px solid var(--color-border);
	overflow: hidden;
	box-shadow: var(--shadow-elevated);
}
.theme-product-gallery__main {
	position: static !important;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	height: auto !important;
	max-width: 100%;
}

.product-title {
	margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.02; color: var(--color-foreground);
	font-family: var(--font-display); font-weight: 400;
}
@media (min-width: 640px) { .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.75rem; } }

.theme-product-tagline {
	margin-top: 1rem; font-family: var(--font-display); font-style: italic;
	font-size: 1.125rem; line-height: var(--leading-snug);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
@media (min-width: 1024px) { .theme-product-tagline { font-size: 1.25rem; } }
.theme-product-story {
	margin-top: 1.25rem; font-size: var(--text-sm); line-height: var(--leading-relaxed);
	color: var(--color-muted-foreground);
}
.theme-product-story p { margin: 0; }

.theme-product-price-row { margin-top: 2rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.theme-product-price { font-size: 1.875rem; color: var(--color-foreground); font-family: var(--font-display); }
.theme-product-price-size { color: var(--color-muted-foreground); }

.theme-attribute-group { margin-top: 2rem; }
.theme-attribute-group:first-of-type { margin-top: 2rem; }
.theme-attribute-group__label { margin-bottom: 0.75rem; color: var(--color-muted-foreground); }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pills--size .theme-attribute-pill {
	border-radius: 2rem;
	padding: 0.75rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.125rem;
}
.theme-attribute-pill__size { font-family: var(--font-display); font-size: 1rem; color: var(--color-foreground); }
.theme-attribute-pill__price { font-size: var(--text-xs); color: var(--color-muted-foreground); }

.theme-product-qty-block { margin-top: 1.5rem; }
.theme-product-qty-block .micro-label { margin-bottom: 0.75rem; }

.theme-quantity-wrapper, .theme-qty-wrapper-sm {
	display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-card);
}
.theme-quantity-wrapper .theme-qty-minus,
.theme-quantity-wrapper .theme-qty-plus { padding: 0.75rem; transition: background-color 0.2s; }
.theme-quantity-wrapper .theme-qty-minus { border-radius: 999px 0 0 999px; }
.theme-quantity-wrapper .theme-qty-plus { border-radius: 0 999px 999px 0; }
.theme-quantity-wrapper .theme-qty-minus:hover:not(:disabled),
.theme-quantity-wrapper .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-quantity-wrapper .theme-qty-minus:disabled { opacity: 0.4; cursor: not-allowed; }
.theme-qty-display {
	padding: 0 1.25rem; min-width: 3ch; text-align: center;
	font-size: 1rem; font-variant-numeric: tabular-nums; font-family: var(--font-body);
}
.theme-qty-input { display: none; }

.theme-product-cta-row {
	margin-top: 2rem;
	display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 640px) {
	.theme-product-cta-row { flex-direction: row; align-items: stretch; flex-wrap: wrap; }
}

.single-product-main .theme-pdp-atc.theme-btn-pill,
.single-product-main .theme-pdp-atc.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-weight: 500 !important;
	padding: 0.75rem 1.5rem !important;
	min-height: auto !important;
}

.single-product-details { padding: 5rem 0; background: var(--color-background); }
@media (min-width: 1024px) { .single-product-details { padding: 7rem 0; } }
.theme-details-grid {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem;
}
@media (min-width: 1024px) { .theme-details-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; } }
.theme-detail-card {
	height: 100%; background: var(--color-card); border-radius: 2rem; padding: 2rem;
	border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
}
.theme-detail-card__icon--primary { color: var(--color-primary); }
.theme-detail-card__icon--accent { color: var(--color-accent); }
.theme-detail-card__title { margin-bottom: 1rem; font-size: 1.5rem; }
.theme-detail-card__note { margin-top: 1.25rem; font-size: var(--text-sm); color: var(--color-muted-foreground); line-height: var(--leading-relaxed); }
.theme-materials-list {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.375rem;
}
.theme-materials-list li {
	font-size: var(--text-xs); padding: 0.375rem 0.75rem; border-radius: 999px;
	background: var(--color-secondary); color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-care-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-care-list li {
	display: flex; align-items: flex-start; gap: 0.5rem;
	font-size: var(--text-sm); color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-care-list__bullet {
	margin-top: 0.375rem; width: 0.25rem; height: 0.25rem; border-radius: 999px;
	background: var(--color-accent); flex-shrink: 0;
}

.theme-pdp-related { padding-bottom: 5rem; background: var(--color-background); }
@media (min-width: 1024px) { .theme-pdp-related { padding-bottom: 7rem; } }
.theme-pdp-related__heading { margin-bottom: 2rem; font-size: 1.875rem; }
@media (min-width: 1024px) { .theme-pdp-related__heading { font-size: 2.25rem; } }
.theme-pdp-related__grid {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem;
}
@media (min-width: 640px) { .theme-pdp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-pdp-related-card {
	display: block; border-radius: 2rem; border: 1px solid var(--color-border);
	background: var(--color-card); overflow: hidden; box-shadow: var(--shadow-soft);
	transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s;
	color: inherit; text-decoration: none;
}
.theme-pdp-related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.theme-pdp-related-card__media { overflow: hidden; }
.theme-pdp-related-card__img {
	width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
	position: static !important; height: auto !important;
}
.theme-pdp-related-card__body {
	padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.theme-pdp-related-card__title { font-size: 1.5rem; margin: 0; color: var(--color-foreground); }
.theme-pdp-related-card__price { margin-top: 0.25rem; font-size: var(--text-sm); color: var(--color-muted-foreground); }
.theme-pdp-related-card__arrow { color: var(--color-muted-foreground); flex-shrink: 0; }

.single-product-main .woocommerce-notices-wrapper,
.single-product-main a.added_to_cart.wc-forward { display: none !important; }

/* Legacy attribute / pill rules (shared) */
.theme-attribute-group__label { margin-bottom: 0.75rem; color: var(--color-muted-foreground); }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pills--color { gap: 0.75rem; }
.theme-attribute-pill {
	border-radius: 2rem; border: 1px solid var(--color-border);
	background: var(--color-card); padding: 0.75rem 1rem; text-align: left;
	transition: all 0.2s var(--transition-smooth);
	font-size: 1rem; font-family: var(--font-display); color: var(--color-foreground);
}
.theme-attribute-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.theme-attribute-pill.is-active {
	border-color: var(--color-primary);
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	box-shadow: var(--shadow-soft);
}
.theme-attr-pills--color .theme-attribute-pill.is-active,
.theme-color-swatch-pill.is-active {
	background-color: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-attr-pills--license .theme-attribute-pill.is-active {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	box-shadow: var(--shadow-soft);
}
.theme-color-swatch-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 0.85rem 0.5rem 0.5rem;
}
.theme-color-swatch {
	width: 1.25rem; height: 1.25rem; border-radius: 999px; flex-shrink: 0;
	background: var(--swatch-color, #ccc);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
}
.theme-color-swatch-pill__label { font-size: 0.875rem; font-family: var(--font-body); }

.theme-attribute-select-wrap:has(.theme-attr-select-hidden) {
	height: 0;
	overflow: hidden;
	margin: 0;
}
.theme-attribute-select-wrap select.theme-attr-select,
.theme-attribute-select-wrap select:not(.theme-attr-select-hidden) {
	width: 100%; max-width: 20rem;
	padding: 0.65rem 0.85rem;
	border-radius: 0.75rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	color: var(--color-foreground);
}

/* Native <select> stays in the DOM for variation matching but may be visually hidden when pills replace it */
.theme-attr-select-hidden { display: none !important; }

.theme-cart-item-meta {
	list-style: none; margin: 0.35rem 0 0; padding: 0;
	display: flex; flex-direction: column; gap: 0.25rem;
	font-size: 0.8125rem; color: var(--color-muted-foreground);
}
.theme-cart-item-meta__row--color {
	display: flex; align-items: center; gap: 0.4rem;
}
.theme-cart-item-meta-swatch {
	width: 0.75rem; height: 0.75rem; border-radius: 999px;
	background: var(--swatch-color, #ccc);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 12%, transparent);
	flex-shrink: 0;
}

.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; display: none; }
.single-product .variations tbody td.value { padding-top: 0; }

.theme-quantity-wrapper, .theme-qty-wrapper-sm {
	display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-card);
}
.theme-quantity-wrapper .theme-qty-minus,
.theme-quantity-wrapper .theme-qty-plus { padding: 0.75rem; transition: background-color 0.2s; }
.theme-quantity-wrapper .theme-qty-minus { border-radius: 999px 0 0 999px; }
.theme-quantity-wrapper .theme-qty-plus { border-radius: 0 999px 999px 0; }
.theme-quantity-wrapper .theme-qty-minus:hover,
.theme-quantity-wrapper .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 3ch; min-width: 3ch; text-align: center; border: none; background: transparent;
	font-variant-numeric: tabular-nums; padding: 0 0.5rem; -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 { margin-top: 1.5rem; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-product-secondary-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.theme-details-grid {
	display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 1024px) { .theme-details-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.single-product-details { padding: 5rem 0; }
@media (min-width: 1024px) { .single-product-details { padding: 7rem 0; } }
.theme-detail-card { height: 100%; background: var(--color-card); border-radius: 1rem; padding: 2rem; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.theme-detail-card__icon { margin-bottom: 1rem; color: var(--color-primary); }
.theme-detail-card__title { margin-bottom: 1rem; font-size: 1.5rem; color: var(--color-foreground); }
.theme-detail-card__body { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-detail-card__body p { margin-bottom: 0.75rem; }

.related-products-section { padding-bottom: 5rem; }
@media (min-width: 1024px) { .related-products-section { padding-bottom: 7rem; } }
.related-products-section__heading { margin-bottom: 2rem; font-size: 1.875rem; }
@media (min-width: 1024px) { .related-products-section__heading { font-size: 2.25rem; } }

/* =======================================================================
 * 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: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 2.25rem !important;
	padding: 0 1rem !important;
	font-size: var(--btn-font-size-compact) !important;
}

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* =======================================================================
 * WooCommerce — Notices (scoped, Section 14.1)
 * ===================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	border-radius: 0.75rem; border: 1px solid var(--color-border);
	background: var(--color-card); padding: 1rem 1.25rem; margin-bottom: 1.5rem;
	font-size: 0.875rem; color: var(--color-foreground); list-style: none;
}
.woocommerce-error { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }

/* =======================================================================
 * Side Cart Drawer + Overlay
 * ===================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 50;
	background: rgba(0,0,0,0.6);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s var(--transition-smooth), visibility 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 51;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--transition-smooth);
	border-radius: 1rem 0 0 1rem;
}
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 1.5rem 1rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.theme-cart-drawer__title .theme-icon { color: var(--color-accent); }
.theme-cart-drawer__count { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 400; }
.theme-cart-drawer__close { padding: 0.5rem; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty-icon { width: 4rem; height: 4rem; border-radius: 999px; background: var(--color-secondary); display: flex; align-items: center; justify-content: center; }
.theme-cart-drawer__empty-icon .theme-icon { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; }
.theme-cart-drawer__empty-subtext { font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 20rem; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-item { display: flex; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.theme-cart-item:last-child { border-bottom: none; }
.theme-cart-item__image { width: 5rem; height: 5rem; flex-shrink: 0; border-radius: 0.75rem; overflow: hidden; background: var(--color-secondary); }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.theme-cart-item__name { font-family: var(--font-display); font-size: 1rem; transition: color 0.3s; }
.theme-cart-item__name:hover { color: var(--color-accent); }
.theme-cart-item__remove { color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-primary); }
.theme-cart-item__variation { margin-top: 0.15rem; color: var(--color-muted-foreground); letter-spacing: var(--tracking-meta); }
.theme-cart-item__row { margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; }
.theme-qty-wrapper-sm button { padding: 0.4rem; }
.theme-qty-wrapper-sm__value { padding: 0 0.5rem; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.theme-cart-item__price { font-size: 0.875rem; }

.theme-cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.theme-cart-drawer__subtotal { display: flex; align-items: center; justify-content: space-between; }
.theme-cart-drawer__subtotal span:last-child { font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__continue { width: 100%; text-align: center; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__continue:hover { color: var(--color-foreground); }

/* =======================================================================
 * WooCommerce — Checkout Block (Section 13)
 * ===================================================================== */
body.woocommerce-checkout .site-main:not(.theme-checkout-main),
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 4rem;
	background: var(--color-secondary);
	min-height: 60vh;
}
body.woocommerce-checkout .theme-checkout-main {
	padding-top: 0;
	padding-bottom: 4rem;
	background: var(--color-secondary);
	min-height: 60vh;
}
.theme-checkout-shell {
	padding-block: 0.5rem 4rem;
	padding-inline: 1.5rem;
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}
.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	margin-bottom: 0;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.theme-checkout-title { margin: 0; font-size: 2.5rem; }
.theme-checkout-intro { margin: 0.75rem 0 0; color: var(--color-muted-foreground); max-width: 42rem; }

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout,
.entry-content .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wp-block-woocommerce-checkout {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	min-width: 0;
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 0.75rem;
}

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,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	background-color: var(--color-card);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none !important;
	font-family: var(--font-body) !important;
	font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 85%, transparent) !important;
}

body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-select,
.entry-content .wc-block-checkout .wc-block-components-text-input {
	margin-bottom: 1rem;
}

/* =======================================================================
 * Thank-you page (Section 22.8)
 * ===================================================================== */
body.theme-thankyou-page { overflow-x: clip; }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.75rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	background: var(--color-card); border-radius: 0.75rem; padding: 1rem 1.25rem; border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-customer-details { margin-top: 2rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; border: 1px solid var(--color-border); border-radius: 0.75rem; padding: 1.25rem; background: var(--color-card); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1.5rem; }
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); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* =======================================================================
 * Cover-image completeness list (Section 15)
 * ===================================================================== */
img.hero-section__poster-img,
img.about-section__image,
img.blog-card__image,
img.theme-single-post__image,
img.theme-product-card__img,
img.theme-product-gallery__main {
	position: static;
}
