/*
 * Intangible Images — theme stylesheet.
 * Color tokens are injected as CSS custom properties on :root via
 * wp_add_inline_style() (Section 22.9). Do not hardcode hex values here
 * for any color that has a Customizer control.
 */

/* ------------------------------------------------------------------ */
/* DERIVED VARIABLES (Section 6 — computed, not exposed as controls)  */
/* ------------------------------------------------------------------ */
:root {
	--font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Inter', 'Helvetica Neue', system-ui, sans-serif;

	--color-button-text: var(--color-primary-foreground);
	--color-border-soft: color-mix(in srgb, var(--color-border) 60%, transparent);
	--color-overlay-dark: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	--color-overlay-soft: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	--color-secondary-soft: color-mix(in srgb, var(--color-secondary) 40%, transparent);

	--shadow-soft: 0 6px 24px -12px color-mix(in srgb, var(--color-foreground) 18%, transparent);
	--shadow-elevated: 0 20px 60px -20px color-mix(in srgb, var(--color-foreground) 35%, transparent);

	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
	--radius: 0.25rem;

	--btn-radius: 0px;
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--header-height: 64px;
	--page-top-offset: calc(var(--header-height) + 3rem);
	--checkout-gap: 2rem;
}

/* ------------------------------------------------------------------ */
/* RESET / BASE                                                       */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { background-color: var(--color-background); scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--color-foreground);
	background-color: var(--color-background);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.1;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
button:disabled { cursor: not-allowed; }
a[href], .theme-product-card, .theme-gallery-item, .theme-filter-pill, .theme-faq-item summary,
.theme-size-btn, .theme-product-thumb, .site-header__brand, .theme-nav-list a,
.theme-mobile-nav-list a, .theme-mobile-nav__brand, label[for], [role="button"],
input[type="submit"], input[type="button"], input[type="reset"], input[type="checkbox"], input[type="radio"] {
	cursor: pointer;
}
input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea { cursor: text; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
.italic { font-style: italic; }

/* Global cover-image rule — see completeness list in Section 15.1 */
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.theme-product-main-image):not(.theme-gallery-item__img):not(.theme-lightbox-img):not(.theme-cart-item__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card-img, .theme-product-main-image, .theme-gallery-item__img, .theme-lightbox-img, .theme-cart-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* CONTAINERS                                                         */
/* ------------------------------------------------------------------ */
.container-wide, .container-editorial {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide, .container-editorial { padding: 0 2.5rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* WordPress admin bar — keep fixed chrome below the toolbar. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .theme-scroll-progress { top: 32px; }
body.admin-bar .theme-mobile-nav { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .theme-scroll-progress { top: 46px; }
	body.admin-bar .theme-mobile-nav { top: 46px; height: calc(100% - 46px); }
}

/* ------------------------------------------------------------------ */
/* TYPOGRAPHY HELPERS                                                  */
/* ------------------------------------------------------------------ */
.label-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-muted-foreground);
}

.theme-section-description {
	margin-top: 1rem;
	max-width: 36rem;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
}

.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); }

/* ------------------------------------------------------------------ */
/* BUTTONS                                                             */
/* ------------------------------------------------------------------ */
.btn-technical, .btn-technical-inverse, .theme-btn-primary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 2rem;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	transition: all 0.3s var(--transition-smooth);
	border: 1px solid transparent;
	white-space: nowrap;
}

.btn-technical, .theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.btn-technical:hover, .theme-btn-primary:hover {
	background-color: transparent;
	color: var(--color-primary);
}

.btn-cta {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
}
.btn-cta:hover {
	background-color: transparent;
	color: var(--color-primary);
}

.btn-technical-inverse {
	background-color: transparent;
	color: var(--color-background);
	border-color: color-mix(in srgb, var(--color-background) 70%, transparent);
}
.btn-technical-inverse:hover {
	background-color: var(--color-background);
	color: var(--color-foreground);
}

.theme-btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: var(--color-border);
}
.theme-btn-outline:hover {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}

.theme-hero__cta-primary:hover, .theme-hero__cta-secondary:hover { color: var(--color-background); border-color: var(--color-background); }

/* ------------------------------------------------------------------ */
/* ANIMATION UTILITY LAYER (Section 2.1)                              */
/* ------------------------------------------------------------------ */
@keyframes themeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes themeSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes themeMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes themeRevealUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes themeScaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes themeSpin { to { transform: rotate(360deg); } }

.animate-fade-in { animation: themeFadeIn 0.8s var(--transition-smooth) forwards; }
.animate-slide-up { animation: themeSlideUp 0.8s var(--transition-smooth) forwards; }

