/* =========================================================================
   Highly Favored Fabrix — theme stylesheet
   ========================================================================= */

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */
:root {
	--color-background: #fcfdfd;
	--color-foreground: #263540;
	--color-primary: #587e68;
	--color-primary-foreground: #ffffff;
	--color-secondary: #f3f5f7;
	--color-secondary-foreground: #2a3a46;
	--color-muted: #eaeef0;
	--color-muted-foreground: #63727e;
	--color-accent: #6a8aaf;
	--color-accent-foreground: #ffffff;
	--color-destructive: #ba2c2c;
	--color-destructive-foreground: #ffffff;
	--color-border: #dee4e7;
	--color-mist: #f3f5f7;

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Karla', sans-serif;

	--radius: 0.25rem;
	--shadow-elevated: 0 12px 40px -8px rgba(38, 53, 64, 0.14);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 120px;
	--header-height: 128px;

	--btn-radius: 0.375rem;
	--btn-height: 44px;
	--btn-padding: 0.75rem 1.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--checkout-gap: 2rem;
	--card-radius: 0.5rem;
	--section-padding: 2rem;

	/* Lovable .container-wide: px-6 lg:px-8 */
	--container-gutter: 1.5rem;
	--container-max: 80rem;
}

@media (min-width: 768px) {
	:root { --header-height: 144px; }
}

@media (min-width: 1024px) {
	:root { --container-gutter: 2rem; }
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; }
body {
	max-width: 100%;
	overflow-x: clip;
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-main-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

a[href],
button,
.theme-pill,
.theme-cat-filter,
.theme-nav-link,
.theme-nav-list a,
.link-underline,
.theme-card-link,
.theme-review-photo,
.theme-review-product-link,
.theme-thumb-btn,
.theme-filter-toggle,
.theme-mobile-toggle,
.theme-cart-toggle,
.theme-announcement-dismiss,
.theme-modal-close,
.theme-accordion-trigger,
[data-anchor],
[data-open-modal],
[data-cart-open],
[data-cart-close],
[data-modal-close],
[role="button"],
label[for] {
	cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.02em;
	margin: 0;
}

.container-wide {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-gutter);
	padding-right: var(--container-gutter);
	box-sizing: border-box;
}

.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); }

.scroll-mt { scroll-margin-top: 8rem; }
body.admin-bar .scroll-mt { scroll-margin-top: calc(8rem + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .scroll-mt { scroll-margin-top: calc(8rem + 46px); }
}

/* -------------------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------------------- */
.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); }
body.is-customizer .reveal-item,
.theme-product-card-wrap.reveal-item { }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	.theme-hero-slide, .theme-marquee-track, * { animation-duration: 0.01ms !important; }
}

/* -------------------------------------------------------------------------
   Announcement bar
   ------------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background: var(--color-foreground);
	color: var(--color-background);
}
/* Vertical only — never shorthand padding (would wipe .container-wide gutters). */
.theme-announcement-inner {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	/* Lovable: container-wide + pr-8 for the dismiss control */
	padding-right: 2rem;
	text-align: center;
}
.theme-announcement-text {
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin: 0;
}
.theme-announcement-dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; color: inherit; opacity: 0.7;
}
.theme-announcement-dismiss:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background: rgba(252, 253, 253, 0.95);
	backdrop-filter: blur(4px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; height: 8rem;
}
@media (min-width: 768px) { .site-nav { height: 9rem; } }

.site-brand { display: flex; align-items: center; flex-shrink: 0; gap: 0.75rem; }
.site-logo-img {
	height: 76px !important;
	width: auto !important;
	max-height: none !important;
	display: block;
	object-fit: contain;
}
@media (min-width: 640px) {
	.site-logo-img { height: 100px !important; }
}
@media (min-width: 768px) {
	.site-logo-img { height: var(--logo-height, 120px) !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; }
.site-brand-name { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; }

.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; }
.theme-nav-link, .theme-nav-list a {
	font-size: 11px; font-family: var(--font-body); letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--color-foreground); transition: color 0.3s;
}

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-nav-actions { gap: 0.5rem; } }

