/* Be Better Cafe — theme styles */

/* ------------------------------------------------------------------ Tokens */
:root {
	--color-background: #fbf8f4;
	--color-foreground: #152142;
	--color-primary: #1a2d61;
	--color-accent: #f9b81f;
	--color-marigold: #c0780c;
	--color-butter: #faf1d6;
	--color-secondary: #f1ebdf;
	--color-muted-foreground: #4f5972;
	--color-border: #e2dbd0;
	--color-surface-deep: #101b37;
	--color-card: #fefdfb;
	--color-muted: #f1ede4;
	--color-surface-deep-foreground: #f9f6f0;
	--color-primary-foreground: var(--color-background);
	--color-accent-foreground: var(--color-foreground);
	--color-button-text: var(--color-background);
	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Figtree', sans-serif;
	--radius: 1rem;
	--shadow-soft: 0 4px 16px -8px color-mix(in srgb, var(--color-foreground) 15%, transparent);
	--shadow-elevated: 0 18px 40px -18px color-mix(in srgb, var(--color-foreground) 35%, transparent);
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-motion: cubic-bezier(0.25, 0.4, 0.25, 1);
	--btn-radius: 9999px;
	--btn-height: 0;
	--btn-padding: 1rem 1.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--header-height: 5rem;
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: var(--color-border);
}
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html, body {
	max-width: 100%;
}
body {
	margin: 0;
	overflow-x: clip;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-display);
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: -0.01em;
}
p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	color: inherit;
	margin: 0;
}
button { background: transparent; border: 0; padding: 0; cursor: pointer; }
a[href],
button:not(:disabled),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[type="reset"]:not(:disabled),
label[for],
select:not(:disabled),
summary,
[role="button"]:not([aria-disabled="true"]),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled),
input[type="file"]:not(:disabled),
input[type="range"]:not(:disabled),
.tile,
.pill,
.theme-attr-pill,
.theme-card-link,
.header-icon-btn,
.header-brand,
.link-underline,
.price-toggle,
.accordion-trigger,
.theme-qty-minus,
.theme-qty-plus,
.drawer-qty-btn,
.drawer-remove,
.drawer-close,
.gallery-thumb,
.announcement-close,
.dialog-close,
.footer-contact-link,
.footer-emblem,
.show-more-btn {
	cursor: pointer;
}
button:disabled,
[type="button"]:disabled,
[type="submit"]:disabled,
[disabled],
[aria-disabled="true"] {
	cursor: not-allowed;
}
img:not(.hero-bg-img):not(.tile-img):not(.owners-img):not(.service-img):not(.contact-bg-img):not(.product-card-img):not(.gallery-main-img):not(.gallery-thumb-img):not(.gallery-desktop-img):not(.drawer-thumb-img):not(.site-logo-img),
svg,
video:not(.hero-bg-img):not(.tile-img):not(.owners-img):not(.service-img):not(.contact-bg-img) {
	max-width: 100%;
	height: auto;
}
img, svg { display: block; }
[hidden] { display: none !important; }
.theme-icon { flex-shrink: 0; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* Cover / full-bleed images */
.hero-bg-img, .tile-img, .owners-img, .service-img, .contact-bg-img, .product-card-img,
.gallery-main-img, .gallery-thumb-img, .gallery-desktop-img, .drawer-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
video.hero-bg-img, video.tile-img, video.owners-img, video.service-img, video.contact-bg-img {
	object-fit: cover;
}
.hero-bg-img, .owners-img { object-position: center; }
.site-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: calc(var(--radius) - 2px); }

/* ------------------------------------------------------------ Utilities */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}
.glass-stripe {
	background: linear-gradient(90deg, hsl(8 80% 58%) 0 16%, hsl(36 92% 55%) 16% 33%, hsl(52 90% 58%) 33% 50%, hsl(140 40% 45%) 50% 66%, hsl(200 60% 50%) 66% 83%, hsl(224 58% 30%) 83% 100%);
}
.stripe-h { height: 0.375rem; width: 100%; }
.font-script { font-family: 'Caveat', cursive; }
.link-underline, .theme-nav-list a { position: relative; display: inline-block; }
.link-underline::after, .theme-nav-list a::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); }

.eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-marigold);
	font-family: var(--font-body);
	margin-bottom: 1.25rem;
}
.eyebrow-sm { margin-bottom: 0.75rem; }
.eyebrow-md { margin-bottom: 1rem; }
.section-heading { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; }