/* Hero entrance — staggered per-element timings match the source exactly */
.theme-anim { opacity: 0; }
.theme-anim--fade { animation: themeFadeIn 1s var(--transition-smooth) forwards; }
.theme-anim--up { animation: themeRevealUp 1.2s var(--transition-smooth) forwards; }
.theme-hero__eyebrow.theme-anim { animation-delay: 0.2s; }
.theme-hero__title.theme-anim { animation-delay: 0.4s; }
.theme-hero__subtitle.theme-anim { animation-delay: 0.6s; }
.theme-hero__ctas.theme-anim { animation-delay: 0.9s; }

/* Generic scroll reveal (Section 2.1.5 — global selector covers ALL contexts) */
.reveal-item, .theme-product-card-wrap.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible, .theme-product-card-wrap.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.scale-in-item { transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth); }

/* Customizer preview + no-JS fallback — reveal items must never stay hidden */
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item,
body.no-js .reveal-item,
body.no-js .scale-in-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .scale-in-item, .theme-anim, .theme-marquee__track {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
}

/* ------------------------------------------------------------------ */
/* SCROLL PROGRESS BAR                                                 */
/* ------------------------------------------------------------------ */
.theme-scroll-progress {
	position: fixed;
	top: 0; left: 0;
	height: 2px;
	width: 0%;
	background: var(--color-primary);
	z-index: 70;
	pointer-events: none;
	transition: width 0.1s linear;
}

/* ------------------------------------------------------------------ */
/* HEADER                                                              */
/* ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
}
.site-header__bar {
	width: 100%;
	background-color: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}
.site-header.is-scrolled .site-header__bar {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border-soft);
}
.site-header__nav-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0;
}
@media (min-width: 768px) { .site-header__nav-row { padding: 0.75rem 0; } }

.site-header__hamburger {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 5px;
	padding: 0.5rem;
}
.site-header__hamburger span {
	display: block;
	height: 2px;
	width: 24px;
	background: var(--color-foreground);
	transition: all 0.3s ease;
}
.site-header__hamburger span:nth-child(3) { width: 16px; }
.site-header__hamburger[aria-expanded="true"] span:nth-child(1) { width: 28px; transform: translateY(7px) rotate(45deg); }
.site-header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__hamburger[aria-expanded="true"] span:nth-child(3) { width: 28px; transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
	.site-header__hamburger { display: none; }
}

.site-header__brand {
	display: flex;
	align-items: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
@media (min-width: 1024px) {
	.site-header__brand { position: static; transform: none; }
}
.site-logo-img { height: var(--logo-height, 40px) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }

.site-header__right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.site-header__desktop-nav { display: none; }
@media (min-width: 1024px) {
	.site-header__right { gap: 2rem; }
	.site-header__desktop-nav { display: flex; align-items: center; }
}

.theme-nav-list {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}
@media (min-width: 1024px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-list .nav-link, .theme-nav-list a {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.3s ease;
}
.theme-nav-list a:hover { color: var(--color-primary); }

.site-header__cart-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s ease; }
.site-header__cart-btn:hover { opacity: 0.7; }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 18px; height: 18px;
	padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 500;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

/* ------------------------------------------------------------------ */
/* MOBILE NAV DRAWER                                                   */
/* ------------------------------------------------------------------ */
.theme-mobile-nav {
	position: fixed;
	top: 0; left: 0;
	height: 100%;
	width: 86vw;
	max-width: 380px;
	background: var(--color-background);
	border-right: 1px solid var(--color-border);
	z-index: 90;
	transform: translateX(-100%);
	transition: transform 0.4s var(--transition-smooth);
	display: flex;
	flex-direction: column;
}
body.mobile-nav-open .theme-mobile-nav { transform: translateX(0); }
.theme-mobile-nav__panel { display: flex; flex-direction: column; height: 100%; }
.theme-mobile-nav__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 1.5rem;
	height: 72px;
	border-bottom: 1px solid var(--color-border-soft);
	flex-shrink: 0;
}
.theme-mobile-nav__brand { font-family: var(--font-display); font-size: 1.25rem; }
.theme-mobile-nav__close { padding: 0.25rem; }
.theme-mobile-nav__links { flex: 1; overflow-y: auto; padding: 1.5rem 1rem; }
.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.theme-mobile-nav-list li { border-bottom: 1px solid var(--color-border-soft); }
.theme-mobile-nav-list a {
	display: block;
	width: 100%;
	padding: 1rem 0.5rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--color-foreground);
}
/* Safety: if a WP menu renders desktop classes inside the drawer */
.theme-mobile-nav__links .theme-nav-list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}
.theme-mobile-nav__links .theme-nav-list a {
	display: block;
	width: 100%;
	padding: 1rem 0.5rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
}