.theme-cart-toggle { position: relative; padding: 0.5rem; opacity: 1; transition: opacity 0.2s; color: var(--color-foreground); }
.theme-cart-toggle:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: flex; padding: 0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav-mobile {
	display: none; border-top: 1px solid var(--color-border); padding: 1rem 0;
}
.site-nav-mobile.is-open { display: block; }
@media (min-width: 1024px) { .site-nav-mobile { display: none !important; } }
.site-nav-mobile .theme-nav-list,
.theme-nav-list-mobile {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
}
.theme-nav-list-mobile a,
.site-nav-mobile .theme-nav-link,
.site-nav-mobile .theme-nav-list a {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	padding: 0.5rem 0;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.theme-hero { position: relative; border-top: 1px solid var(--color-border); overflow: hidden; min-height: calc(100vh - 8rem); }
body.theme-no-hero .theme-hero { display: none; }
.theme-hero-slides { position: absolute; inset: 0; }
.theme-hero-slide {
	position: absolute; inset: 0; opacity: 0;
	transition: opacity 1.2s var(--transition-smooth);
}
.theme-hero-slide.is-active { opacity: 1; }
.theme-hero-img { display: block; object-position: center; }
.theme-hero-scrim { position: absolute; inset: 0; background: rgba(38, 53, 64, 0.35); }
.theme-hero-content {
	position: relative; min-height: calc(100vh - 8rem);
	display: flex; align-items: flex-end;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-hero-content {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.theme-hero-copy { max-width: 36rem; color: var(--color-background); }
.theme-hero-eyebrow {
	display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	margin-bottom: 1.25rem; opacity: 0.9;
}
.theme-hero-heading {
	font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .theme-hero-heading { font-size: 3rem; } }
.theme-hero-cta {
	display: inline-flex; align-items: center; justify-content: center; min-width: 200px;
	padding: 0.75rem 1.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	background: var(--color-background); color: var(--color-foreground); border: 1px solid var(--color-background);
	transition: background-color 0.3s, color 0.3s;
}
.theme-hero-cta:hover { background: transparent; color: var(--color-background); }

/* -------------------------------------------------------------------------
   Marquee
   ------------------------------------------------------------------------- */
.theme-marquee {
	position: relative; overflow: hidden;
	background: var(--color-foreground); color: var(--color-background);
	border-top: 1px solid var(--color-foreground); border-bottom: 1px solid var(--color-foreground);
	padding: 1.5rem 0;
}
@media (min-width: 768px) { .theme-marquee { padding: 2rem 0; } }
.theme-marquee-track {
	display: flex; white-space: nowrap;
	animation: theme-marquee 40s linear infinite;
	will-change: transform;
}
.theme-marquee-group { display: flex; flex-shrink: 0; align-items: center; }
.theme-marquee-item { display: flex; align-items: center; }
.theme-marquee-phrase {
	font-family: var(--font-display); font-weight: 300; font-style: italic;
	font-size: 1.875rem; padding: 0 2rem;
}
@media (min-width: 768px) { .theme-marquee-phrase { font-size: 3rem; padding: 0 3rem; } }
@media (min-width: 1024px) { .theme-marquee-phrase { font-size: 3.75rem; } }
.theme-marquee-dot { font-size: 1.5rem; opacity: 0.5; }
@media (min-width: 768px) { .theme-marquee-dot { font-size: 1.875rem; } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------
   Generic section chrome
   ------------------------------------------------------------------------- */
.theme-section { background: var(--color-background); border-top: 1px solid var(--color-border); }
.theme-section-inner {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-section-inner {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}
.theme-section-label { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400; }

/* -------------------------------------------------------------------------
   Specialty collections
   ------------------------------------------------------------------------- */
.theme-section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem; gap: 1rem; }
.theme-view-all { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-view-all:hover { color: var(--color-foreground); }
.theme-specialty-heading {
	font-family: var(--font-display); font-weight: 300; line-height: 1.1;
	font-size: 1.875rem; max-width: 42rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) { .theme-specialty-heading { font-size: 3rem; } }
.theme-specialty-grid {
	display: grid; grid-template-columns: 1fr; gap: 3.5rem 2.5rem; max-width: 64rem; margin: 0 auto;
}
@media (min-width: 640px) { .theme-specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* -------------------------------------------------------------------------
   Product cards (shared across all listing contexts — Section 31.13)
   ------------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 1.5rem;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-specialty-grid.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.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 > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 4 / 5; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem;
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.03); }
.theme-product-card__image-wrapper img { transition: transform 0.7s var(--transition-smooth); }

.theme-product-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.25rem 0.75rem; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background);
}
.theme-product-card__info { flex: 1; text-align: left; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 0.25rem;
	min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }

/* -------------------------------------------------------------------------
   Shop section
   ------------------------------------------------------------------------- */
.theme-shop-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.theme-shop-count-label { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400; }
.theme-shop-header-actions { display: flex; align-items: center; gap: 1.25rem; }
.theme-reviews-link { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-reviews-link:hover { color: var(--color-foreground); }
.theme-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-filter-toggle:hover { color: var(--color-foreground); }
.theme-filter-toggle svg { transition: transform 0.3s; }
.theme-filter-toggle.is-open svg { transform: rotate(180deg); }

.theme-shop-categories {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
	padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border);
}
.theme-cat-filter { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); padding-bottom: 0.125rem; }
.theme-cat-filter.is-active { color: var(--color-foreground); border-bottom: 1px solid var(--color-foreground); }
.theme-cat-filter:hover { color: var(--color-foreground); }

.theme-shop-filters { overflow: hidden; }
.theme-shop-filters[hidden] { display: none; }
.theme-shop-filters-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .theme-shop-filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.theme-search-field { position: relative; }
.theme-search-field svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-search-field input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none;
	border-bottom: 1px solid var(--color-border); font-size: 1rem; color: var(--color-foreground);
}
.theme-search-field input:focus { outline: none; border-color: var(--color-foreground); }