/* ------------------------------------------------------------- Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUpAnim { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes badgeIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes heroUp12 { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroUp22 { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroUp14 { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialogIn { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes dialogOut { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes successPop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes iconPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes spinFade { to { opacity: 1; } }

.rv {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--ease-motion), transform 0.7s var(--ease-motion);
}
.rv-section.is-inview .rv { opacity: 1; transform: none; }
html:not(.js) .rv,
body.is-customizer .rv { opacity: 1; transform: none; }
.card-anim { animation: fadeUpAnim 0.7s var(--ease-motion) both; }

/* ----------------------------------------------------------- Announcement */
.announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.announcement-inner { padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center; }
.announcement-text { font-size: 0.8125rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); }
.announcement-close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; transition: opacity 0.15s; color: inherit; display: flex;
}
.announcement-close:hover { opacity: 1; }

/* ------------------------------------------------------------------ Header */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0; right: 0; z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media screen and (max-width: 782px) {
	html.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 46px); }
}
@media screen and (max-width: 600px) {
	html.admin-bar .site-header { top: 0; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-bottom-color: var(--color-border);
}
.header-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.header-brand { display: flex; align-items: center; gap: 0.75rem; }
.header-emblem { position: relative; width: 3rem; height: 3rem; flex-shrink: 0; display: block; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; display: block; }
.header-brand-text { display: none; flex-direction: column; line-height: 1; }
.header-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.025em; }
.header-brand-sub {
	font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 0.75rem;
	letter-spacing: 0.3em; color: var(--color-marigold); margin-top: 0.25rem;
}
.header-links { display: none; flex: 1 1 0%; align-items: center; justify-content: center; flex-wrap: nowrap; }
.theme-nav-list { display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap; }
.theme-nav-list a {
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	white-space: nowrap; cursor: pointer; transition: color 0.3s;
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-icon-btn { position: relative; padding: 0.5rem; display: inline-flex; transition: all 0.15s; color: inherit; }
.header-icon-btn:hover { opacity: 0.6; }
.header-search-btn { display: none; }
.menu-icon-open { display: inline-flex; }
.menu-icon-close { display: none; }
.header-menu-btn[aria-expanded="true"] .menu-icon-open { display: none; }
.header-menu-btn[aria-expanded="true"] .menu-icon-close { display: inline-flex; }
.theme-cart-count {
	position: absolute; top: -0.125rem; right: -0.125rem; width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.75rem; font-weight: 500; line-height: 1;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }
.mobile-menu { border-top: 1px solid var(--color-border); padding: 1rem 0; animation: fadeIn 0.6s var(--ease-smooth) forwards; }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 1rem; }
.theme-mobile-nav-list a {
	display: block; text-align: left; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.18em;
	text-transform: uppercase; padding: 0.5rem 0; transition: color 0.15s;
}
.theme-mobile-nav-list a:hover { color: var(--color-muted-foreground); }
@media (min-width: 640px) {
	.header-emblem { width: 3.5rem; height: 3.5rem; }
	.header-brand-text { display: flex; }
}
@media (min-width: 768px) {
	.header-search-btn { display: inline-flex; }
	.header-actions { gap: 0.75rem; }
}
@media (min-width: 1024px) {
	.header-emblem { width: 4rem; height: 4rem; }
	.header-brand-name { font-size: 1.25rem; }
	.header-links { display: flex; }
	.theme-nav-list { gap: 1rem; }
	.header-menu-btn, .mobile-menu { display: none !important; }
}
@media (min-width: 1280px) {
	.theme-nav-list { gap: 2rem; }
	.theme-nav-list a { letter-spacing: 0.16em; }
}