.theme-mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: var(--color-overlay-soft);
	z-index: 85;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.mobile-nav-open .theme-mobile-nav-overlay { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------------ */
/* HERO                                                                */
/* ------------------------------------------------------------------ */
.theme-hero {
	position: relative;
	width: 100%;
	height: 100svh;
	min-height: 640px;
	overflow: hidden;
}
.theme-hero__video, .theme-hero__gradient { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__gradient {
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-foreground) 40%, transparent) 0%,
		color-mix(in srgb, var(--color-foreground) 10%, transparent) 50%,
		color-mix(in srgb, var(--color-foreground) 70%, transparent) 100%);
}
.theme-hero__content {
	position: relative;
	z-index: 10;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: 4rem;
}
@media (min-width: 768px) { .theme-hero__content { padding-bottom: 6rem; } }

.theme-hero__eyebrow {
	display: block;
	font-size: 11px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-background) 80%, transparent);
	margin-bottom: 1.5rem;
}
.theme-hero__title {
	font-family: var(--font-display);
	color: var(--color-background);
	font-size: 3rem;
	line-height: 0.95;
	letter-spacing: -0.02em;
	max-width: 64rem;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 768px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 6rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 8rem; } }

.theme-hero__subtitle {
	margin-top: 1.5rem;
	max-width: 36rem;
	font-family: var(--font-display);
	font-style: italic;
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
	font-size: 1.125rem;
	line-height: 1.4;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.5rem; } }

.theme-hero__ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ------------------------------------------------------------------ */
/* INTRO STRIP                                                        */
/* ------------------------------------------------------------------ */
.theme-intro {
	background: var(--color-foreground);
	border-bottom: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	padding: 2.5rem 0;
}
@media (min-width: 768px) { .theme-intro { padding: 3.5rem 0; } }
.theme-intro__text {
	max-width: 48rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.35;
	color: var(--color-background);
}
@media (min-width: 768px) { .theme-intro__text { font-size: 1.875rem; } }

/* ------------------------------------------------------------------ */
/* SECTION HEAD PATTERN                                                */
/* ------------------------------------------------------------------ */
.theme-section-head {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	.theme-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* per-section heading scales (Section 2.2.5) */
.theme-gallery-section__heading, .theme-shop-section__heading {
	font-size: 2.25rem; line-height: 1.02; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .theme-gallery-section__heading, .theme-shop-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-section__heading, .theme-shop-section__heading { font-size: 3.75rem; } }

.theme-about-section__heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .theme-about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about-section__heading { font-size: 3.75rem; } }

.theme-photographer-section__heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .theme-photographer-section__heading { font-size: 3.75rem; } }

.theme-faq-section__heading, .theme-contact-section__heading {
	font-size: 2.25rem; line-height: 1.02;
}
@media (min-width: 768px) { .theme-faq-section__heading, .theme-contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-faq-section__heading, .theme-contact-section__heading { font-size: 3.75rem; } }

/* ------------------------------------------------------------------ */
/* GALLERY                                                             */
/* ------------------------------------------------------------------ */
.theme-gallery-section { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-gallery-section { padding: 7rem 0; } }

.theme-filter-pills { display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid var(--color-border); }
.theme-filter-pill {
	padding: 0.625rem 1rem;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-foreground);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.theme-filter-pill:hover { background: var(--color-secondary); }
.theme-filter-pill.is-active { background: var(--color-foreground); color: var(--color-background); }

.theme-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}
@media (min-width: 768px) { .theme-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1024px) { .theme-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-gallery-item {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--color-muted);
	text-align: left;
	display: block;
	width: 100%;
}
.theme-gallery-item__img { transition: transform 1.2s ease-out; }
.theme-gallery-item:hover .theme-gallery-item__img { transform: scale(1.04); }
.theme-gallery-item__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 70%, transparent), transparent 60%);
	opacity: 0.9;
	transition: opacity 0.3s ease;
}
.theme-gallery-item:hover .theme-gallery-item__gradient { opacity: 1; }
.theme-gallery-item__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 1rem; }
.theme-gallery-item__title { display: block; font-family: var(--font-display); color: var(--color-background); font-size: 1.125rem; line-height: 1.2; }
.theme-gallery-item__location { display: block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 75%, transparent); margin-top: 0.25rem; }

.theme-gallery-item[hidden] { display: none; }

