/* =========================================================================
   CARDS BY LORENA — theme.css
   ========================================================================= */

:root {
	--color-background: #ffffff;
	--color-foreground: #1a1a1e;
	--color-card: #f3f3f2;
	--color-accent: #d36a4a;
	--color-muted-foreground: #62626a;
	--color-border: #e2e2df;
	--color-button-text: #ffffff;

	--color-primary: var(--color-foreground);
	--color-primary-foreground: var(--color-background);
	--color-secondary: var(--color-card);

	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.5rem;
	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2.2rem;
	--btn-font-size: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--shadow-soft: 0 4px 24px -6px rgba(26, 26, 30, 0.08);
	--shadow-elevated: 0 12px 44px -12px rgba(26, 26, 30, 0.14);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 96px;
	--logo-height: 60px;
	--checkout-gap: 2rem;
	/* Lovable container-wide: px-6 / lg:px-8 */
	--page-gutter: 1.5rem;
}
@media (min-width: 1024px) {
	:root { --page-gutter: 2rem; }
}

/* -------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[role="button"],
.theme-card-link,
.btn-hero-primary,
.btn-hero-outline,
.btn-primary-pill,
.btn-outline-pill,
.link-underline,
.collection-tile,
.shop-cat-pill,
.shop-subcat-pill,
.cart-toggle-btn,
.mobile-menu-toggle,
.theme-card-add-to-cart,
.theme-product-thumb,
.theme-nav-link,
.contact-email-link,
.footer-link,
.notfound-link {
	cursor: pointer;
}
button { font-family: inherit; background: none; border: none; }
img { max-width: 100%; height: auto; display: block; }
img.cover-img,
img.hero-bg-img,
img.collection-slideshow__img,
img.product-thumb-img,
img#product-main-img,
.theme-product-card__image {
	max-width: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

/* Vertical only — never use padding shorthand here or it zeros .container-wide gutters */
.section-padding {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.section-padding {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}

.scroll-mt { scroll-margin-top: 6rem; }

.bg-card { background-color: var(--color-card); }

/* -------------------------------------------------------------------------
   TEXTURES
   ------------------------------------------------------------------------- */
.linen-surface {
	background-color: var(--color-background);
	background-image:
		repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-foreground) 2.5%, transparent) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(0deg, color-mix(in srgb, var(--color-foreground) 2.5%, transparent) 0 1px, transparent 1px 3px);
}
.paper-grain { position: relative; }
.paper-grain::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(color-mix(in srgb, var(--color-foreground) 4%, transparent) 1px, transparent 1.2px);
	background-size: 3px 3px;
	mix-blend-mode: multiply;
	opacity: 0.35;
}
.gallery-frame {
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--color-foreground) 10%, transparent),
		0 0 0 6px var(--color-background),
		0 0 0 7px color-mix(in srgb, var(--color-accent) 35%, transparent),
		0 18px 40px -18px color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

/* -------------------------------------------------------------------------
   ANIMATION / REVEAL SYSTEM (Section 2.1)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.reveal-item {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
		transition-delay: var(--reveal-delay, 0s);
	}
	.reveal-item.is-visible {
		opacity: 1;
		transform: translateY(0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1; transform: none; }
}
/* Customizer preview fallback — reveal content must never be hidden while editing */
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

.animate-fade-in { animation: cblFadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: cblSlideUp 0.6s var(--transition-smooth) forwards; }
@keyframes cblFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cblSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.link-underline { position: relative; display: inline-block; }
.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);
}
.link-underline:hover::after { transform: scaleX(1); }

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, top 0.2s ease;
}
/* Sit below the WordPress admin bar when logged in */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.is-scrolled {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
}
@media (min-width: 768px) { .site-nav { height: 6rem; } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.25rem; }
.site-brand-name { display: none; font-family: var(--font-display); font-size: 1.15rem; }
@media (min-width: 640px) { .site-brand-name { display: inline; } }