/* -------------------------------------------------------------------- Hero */
.hero-section { background: var(--color-background); }
.hero-anim-wrap { position: relative; animation: heroFade 1.1s var(--ease-motion) both; }
.hero-box { position: relative; width: 100%; min-height: 100svh; overflow: hidden; }
.hero-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to right,
		color-mix(in srgb, var(--color-foreground) 85%, transparent),
		color-mix(in srgb, var(--color-foreground) 55%, transparent),
		color-mix(in srgb, var(--color-foreground) 10%, transparent));
}
.hero-content { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 6rem; }
.hero-copy { max-width: 36rem; }
.hero-eyebrow {
	display: block; font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase;
	color: var(--color-accent); font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem;
}
.hero-title {
	font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 0.98;
	letter-spacing: -0.02em; color: var(--color-background); margin-bottom: 1.5rem;
}
.hero-title-1, .hero-title-2 { display: block; }
.hero-title-2 { font-style: italic; color: var(--color-accent); }
.hero-text {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem; line-height: 1.625; font-family: var(--font-body); margin-bottom: 2.5rem; max-width: 42rem;
	white-space: pre-line;
}
.btn-hero-primary {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-accent); color: var(--color-accent-foreground);
	border-radius: 9999px; padding: 1rem 2.5rem; font-size: 0.75rem; letter-spacing: 0.28em;
	text-transform: uppercase; font-family: var(--font-body); font-weight: 700; transition: background-color 0.15s;
}
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, transparent); }
.hero-anim { animation-fill-mode: both; animation-timing-function: ease-in-out; }
.hero-anim-1 { animation-name: heroUp12; animation-duration: 0.7s; animation-delay: 0.25s; }
.hero-anim-2 { animation-name: heroUp22; animation-duration: 0.9s; animation-delay: 0.35s; animation-timing-function: var(--ease-motion); }
.hero-anim-3 { animation-name: heroUp14; animation-duration: 0.7s; animation-delay: 0.55s; }
.hero-anim-4 { animation-name: heroUp14; animation-duration: 0.65s; animation-delay: 0.75s; }
@media (min-width: 640px) {
	.hero-title { font-size: 3.75rem; }
	.hero-title-1 { white-space: nowrap; }
}
@media (min-width: 768px) {
	.hero-title { font-size: 4.5rem; }
	.hero-text { font-size: 1.125rem; }
}

/* ------------------------------------------------------------------- About */
.about-section, .owners-section, .services-section, .shop-section, .contact-section { scroll-margin-top: 6rem; }
.about-section { background: var(--color-card); }
.about-pad { padding: 5rem 1.5rem; }
.about-inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-heading { font-size: 2.25rem; line-height: 1.25; margin-bottom: 2rem; }
.about-title-line, .contact-title-line { display: block; }
.about-title-line:empty, .contact-title-line:empty { display: none; }
.about-p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; margin-bottom: 1.25rem; white-space: pre-line; }
.about-p-last { margin-bottom: 2.5rem; }
.about-link { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--color-foreground); font-family: var(--font-body); }
@media (min-width: 768px) {
	.about-pad { padding: 7rem 3.5rem; }
	.about-heading { font-size: 3.75rem; line-height: 1.25; }
}
@media (min-width: 1024px) { .about-pad { padding-left: 5rem; padding-right: 5rem; } }