/* Lightbox */
.theme-lightbox {
	position: fixed; inset: 0; z-index: 80;
	background: color-mix(in srgb, var(--color-foreground) 95%, transparent);
	display: flex; align-items: center; justify-content: center;
	padding: 1rem;
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease;
}
.theme-lightbox.is-open { opacity: 1; visibility: visible; }
@media (min-width: 768px) { .theme-lightbox { padding: 2.5rem; } }
.theme-lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--color-background); padding: 0.5rem; }
.theme-lightbox__close:hover { opacity: 0.7; }
.theme-lightbox__content { max-width: 72rem; width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
#theme-lightbox-img { max-height: 80vh; width: auto; object-fit: contain; position: static; }
.theme-lightbox__meta { text-align: center; }
.theme-lightbox__title { font-family: var(--font-display); color: var(--color-background); font-size: 1.5rem; }
.theme-lightbox__location { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 70%, transparent); margin-top: 0.5rem; }

/* ------------------------------------------------------------------ */
/* SHOP SECTION                                                        */
/* ------------------------------------------------------------------ */
.theme-shop-section { padding: 5rem 0; border-top: 1px solid var(--color-border); background: var(--color-secondary-soft); }
@media (min-width: 1024px) { .theme-shop-section { padding: 7rem 0; } }

.theme-shop-filters { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-shop-filters { flex-direction: row; } }
.theme-select-wrap { position: relative; }
.theme-select {
	appearance: none;
	width: 100%;
	min-height: 42px;
	padding: 0 2.25rem 0 1rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
}
@media (min-width: 640px) { .theme-select { width: 11rem; } }
#theme-shop-location-filter { }
@media (min-width: 640px) { #theme-shop-location-filter { width: 14rem; } }
.theme-select:focus { outline: none; border-color: var(--color-primary); }
.theme-select-chevron { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); pointer-events: none; }

.theme-shop-empty {
	padding: 5rem 0;
	text-align: center;
	border: 1px dashed var(--color-border);
	background: var(--color-background);
}
.theme-shop-empty__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-shop-empty__subtitle { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ------------------------------------------------------------------ */
/* PRODUCT GRID + CARD (Section 31.9, 31.13)                          */
/* ------------------------------------------------------------------ */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid--shop, .theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; row-gap: 3rem; } }
.theme-product-grid--archive { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap[hidden] { display: none; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	overflow: hidden;
	background: var(--color-muted);
	aspect-ratio: 4 / 5;
}
.theme-product-card-wrap--related .theme-product-card__image-wrapper { aspect-ratio: 1 / 1; }
.theme-product-card__image-wrapper img { transition: transform 0.7s ease; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding-top: 1rem; min-width: 0; }
.theme-product-card__location {
	font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground);
	height: 1rem;
	line-height: 1rem;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.theme-product-card__title {
	margin-top: 0.375rem;
	min-height: 3.5rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--color-foreground);
	line-height: 1.25;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__title--related {
	font-family: var(--font-body);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 15px;
}
.theme-product-card__price { margin-top: 0.5rem; font-size: 14px; font-variant-numeric: tabular-nums; }
.theme-product-card__price--related { margin-top: 0.5rem; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

.theme-stock-badge--oos {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-destructive);
}

/* ------------------------------------------------------------------ */
/* ABOUT                                                              */
/* ------------------------------------------------------------------ */
.theme-about-section { padding: 6rem 0; }
@media (min-width: 1024px) { .theme-about-section { padding: 8rem 0; } }
.theme-about-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .theme-about-section__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3rem; } }
.theme-about-section__copy { grid-column: span 3 / span 3; }
@media (max-width: 767px) { .theme-about-section__copy { grid-column: auto; } }
.theme-about-section__heading { margin-top: 1.5rem; margin-bottom: 2rem; }
.theme-about-section__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px; line-height: 1.7; }
.theme-about-section__image { grid-column: span 2 / span 2; position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
@media (max-width: 767px) { .theme-about-section__image { grid-column: auto; } }

/* ------------------------------------------------------------------ */
/* PHOTOGRAPHER                                                       */
/* ------------------------------------------------------------------ */
.theme-photographer-section { position: relative; overflow: hidden; padding: 6rem 0; color: var(--color-background); }
@media (min-width: 1024px) { .theme-photographer-section { padding: 8rem 0; } }
.theme-photographer-section__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
.theme-photographer-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-photographer-section__content { position: relative; z-index: 10; text-align: center; }
.theme-photographer-section__eyebrow { color: color-mix(in srgb, var(--color-background) 60%, transparent); }
.theme-photographer-section__heading { margin-top: 1.5rem; margin-bottom: 2rem; }
.theme-photographer-section__bio { max-width: 42rem; margin: 0 auto; color: color-mix(in srgb, var(--color-background) 80%, transparent); font-size: 15px; line-height: 1.7; }
.theme-photographer-section__ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.theme-faq-section { padding: 6rem 0; }
@media (min-width: 1024px) { .theme-faq-section { padding: 8rem 0; } }
.theme-faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .theme-faq-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.theme-faq-section__intro { grid-column: span 4 / span 4; }
@media (min-width: 1024px) { .theme-faq-section__intro { position: sticky; top: 7rem; } }
@media (max-width: 1023px) { .theme-faq-section__intro { grid-column: auto; } }
.theme-faq-section__heading { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.theme-faq-section__cta {
	margin-top: 1.5rem;
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--color-primary);
}
.theme-faq-section__cta:hover { color: var(--color-foreground); }
.theme-faq-section__list-wrap { grid-column: span 8 / span 8; }
@media (max-width: 1023px) { .theme-faq-section__list-wrap { grid-column: auto; } }

.theme-faq-list { border-top: 1px solid var(--color-border); }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item__question {
	width: 100%;
	padding: 1.5rem 0;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--color-foreground);
	transition: color 0.2s ease;
}
@media (min-width: 768px) { .theme-faq-item__question { font-size: 1.5rem; } }
.theme-faq-item__question:hover { color: var(--color-primary); }
.theme-faq-item__icon { margin-top: 0.5rem; flex-shrink: 0; color: var(--color-muted-foreground); position: relative; width: 16px; height: 16px; }
.theme-faq-icon-plus, .theme-faq-icon-minus { position: absolute; top: 0; left: 0; transition: opacity 0.15s ease; }
.theme-faq-icon-minus { opacity: 0; }
.theme-faq-item.is-open .theme-faq-icon-plus { opacity: 0; }
.theme-faq-item.is-open .theme-faq-icon-minus { opacity: 1; }