.site-nav-right { display: flex; align-items: center; gap: 1.25rem; }
.site-nav-links { display: none; }
@media (min-width: 1024px) { .site-nav-links { display: flex; align-items: center; gap: 2rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-link, .theme-nav-list a {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: color 0.2s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-foreground); }

.cart-toggle-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem; height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	color: var(--color-foreground);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	transition: border-color 0.2s ease;
}
.cart-toggle-btn:hover { border-color: var(--color-foreground); }
.theme-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1em;
	color: var(--color-foreground);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.mobile-menu-toggle { display: inline-flex; padding: 0.5rem; margin-right: -0.5rem; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.icon-menu { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.icon-menu::before, .icon-menu::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.icon-menu::before { top: -6px; }
.icon-menu::after { top: 6px; }

.mobile-menu { border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-menu[hidden] { display: none; }
/* Always stack hamburger links vertically (Lovable: flex-col gap-3) */
.mobile-menu ul,
.mobile-menu .theme-nav-list,
.mobile-menu .theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mobile-menu li {
	display: block;
	float: none;
	width: 100%;
}
.mobile-menu a,
.mobile-menu .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.5rem 0;
	font-size: 0.875rem;
	letter-spacing: normal;
	text-transform: none;
}

/* -------------------------------------------------------------------------
   HOME HERO FULL BLEED (Section 22.7)
   ------------------------------------------------------------------------- */
body:not(.theme-no-hero) .site-main-offset { padding-top: 0; }
body.theme-no-hero .generic-page,
body.theme-no-hero .shop-archive-page,
body.theme-no-hero .single-product-page,
body.theme-no-hero .notfound-page {
	padding-top: var(--header-height);
}
body.admin-bar.theme-no-hero .generic-page,
body.admin-bar.theme-no-hero .shop-archive-page,
body.admin-bar.theme-no-hero .single-product-page,
body.admin-bar.theme-no-hero .notfound-page {
	padding-top: calc(var(--header-height) + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero .generic-page,
	body.admin-bar.theme-no-hero .shop-archive-page,
	body.admin-bar.theme-no-hero .single-product-page,
	body.admin-bar.theme-no-hero .notfound-page {
		padding-top: calc(var(--header-height) + 46px);
	}
}

/* -------------------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------------------- */
.hero-section { position: relative; }
.hero-inner { position: relative; width: 100%; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center center;
	transition: opacity 2000ms ease-in-out;
}
.hero-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 60%, transparent); }
.hero-overlay-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-background) 55%, transparent),
		color-mix(in srgb, var(--color-background) 35%, transparent),
		color-mix(in srgb, var(--color-background) 70%, transparent));
}
.hero-content {
	position: relative;
	padding-top: 6rem;
	padding-bottom: 6rem;
	width: 100%;
}
@media (min-width: 768px) {
	.hero-content {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}
}
.hero-content-inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.hero-title {
	font-family: var(--font-display);
	font-weight: 300;
	color: var(--color-foreground);
	line-height: 1.02;
	letter-spacing: -0.02em;
	font-size: clamp(2.5rem, 6vw, 5rem);
}
.hero-subtitle {
	margin-top: 1.75rem;
	font-size: 1rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	max-width: 42rem;
	margin-left: auto; margin-right: auto;
	line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-signature {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-style: italic;
	color: var(--color-accent);
	font-size: 1.125rem;
}
@media (min-width: 768px) { .hero-signature { font-size: 1.25rem; } }
.hero-ctas {
	margin-top: 2.5rem;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.btn-hero-primary, .btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px;
	padding: 1rem 2.25rem;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: none;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-hero-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.btn-hero-primary:hover { background-color: var(--color-accent); }
.btn-hero-outline {
	border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent);
	color: var(--color-foreground);
}
.btn-hero-outline:hover { background-color: var(--color-foreground); color: var(--color-background); }

/* -------------------------------------------------------------------------
   SECTION HEADINGS
   ------------------------------------------------------------------------- */
.section-heading-wrap { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.section-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 1rem;
}
.section-subheading {
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	font-size: 1rem;
	line-height: 1.7;
}
@media (min-width: 768px) { .section-subheading { font-size: 1.125rem; } }

.collections-heading, .shop-heading {
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin-bottom: 1.25rem;
	font-size: 2.25rem;
}
@media (min-width: 768px) { .collections-heading, .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .collections-heading, .shop-heading { font-size: 3.75rem; } }

/* -------------------------------------------------------------------------
   COLLECTIONS GRID
   ------------------------------------------------------------------------- */
.collections-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	/* Room for gallery-frame ring so tiles aren't flush to the gutter */
	padding-inline: 0.5rem;
}
@media (min-width: 640px) { .collections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .collections-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding-inline: 0.5rem; } }