/* -------------------------------------------------------------- Collection */
.collection-section { background: var(--color-background); }
.collection-inner { padding-top: 4rem; padding-bottom: 4rem; }
.collection-head { text-align: center; margin-bottom: 2.5rem; }
.collection-heading { font-size: 2.25rem; line-height: 2.5rem; }
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1rem; text-align: left; color: inherit; }
.tile-img { transition: transform 0.7s var(--ease-motion); }
.tile:hover .tile-img { transform: scale(1.05); }
.tile-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top,
		color-mix(in srgb, var(--color-foreground) 90%, transparent),
		color-mix(in srgb, var(--color-foreground) 40%, transparent),
		color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s;
}
.tile:hover .tile-gradient {
	background: linear-gradient(to top,
		color-mix(in srgb, var(--color-foreground) 95%, transparent),
		color-mix(in srgb, var(--color-foreground) 40%, transparent),
		color-mix(in srgb, var(--color-foreground) 10%, transparent));
}
.tile-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.tile-text { display: block; color: var(--color-background); text-align: left; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.tile-tagline {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.3em;
	text-transform: uppercase; font-family: var(--font-body); margin-bottom: 0.5rem; color: var(--color-accent);
}
.tile-dash { height: 1px; width: 1.5rem; background: currentColor; display: inline-block; }
.tile-title { display: block; font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-background); }
.tile-cta {
	display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; letter-spacing: 0.22em;
	text-transform: uppercase; font-family: var(--font-body); color: var(--color-background);
}
@media (min-width: 768px) {
	.collection-inner { padding-top: 5rem; padding-bottom: 5rem; }
	.collection-heading { font-size: 3.75rem; line-height: 1; }
	.tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
	.tile-body { padding: 1.75rem; }
	.tile-title { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ------------------------------------------------------------------ Owners */
.owners-section { background: var(--color-background); }
.owners-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
.owners-photo-col { position: relative; display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.owners-photo {
	position: relative; width: 100%; max-width: 28rem; aspect-ratio: 4 / 5; overflow: hidden;
	background: var(--color-secondary); box-shadow: var(--shadow-elevated); border-radius: 2rem;
}
.owners-copy-col { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
.owners-copy { max-width: 36rem; }
.owners-heading { font-size: 3rem; line-height: 1.02; margin-bottom: 1.75rem; }
.owners-script-wrap { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); letter-spacing: 0.02em; margin-bottom: 2rem; }
.owners-script { font-size: 2.25rem; line-height: 2.5rem; color: var(--color-marigold); }
.owners-p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin-bottom: 1.25rem; white-space: pre-line; }
.owners-p-last { margin-bottom: 0; }
@media (min-width: 768px) {
	.owners-photo-col { padding: 5rem 3.5rem; }
	.owners-copy-col { padding: 6rem 3.5rem; }
	.owners-heading { font-size: 3.75rem; line-height: 1.02; }
	.owners-script-wrap { font-size: 1.875rem; line-height: 1.375; }
	.owners-script { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
	.owners-grid { grid-template-columns: 1fr 1fr; }
	.owners-photo-col { padding: 6rem 4rem; }
	.owners-photo { max-width: 32rem; }
	.owners-copy-col { padding-left: 5rem; padding-right: 5rem; }
	.owners-heading { font-size: 4.5rem; line-height: 1.02; }
}
@media (min-width: 1280px) { .owners-copy-col { padding-left: 6rem; padding-right: 6rem; } }

/* ---------------------------------------------------------------- Services */
.services-section { background: var(--color-butter); }
.services-inner { padding-top: 5rem; padding-bottom: 5rem; }
.services-head { text-align: center; margin-bottom: 3.5rem; }
.services-heading { font-size: 3rem; line-height: 1.02; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-card {
	display: flex; flex-direction: column; background: var(--color-card); border: 1px solid var(--color-border);
	overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-media { position: relative; aspect-ratio: 1 / 1; width: 100%; overflow: hidden; background: var(--color-secondary); }
.service-img { transition: transform 0.5s; }
.service-card:hover .service-img { transform: scale(1.05); }
.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 0%; }
.service-sub { display: block; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 0.5rem; }
.service-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; letter-spacing: 0.01em; margin-bottom: 0.75rem; }
.service-desc { font-size: 1rem; line-height: 1.625; color: var(--color-muted-foreground); font-family: var(--font-body); flex: 1 1 0%; white-space: pre-line; }
@media (min-width: 768px) {
	.services-inner { padding-top: 7rem; padding-bottom: 7rem; }
	.services-head { margin-bottom: 5rem; }
	.services-heading { font-size: 3.75rem; line-height: 1.02; }
	.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-body { padding: 2rem; }
	.service-title { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
	.services-heading { font-size: 4.5rem; line-height: 1.02; }
	.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------- Shop */
.shop-section { background: var(--color-background); }
.shop-inner { padding-top: 4rem; padding-bottom: 4rem; }
.shop-head { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 2.5rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search-input {
	display: flex; width: 100%; height: 2.5rem; padding: 0.5rem 0.75rem 0.5rem 1.75rem;
	background: transparent; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0;
	font-size: 1rem; outline: none; transition: border-color 0.15s; font-family: var(--font-body);
}
.shop-search-input::placeholder { color: var(--color-muted-foreground); }
.shop-search-input:focus { border-bottom-color: var(--color-foreground); }
.shop-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.pill {
	padding: 0.5rem 1.25rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
	transition: all 0.3s; font-family: var(--font-body); border-radius: 9999px; border: 1px solid var(--color-border);
	background: transparent; color: var(--color-foreground);
}
.pill:hover { border-color: var(--color-foreground); }
.pill:active { transform: scale(0.96); }
.pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.price-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted-foreground); transition: all 0.3s; font-family: var(--font-body);
}
.price-toggle:hover { color: var(--color-foreground); }
.price-summary { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.price-chevron { transition: transform 0.3s; }
.price-toggle[aria-expanded="true"] .price-chevron { transform: rotate(180deg); }
.price-panel {
	display: grid; grid-template-rows: 0fr; opacity: 0; width: 100%; max-width: 24rem;
	transition: grid-template-rows 0.3s var(--ease-motion), opacity 0.3s var(--ease-motion);
}
.price-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.price-panel-inner { overflow: hidden; min-height: 0; }
.price-panel-pad { padding: 0.5rem 0; }
.price-range-wrapper { position: relative; height: 1.25rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill {
	position: absolute; height: 0.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px;
}
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); }
.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; outline: none;
}
.range-input::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.range-input::-moz-range-track { background: transparent; }
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem;
	border-radius: 9999px; border: 2px solid var(--color-primary); background: var(--color-background); cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 1.25rem; height: 1.25rem; box-sizing: border-box;
	border-radius: 9999px; border: 2px solid var(--color-primary); background: var(--color-background); cursor: pointer;
}
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.shop-more { text-align: center; margin-top: 3rem; }
.show-more-btn { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); color: inherit; }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); font-family: var(--font-body); }
@media (min-width: 768px) {
	.shop-inner { padding-top: 6rem; padding-bottom: 6rem; }
	.shop-heading { font-size: 3.75rem; line-height: 1; }
	.shop-search-input { font-size: 0.875rem; }
}