.theme-price-field-row { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }

/* Dual-handle price range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-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;
	width: 18px; height: 18px; border-radius: 50%; background: var(--color-background);
	border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background);
	border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-more-wrap { text-align: center; margin-top: 3rem; }
.theme-show-more { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.theme-shop-empty-state, .theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   Reviews
   ------------------------------------------------------------------------- */
.theme-reviews-header { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .theme-reviews-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-reviews-average { display: flex; align-items: center; gap: 0.5rem; }
.theme-star-row { display: flex; color: var(--color-border); }
.theme-star-row .theme-star.is-filled { color: var(--color-primary); }
.theme-reviews-count { font-size: 13px; color: var(--color-muted-foreground); }
.theme-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .theme-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.theme-review-card { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .theme-review-card { flex-direction: row; } }
.theme-review-photo { flex-shrink: 0; width: 100%; height: 10rem; background: var(--color-secondary); overflow: hidden; position: relative; display:block; }
@media (min-width: 640px) { .theme-review-photo { width: 7rem; height: 7rem; } }
.theme-review-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-review-body { min-width: 0; }
.theme-review-body .theme-star-row { margin-bottom: 0.5rem; }
.theme-review-body .theme-star { width: 14px; height: 14px; }
.theme-review-text { font-size: 15px; color: rgba(38,53,64,0.8); line-height: 1.6; margin-bottom: 0.75rem; overflow-wrap: break-word; }
.theme-review-meta { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-review-product-link { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.theme-faq-section { background: var(--color-mist); }
.theme-faq-header { margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.theme-accordion-list, .theme-accordion-item { }
.theme-accordion-item { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.25rem 0; text-align: left; font-size: 15px; color: var(--color-foreground);
	transition: color 0.3s;
}
.theme-accordion-trigger:hover { color: rgba(38,53,64,0.7); }
.theme-accordion-trigger svg { flex-shrink: 0; transition: transform 0.3s; }
.theme-accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-accordion-content { overflow: hidden; }
.theme-accordion-content p { padding-bottom: 1.25rem; padding-right: 2rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.6; margin: 0; overflow-wrap: break-word; }

/* -------------------------------------------------------------------------
   Contact section (homepage)
   ------------------------------------------------------------------------- */
.theme-contact-section { position: relative; overflow: hidden; }
.theme-contact-bg-fallback { z-index: 0; }
.theme-contact-bg-video { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .theme-contact-bg-video { display: none; } }
.theme-contact-scrim { position: absolute; inset: 0; background: rgba(252,253,253,0.85); z-index: 2; }
.theme-contact-inner {
	position: relative;
	z-index: 3;
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.theme-contact-inner {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}
.theme-contact-copy { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-contact-eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-heading { font-family: var(--font-display); font-weight: 300; font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-contact-heading { font-size: 3.75rem; } }
.theme-contact-paragraph { color: rgba(38,53,64,0.75); font-size: 1rem; line-height: 1.8; margin-bottom: 2.5rem; }
.theme-contact-buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-buttons { flex-direction: row; } }
.theme-btn-hero-primary, .theme-btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 220px;
	padding: 0.75rem 1.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase !important;
	border: 1px solid var(--color-foreground); transition: background-color 0.3s, color 0.3s;
}
.theme-btn-hero-primary { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-hero-primary:hover { background: transparent; color: var(--color-foreground); }
.theme-btn-hero-outline { background: transparent; color: var(--color-foreground); }
.theme-btn-hero-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-contact-meta { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; font-size: 13px; color: var(--color-muted-foreground); }
@media (min-width: 640px) { .theme-contact-meta { flex-direction: row; gap: 1.5rem; } }
.theme-contact-meta-item { display: flex; align-items: center; gap: 0.5rem; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); }
.theme-footer-inner {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
	.theme-footer-inner {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-footer-col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.theme-footer-logo { display: flex; align-items: center; }
.theme-footer-logo .site-logo-img { height: 3.5rem !important; }
.theme-footer-tagline { font-size: 13px; color: var(--color-muted-foreground); max-width: 20rem; margin: 0; }
.theme-footer-heading { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.theme-footer-nav-list, .theme-footer-nav .theme-nav-list { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.theme-footer-nav-list a, .theme-footer-nav .theme-nav-link {
	font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground);
}
.theme-footer-nav-list a:hover, .theme-footer-nav .theme-nav-link:hover { color: var(--color-foreground); }
.theme-footer-contact { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer-contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); overflow-wrap: break-word; }
.theme-footer-contact-link:hover { color: var(--color-foreground); }
.theme-footer-bottom {
	margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
}
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }
.theme-footer-copyright, .theme-footer-credit { font-size: 13px; color: var(--color-muted-foreground); margin: 0; }

/* -------------------------------------------------------------------------
   Modals (About / Contact)
   ------------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 1100; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.25s; }
.theme-modal.is-open .theme-modal-overlay { opacity: 1; }
.theme-modal.is-closing .theme-modal-overlay { opacity: 0; }
.theme-modal-panel {
	position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96);
	width: calc(100% - 2rem); max-width: 32rem; max-height: min(90vh, calc(100vh - 2rem)); overflow-y: auto;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.5rem;
	padding: 1.5rem; box-shadow: var(--shadow-elevated); opacity: 0; transition: opacity 0.25s, transform 0.25s;
	z-index: 1101;
}
.theme-modal-panel--wide { max-width: 56rem; }
.theme-modal.is-open .theme-modal-panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.theme-modal.is-closing .theme-modal-panel { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
.theme-modal-close { position: absolute; right: 1rem; top: 1rem; padding: 0.375rem; opacity: 0.7; border-radius: 0.25rem; }
.theme-modal-close:hover { opacity: 1; background: var(--color-secondary); }
.theme-modal-header { margin-bottom: 1rem; }
.theme-modal-header--centered { text-align: center; }
.theme-modal-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-about-title { font-weight: 300; font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 768px) { .theme-about-title { font-size: 3rem; } }
.theme-modal-description, .theme-modal-eyebrow { color: var(--color-muted-foreground); font-size: 0.875rem; }
.theme-modal-eyebrow {
	display: flex; align-items: center; gap: 1rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	margin-bottom: 0.75rem;
}
.theme-modal-eyebrow-line { height: 1px; flex: 1; background: var(--color-border); }

.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 768px) { .theme-about-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2.5rem; } }
.theme-about-figure-inner { background: rgba(243,245,247,0.4); padding: 0.75rem; border-radius: 0.125rem; }
.theme-about-image { width: 100%; max-height: 55vh; object-fit: contain; position: static; }
.theme-about-caption { margin-top: 0.75rem; text-align: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-about-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.theme-about-lead, .theme-about-copy p { color: rgba(38,53,64,0.75); font-size: 1rem; line-height: 1.85; overflow-wrap: break-word; }
.theme-about-lead::first-letter {
	font-family: var(--font-display);
	font-size: 3.75rem;
	line-height: 0.85;
	float: left;
	margin-right: 0.75rem;
	margin-top: 0.25rem;
	color: var(--color-foreground);
}
.theme-about-cta-wrap { padding-top: 0.75rem; border-top: 1px solid var(--color-border); }
.theme-about-cta { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }

.theme-contact-modal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-contact-modal-link { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.theme-contact-modal-link svg { flex-shrink: 0; }
.theme-contact-modal-links a { word-break: break-all; }
.theme-contact-modal-links a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form-row { grid-template-columns: repeat(2, minmax(0, 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.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-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 rgba(88,126,104,0.3); }
.theme-contact-form-footer { display: flex; justify-content: flex-end; }
.theme-btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--color-primary); color: var(--color-primary-foreground); border: none;
	padding: 0.625rem 1.25rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500;
	transition: opacity 0.2s;
}
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground);
	padding: 0.5rem 1rem; border-radius: 0.375rem; font-size: 0.875rem;
}
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon {
	width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground);
	display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 1rem;
}
.theme-contact-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { color: var(--color-muted-foreground); font-size: 0.875rem; }
body.theme-modal-open,
html.theme-modal-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
   Cart drawer
   ------------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 1050; background: rgba(38,53,64,0.2); opacity: 0; visibility: hidden; transition: opacity 0.3s; }
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: var(--color-background); z-index: 1051; 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; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-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: 1; }
.theme-cart-drawer-close:hover { opacity: 0.6; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: var(--color-muted-foreground); }
.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; display: block; }
.theme-cart-item-image img,
#theme-cart-drawer .theme-cart-item-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item-meta { font-size: 11px; letter-spacing: 0.05em; color: var(--color-muted-foreground); margin: 0.25rem 0 0; overflow-wrap: break-word; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row span:last-child { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; }

/* -------------------------------------------------------------------------
   Single product page
   ------------------------------------------------------------------------- */
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }
.theme-breadcrumb-cat a { color: inherit; }

.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: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-desktop { display: none; }
.theme-product-main-image { aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; position: relative; margin-bottom: 1rem; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-thumb-btn { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-thumb-btn img { opacity: 0.6; transition: opacity 0.2s; }
.theme-thumb-btn:hover img, .theme-thumb-btn.is-active img { opacity: 1; }
.theme-thumb-btn.is-active::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--color-foreground);
}
.theme-product-stack-image {
	aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; position: relative;
}
.theme-product-stack-image img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
@media (min-width: 1024px) {
	.theme-product-gallery-mobile { display: none; }
	.theme-product-gallery-desktop {
		display: flex; flex-direction: column; gap: 1rem;
	}
}

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; } }
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-category a { color: inherit; }
.theme-product-category a:hover { color: var(--color-foreground); }
.theme-product-title {
	font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem;
}
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-stock-status--out { color: var(--color-destructive); font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-lead {
	color: var(--color-muted-foreground); line-height: 1.625; margin: 0 0 2rem;
	font-size: 1rem; font-family: var(--font-body); overflow-wrap: break-word;
}

.theme-field-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-weight: 400; }
.theme-field-optional { opacity: 0.6; text-transform: none; letter-spacing: normal; }
.theme-pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.theme-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 999px; transition: all 0.2s;
}
.theme-pill:hover { border-color: rgba(38,53,64,0.6); }
.theme-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-lining-select { margin-bottom: 1.5rem; }
.theme-note-input {
	width: 100%; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem;
}
.theme-note-input:focus { outline: none; border-color: var(--color-foreground); }
.theme-note-input::placeholder { color: var(--color-muted-foreground); }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; min-width: 44px; text-align: center; border: none; background: transparent; -moz-appearance: textfield;
	padding: 0.5rem 0;
}
.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(--color-border); }
.theme-product-accordions .theme-accordion-trigger { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-product-accordions .theme-accordion-content { padding-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-accordions .theme-accordion-content > p {
	padding-bottom: 0; margin: 0 0 0.75rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625;
}
.theme-product-accordions .theme-accordion-content > p:last-child { margin-bottom: 0; }
.theme-product-description { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625; overflow-wrap: break-word; }
.theme-product-description-body {
	margin: 0 0 1rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625;
	white-space: pre-line;
}
.theme-product-details-list {
	list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem;
}
.theme-product-details-list li {
	position: relative; padding-left: 1rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625;
}
.theme-product-details-list li::before {
	content: '';
	position: absolute; left: 0; top: 0.55em;
	width: 0.25rem; height: 0.25rem; border-radius: 999px; background: var(--color-foreground);
}

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-heading-line1 { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-heading-line2 { font-family: var(--font-body); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-heading-line2 { font-size: 2.25rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* -------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------- */
.theme-404-inner {
	padding-top: 6rem;
	padding-bottom: 6rem;
	text-align: center;
}
.theme-404-heading { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1rem; }
.theme-404-text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* -------------------------------------------------------------------------
   Generic page content
   ------------------------------------------------------------------------- */
.theme-page-content {
	padding-top: 3rem;
	padding-bottom: 5rem;
}
.page-title { font-family: var(--font-display); font-weight: 300; font-size: 2rem; margin-bottom: 1.5rem; }

/* =========================================================================
   WooCommerce overrides
   ========================================================================= */

/* Add to cart button (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-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: 3.25rem !important;
	padding: 1rem 1.5rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	flex: 1 1 auto;
	min-width: 160px;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !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-foreground) !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; }

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.single-product .variations select { width: 100%; max-width: 320px; padding: 0.625rem; border: 1px solid var(--color-border); background: var(--color-background); }
.theme-attr-select-hidden { display: none !important; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-top-color: var(--color-primary) !important;
	background: var(--color-secondary); border-radius: 0.375rem; padding: 1rem 1.5rem;
}
.woocommerce-error { border-top-color: var(--color-destructive) !important; }

/* Shop empty state */
.woocommerce-info.woocommerce-no-products-found { text-align: center; }

/* Product gallery cover exclusion is handled via .theme-main-img/.cover-img classes above */

/* -------------------------------------------------------------------------
   Checkout Block (Section 13)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
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);
		align-items: start;
	}
}
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__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
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);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(88,126,104,0.3);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.375rem; }

/* -------------------------------------------------------------------------
   Thank you page (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-family: var(--font-display); font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border: none; padding: 0; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1rem; border-radius: 0.375rem; }

/* -------------------------------------------------------------------------
   Shop archive
   ------------------------------------------------------------------------- */
.theme-shop-archive-inner {
	padding-top: 3rem;
	padding-bottom: 5rem;
}
.theme-shop-archive-title { font-family: var(--font-display); font-weight: 300; font-size: 2.25rem; margin-bottom: 2rem; }
