/* ==========================================================================
   Safford Ink Studio — theme stylesheet
   ========================================================================== */

:root {
	--background: #f0f6f9;
	--foreground: #0d2035;
	--primary: #1a4d70;
	--primary-foreground: #f8fafc;
	--secondary: #e6eef4;
	--muted: #d1dde6;
	--muted-foreground: #435160;
	--border: #cad8e2;
	--destructive: #c32222;
	--rosa: #1a4d70;
	--marigold: #267787;
	--teal: #175663;
	--butter: #ebe5db;

	--font-display: 'Instrument Serif', serif;
	--font-body: 'Work Sans', sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(13, 32, 53, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(13, 32, 53, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 64px;
	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 3.25rem;
	--btn-padding: 0.9rem 2.25rem;
	--btn-font-size: 0.7rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
main { overflow-x: clip; max-width: 100%; }

body {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.15;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.theme-hero__img):not(.theme-collection-tile__img):not(.theme-artist-grid__img):not(.theme-service-row__img):not(.theme-commissions-grid__img-main):not(.theme-gallery-item__img):not(.theme-final-cta-section__bg):not(.theme-product-gallery__main-img):not(.woocommerce-loop-product__thumbnail):not(.theme-product-card__image-wrapper img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-hero__img,
.theme-collection-tile__img,
.theme-artist-grid__img,
.theme-service-row__img,
.theme-commissions-grid__img-main,
.theme-gallery-item__img,
.theme-final-cta-section__bg,
.theme-product-gallery__main-img,
.woocommerce-loop-product__thumbnail,
.theme-product-card__image-wrapper img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.theme-divider { height: 1px; width: 100%; background-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.scroll-mt { scroll-margin-top: 6rem; }
.theme-section__pad { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) {
	.theme-section__pad { padding-top: 5rem; padding-bottom: 5rem; }
}

.theme-eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.theme-eyebrow--teal { color: var(--teal); }
.theme-eyebrow--rosa { color: var(--rosa); }
.theme-eyebrow--marigold { color: var(--marigold); }

.section-heading { font-family: var(--font-display); font-weight: 400; overflow-wrap: break-word; }

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	cursor: pointer;
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Scroll reveal animations (Section 2.1)
   ========================================================================== */

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
/* Avoid transform on the auto-scrolling gallery track (prevents scroll jitter). */
.reveal-item.reveal-item--fade-only,
.reveal-item.reveal-item--fade-only.is-visible {
	transform: none;
}
/* Hero is above the fold — show content immediately (matches Lovable mount animation). */
.theme-hero .reveal-item {
	opacity: 1;
	transform: translateY(0);
}
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
	opacity: 1 !important;
	transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; }
}

.theme-btn-hero-light, .theme-btn-dark, .theme-btn-rosa, .theme-btn-primary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.7rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 1.1rem 2.5rem;
	transition: background-color 0.2s, opacity 0.2s;
	border-radius: 0;
	white-space: nowrap;
	cursor: pointer;
	max-width: 100%;
}
@media (max-width: 374px) {
	.theme-btn-hero-light, .theme-btn-dark, .theme-btn-rosa, .theme-btn-primary, .theme-btn-outline {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		font-size: 0.65rem;
	}
}
.theme-btn-hero-light { background: var(--background); color: var(--foreground); }
.theme-btn-hero-light:hover { background: color-mix(in srgb, var(--background) 90%, var(--foreground) 10%); }
.theme-btn-dark { background: var(--foreground); color: var(--background); }
.theme-btn-dark:hover { opacity: 0.9; }
.theme-btn-rosa { background: var(--rosa); color: var(--background); }
.theme-btn-rosa:hover { opacity: 0.9; }
.theme-btn-primary {
	background: var(--foreground);
	color: var(--background);
	border-radius: 999px;
	padding: 1rem 1.5rem;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}
.theme-btn-primary:hover { background: color-mix(in srgb, var(--foreground) 90%, transparent); }
.theme-btn-outline {
	background: transparent;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	text-transform: none;
	padding: 0.6rem 1.25rem;
}
.theme-btn-outline:hover { background: var(--secondary); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.theme-announcement-bar { position: relative; background: var(--foreground); color: var(--background); overflow: hidden; }
.theme-announcement-bar__inner { padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 2.5rem; padding-right: 2.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; overflow-wrap: anywhere; }
.theme-announcement-bar__dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; cursor: pointer;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, border-color 0.3s;
}
@media screen and (min-width: 783px) {
	.admin-bar .site-header { top: 32px; }
}
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--border);
}
.site-header__nav {
	display: flex; align-items: center; justify-content: space-between;
	height: 5rem; position: relative; gap: 0.5rem; min-width: 0;
}
.site-header__logo {
	display: flex; align-items: center; cursor: pointer;
	flex-shrink: 1; min-width: 0; max-width: calc(100% - 6rem);
}
.site-logo-img {
	height: 3.5rem !important;
	width: auto !important;
	max-width: 100%;
	display: block;
	object-fit: contain;
}
@media (min-width: 768px) {
	.site-logo-img { height: 4rem !important; }
}
@media (min-width: 1024px) {
	.site-logo-img { height: var(--logo-height, 5rem) !important; }
}
.site-logo-text {
	font-family: var(--font-display); font-size: 1.125rem;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.site-header__center-nav {
	display: none;
	position: absolute; left: 50%; transform: translateX(-50%);
	pointer-events: none;
}
@media (min-width: 1024px) {
	.site-header__center-nav { display: flex; pointer-events: auto; }
}
.theme-nav-list {
	display: flex; align-items: center; gap: 2rem;
	list-style: none; margin: 0; padding: 0;
}
.theme-nav-list__item { margin: 0; padding: 0; }
.theme-nav-list a,
.theme-nav-list__link {
	font-size: 0.75rem; font-family: var(--font-display); font-weight: 500;
	letter-spacing: 0.2em; text-transform: uppercase;
	position: relative; display: inline-block;
	white-space: nowrap;
}
.theme-nav-list a::after,
.theme-nav-list__link::after {
	content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after,
.theme-nav-list__link:hover::after { transform: scaleX(1); }

.site-header__actions {
	display: flex; align-items: center; gap: 0.5rem;
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.site-header__actions { gap: 0.75rem; }
}
.site-header__icon-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s; cursor: pointer; flex-shrink: 0; }
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__actions .theme-scroll-shop { display: none; }
@media (min-width: 768px) {
	.site-header__actions .theme-scroll-shop.site-header__icon-btn { display: inline-flex; }
}
.site-header__mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__mobile-toggle { display: none; } }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.7rem; font-weight: 500;
	background: var(--primary); color: var(--primary-foreground);
	border-radius: 999px;
}
.theme-cart-count-badge:empty { display: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.site-header__mobile-menu {
	display: none;
	border-top: 1px solid var(--border);
	padding: 1rem 0;
	animation: themeMobileNavIn 0.25s var(--transition-smooth);
}
.site-header__mobile-menu.is-open { display: block; }
@media (min-width: 1024px) {
	.site-header__mobile-menu,
	.site-header__mobile-menu.is-open { display: none !important; }
}
@keyframes themeMobileNavIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.theme-mobile-nav-inner { display: flex; flex-direction: column; }
.theme-mobile-nav-list {
	display: flex; flex-direction: column; gap: 1rem;
	list-style: none; margin: 0; padding: 0;
}
.theme-mobile-nav-list__item { margin: 0; padding: 0; }
.theme-mobile-nav-list a,
.theme-mobile-nav-list__link {
	font-family: var(--font-display);
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
	display: block;
	text-align: left;
	width: 100%;
	transition: color 0.3s;
}
.theme-mobile-nav-list a:hover,
.theme-mobile-nav-list__link:hover { color: var(--muted-foreground); }

body:not(.theme-no-hero) .site-main-offset { padding-top: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */

.theme-hero__media {
	position: relative; width: 100%;
	min-height: max(560px, 78vh);
	overflow: hidden;
}
@media (min-width: 768px) {
	.theme-hero__media { min-height: max(680px, 88vh); }
}
.theme-hero__gradient {
	position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(to right, rgba(13,32,53,0.55), rgba(13,32,53,0.25), transparent);
}
.theme-hero__content {
	position: relative; z-index: 1;
	display: flex; align-items: center; justify-content: center;
	min-height: max(560px, 78vh);
	padding: calc(var(--header-height, 80px) + 1.5rem) 0 3rem;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.theme-hero__content { min-height: max(680px, 88vh); }
}
.theme-hero__inner { max-width: 42rem; text-align: center; width: 100%; min-width: 0; padding: 0 0.25rem; }
.theme-hero__title {
	font-size: clamp(2.5rem, 8vw, 6rem); line-height: 1.05; color: var(--background); margin-bottom: 2rem;
	max-width: 42rem; margin-left: auto; margin-right: auto;
	overflow-wrap: break-word;
}
.theme-hero__subtitle {
	color: color-mix(in srgb, var(--background) 90%, transparent);
	font-size: 1.125rem; line-height: 1.65; margin-bottom: 2rem;
	max-width: 36rem; margin-left: auto; margin-right: auto;
	overflow-wrap: break-word;
}
@media (min-width: 768px) {
	.theme-hero__subtitle { font-size: 1.25rem; margin-bottom: 3rem; }
}
.theme-hero__cta {
	position: relative; z-index: 2;
}
.theme-hero__cta .theme-btn-hero-light {
	display: inline-flex;
}

/* ==========================================================================
   Collection tiles
   ========================================================================== */

.theme-collection-section .theme-section__head {
	text-align: center;
	margin-bottom: 2.5rem;
}
.theme-collection-section .theme-section__head .theme-eyebrow {
	display: block;
	margin-bottom: 0.75rem;
}
.theme-collection-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-collection-section__heading { font-size: 2.25rem; } }
.theme-collection-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-collection-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.theme-collection-tile {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer;
}
.theme-collection-tile__img { transition: transform 0.7s var(--transition-smooth); }
.theme-collection-tile:hover .theme-collection-tile__img { transform: scale(1.05); }
.theme-collection-tile__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(13,32,53,0.85), rgba(13,32,53,0.4), rgba(13,32,53,0.1));
	transition: background 0.5s;
}
.theme-collection-tile:hover .theme-collection-tile__overlay { background: linear-gradient(to top, rgba(13,32,53,0.9), rgba(13,32,53,0.45), rgba(13,32,53,0.15)); }
.theme-collection-tile__text {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 1.5rem; text-align: left; color: var(--background);
	text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.theme-collection-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-collection-tile__tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection-tile__label { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-collection-tile__label { font-size: 1.875rem; } }
.theme-collection-tile__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }

/* ==========================================================================
   About
   ========================================================================== */

.theme-about-section__pad { padding-top: 5rem; padding-bottom: 5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .theme-about-section__pad { padding-top: 7rem; padding-bottom: 7rem; padding-left: 3.5rem; padding-right: 3.5rem; } }
@media (min-width: 1024px) { .theme-about-section__pad { padding-left: 5rem; padding-right: 5rem; } }
.theme-about-section__inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.theme-about-section__heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 2rem; font-weight: 600; }
@media (min-width: 768px) { .theme-about-section__heading { font-size: 2.25rem; } }
.theme-about-section__paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   Artist / Owners
   ========================================================================== */

.theme-artist-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .theme-artist-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.theme-artist-grid__media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .theme-artist-grid__media { min-height: 520px; } }
@media (min-width: 1024px) { .theme-artist-grid__media { min-height: 620px; } }
.theme-artist-grid__img { object-position: top; }
.theme-artist-grid__content { display: flex; align-items: center; background: var(--background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-artist-grid__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-artist-grid__content { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-artist-grid__content { padding: 6rem 6rem; } }
.theme-artist-grid__inner { max-width: 36rem; }
.theme-artist-name { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-artist-name { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-artist-name { font-size: 3.75rem; } }
.theme-artist-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); line-height: 1.4; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-artist-quote { font-size: 1.5rem; } }
.theme-artist-bio { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   Services
   ========================================================================== */

.theme-services-section__head { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-services-section__head { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .theme-services-section__head { padding: 7rem 5rem; } }
.theme-services-section__heading { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .theme-services-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-services-section__heading { font-size: 4.5rem; } }

.theme-service-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.theme-service-row__media { position: relative; min-height: 360px; order: 1; }
@media (min-width: 768px) { .theme-service-row__media { min-height: 500px; } }
@media (min-width: 1024px) {
	.theme-service-row__media { min-height: 560px; }
	.theme-service-row.is-reversed .theme-service-row__media { order: 2; }
}
.theme-service-row__img { transition: transform 0.9s var(--transition-smooth); }
.theme-service-row:hover .theme-service-row__img { transform: scale(1.03); }
.theme-service-row__numeral {
	position: absolute; top: 1.25rem; left: 1.25rem;
	font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--background) 85%, transparent);
	backdrop-filter: blur(4px);
}
.theme-service-row__content { display: flex; align-items: center; background: var(--background); padding: 4rem 1.5rem; order: 2; min-width: 0; }
@media (min-width: 1024px) {
	.theme-service-row.is-reversed .theme-service-row__content { order: 1; }
}
@media (min-width: 768px) { .theme-service-row__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-service-row__content { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-service-row__content { padding: 6rem 6rem; } }
.theme-service-row__inner { max-width: 36rem; }
.theme-service-row__kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-row__icon { display: flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: 999px; border: 1px solid; }
.theme-service-row__kicker { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; }
.theme-service-row__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-service-row__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-service-row__title { font-size: 3.75rem; } }
.theme-service-row__description { font-size: 1rem; color: var(--muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-row__description { font-size: 1.125rem; } }

.theme-accent-rosa { color: var(--rosa); }
.theme-accent-marigold { color: var(--marigold); }
.theme-accent-teal { color: var(--teal); }
.theme-accent-border-rosa { border-color: color-mix(in srgb, var(--rosa) 40%, transparent); }
.theme-accent-border-marigold { border-color: color-mix(in srgb, var(--marigold) 50%, transparent); }
.theme-accent-border-teal { border-color: color-mix(in srgb, var(--teal) 40%, transparent); }

/* ==========================================================================
   Commissions
   ========================================================================== */

.theme-commissions-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .theme-commissions-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.theme-commissions-grid__media { position: relative; min-height: 420px; order: 2; }
@media (min-width: 768px) { .theme-commissions-grid__media { min-height: 560px; } }
@media (min-width: 1024px) { .theme-commissions-grid__media { min-height: 640px; } }
.theme-commissions-grid__img-small {
	position: absolute; bottom: 1.5rem; left: 1.5rem;
	width: 8rem; aspect-ratio: 3/4; object-fit: cover;
	box-shadow: var(--shadow-elevated); border: 4px solid var(--background);
	z-index: 2;
}
@media (min-width: 768px) { .theme-commissions-grid__img-small { width: 11rem; } }
@media (min-width: 1024px) { .theme-commissions-grid__img-small { width: 13rem; } }
.theme-commissions-grid__content { display: flex; align-items: center; background: var(--background); padding: 4rem 1.5rem; order: 1; min-width: 0; }
@media (min-width: 768px) { .theme-commissions-grid__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-commissions-grid__content { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-commissions-grid__content { padding: 6rem 6rem; } }
.theme-commissions-grid__inner { max-width: 36rem; }
.theme-commissions-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-commissions-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-commissions-heading { font-size: 3.75rem; } }
.theme-commissions-heading__italic { display: block; font-style: italic; color: var(--rosa); }
.theme-commissions-grid__paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-commissions-grid__paragraph--italic { font-style: italic; color: color-mix(in srgb, var(--foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.theme-gallery-section__pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-gallery-section__pad { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-gallery-section__head { margin-bottom: 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .theme-gallery-section__head { margin-bottom: 3.5rem; } }
.theme-gallery-section__heading { font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .theme-gallery-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-section__heading { font-size: 3.75rem; } }

.theme-gallery-track-wrap { overflow: hidden; }
.theme-gallery-track {
	display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem;
	padding-left: 1.5rem; padding-right: 1.5rem;
	scrollbar-width: none;
	scroll-snap-type: none;
}
@media (min-width: 640px) {
	.theme-gallery-track { scroll-behavior: auto; }
}
.theme-gallery-track::-webkit-scrollbar { display: none; }
@media (max-width: 639px) {
	.theme-gallery-track {
		gap: 0;
		padding-left: 0;
		padding-right: 0;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
	}
	.theme-gallery-item--duplicate { display: none; }
	.theme-gallery-item {
		flex: 0 0 100%;
		width: 100%;
		padding-inline: 1.5rem;
		box-sizing: border-box;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}
	.theme-gallery-section__controls { justify-content: center; }
}
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-track { padding-left: 4rem; padding-right: 4rem; } }
.theme-gallery-item { flex-shrink: 0; }
@media (min-width: 640px) { .theme-gallery-item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery-item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery-item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery-item { width: 26%; } }
.theme-gallery-item__link { display: block; position: relative; overflow: hidden; aspect-ratio: 4/5; cursor: pointer; }
.theme-gallery-item__img { object-position: top; }
.theme-gallery-track.is-marquee-active .theme-gallery-item__img { transition: none; }
.theme-gallery-item__link:hover .theme-gallery-item__img {
	transition: transform 0.9s var(--transition-smooth);
	transform: scale(1.04);
}
.theme-gallery-track:not(.is-marquee-active) .theme-gallery-item__img {
	transition: transform 0.9s var(--transition-smooth);
}

.theme-gallery-section__controls { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; }
.theme-gallery-nav-btn {
	height: 3rem; width: 3rem; display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent);
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
	transition: color 0.2s, border-color 0.2s; cursor: pointer;
}
.theme-gallery-nav-btn:hover { color: var(--primary); border-color: var(--primary); }

/* Gallery lightbox */
.theme-gallery-lightbox[hidden] { display: none !important; }
.theme-gallery-lightbox {
	position: fixed; inset: 0; z-index: 120;
	display: flex; align-items: center; justify-content: center;
	padding: 1.5rem;
	background: color-mix(in srgb, var(--foreground) 72%, transparent);
	backdrop-filter: blur(4px);
}
body.theme-gallery-lightbox-open { overflow: hidden; }
.theme-gallery-lightbox__figure {
	margin: 0; max-width: min(92vw, 56rem); width: 100%;
	display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.theme-gallery-lightbox__img {
	max-width: 100%; max-height: min(78vh, 820px); width: auto; height: auto;
	object-fit: contain; background: var(--background);
	box-shadow: var(--shadow-elevated);
}
.theme-gallery-lightbox__caption {
	color: var(--background); font-size: 0.85rem; letter-spacing: 0.12em;
	text-transform: uppercase; text-align: center;
}
.theme-gallery-lightbox__close,
.theme-gallery-lightbox__nav {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; padding: 0;
	border: 1px solid color-mix(in srgb, var(--background) 35%, transparent);
	background: color-mix(in srgb, var(--foreground) 35%, transparent);
	color: var(--background); cursor: pointer; transition: opacity 0.2s, border-color 0.2s;
}
.theme-gallery-lightbox__close:hover,
.theme-gallery-lightbox__nav:hover { opacity: 0.85; border-color: var(--background); }
.theme-gallery-lightbox__close { top: 1rem; right: 1rem; }
.theme-gallery-lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.theme-gallery-lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Shop
   ========================================================================== */

.theme-shop-section__head { text-align: center; margin-bottom: 3rem; }
.theme-shop-section__heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-shop-section__heading { font-size: 3rem; } }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.theme-shop-search__input {
	width: 100%; padding: 0.6rem 0 0.6rem 1.75rem; background: transparent;
	border: none; border-bottom: 1px solid var(--border); font-size: 1rem;
	transition: border-color 0.2s; outline: none;
}
.theme-shop-search__input:focus { border-bottom-color: var(--foreground); }
.theme-shop-search__input::placeholder { color: var(--muted-foreground); }

.theme-shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; max-width: 100%; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
	border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--foreground);
	transition: all 0.3s; cursor: pointer;
}
.theme-cat-filter:hover { border-color: var(--rosa); color: var(--rosa); }
.theme-cat-filter.is-active { background: var(--rosa); color: var(--background); border-color: var(--rosa); }

.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop-price-filter__toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
	font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground);
	transition: color 0.3s; cursor: pointer;
}
.theme-shop-price-filter__toggle:hover { color: var(--foreground); }
#theme-price-filter-chevron { transition: transform 0.3s; }
.theme-shop-price-filter__panel {
	width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0;
	transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-shop-price-filter__panel.is-open { max-height: 10rem; opacity: 1; padding: 0.5rem 0; }

.theme-price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--muted); }
.range-track-fill { background: var(--primary); }
.range-input {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	height: 1.25rem; width: 1.25rem; border-radius: 999px;
	border: 2px solid var(--primary); background: var(--background); cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; height: 1.25rem; width: 1.25rem; border-radius: 999px;
	border: 2px solid var(--primary); background: var(--background); cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.theme-price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted-foreground); }