/* ----------------------------------------------------------- Product cards */
.theme-product-grid {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; align-items: stretch;
}
.theme-product-card-wrap { width: calc(50% - 12px); display: flex; flex-direction: column; }
@media (min-width: 768px) { .theme-product-card-wrap { width: calc(33.333% - 16px); } }
@media (min-width: 1024px) {
	.theme-product-grid { gap: 2rem; }
	.theme-product-card-wrap { width: calc(25% - 24px); }
}
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.related-grid .theme-product-card-wrap { width: auto; }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; cursor: pointer; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 1; pointer-events: auto; }
.theme-product-card__media {
	position: relative; z-index: 2; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1.25rem;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-product-card:hover .theme-product-card__media { transform: translateY(-4px); }
.theme-product-card__media .product-card-img { transition: transform 0.7s var(--ease-motion); }
.theme-product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-img.is-sold-out { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.18em; background: var(--color-foreground); color: var(--color-background);
	border-radius: 9999px; animation: badgeIn 0.4s ease-in-out both;
}
.theme-product-card__info { flex: 1; text-align: center; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1.375;
	color: var(--color-foreground); transition: color 0.3s;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.5rem; font-size: 1rem; font-family: var(--font-body); font-weight: 400; line-height: 1.25; color: var(--color-foreground); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.25rem; }
@media (min-width: 768px) {
	.theme-product-card__title { font-size: 1rem; }
	.theme-product-card__price { font-size: 1.125rem; }
}
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-card-add { pointer-events: auto; }

/* ----------------------------------------------------------------- Contact */
.contact-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-bg-img { opacity: 0.7; }
.contact-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-background) 60%, transparent),
		color-mix(in srgb, var(--color-background) 40%, transparent),
		color-mix(in srgb, var(--color-background) 80%, transparent));
}
.contact-inner { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
.contact-card {
	max-width: 42rem; margin: 0 auto; text-align: center; background: color-mix(in srgb, var(--color-background) 95%, transparent);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated);
	border-radius: 1.5rem; padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.contact-heading { font-size: 2.25rem; line-height: 1.02; margin-bottom: 1.5rem; }
.contact-text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin-bottom: 1rem; max-width: 32rem; margin-left: auto; margin-right: auto; font-family: var(--font-body); white-space: pre-line; }
.contact-meta {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem 0.75rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-family: var(--font-body);
	margin-bottom: 2.5rem; max-width: 32rem; margin-left: auto; margin-right: auto;
}
.contact-meta a { text-decoration: underline; text-underline-offset: 0.15em; }
.contact-meta a:hover { color: var(--color-foreground); }
.contact-meta-sep { opacity: 0.6; }
.btn-primary-pill {
	display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 9999px; padding: 1rem 2.5rem; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
	font-family: var(--font-body); font-weight: 700; transition: background-color 0.15s;
}
.btn-primary-pill:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
@media (min-width: 768px) {
	.contact-inner { padding-top: 8rem; padding-bottom: 8rem; }
	.contact-card { padding: 4rem 3.5rem; }
	.contact-heading { font-size: 3rem; line-height: 1.02; }
}
@media (min-width: 1024px) { .contact-heading { font-size: 3.75rem; line-height: 1.02; } }