.theme-faq-item__answer {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth);
}
.theme-faq-item.is-open .theme-faq-item__answer { max-height: 40em; opacity: 1; }
.theme-faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 15px; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* CONTACT                                                             */
/* ------------------------------------------------------------------ */
.theme-contact-section { padding: 6rem 0; border-top: 1px solid var(--color-border); background: var(--color-secondary-soft); }
@media (min-width: 1024px) { .theme-contact-section { padding: 8rem 0; } }
.theme-contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .theme-contact-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; } }
.theme-contact-section__intro { grid-column: span 5 / span 5; }
@media (min-width: 1024px) { .theme-contact-section__intro { position: sticky; top: 7rem; } }
@media (max-width: 1023px) { .theme-contact-section__intro { grid-column: auto; } }
.theme-contact-section__heading { margin-top: 1.5rem; margin-bottom: 1.5rem; }

.theme-contact-channels { margin-top: 2.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.theme-contact-channels li + li { border-top: 1px solid var(--color-border); }
.theme-contact-channel { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 0; }
.theme-contact-channel__icon { color: var(--color-primary); flex-shrink: 0; }
.theme-contact-channel__body { flex: 1; min-width: 0; }
.theme-contact-channel__value { display: block; margin-top: 0.25rem; font-size: 14px; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.theme-contact-channel:hover .theme-contact-channel__value { color: var(--color-primary); }
.theme-contact-channel__arrow { color: var(--color-muted-foreground); transition: transform 0.2s ease, color 0.2s ease; }
.theme-contact-channel:hover .theme-contact-channel__arrow { color: var(--color-primary); transform: translateX(2px); }

.theme-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 639px) { .theme-contact-form__row { grid-template-columns: 1fr; } }
.theme-contact-section__grid > .theme-contact-form { grid-column: span 7 / span 7; }
@media (max-width: 1023px) { .theme-contact-section__grid > .theme-contact-form { grid-column: auto; } }
.theme-contact-form {
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
@media (min-width: 768px) { .theme-contact-form { padding: 2.5rem; } }
.theme-contact-form label { margin-bottom: 0.75rem; display: block; }
.theme-contact-form input, .theme-contact-form select, .theme-contact-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	padding: 0.5rem 0;
	font-size: 14px;
	color: var(--color-foreground);
	transition: border-color 0.2s ease;
	resize: none;
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent); }
.theme-contact-form input:focus, .theme-contact-form select:focus, .theme-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form select { appearance: none; cursor: pointer; }
.theme-contact-form__footer { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .theme-contact-form__footer { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-contact-form__note { font-size: 12px; color: var(--color-muted-foreground); }

/* ------------------------------------------------------------------ */
/* MARQUEE                                                             */
/* ------------------------------------------------------------------ */
.theme-marquee { border-top: 1px solid var(--color-border); padding: 1.5rem 0; overflow: hidden; background: var(--color-background); }
@media (min-width: 768px) { .theme-marquee { padding: 2rem 0; } }
.theme-marquee__track { display: flex; width: max-content; animation: themeMarquee 36s linear infinite; }
.theme-marquee__track:hover { animation-play-state: paused; }
.theme-marquee__group { display: flex; align-items: center; gap: 2rem; padding: 0 1rem; flex-shrink: 0; }
@media (min-width: 768px) { .theme-marquee__group { gap: 3rem; padding: 0 1.5rem; } }
.theme-marquee__phrase { font-family: var(--font-display); font-size: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); white-space: nowrap; }
@media (min-width: 768px) { .theme-marquee__phrase { font-size: 1.875rem; } }
.theme-marquee__phrase--italic { font-style: italic; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-marquee__dot { color: var(--color-primary); }

/* ------------------------------------------------------------------ */
/* FOOTER                                                              */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--color-footer); color: var(--color-background); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
@media (max-width: 1023px) {
	.site-footer .site-footer__inner.container-wide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__brand-col { grid-column: span 5 / span 5; }
@media (max-width: 1023px) { .site-footer__brand-col { grid-column: auto; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__brand-name {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1;
}
.site-footer__brand-name .italic { font-style: italic; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-top: 1rem; }
.site-footer__description { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-background) 70%, transparent); max-width: 24rem; line-height: 1.7; }
.site-footer__col { grid-column: span 2 / span 2; }
@media (max-width: 1023px) { .site-footer__col { grid-column: auto; } }
.site-footer__contact-col { grid-column: span 3 / span 3; }
@media (max-width: 1023px) { .site-footer__contact-col { grid-column: auto; } }
.site-footer__col-title { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-bottom: 1.25rem; }
.site-footer__links li + li { margin-top: 0.75rem; }
.site-footer__links a { font-size: 14px; color: color-mix(in srgb, var(--color-background) 80%, transparent); transition: color 0.2s ease; }
.site-footer__links a:hover { color: var(--color-background); }
.site-footer__contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 0.75rem; font-size: 14px; }
.site-footer__contact-list li:first-child { margin-top: 0; }
.site-footer__contact-list a { color: color-mix(in srgb, var(--color-background) 80%, transparent); transition: color 0.2s ease; }
.site-footer__contact-list a:hover { color: var(--color-background); }
.site-footer__bottom {
	margin-top: 4rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__copyright, .site-footer__credit { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 55%, transparent); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__credit a:hover { color: var(--color-background); }

/* ------------------------------------------------------------------ */
/* CART DRAWER + OVERLAY                                               */
/* ------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	z-index: 95;
	opacity: 0; visibility: hidden;
	transition: opacity 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: 32rem;
	background: var(--color-background);
	z-index: 96;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.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: 2rem; text-align: center; gap: 1.25rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { position: relative; width: 6rem; height: 8rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img,
.theme-cart-item__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.theme-cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); transition: opacity 0.2s ease; display: block; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.375rem; font-style: italic; }
.theme-cart-item__price { font-size: 14px; margin-top: 0.375rem; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { padding: 0.375rem 0.625rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { padding: 0 0.75rem; font-size: 14px; min-width: 28px; text-align: center; display: inline-block; }
.theme-cart-item__remove { font-size: 12px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-heading { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-row { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; margin: 0 -0.25rem; padding-left: 0.25rem; padding-right: 0.25rem; }
.theme-cart-drawer__pair-item { flex-shrink: 0; width: 8rem; text-align: left; }
.theme-cart-drawer__pair-image { display: block; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 0.5rem; }
.theme-cart-drawer__pair-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-image img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-drawer__pair-price { display: block; font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.125rem; }

.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* ------------------------------------------------------------------ */
/* CONTACT MODAL                                                       */
/* ------------------------------------------------------------------ */
.theme-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; visibility: hidden; opacity: 0; transition: opacity 0.25s ease; }
.theme-modal.is-open { visibility: visible; opacity: 1; }
.theme-modal__overlay { position: absolute; inset: 0; background: color-mix(in srgb, #000000 80%, transparent); }
.theme-modal__panel {
	position: relative;
	width: 100%;
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 1.5rem;
	border-radius: var(--radius);
	transform: scale(0.95) translateY(8px);
	transition: transform 0.25s var(--transition-smooth);
}
@media (min-width: 640px) { .theme-modal__panel { padding: 1.75rem 2rem; } }
.theme-modal.is-open .theme-modal__panel { transform: scale(1) translateY(0); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; margin-top: 0.5rem; }
.theme-modal__description { font-size: 15px; line-height: 1.6; color: var(--color-muted-foreground); margin-top: 0.5rem; }
.theme-modal__channels { display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.75rem; }
.theme-modal__channels div { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__channels a:hover { color: var(--color-foreground); }
.theme-modal__form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 479px) { .theme-modal__form-row { grid-template-columns: 1fr; } }
.theme-modal__form label { display: block; margin-bottom: 0.375rem; }
.theme-modal__form input, .theme-modal__form textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	font-size: 14px;
	resize: none;
}
.theme-modal__form input:focus, .theme-modal__form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 14px; color: var(--color-muted-foreground); }

/* ------------------------------------------------------------------ */
/* SINGLE PRODUCT PAGE                                                 */
/* ------------------------------------------------------------------ */
.single-product-main { padding-top: 5rem; background: var(--color-background); }
@media (min-width: 1024px) { .single-product-main { padding-top: 6rem; } }

.theme-breadcrumb { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb span { margin: 0 0.5rem; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; align-items: start; gap: 2rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 360px; gap: 2.5rem; } }
@media (min-width: 1280px) { .theme-product-layout { grid-template-columns: 1fr 400px; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 8rem; } }

.theme-product-info { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 0; } }