.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-shop-grid-item.is-extra-hidden { display: none; }

.theme-product-card-wrap { height: 100%; display: flex; }
.theme-product-card { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 3/4; background: var(--secondary); overflow: hidden; margin-bottom: 1.25rem;
}
.theme-product-card__image-link {
	display: block; position: absolute; inset: 0; z-index: 1;
}
.theme-product-card__image-link:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}
.theme-product-card:hover .theme-product-card__image-link img { transform: scale(1.04); }
.theme-product-card__image-link img,
.theme-product-card__image-wrapper img {
	transition: transform 0.7s var(--transition-smooth);
}
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	pointer-events: none;
	padding: 0.3rem 0.85rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em;
	text-transform: uppercase; background: var(--foreground); color: var(--background); border-radius: 999px;
}
.theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; min-height: unset !important; padding: 0 !important;
	display: flex !important; align-items: center; justify-content: center;
	border-radius: 50% !important; background: var(--background) !important; color: var(--foreground) !important;
	box-shadow: var(--shadow-soft); opacity: 0; transition: opacity 0.3s, transform 0.2s;
	border: none; cursor: pointer;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 0; }
.theme-product-card__title {
	font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	line-height: 1.4; color: var(--foreground); margin-bottom: 0.5rem;
}
.theme-product-card__title-link {
	color: inherit; text-decoration: none; transition: color 0.3s;
}
.theme-product-card__title-link:hover { color: var(--primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card__price { font-size: 1rem; color: var(--foreground); font-weight: 400; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

.theme-shop-show-more { text-align: center; margin-top: 3rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; }
.theme-shop-empty p { color: var(--muted-foreground); }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.theme-final-cta-section { position: relative; background: var(--butter); overflow: hidden; }
.theme-final-cta-section__inner { position: relative; padding-top: 6rem; padding-bottom: 8rem; }
@media (min-width: 768px) { .theme-final-cta-section__inner { padding-top: 8rem; padding-bottom: 8rem; } }
.theme-final-cta-card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
@media (min-width: 768px) { .theme-final-cta-card { padding: 4rem 3.5rem; } }
.theme-final-cta-card__heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--foreground); }
@media (min-width: 768px) { .theme-final-cta-card__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-final-cta-card__heading { font-size: 3.75rem; } }
.theme-final-cta-card__paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-final-cta-card__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-final-cta-card__actions { flex-direction: row; } }
.theme-final-cta-card__actions .theme-btn-dark,
.theme-final-cta-card__actions .theme-link-underline { display: inline-flex; }
@media (max-width: 639px) {
	.theme-final-cta-card__actions { align-items: stretch; width: 100%; }
	.theme-final-cta-card__actions .theme-btn-dark,
	.theme-final-cta-card__actions .theme-link-underline {
		display: flex;
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid var(--border); background: var(--background); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 3.5rem; }
.site-footer__top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; min-width: 0; max-width: 100%; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.site-footer__brand-name em { color: var(--primary); font-style: italic; font-weight: 300; }
.site-footer__tagline { font-size: 0.65rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.25rem; }

.theme-footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .theme-footer-nav { gap: 1.75rem; } }
.theme-footer-nav-link { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-foreground); transition: color 0.2s; cursor: pointer; }
.theme-footer-nav-link:hover { color: var(--foreground); }

.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .site-footer__contact { align-items: flex-end; } }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; cursor: pointer; }
.site-footer__contact-link:hover { color: var(--foreground); }
.site-footer__contact-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__contact-row { flex-direction: row; align-items: center; gap: 1.25rem; } }

.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--muted-foreground); letter-spacing: 0.01em; overflow-wrap: break-word; }
.site-footer__copyright { font-size: 0.72rem; color: var(--muted-foreground); letter-spacing: 0.01em; overflow-wrap: break-word; }
.site-footer__copyright a { text-decoration: underline; }
.site-footer__copyright a:hover { color: var(--foreground); }

/* ==========================================================================
   Contact modal
   ========================================================================== */

#theme-contact-modal-overlay {
	position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.6);
	opacity: 0; visibility: hidden; transition: opacity 0.2s;
}
#theme-contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 91;
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--background); border: 1px solid var(--border);
	padding: 1.5rem; box-shadow: var(--shadow-elevated);
	transform: translate(-50%, -48%) scale(0.96);
	opacity: 0; visibility: hidden;
	transition: opacity 0.2s, transform 0.2s;
}
body.contact-modal-open #theme-contact-modal-overlay,
body.contact-modal-open #theme-contact-modal {
	opacity: 1; visibility: visible;
}
body.contact-modal-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); }

.theme-contact-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; padding: 0.25rem; cursor: pointer; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__desc { color: var(--muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-modal__meta a { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta a:hover { color: var(--foreground); }

.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { font-size: 0.875rem; color: var(--muted-foreground); }

.theme-contact-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; background: var(--background); border: 1px solid var(--border);
	border-radius: 0.375rem; font-size: 1rem; transition: box-shadow 0.3s;
}
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 50%, transparent); }
.theme-contact-modal__form-footer { display: flex; justify-content: flex-end; }
.theme-contact-modal__form-footer .theme-btn-primary { border-radius: 0.375rem; }

/* ==========================================================================
   Cart drawer + overlay
   ========================================================================== */

#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 95; background: rgba(13,32,53,0.2);
	opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	z-index: 96; background: var(--background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
	visibility: hidden;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
body.cart-open #theme-cart-drawer { transform: translateX(0); visibility: visible; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; 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: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--muted-foreground); margin-bottom: 1.5rem; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { width: 5rem; height: 6rem; background: var(--secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-drawer__qty-btn:hover { background: var(--secondary); }
.theme-cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--muted-foreground); }
.theme-cart-drawer__remove:hover { color: var(--foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* ==========================================================================
   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;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !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 hiding only where the drawer already gives feedback */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error {
	background: color-mix(in srgb, var(--destructive) 10%, var(--background));
	color: var(--destructive);
	border: 1px solid color-mix(in srgb, var(--destructive) 30%, transparent);
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	list-style: none;
	font-size: 0.9rem;
}

/* ==========================================================================
   Single product page
   ========================================================================== */

.single-product-page { padding-top: 6rem; }
@media (min-width: 1024px) { .single-product-page { padding-top: 7rem; } }

.theme-breadcrumb { padding: 1.5rem 0; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-breadcrumb a:hover { color: var(--foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery { min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 1rem; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--secondary); cursor: pointer; }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--foreground);
	opacity: 0; transition: opacity 0.2s;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info__category { font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.product-title.theme-product-info__title {
	font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-info__stock { font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; }
.theme-product-info__stock.is-out-of-stock { color: var(--destructive); }
.theme-product-info__excerpt,
.woocommerce-product-details__short-description { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.85rem; transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input {
	width: 3rem; text-align: center; border: none; background: transparent; padding: 0.6rem 0.25rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.theme-accordion { border-bottom: 1px solid var(--border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer; }
.theme-accordion__trigger svg { transition: transform 0.3s; }
.theme-accordion__trigger.is-open svg { transform: rotate(180deg); }
.theme-accordion__panel { overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-accordion__panel-inner { padding-bottom: 1.5rem; }
.theme-product-description { color: var(--muted-foreground); line-height: 1.7; font-size: 0.95rem; margin-bottom: 1rem; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { font-size: 0.95rem; color: var(--muted-foreground); display: flex; align-items: flex-start; }
.theme-bullet { width: 4px; height: 4px; background: var(--foreground); border-radius: 999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.theme-accordion__panel-inner p { color: var(--muted-foreground); line-height: 1.7; font-size: 0.95rem; margin-bottom: 0.75rem; }

.posted_in, .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

/* Variable product attributes */
.theme-product-attr-field { margin-bottom: 1.5rem; }
.theme-product-attr-label {
	display: block; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--muted-foreground); margin-bottom: 0.75rem;
}
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pills--color { gap: 0.75rem; }
.theme-attr-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em;
	text-transform: uppercase; border: 1px solid var(--border);
	background: transparent; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s;
	font-family: var(--font-body); border-radius: 999px;
}
.theme-attr-pill--color.is-selected,
.theme-attr-pill--color[aria-pressed="true"] {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 5%, transparent);
	color: var(--foreground);
}
.theme-attr-pill--license.is-selected,
.theme-attr-pill--license[aria-pressed="true"] {
	background: var(--foreground); color: var(--background); border-color: var(--foreground);
}
.theme-attr-pill__swatch {
	width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid var(--border); flex-shrink: 0;
}
.theme-attr-select {
	width: 100%; max-width: 100%; padding: 0.65rem 0.85rem;
	border: 1px solid var(--border); background: var(--background);
	font-family: var(--font-body); font-size: 0.9rem; color: var(--foreground);
}
.theme-attr-select-hidden { display: none !important; }
.single-product .theme-variable-product-form .theme-add-to-cart-area { margin-top: 1rem; }

/* Cart drawer line meta */
.theme-cart-item-meta { list-style: none; margin: 0.35rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-cart-item-meta__row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted-foreground); }
.theme-cart-item-meta-swatch {
	width: 0.65rem; height: 0.65rem; border-radius: 999px; border: 1px solid var(--border); flex-shrink: 0;
}
.theme-cart-item-meta__label { font-weight: 500; }

/* Legacy variation table (fallback) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.single-product .theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* ==========================================================================
   Related products
   ========================================================================== */

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--border); }
.theme-related-products__head { text-align: center; margin-bottom: 3rem; }
.theme-related-products__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.theme-related-products__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }

/* ==========================================================================
   Shop archive (direct category/tag visits)
   ========================================================================== */

.theme-shop-archive { padding-top: 6rem; }
.theme-shop-archive__header { text-align: center; margin-bottom: 3rem; }
.theme-shop-archive__empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }

/* ==========================================================================
   Generic pages / 404
   ========================================================================== */

.theme-generic-page { padding-top: 7rem; padding-bottom: 5rem; }
.theme-generic-page .page-title { font-size: 2.25rem; margin-bottom: 2rem; }

.theme-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; background: var(--muted); }
.theme-404__inner { text-align: center; }
.theme-404__code { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--primary); text-decoration: underline; }
.theme-404__link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ==========================================================================
   WooCommerce Checkout Block (Sections C–H)
   ========================================================================== */

body.woocommerce-checkout .theme-checkout-main {
	padding-top: 0;
	padding-bottom: 4rem;
}

.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; }
}

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
	min-width: 0;
}

.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;
	font-size: 0.875rem; color: var(--muted-foreground);
	margin-bottom: 1rem; transition: color 0.2s;
}
.checkout-continue-link:hover { color: var(--foreground); }

.theme-checkout-title { margin: 0; font-size: 2rem; font-family: var(--font-display); }
.theme-checkout-intro { margin: 0.75rem 0 0; color: var(--muted-foreground); line-height: 1.6; }

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-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;
	display: block;
}

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.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,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
}

body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
	display: grid;
	grid-template-columns: 1fr minmax(360px, 400px);
	gap: var(--checkout-gap);
	align-items: start;
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
.entry-content .wc-block-checkout > .wc-block-components-notices {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	background: var(--background);
}
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,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent);
}
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body);
	border-radius: 0.5rem;
	border-color: var(--border);
}

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(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: 999px !important;
	font-family: var(--font-body) !important;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.8rem !important;
	height: auto !important;
	padding: 1rem 1.5rem !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 {
	opacity: 0.9;
}
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout h3 {
	font-family: var(--font-display);
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
}

/* Cart & Account page width/alignment parity (Section 13.7) */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 80rem; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   WooCommerce Thank You page (Section 22.8)
   ========================================================================== */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { max-width: 60rem; margin-left: auto; margin-right: auto; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.5rem; margin-bottom: 2rem;
	background: var(--secondary); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.9rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details 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(--border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; border: 1px solid var(--border); padding: 1.25rem; border-radius: var(--card-radius); }

/* ==========================================================================
   Responsive layout safety nets (Section 11.13 / 15.1)
   ========================================================================== */

.theme-product-layout, .theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