/* ------------------------------------------------------------------ Buttons */
.btn-default, .btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
	border-radius: calc(var(--radius) - 2px); font-size: 0.875rem; font-family: var(--font-display); font-weight: 500;
	height: 2.5rem; padding: 0.5rem 1rem; transition: background-color 0.15s, color 0.15s; cursor: pointer;
}
.btn-default { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-default:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.btn-default:disabled { opacity: 0.5; pointer-events: none; }
.btn-outline { border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground); }
.btn-outline:hover { background: var(--color-accent); color: var(--color-accent-foreground); }
.btn-lg { height: 2.75rem; padding: 0 2rem; }
.btn-sm { height: 2.25rem; padding: 0 0.75rem; }
.btn-block { width: 100%; }
.btn-icon-end { margin-left: 0.5rem; }
.btn-icon-start { margin-right: 0.5rem; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.footer-main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-emblem { position: relative; display: inline-block; width: 4rem; height: 4rem; flex-shrink: 0; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.footer-tagline {
	font-size: 0.625rem; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); margin-top: 0.5rem;
	color: color-mix(in srgb, var(--color-surface-deep-foreground) 60%, transparent);
}
.footer-heading {
	font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem;
	color: color-mix(in srgb, var(--color-surface-deep-foreground) 50%, transparent);
}
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a {
	display: block; width: fit-content; text-align: left; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
	font-family: var(--font-body); color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); transition: color 0.15s;
}
.theme-footer-nav-list a:hover { color: var(--color-surface-deep-foreground); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-link {
	display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); transition: color 0.15s;
}
.footer-contact-link:hover { color: var(--color-surface-deep-foreground); }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 10%, transparent); }
.footer-bottom-inner { padding-top: 1.5rem; padding-bottom: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
.footer-small {
	font-size: 0.75rem; font-family: var(--font-body); letter-spacing: 0.025em; text-align: center;
	color: color-mix(in srgb, var(--color-surface-deep-foreground) 60%, transparent);
}
.footer-credit a { font-weight: 700; color: color-mix(in srgb, var(--color-surface-deep-foreground) 90%, transparent); text-underline-offset: 4px; transition: color 0.15s; }
.footer-credit a:hover { color: var(--color-surface-deep-foreground); text-decoration: underline; }
@media (min-width: 640px) {
	.footer-emblem { width: 5rem; height: 5rem; }
	.footer-bottom-inner { flex-direction: row; }
	.footer-copy { text-align: left; }
	.footer-credit { text-align: right; }
}
@media (min-width: 1024px) {
	.footer-main { padding-top: 4.5rem; padding-bottom: 4.5rem; }
	.footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
	.footer-grid > * { grid-column: span 4 / span 4; }
}

/* ----------------------------------------------------------- Contact dialog */
body.modal-open { overflow: hidden; }
.dialog-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.8); animation: fadeIn 0.15s ease both; cursor: pointer; }
.dialog-overlay.is-closing { animation: fadeOut 0.15s ease both; }
.dialog-content {
	position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -50%); gap: 1rem; border: 1px solid var(--color-border); background: var(--color-background); padding: 1.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); animation: dialogIn 0.2s ease both;
	cursor: default;
}
.dialog-content.is-closing { animation: dialogOut 0.2s ease both; }
@media (min-width: 640px) { .dialog-content { border-radius: var(--radius); } }
.dialog-header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .dialog-header { text-align: left; } }
.dialog-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1; font-weight: 600; letter-spacing: normal; }
.dialog-desc { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); white-space: pre-line; }
.dialog-close {
	position: absolute; right: 1rem; top: 1rem; border-radius: 0.125rem; opacity: 0.7; transition: opacity 0.15s; display: flex; color: inherit;
}
.dialog-close:hover { opacity: 1; }
.modal-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.modal-contact-item { display: flex; align-items: center; gap: 0.5rem; }
.modal-contact a { transition: color 0.15s; }
.modal-contact a:hover { color: var(--color-foreground); }
.modal-form { display: block; }
.modal-form > * + * { margin-top: 1rem; }
.modal-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .modal-form-row { grid-template-columns: 1fr 1fr; } }
.modal-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; font-family: var(--font-body); }
.modal-label.is-required::after { content: ' *'; }
.modal-input {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem; font-family: var(--font-body); border-radius: calc(var(--radius) - 2px); outline: none; transition: box-shadow 0.3s;
}
.modal-input::placeholder { color: var(--color-muted-foreground); }
.modal-input:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.modal-textarea { resize: none; display: block; }
.modal-actions { display: flex; justify-content: flex-end; }
.modal-error { font-size: 0.875rem; color: hsl(0 65% 45%); font-family: var(--font-body); }
.modal-success { text-align: center; padding: 2rem 0; animation: successPop 0.4s ease both; }
.modal-success-icon {
	width: 3.5rem; height: 3.5rem; background: var(--color-primary); display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem; border-radius: 9999px; color: var(--color-primary-foreground); animation: iconPop 0.5s ease 0.15s both;
}
.modal-success-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; letter-spacing: normal; }
.modal-success-text { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); white-space: pre-line; }