.theme-product-gallery__row { display: flex; }
.theme-product-thumbnails { display: none; flex-direction: column; gap: 0.75rem; flex-wrap: wrap; max-width: 100%; background: color-mix(in srgb, var(--color-background) 40%, transparent); padding: 1rem; }
@media (min-width: 768px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { display: flex; } }
@media (min-width: 1024px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { padding: 1.5rem; } }
.theme-product-thumbnails--mobile { display: flex; flex-direction: row; gap: 0.5rem; padding: 1rem; overflow-x: auto; background: transparent; }
@media (min-width: 768px) { .theme-product-thumbnails--mobile { display: none; } }
.theme-product-thumb { width: 3.5rem; height: 3.5rem; overflow: hidden; border: 1px solid transparent; opacity: 0.6; transition: all 0.2s ease; flex-shrink: 0; }
@media (min-width: 1024px) { .theme-product-thumb { width: 4rem; height: 4rem; } }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-main-image-wrap { flex: 1; min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 1rem; position: relative; }
@media (min-width: 768px) { .theme-product-main-image-wrap { min-height: 78vh; padding: 1.5rem; } }
@media (min-width: 1024px) { .theme-product-main-image-wrap { min-height: 88vh; } }
.theme-product-main-image { width: 100%; height: 100%; max-height: 88vh; object-fit: contain; position: static; }