.collection-tile { display: block; width: 100%; text-align: left; }
.collection-tile__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--color-card);
	/* Keep overflow visible so gallery-frame box-shadow is not clipped */
}
.collection-slideshow {
	position: absolute;
	inset: 0;
	overflow: hidden;
	transition: transform 0.9s var(--transition-smooth);
}
.collection-tile:hover .collection-slideshow { transform: scale(1.04); }
.collection-slideshow__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: opacity 1400ms ease-in-out;
}
.collection-tile__meta { margin-top: 1.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .collection-tile__meta { margin-top: 1.75rem; } }
.collection-tile__label { font-size: 1.5rem; color: var(--color-foreground); transition: color 0.2s ease; }
@media (min-width: 768px) { .collection-tile__label { font-size: 1.875rem; } }
.collection-tile:hover .collection-tile__label { color: var(--color-accent); }
.collection-tile__view {
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--color-accent);
	opacity: 0; transition: opacity 0.2s ease;
}
.collection-tile:hover .collection-tile__view { opacity: 1; }

/* -------------------------------------------------------------------------
   SHOP SEARCH / FILTERS
   ------------------------------------------------------------------------- */
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search-input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.95rem;
	transition: border-color 0.2s ease;
}
.shop-search-input:focus { outline: none; border-color: var(--color-foreground); }