/* ------------------------------------------------------------- Cart drawer */
#theme-cart-overlay { display: none; position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); cursor: pointer; }
#theme-cart-drawer {
	display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 50;
	background: var(--color-background); box-shadow: var(--shadow-elevated); flex-direction: column;
}
#theme-cart-drawer-inner {
	display: flex; flex-direction: column; height: 100%; min-height: 0; flex: 1 1 auto;
}
body.cart-open #theme-cart-overlay { display: block; }
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-animating #theme-cart-overlay { animation: fadeIn 0.6s var(--ease-smooth) forwards; }
body.cart-animating #theme-cart-drawer { animation: slideUp 0.6s var(--ease-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.drawer-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -0.01em; }
.drawer-close { padding: 0.25rem; transition: opacity 0.15s; display: flex; color: inherit; }
.drawer-close:hover { opacity: 0.6; }
.drawer-empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.drawer-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.drawer-empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.drawer-items { flex: 1 1 0%; overflow: auto; padding: 1.5rem; }
.drawer-items > * + * { margin-top: 1.5rem; }
.drawer-item { display: flex; gap: 1rem; }
.drawer-thumb { position: relative; display: block; width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.drawer-item-body { flex: 1 1 0%; min-width: 0; }
.drawer-item-name { display: block; font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.15s; font-family: var(--font-body); }
.drawer-item-name:hover { opacity: 0.7; }
.drawer-item-price, .drawer-item-meta { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.drawer-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.drawer-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.15s; display: flex; color: inherit; }
.drawer-qty-btn:hover { background: var(--color-secondary); }
.drawer-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.drawer-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.15s; font-family: var(--font-body); }
.drawer-remove:hover { color: var(--color-foreground); }
.drawer-foot { padding: 1.5rem; border-top: 1px solid var(--color-border); }
.drawer-foot > * + * { margin-top: 1rem; }
.drawer-subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.drawer-subtotal-label { color: var(--color-muted-foreground); }
.drawer-subtotal-value { font-weight: 500; }
.drawer-note { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* -------------------------------------------------------------- Inner pages */
.inner-main { padding-top: 6rem; min-height: 60vh; }
.inner-pad { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .inner-main, .product-main { padding-top: 7rem; } }
.notfound-main { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--color-muted); }
.notfound-box { text-align: center; }
.notfound-title { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-text { font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.notfound-link { color: var(--color-primary); text-decoration: underline; }
.notfound-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ----------------------------------------------------------- Single product */
.product-main { padding-top: 6rem; background: var(--color-background); }
.product-breadcrumb { padding: 1.5rem 0; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-breadcrumb a { transition: color 0.15s; }
.product-breadcrumb a:hover { color: var(--color-foreground); }
.crumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.crumb-current { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; max-width: 100%; }
.gallery-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); display: block; }
.gallery-thumb-img { opacity: 0.6; transition: opacity 0.15s; }
.gallery-thumb:hover .gallery-thumb-img, .gallery-thumb.is-active .gallery-thumb-img { opacity: 1; }
.gallery-thumb-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.15s; }
.gallery-thumb.is-active .gallery-thumb-line { opacity: 1; }
.gallery-desktop { display: none; }
.gallery-desktop-item { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.product-cat { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
.product-price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-foreground); }
.product-price ins { text-decoration: none; }
.product-price del { opacity: 0.6; margin-right: 0.25rem; }
.product-summary { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); font-size: 1rem; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.theme-qty-block { margin-bottom: 1rem; }
.qty-label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.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.15s; display: flex; color: inherit; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-quantity-wrapper .theme-qty-input {
	padding: 0.5rem 1rem; min-width: 44px; width: 44px; box-sizing: content-box; text-align: center; font-family: var(--font-body); font-size: 0.875rem;
	border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; outline: none; border-radius: 0;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.accordion-item-ship { border-top: 1px solid var(--color-border); }
.accordion-end { border-top: 1px solid var(--color-border); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; color: inherit; }
.accordion-title { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.accordion-chevron { transition: transform 0.15s; }
.accordion-item.is-open .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { display: none; padding-bottom: 1.5rem; font-family: var(--font-body); }
.accordion-item.is-open .accordion-panel { display: block; }
.accordion-desc { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1rem; white-space: pre-line; }
.accordion-list > * + * { margin-top: 0.5rem; }
.accordion-list li { font-size: 0.9375rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.bullet-dot { width: 0.25rem; height: 0.25rem; background: var(--color-foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.accordion-ship-text { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.625; white-space: pre-line; }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-head { text-align: center; margin-bottom: 3rem; }
.related-italic { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) {
	.product-title { font-size: 2.25rem; }
	.related-title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7 / span 7; }
	.theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
	.gallery-mobile { display: none; }
	.gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
	.product-title { font-size: 2.75rem; }
}

/* Variable products */
.theme-attr-select-hidden { display: none !important; }
.single-product .variations, .single-product .variations tbody, .single-product .variations tr, .single-product .variations td { display: block; width: 100%; border: 0; padding: 0; }
.single-product .variations td.label { padding-bottom: 0.25rem; }
.single-product .variations label, .single-product .variations .label label {
	display: block; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 400; font-style: normal;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem;
}
.single-product .variations tr { margin-bottom: 1.5rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border);
	transition: all 0.15s; font-family: var(--font-body); border-radius: 9999px; color: var(--color-foreground);
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-variation-description,
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-body); }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }

/* ----------------------------------------------- WooCommerce button overrides */
.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: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: background-color 0.15s ease !important;
	line-height: 1.5 !important;
	text-align: center;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
}
.single-product .single_add_to_cart_button { width: 100%; flex: 1 1 auto; }
.single-product .theme-add-to-cart-area .single_add_to_cart_button { min-width: 160px; }
.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.6 !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.6 !important;
	background-color: var(--color-foreground) !important;
}
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }
.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; }