.theme-product-title { font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 3.75rem; } }
.theme-product-meta { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-cats a { text-decoration: underline; text-underline-offset: 3px; }
.theme-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.theme-product-payments { font-size: 14px; color: var(--color-muted-foreground); }
.theme-product-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.theme-product-price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-shipping-note { margin-top: 0.5rem; font-size: 13px; color: var(--color-muted-foreground); }

.theme-product-description { font-family: var(--font-display); font-size: 19px; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); overflow-wrap: break-word; word-break: break-word; white-space: pre-line; }
.theme-product-description p + p { margin-top: 1em; }

.theme-product-size { margin-top: 1.75rem; }
.theme-product-size__heading, .theme-product-details__heading { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400; font-style: normal; }
.theme-product-size__heading { color: var(--color-muted-foreground); }
.theme-product-details__heading { color: var(--color-foreground); font-weight: 600; }
.theme-product-size__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-btn { min-width: 56px; padding: 0.625rem 1rem; font-size: 12px; letter-spacing: 0.05em; border: 1px solid var(--color-border); transition: all 0.2s ease; }
.theme-size-btn:hover { border-color: var(--color-foreground); }
.theme-size-btn.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-primary); }

.theme-add-to-cart-area { margin-top: 2rem; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.single-product .theme-single-add-to-cart { width: 100%; min-height: 3.5rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; }
.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; }

.theme-product-features { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.theme-product-feature { display: flex; flex-direction: column; align-items: center; }
.theme-product-feature__icon { margin-bottom: 0.75rem; color: var(--color-primary); }
.theme-product-feature__title { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--color-foreground); }
.theme-product-feature__sub { font-size: 11px; line-height: 1.3; color: var(--color-muted-foreground); margin-top: 0.25rem; }

.theme-product-details { margin-top: 3rem; }
.theme-product-details ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; padding-left: 1.25rem; list-style: disc; }
.theme-product-details li { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 14px; line-height: 1.6; }
.theme-product-details li::marker { color: var(--color-primary); }

.theme-related-products { padding: 6rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.theme-related-products__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.theme-related-products__heading { font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }

/* ------------------------------------------------------------------ */
/* SINGLE PRODUCT RESPONSIVE LAYOUT (Section 11.13 — literal rules)   */
/* ------------------------------------------------------------------ */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-description,
.single-product .theme-product-meta {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* ------------------------------------------------------------------ */
/* VARIATIONS TABLE LAYOUT (Section 11.5.1 — future-proofing for       */
/* variable products an admin may add later)                          */
/* ------------------------------------------------------------------ */
.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; }
.single-product .variations tbody td.value { padding-top: 0; }

/* ------------------------------------------------------------------ */
/* WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (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;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button (not used — no add-to-cart button in cards per source) */
.theme-cart-drawer__pair-item.add_to_cart_button.ajax_add_to_cart {
	background: none !important;
	color: inherit !important;
	padding: 0 !important;
	min-height: unset !important;
	border-radius: 0 !important;
	display: block !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-family: var(--font-body) !important;
	font-weight: 400 !important;
}

/* Hide "View cart" injected by WooCommerce 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;
}

/* ------------------------------------------------------------------ */
/* WOOCOMMERCE NOTICES (Section 14.1 — scoped)                        */
/* ------------------------------------------------------------------ */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}
#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info {
	display: none;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	font-size: 14px;
	border-radius: var(--radius);
	border-top-color: var(--color-primary) !important;
	padding: 1rem 1.5rem !important;
	background: var(--color-secondary) !important;
	color: var(--color-foreground) !important;
	list-style: none;
	margin: 0 0 1.5rem !important;
}

/* ------------------------------------------------------------------ */
/* SHOP ARCHIVE (standalone /shop/ URL)                                */
/* ------------------------------------------------------------------ */
.theme-shop-archive { padding-top: 8rem; padding-bottom: 6rem; }
.theme-shop-archive__head { margin-bottom: 2.5rem; }
.theme-shop-archive .page-title { font-size: 2.5rem; }
.theme-shop-archive__empty { padding: 4rem 0; text-align: center; color: var(--color-muted-foreground); }
.woocommerce-pagination { margin-top: 3rem; text-align: center; }
.woocommerce-pagination .page-numbers { display: inline-flex; gap: 0.5rem; list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--color-border); font-size: 13px; }
.woocommerce-pagination .current { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

/* ------------------------------------------------------------------ */
/* 404                                                                  */
/* ------------------------------------------------------------------ */
.theme-404 { min-height: 70vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding: 8rem 0; }
.theme-404__code { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--color-primary); }
.theme-404__title { font-size: 1.75rem; margin: 1rem 0; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ------------------------------------------------------------------ */
/* INTERIOR PAGES — clear fixed header (checkout, cart, account, etc.) */
/* ------------------------------------------------------------------ */
body.theme-no-hero .site-main {
	padding-top: var(--page-top-offset);
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main {
		padding-top: 7rem;
	}
}
body.admin-bar.theme-no-hero .site-main {
	padding-top: calc(var(--page-top-offset) + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero .site-main {
		padding-top: calc(var(--page-top-offset) + 46px);
	}
}
@media (min-width: 1024px) {
	body.admin-bar.theme-no-hero .site-main {
		padding-top: calc(7rem + 32px);
	}
}

/* ------------------------------------------------------------------ */
/* WOOCOMMERCE THANK YOU PAGE (Section 22.8)                          */
/* ------------------------------------------------------------------ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 2.5rem;
	border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 13px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1.125rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* WOOCOMMERCE CHECKOUT BLOCK (Section 13)                             */
/* ------------------------------------------------------------------ */
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
	font-size: 2.25rem;
	margin-top: 0;
	margin-bottom: 2rem;
	font-family: var(--font-display);
}

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		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-soft);
	border-radius: var(--radius);
	padding: 2rem;
}
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;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	font-family: var(--font-body);
	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-primary);
	box-shadow: 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: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
	height: 3rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

/* ------------------------------------------------------------------ */
/* WOOCOMMERCE CART / ACCOUNT PAGES — width parity (Section 13.7)     */
/* ------------------------------------------------------------------ */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

/* ------------------------------------------------------------------ */
/* CUSTOMIZER MEDIA CONTROL (rendered here so it ships with theme.css  */
/* even though the panel-only styling also exists in customizer-controls.css) */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