.shop-category-pills, .shop-subcategory-pills {
	display: flex;
	overflow-x: auto;
	gap: 0.5rem;
	margin-bottom: 1rem;
	/* Lovable: -mx-4 px-4 on mobile so pills scroll within page gutter */
	margin-left: -1rem;
	margin-right: -1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	scrollbar-width: none;
}
.shop-subcategory-pills { gap: 1.25rem; }
.shop-category-pills::-webkit-scrollbar, .shop-subcategory-pills::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
	.shop-category-pills, .shop-subcategory-pills {
		flex-wrap: wrap;
		justify-content: center;
		overflow: visible;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
}
.shop-cat-pill {
	flex-shrink: 0;
	padding: 0.5rem 1.25rem;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-cat-pill:hover { border-color: var(--color-foreground); }
.shop-cat-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-subcat-pill {
	flex-shrink: 0;
	padding-bottom: 0.25rem;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.shop-subcat-pill.is-active { color: var(--color-foreground); border-color: var(--color-foreground); }
.shop-subcat-pill:hover { color: var(--color-foreground); }
.shop-subcategory-pills[hidden] { display: none; }

/* -------------------------------------------------------------------------
   PRODUCT GRID / CARD
   ------------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.shop-grid-item.is-hidden-overflow { display: none; }
.shop-grid-item.is-filtered-out { display: none; }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-card);
	margin-bottom: 1.25rem;
}
.theme-product-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.7s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }

.theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
/* Equal specificity to the rule above (two class-level selectors), placed
   after it, so this correctly wins the cascade for the add-to-cart button. */
.theme-product-card .theme-card-add-to-cart { pointer-events: auto; position: relative; z-index: 3; }

.theme-badge {
	position: absolute;
	top: 1rem;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.35rem 0.65rem;
	border-radius: 0.375rem;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
}
.theme-badge-new { left: 1rem; background: var(--color-accent); color: var(--color-background); }
.theme-badge-sold-out { right: 1rem; background: var(--color-foreground); color: var(--color-background); font-weight: 500; letter-spacing: normal; text-transform: none; font-size: 11px; }

.theme-card-add-to-cart.add_to_cart_button.ajax_add_to_cart {
	position: absolute;
	left: 1rem; right: 1rem; bottom: 1rem;
	padding: 0.75rem 0;
	border-radius: 9999px;
	background-color: var(--color-accent) !important;
	color: var(--color-background) !important;
	border: 1px solid var(--color-accent) !important;
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	opacity: 0; transform: translateY(0.5rem);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	text-align: center;
	min-height: unset;
}
.theme-product-card:hover .theme-card-add-to-cart.add_to_cart_button.ajax_add_to_cart {
	opacity: 1; transform: translateY(0);
}
.theme-card-add-to-cart.add_to_cart_button.ajax_add_to_cart:hover {
	background-color: var(--color-background) !important;
	color: var(--color-accent) !important;
}

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.375rem; padding: 0 0.25rem; }
.theme-product-card__category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__title {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-foreground);
	transition: color 0.3s ease;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

.shop-empty-state { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.shop-empty-state[hidden] { display: none; }
.shop-show-more-wrap { text-align: center; margin-top: 3rem; }

.btn-outline-pill, .btn-primary-pill {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px;
	padding: 0.85rem 2rem;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	transition: all 0.2s ease;
}
.btn-outline-pill { border: 1px solid var(--color-foreground); color: var(--color-foreground); background: transparent; }
.btn-outline-pill:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-primary-pill { background: var(--color-foreground); color: var(--color-background); border: 1px solid var(--color-foreground); }
.btn-primary-pill:hover { opacity: 0.9; }

/* -------------------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image-col {
	position: relative;
	min-height: 26rem;
	background: var(--color-background);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 2rem; gap: 1.5rem;
}
@media (min-width: 768px) { .about-image-col { padding: 3rem; } }
@media (min-width: 1024px) { .about-image-col { min-height: 100%; padding: 3rem; } }
.about-logo { width: 100%; max-width: 220px; height: auto; object-fit: contain; }
@media (min-width: 768px) { .about-logo { max-width: 280px; } }
@media (min-width: 1024px) { .about-logo { max-width: 320px; } }
.about-image-overlay-text { text-align: center; }
.about-overlay-line-1, .about-overlay-line-2 {
	font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
	font-size: 1.875rem;
}
@media (min-width: 768px) { .about-overlay-line-1, .about-overlay-line-2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-overlay-line-1, .about-overlay-line-2 { font-size: 3rem; } }
@media (min-width: 1280px) { .about-overlay-line-1, .about-overlay-line-2 { font-size: 3.75rem; } }
.about-overlay-line-2 { color: var(--color-accent); }

.about-text-col {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 4rem;
	padding-bottom: 4rem;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { .about-text-col { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .about-text-col { justify-content: flex-start; padding: 6rem 5rem; } }
@media (min-width: 1280px) { .about-text-col { padding: 6rem 6rem; } }
.about-text-inner { max-width: 36rem; text-align: center; }
@media (min-width: 1024px) { .about-text-inner { text-align: left; } }
.about-heading {
	font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem;
	font-size: 2.25rem;
}
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; font-size: 1rem; }
@media (min-width: 768px) { .about-paragraph { font-size: 1.125rem; } }
.about-cta { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--color-foreground); margin-top: 0.5rem; display: inline-block; }

/* -------------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background-position: center; background-size: cover; }
.contact-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 85%, transparent); }
.contact-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 50%, transparent), color-mix(in srgb, var(--color-primary) 40%, transparent), color-mix(in srgb, var(--color-primary) 70%, transparent)); }
.contact-inner {
	position: relative;
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.contact-inner {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.contact-info-col {
	display: flex; flex-direction: column; justify-content: space-between;
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	backdrop-filter: blur(4px);
	border: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	color: var(--color-background);
	padding: 2rem;
}
@media (min-width: 768px) { .contact-info-col { padding: 3rem; } }
.contact-eyebrow { text-align: center; }
@media (min-width: 1024px) { .contact-eyebrow { text-align: left; } }
.contact-title { color: var(--color-background); margin-bottom: 1.5rem; text-align: center; font-size: 2.25rem; font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; text-align: left; } }
.contact-subtitle { color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 2.5rem; max-width: 36rem; text-align: center; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .contact-subtitle { font-size: 1.125rem; } }
@media (min-width: 1024px) { .contact-subtitle { text-align: left; } }

.contact-email-link { display: flex; align-items: flex-start; gap: 1rem; color: color-mix(in srgb, var(--color-background) 85%, transparent); transition: color 0.2s ease; }
.contact-email-link:hover { color: var(--color-background); }
.contact-email-icon { color: var(--color-accent); margin-top: 0.25rem; flex-shrink: 0; }
.contact-email-label { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-bottom: 0.25rem; }
.contact-email-value { display: block; font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 768px) { .contact-email-value { font-size: 1.25rem; } }
.contact-email-link:hover .contact-email-value { color: var(--color-accent); }

.contact-footnote {
	margin-top: 2.5rem; padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	color: color-mix(in srgb, var(--color-background) 70%, transparent);
	font-size: 0.875rem; font-style: italic;
}

.contact-form-col {
	background: color-mix(in srgb, var(--color-background) 45%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent);
	padding: 1.5rem;
	display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 768px) { .contact-form-col { padding: 2.5rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-label { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 0.5rem; }
.contact-form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	background: color-mix(in srgb, var(--color-card) 70%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0;
	font-size: 1rem;
}
.contact-form-input::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); }
.contact-form-input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.contact-form-textarea { resize: vertical; }
.contact-form-actions { display: flex; justify-content: flex-end; padding-top: 0.5rem; }
.contact-form-status { font-size: 0.875rem; min-height: 1.25rem; }
.contact-form-status.is-success { color: #2f7d4f; }
.contact-form-status.is-error { color: #bd2828; }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--color-card); }
.site-footer-inner {
	padding-top: 4rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.site-footer-inner {
		padding-top: 5rem;
		padding-bottom: 6rem;
	}
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.footer-col-brand { grid-column: span 1; text-align: center; }
@media (min-width: 1024px) { .footer-col-brand { grid-column: span 4; text-align: left; } }
.footer-logo { height: 6rem; width: auto; margin: 0 auto 1.25rem; object-fit: contain; }
@media (min-width: 640px) { .footer-logo { margin-left: 0; } }
.footer-tagline { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 20rem; margin: 0 auto; }
@media (min-width: 640px) { .footer-tagline { margin-left: 0; } }
.footer-col { grid-column: span 1; }
@media (min-width: 1024px) { .footer-grid > nav.footer-col:nth-of-type(1) { grid-column: span 2; } }
@media (min-width: 1024px) { .footer-grid > nav.footer-col:nth-of-type(2) { grid-column: span 3; } }
@media (min-width: 1024px) { .footer-grid > div.footer-col { grid-column: span 3; } }
.footer-col-heading { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 1.25rem; }
.footer-link-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link { font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
.footer-link:hover { color: var(--color-accent); }
.footer-connect-item {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
}
.footer-connect-icon {
	flex-shrink: 0;
	width: 0.875rem;
	height: 0.875rem;
	margin-top: 0.25rem;
	color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}
.footer-link-accent { color: var(--color-accent); }
.footer-link-accent:hover { color: color-mix(in srgb, var(--color-accent) 80%, transparent); }

.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-copyright, .footer-built-by { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); letter-spacing: 0.02em; }
.footer-built-by-link { font-weight: 600; color: var(--color-foreground); }
.footer-built-by-link:hover { color: var(--color-accent); }

/* =========================================================================
   WOOCOMMERCE OVERRIDES (Section 14)
   ========================================================================= */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-error {
	background: #fdecec; color: #7a1f1f; border-left: 3px solid #bd2828;
	padding: 1rem 1.25rem; margin: 1rem 0; font-size: 0.9rem; list-style: none;
}

/* 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: 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;
}
/* Card compact button — overrides global rules above */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.75rem 0 !important;
}

/* Hide "View cart" injected after AJAX add-to-cart */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

/* -------------------------------------------------------------------------
   SINGLE PRODUCT PAGE
   ------------------------------------------------------------------------- */
.single-product-page { padding-top: calc(var(--header-height) + 1rem); background: var(--color-card); padding-bottom: 3rem; }
.back-to-shop-link-wrap { padding-top: 1rem; }
.back-to-shop-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.back-to-shop-link:hover { color: var(--color-foreground); }

.single-product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product-breadcrumb a:hover { color: var(--color-foreground); }
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-current { color: var(--color-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, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 100%;
	margin-bottom: 1rem;
}
@media (min-width: 1024px) { .theme-product-thumbnails { flex-direction: column; } }
.theme-product-thumb {
	position: relative;
	width: 5rem; height: 5rem;
	overflow: hidden;
	background: var(--color-secondary);
	flex-shrink: 0;
}
@media (min-width: 1024px) { .theme-product-thumb { width: 100%; height: auto; aspect-ratio: 1/1; } }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.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: 1px;
	background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-main-image-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }
@media (min-width: 1024px) { .theme-product-main-image-wrap { display: none; } }
@media (min-width: 1024px) {
	.theme-product-gallery { display: flex; flex-direction: row-reverse; gap: 1rem; }
	.theme-product-thumbnails { width: 100%; }
}

.product-category-label { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.875rem;
	line-height: 1.1;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--color-foreground); }
.product-description-short { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.stock-indicator { font-size: 0.875rem; margin-bottom: 1rem; }
.stock-indicator.stock-in { color: var(--color-muted-foreground); }
.stock-indicator.stock-out { color: #bd2828; font-weight: 600; }

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	margin-bottom: 1.5rem;
}
.theme-qty-minus, .theme-qty-plus {
	padding: 0.5rem 0.75rem;
	transition: background-color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem;
	text-align: center;
	border: none;
	background: transparent;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
	width: 100%;
}

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem 0;
	font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
	text-align: left;
}
.accordion-chevron { transition: transform 0.2s ease; }
.theme-accordion.is-open .accordion-chevron { transform: rotate(180deg); }
.theme-accordion-panel { padding-bottom: 1.5rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7; }
.theme-accordion-panel.is-collapsed { display: none; }
.product-details-heading { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; margin: 1rem 0 0.5rem; color: var(--color-foreground); }
.product-long-description, .theme-accordion-panel p { overflow-wrap: break-word; word-break: break-word; }

.related-products-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
	border-top: 1px solid var(--color-border);
}
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-heading-line1 { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-heading-line2 { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .related-heading-line2 { font-size: 2.25rem; } }

/* -------------------------------------------------------------------------
   SIDE CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 50;
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0;
	height: 100%;
	width: 100%; max-width: 28rem;
	background: #e8e7e3;
	z-index: 51;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.cart-drawer-close { padding: 0.25rem; }
.cart-drawer-close:hover { opacity: 0.6; }

.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer-empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-drawer-item { display: flex; gap: 1rem; }
.cart-drawer-item-image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.cart-drawer-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item-body { flex: 1; min-width: 0; }
.cart-drawer-item-title { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-drawer-item-title:hover { opacity: 0.7; }
.cart-drawer-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-drawer-item-variation { font-size: 0.8rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.cart-drawer-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	min-height: 1.75rem;
	padding: 0.25rem;
	border-radius: 0.25rem;
	color: var(--color-foreground);
	font-size: 1rem;
	line-height: 1;
	transition: background 0.2s ease, opacity 0.2s ease;
}
.cart-qty-btn-icon {
	display: block;
	line-height: 1;
	pointer-events: none;
}
.cart-qty-btn:hover { background: var(--color-secondary); }
.cart-qty-btn:disabled { opacity: 0.4; pointer-events: none; }
.cart-qty-value { font-size: 0.875rem; min-width: 1.5rem; text-align: center; color: var(--color-foreground); }
.cart-qty-fixed { font-size: 0.875rem; color: var(--color-muted-foreground); }
.cart-remove-btn { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.cart-drawer-subtotal-label { color: var(--color-muted-foreground); }
.cart-drawer-subtotal-value { font-weight: 500; }
.cart-drawer-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.cart-drawer-checkout-btn { width: 100%; }
.cart-drawer-empty-btn { width: 100%; }

/* =========================================================================
   CHECKOUT BLOCK OVERRIDES (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .generic-page {
	padding-top: var(--header-height, 96px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title {
	max-width: 80rem;
	margin: 2rem auto 1.5rem;
	padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}
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 {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background-color: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-accent);
	outline: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: 9999px !important;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.8rem;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
}

/* =========================================================================
   THANK YOU / CART / ACCOUNT PAGES
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main,
body.theme-thankyou-page .generic-page { padding-top: var(--header-height, 96px); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	padding: 0 0 1rem 0;
	font-family: var(--font-display);
}
@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; }

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 96px); padding-bottom: 4rem; }

/* =========================================================================
   GENERIC PAGE / 404
   ========================================================================= */
.generic-page { padding-top: var(--header-height); padding-bottom: 4rem; }
.page-content-wrap { max-width: 60rem; margin: 0 auto; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }

.notfound-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding-top: var(--header-height); }
.notfound-inner { text-align: center; }
.notfound-title { font-size: 3rem; margin-bottom: 1rem; }
.notfound-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.notfound-link { color: var(--color-accent); text-decoration: underline; }

/* =========================================================================
   SHOP ARCHIVE
   ========================================================================= */
.shop-archive-page { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
.shop-archive-title { margin-bottom: 2rem; font-size: 2.25rem; font-weight: 300; }