/* Card compact add button (after global rules) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card a.add_to_cart_button.theme-card-add {
	position: absolute !important; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; min-height: unset !important; padding: var(--btn-icon-padding) !important;
	border-radius: 9999px !important; background-color: var(--color-background) !important; color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft); opacity: 1; pointer-events: auto;
	transition: opacity 0.3s, transform 0.15s !important;
}
.theme-product-card a.add_to_cart_button.theme-card-add:hover { transform: scale(1.08); background-color: var(--color-background) !important; opacity: 1 !important; }
.theme-product-card a.add_to_cart_button.theme-card-add:active { transform: scale(0.92); }
@media (min-width: 768px) {
	.theme-product-card a.add_to_cart_button.theme-card-add { opacity: 0; }
	.theme-product-card:hover a.add_to_cart_button.theme-card-add { opacity: 1; }
}

/* ------------------------------------------------------- WooCommerce notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid var(--color-border); border-radius: calc(var(--radius) - 2px);
	background: var(--color-card); font-family: var(--font-body); font-size: 0.875rem; list-style: none;
}
.woocommerce-error { border-color: hsl(0 65% 45%); color: hsl(0 65% 45%); }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ------------------------------------------------------ Cart / account width */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 100%; }

/* ---------------------------------------------------------------- Checkout */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-checkout { font-family: var(--font-body); color: var(--color-foreground); }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--color-border);
}
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 700; }
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,
body.woocommerce-checkout .wc-block-components-combobox input {
	width: 100% !important; max-width: none !important; font-family: var(--font-body); color: var(--color-foreground);
	background-color: var(--color-background); border: 1px solid var(--color-border); border-radius: calc(var(--radius) - 2px);
}
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 color-mix(in srgb, var(--color-primary) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input label { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background-color: var(--color-primary); color: var(--color-primary-foreground); border-radius: calc(var(--radius) - 2px);
	font-family: var(--font-display); font-weight: 500; border: 0;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: calc(var(--radius) - 2px); border: 1px solid var(--color-border); background: var(--color-card); font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-notice-banner.is-error { border-color: hsl(0 65% 45%); }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-order-summary-item__image img { object-fit: cover; }

/* ---------------------------------------------------------------- Thank you */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; border: 1px solid var(--color-border);
	border-radius: var(--radius); background: var(--color-card); list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 0; 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; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }
