/* ==========================================================================
   KBEwingArts theme stylesheet
   Colour tokens below are the defaults; the Customizer re-emits them inline.
   ========================================================================== */

:root {
	--background: #f8f6f2;
	--foreground: #192533;
	--card: #fcfbf8;
	--primary: #22354f;
	--primary-foreground: #faf8f4;
	--secondary: #ece7df;
	--muted-foreground: #515a67;
	--accent: #b07927;
	--marigold: #9d6925;
	--border: #ded8cf;
	--butter: #f1ece4;
	--surface-deep: #121c2b;
	--surface-deep-foreground: #f7f4ee;

	--muted: #ece9e4;
	--input: var(--border);
	--ring: var(--primary);
	--accent-foreground: var(--primary-foreground);

	--font-display: 'Times New Roman', Times, serif;
	--font-body: 'Karla', sans-serif;

	--shadow-soft: 0 2px 12px -6px hsl(214 34% 12% / 0.18);
	--shadow-elevated: 0 18px 40px -20px hsl(214 34% 12% / 0.35);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--radius: 0.25rem;
	--radius-sm: 0px;
	--radius-md: 0.125rem;

	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 1rem 1.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var(--font-body); -webkit-tap-highlight-color: transparent; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; line-height: inherit; font-family: var(--font-body); background-color: var(--background); color: var(--foreground); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; }
p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; background: transparent; border-radius: 0; }
button, [role="button"] { cursor: pointer; }
button:disabled { cursor: default; }
button, [type="button"], [type="submit"] { -webkit-appearance: button; background-color: transparent; background-image: none; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted-foreground); opacity: 1; }
[hidden] { display: none !important; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.theme-icon { flex-shrink: 0; }
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-3-5 { width: 0.875rem; height: 0.875rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-7 { width: 1.75rem; height: 1.75rem; }

/* Cover / full-bleed images are excluded from the global img rule. */
img:not(.cover-img):not(.hero__img):not(.product-card-img):not(.pdp-main-img):not(.pdp-thumb__img):not(.cover-img-fill):not(.site-logo-img) { max-width: 100%; height: auto; }
.cover-img, .hero__img, .product-card-img, .pdp-main-img, .pdp-thumb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cover-img-fill { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Layout helpers ---------- */
.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; } }

.link-underline { position: relative; display: inline-block; }
.link-underline::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: currentColor; transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--transition-smooth); }
.link-underline:hover::after { transform: scaleX(1); }

.section { scroll-margin-top: 6rem; }
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-pad { padding-top: 7rem; padding-bottom: 7rem; } }

.eyebrow { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--marigold); margin-bottom: 1rem; }
.eyebrow--sm { margin-bottom: 0.75rem; }
.section-head { text-align: center; }
.section-head--lg { margin-bottom: 3.5rem; }
@media (min-width: 768px) { .section-head--lg { margin-bottom: 5rem; } }
.section-head--browse { margin-bottom: 2.5rem; }
.section-head--journal { margin-bottom: 3.5rem; }
.section-head--faq { margin-bottom: 3rem; }
@media (min-width: 768px) { .section-head--faq { margin-bottom: 4rem; } }

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes themeFadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(var(--rise, 12px)); } to { opacity: 1; transform: translateY(0); } }
@keyframes badgeSlide { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes overlayOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translate3d(-50%, -48%, 0) scale3d(0.95, 0.95, 0.95); } to { opacity: 1; transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1); } }
@keyframes dialogOut { from { opacity: 1; transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1); } to { opacity: 0; transform: translate3d(-50%, -48%, 0) scale3d(0.95, 0.95, 0.95); } }
@keyframes successIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes successIcon { from { transform: scale(0); } to { transform: scale(1); } }

/* Scroll reveal: whole section triggers once, children carry their own delay. */
html.js-reveal .reveal { opacity: 0; transform: translateY(32px); }
html.js-reveal .reveal-section.is-visible .reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease-smooth) var(--d, 0s), transform 0.7s var(--ease-smooth) var(--d, 0s); }
html.js-reveal .reveal-self { opacity: 0; transform: translateY(20px); }
html.js-reveal .reveal-self.is-visible { opacity: 1; transform: none; transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; }
body.is-customizer .reveal,
body.is-customizer .reveal-self { opacity: 1 !important; transform: none !important; }

/* Mount animations (grids that animate on load / filter change). */
.load-in { animation: themeFadeUp 0.7s var(--ease-smooth) both; animation-delay: var(--d, 0s); }

/* ---------- Announcement bar ---------- */
.announce-bar { background-color: var(--surface-deep); color: var(--surface-deep-foreground); }
.announce-bar__text { padding: 0.625rem 0; text-align: center; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 640px) { .announce-bar__text { font-size: 12px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 50; background-color: var(--background); border-bottom: 1px solid transparent; transition: top 0.15s ease, background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
@media (min-width: 783px) {
	.admin-bar .site-header { top: 32px; }
}
@media (max-width: 782px) {
	.admin-bar.admin-bar-visible .site-header { top: 46px; }
}
.site-header.is-scrolled { background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-bottom-color: var(--border); }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.site-brand { display: flex; align-items: center; gap: 0.75rem; }
.site-brand__mark { position: relative; width: 3rem; height: 3rem; flex-shrink: 0; display: block; }
@media (min-width: 640px) { .site-brand__mark { width: 3.5rem; height: 3.5rem; } }
@media (min-width: 1024px) { .site-brand__mark { width: 4rem; height: 4rem; } }
.site-logo-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-logo-text { display: block; font-family: var(--font-display); line-height: 1.2; }
.site-brand__text { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 640px) { .site-brand__text { display: flex; } }
.site-brand__name { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; letter-spacing: 0.02em; color: var(--primary); }
@media (min-width: 1024px) { .site-brand__name { font-size: 1.25rem; } }
.site-brand__tagline { font-family: var(--font-body); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.25rem; }

.site-nav__links { display: none; flex: 1 1 0%; align-items: center; justify-content: center; flex-wrap: nowrap; }
@media (min-width: 1024px) { .site-nav__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0.75rem; }
@media (min-width: 1024px) { .theme-nav-list { gap: 1rem; } }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-list a { position: relative; display: inline-block; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: color 0.3s; }
@media (min-width: 1024px) { .theme-nav-list a { letter-spacing: 0.15em; } }
@media (min-width: 1280px) { .theme-nav-list a { font-size: 12px; letter-spacing: 0.2em; } }
.theme-nav-list a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: currentColor; transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--transition-smooth); }
.theme-nav-list a:hover::after { transform: scaleX(1); }

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav__actions { gap: 0.75rem; } }
.site-icon-btn { position: relative; display: inline-flex; padding: 0.5rem; transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.site-icon-btn:hover { opacity: 0.6; }
.site-icon-btn--search { display: none; }
@media (min-width: 768px) { .site-icon-btn--search { display: inline-flex; } }
.site-menu-toggle .icon-close { display: none; }
.site-menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
@media (min-width: 1024px) { .site-menu-toggle { display: none; } }
.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: 12px; font-weight: 500; background-color: var(--primary); color: var(--primary-foreground); border-radius: 9999px; }
.theme-cart-count:empty { display: none; }

.mobile-menu { border-top: 1px solid var(--border); padding: 1rem 0; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu__list { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__list a { display: block; text-align: left; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.5rem 0; transition: color 0.15s; }
.mobile-menu__list a:hover { color: var(--muted-foreground); }

/* ---------- Headings (per-section scales) ---------- */
.section-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; font-weight: 400; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; line-height: 1; } }
.section-heading--about { line-height: 1.25; margin-bottom: 2rem; }
@media (min-width: 768px) { .section-heading--about { line-height: 1; } }
.section-heading--dedication { line-height: 1.08; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .section-heading--dedication { line-height: 1; } }
.section-heading--artists, .section-heading--services, .section-heading--journal, .section-heading--faq, .section-heading--cta { line-height: 1.05; }
@media (min-width: 768px) { .section-heading--artists, .section-heading--services, .section-heading--journal, .section-heading--faq, .section-heading--cta { line-height: 1; } }
@media (min-width: 1024px) { .section-heading--artists, .section-heading--services, .section-heading--journal { font-size: 3.75rem; } }
.section-heading--journal { margin-bottom: 1.25rem; }
.section-heading--shop { margin-bottom: 2.5rem; }
.section-heading--cta { margin-bottom: 1.5rem; }

/* ---------- Hero ---------- */
.hero { background-color: var(--background); }
.hero__wrap { position: relative; animation: fadeIn 1.1s var(--ease-smooth) both; }
.hero__media { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(12, 18, 30, 0.88) 0%, rgba(12, 18, 30, 0.6) 45%, rgba(12, 18, 30, 0.12) 100%), linear-gradient(to top, rgba(12, 18, 30, 0.6) 0%, rgba(12, 18, 30, 0.1) 55%, rgba(12, 18, 30, 0.3) 100%); }
.hero__inner { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 6rem; }
.hero__content { max-width: 42rem; }
@media (min-width: 1024px) { .hero__content { max-width: 64rem; padding-right: 6rem; } }
.hero__eyebrow { display: block; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--background); font-weight: 600; margin-bottom: 1rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); animation: heroRise 0.7s ease-in-out 0.25s both; --rise: 12px; }
.hero__title { font-family: var(--font-display); font-size: 3rem; line-height: 1.02; color: var(--background); margin-bottom: 1.5rem; animation: heroRise 0.9s var(--ease-smooth) 0.35s both; --rise: 22px; }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; line-height: 1; } }
@media (min-width: 1280px) { .hero__title { font-size: 4.5rem; line-height: 1; } }
.hero__title-block { display: block; }
.hero__title-em { font-style: italic; white-space: nowrap; }
.hero__text { color: color-mix(in srgb, var(--background) 85%, transparent); font-size: 1rem; line-height: 1.625; margin-bottom: 2.5rem; padding-right: 1.5rem; animation: heroRise 0.7s ease-in-out 0.55s both; --rise: 14px; }
@media (min-width: 768px) { .hero__text { font-size: 1.125rem; line-height: 1.625; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; animation: heroRise 0.65s ease-in-out 0.75s both; --rise: 14px; }
.btn-hero { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); padding: 1.25rem 2.5rem; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; }
.btn-hero--solid { background-color: var(--marigold); color: var(--background); transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-hero--solid:hover { opacity: 0.9; }
.btn-hero--outline { border: 1px solid color-mix(in srgb, var(--background) 30%, transparent); color: var(--background); transition: color 0.15s, border-color 0.15s; }
.btn-hero--outline:hover { border-color: var(--background); }

/* ---------- About ---------- */
.about-section { background-color: var(--card); }
.about-section__inner { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section__inner { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .about-section__inner { padding-left: 5rem; padding-right: 5rem; } }
.about-section__col { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-section .eyebrow { margin-bottom: 1.25rem; }
.about-section__p { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.625; margin-bottom: 1.25rem; }
.about-section__p--last { margin-bottom: 2.5rem; }
.text-link { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--foreground); }

/* ---------- Dedication ---------- */
.dedication-section { background-color: var(--surface-deep); color: var(--surface-deep-foreground); }
.dedication-section__inner { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .dedication-section__inner { padding-top: 7rem; padding-bottom: 7rem; } }
.dedication-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .dedication-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .dedication-section__media { grid-column: span 5 / span 5; } .dedication-section__copy { grid-column: span 7 / span 7; } }
.dedication-section__frame { position: relative; width: 100%; max-width: 24rem; margin: 0 auto; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow-elevated); }
.eyebrow--dedication { margin-bottom: 1.25rem; filter: brightness(1.5); }
.dedication-section__copy .eyebrow { margin-bottom: 1.25rem; }
.dedication-section__p { color: color-mix(in srgb, var(--surface-deep-foreground) 80%, transparent); line-height: 1.625; margin-bottom: 1.25rem; }
.dedication-section__p--last { margin-bottom: 2rem; }
.dedication-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 2rem; color: var(--marigold); filter: brightness(1.5); }
@media (min-width: 768px) { .dedication-section__quote { font-size: 1.875rem; line-height: 2.25rem; } }

/* ---------- Browse ---------- */
.browse-section { background-color: var(--background); }
.browse-section__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .browse-section__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.browse-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .browse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.browse-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); }
.browse-tile__img { transition: transform 0.7s var(--ease-smooth); }
.browse-tile:hover .browse-tile__img { transform: scale(1.05); }
.browse-tile__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to top, hsl(215 42% 8%) 0%, hsl(215 42% 10% / 0.7) 40%, hsl(215 42% 8% / 0.2) 100%);
	transition: background 0.5s;
}
.browse-tile:hover .browse-tile__shade {
	background: linear-gradient(to top, hsl(215 42% 8%) 0%, hsl(215 42% 10% / 0.8) 40%, hsl(215 42% 8% / 0.2) 100%);
}
.browse-tile__body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
@media (min-width: 768px) { .browse-tile__body { padding: 1.75rem; } }
.browse-tile__copy { display: block; color: var(--background); text-align: left; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
.browse-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--marigold); filter: brightness(1.5); }
.browse-tile__rule { display: block; height: 1px; width: 1.5rem; background-color: currentColor; }
.browse-tile__title { display: block; font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 0.5rem; color: var(--background); }
@media (min-width: 768px) { .browse-tile__title { font-size: 2.25rem; line-height: 2.5rem; } }
.browse-tile__link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--background); }

/* ---------- Artists ---------- */
.artists-section { background-color: var(--background); }
.artists-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .artists-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.artist-card { display: flex; flex-direction: column; }
.artist-card__media { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background-color: var(--secondary); box-shadow: var(--shadow-elevated); margin-bottom: 2rem; }
.artist-card__role { display: block; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.artist-card__name { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .artist-card__name { font-size: 2.25rem; line-height: 2.5rem; } }
.artist-card__p { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.625; margin-bottom: 1rem; }

/* ---------- Services ---------- */
.services-section { background-color: var(--butter); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { display: flex; flex-direction: column; background-color: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-card__media { position: relative; aspect-ratio: 1 / 1; width: 100%; overflow: hidden; background-color: var(--secondary); }
.service-card__img { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 0%; }
@media (min-width: 768px) { .service-card__body { padding: 2rem; } }
.service-card__sub { display: block; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; line-height: 2.25rem; } }
.service-card__desc { font-size: 1rem; color: var(--muted-foreground); line-height: 1.625; flex: 1 1 0%; }

/* ---------- Shop ---------- */
.shop-section { background-color: var(--background); }
.shop-section__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .shop-section__inner { padding-top: 6rem; padding-bottom: 6rem; } }
.shop-head { text-align: center; margin-bottom: 3rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); }
.shop-search__input { display: flex; width: 100%; height: 2.5rem; padding: 0.5rem 0.75rem 0.5rem 1.75rem; font-size: 1rem; background-color: transparent; border-bottom: 1px solid var(--border); border-radius: 0; outline: none; transition: border-color 0.15s; }
@media (min-width: 768px) { .shop-search__input { font-size: 0.875rem; } }
.shop-search__input:focus, .shop-search__input:focus-visible { border-bottom-color: var(--foreground); outline: none; }
.shop-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-pill { padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); border-radius: var(--radius-sm); border: 1px solid var(--border); background-color: transparent; color: var(--foreground); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.shop-pill:hover { border-color: var(--primary); color: var(--primary); }
.shop-pill:active { transform: scale(0.96); }
.shop-pill.is-active, .shop-pill.is-active:hover { background-color: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.price-filter__toggle:hover { color: var(--foreground); }
.price-filter__summary { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.price-filter__chevron { transition: transform 0.3s; }
.price-filter__toggle[aria-expanded="true"] .price-filter__chevron { transform: rotate(180deg); }
.price-filter__panel { display: grid; grid-template-rows: 0fr; opacity: 0; width: 100%; max-width: 24rem; overflow: hidden; transition: grid-template-rows 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.price-filter__panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.price-filter__panel-inner { min-height: 0; overflow: hidden; }
.price-filter__body { 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; }
.range-track-bg { left: 0; right: 0; background: var(--secondary); border-radius: 9999px; }
.range-track-fill { background: var(--primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; outline: none; }
.range-input::-webkit-slider-runnable-track { -webkit-appearance: none; 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(--primary); background: var(--background); cursor: pointer; transition: background-color 0.15s; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; border: 2px solid var(--primary); background: var(--background); cursor: pointer; box-sizing: border-box; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-filter__labels { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

.theme-product-grid { align-items: stretch; }
.theme-product-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-flex { gap: 2rem; } }
.theme-product-flex .theme-product-card-wrap { width: calc(50% - 12px); animation: themeFadeUp 0.7s var(--ease-smooth) both; animation-delay: calc(var(--i, 0) * 0.2s); }
@media (min-width: 768px) { .theme-product-flex .theme-product-card-wrap { width: calc(33.333% - 16px); } }
@media (min-width: 1024px) { .theme-product-flex .theme-product-card-wrap { width: calc(25% - 24px); } }
.theme-related-grid, .theme-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-grid, .theme-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.shop-more { text-align: center; margin-top: 3rem; }
.shop-more__btn { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); animation: fadeIn 0.5s ease-in-out both; }

/* ---------- Product card ---------- */
.theme-product-card-wrap { min-width: 0; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 3 / 4; background-color: var(--secondary); overflow: hidden; margin-bottom: 1.25rem; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); }
.product-card-img { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .product-card-img { transform: scale(1.04); }
.theme-product-card.is-sold-out .product-card-img { opacity: 0.6; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; background-color: var(--foreground); color: var(--background); border-radius: 9999px; animation: badgeSlide 0.4s ease-in-out both; z-index: 3; }
.theme-product-card__info { flex: 1 1 0%; text-align: center; margin-top: 1rem; }
.theme-product-card__info > * + * { margin-top: 0.5rem; }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.375; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--foreground); transition: color 0.3s; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 1rem; line-height: 1.25; color: var(--foreground); font-weight: 400; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price del { opacity: 0.6; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------- WooCommerce add-to-cart buttons ---------- */
.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(--foreground) !important;
	color: var(--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: 1rem !important;
	text-align: center;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
a.single_add_to_cart_button:hover {
	background-color: color-mix(in srgb, var(--foreground) 90%, transparent) !important;
	color: var(--background) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.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(--foreground) !important; }

/* Card compact button — overrides the global rules above. */
.theme-product-card .theme-product-card__add {
	position: absolute !important;
	bottom: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	pointer-events: auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-height: unset !important;
	padding: 0 !important;
	border: 0 !important;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
	border-radius: 50% !important;
	background-color: var(--background) !important;
	color: var(--foreground) !important;
	box-shadow: var(--shadow-soft);
	line-height: 1 !important;
	transition: opacity 0.3s, transform 0.15s !important;
}
.theme-product-card .theme-product-card__add:hover { background-color: var(--background) !important; color: var(--foreground) !important; transform: scale(1.08); }
.theme-product-card .theme-product-card__add:active { transform: scale(0.92); }
@media (min-width: 768px) {
	.theme-product-card .theme-product-card__add { opacity: 0; }
	.theme-product-card:hover .theme-product-card__add,
	.theme-product-card .theme-product-card__add:focus-visible { opacity: 1; }
}
.theme-product-card .theme-product-card__add svg { width: 1rem; height: 1rem; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after,
.ajax_add_to_cart.added::after { display: none !important; content: none !important; }
.ajax_add_to_cart.loading, .ajax_add_to_cart.added { padding-right: inherit; }

/* Hide "View cart" injected after AJAX add. */
.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 ---------- */
.pdp { padding-top: 6rem; background-color: var(--background); }
@media (min-width: 1024px) { .pdp { padding-top: 7rem; } }
.pdp-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.pdp-breadcrumb a { transition: color 0.15s; }
.pdp-breadcrumb a:hover { color: var(--foreground); }
.pdp-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.pdp-breadcrumb__current { color: var(--foreground); }
.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .single-product .theme-product-gallery { grid-column: span 7 / span 7; } .single-product .theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.pdp-gallery-desktop { display: none; }
@media (min-width: 1024px) { .pdp-gallery-mobile { display: none; } .pdp-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; } }
.pdp-gallery__main, .pdp-gallery__item { position: relative; aspect-ratio: 1 / 1; background-color: var(--secondary); overflow: hidden; }
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; padding-bottom: 0.25rem; }
.pdp-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background-color: var(--secondary); }
.pdp-thumb__img { opacity: 0.6; transition: opacity 0.15s; }
.pdp-thumb:hover .pdp-thumb__img, .pdp-thumb.is-active .pdp-thumb__img { opacity: 1; }
.pdp-thumb__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background-color: var(--foreground); opacity: 0; transition: opacity 0.15s; }
.pdp-thumb.is-active .pdp-thumb__bar { opacity: 1; }
.pdp-cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.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; overflow-wrap: break-word; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.pdp-price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; color: var(--foreground); }
.pdp-price del { opacity: 0.6; }
.pdp-price ins { text-decoration: none; }
.pdp-lead { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; }
.pdp-label, .single-product .variations label { font-family: var(--font-body); font-weight: 400; font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; display: block; }
.single-product .variations { width: 100%; margin-bottom: 1.5rem; }
.single-product .variations tbody, .single-product .variations tr, .single-product .variations td { display: block; width: 100%; padding: 0; }
.single-product .variations tbody td.label { padding-bottom: 0; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations .reset_variations { display: none !important; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 9999px; font-family: var(--font-body); transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-attr-pill.is-selected, .theme-attr-pill.is-selected:hover { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }
.single_variation_wrap { display: block !important; }
.single-product .single_variation_wrap .woocommerce-variation { display: none; }
.single-product .theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.theme-qty-block { margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; display: inline-flex; transition: background-color 0.15s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--secondary); }
.theme-qty-input { width: 2.75rem; min-width: 44px; padding: 0.5rem 0; text-align: center; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; outline: none; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; width: 100%; min-width: 160px; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
.pdp-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.pdp-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.pdp-acc__title { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.pdp-acc__chevron { transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pdp-acc.is-open .pdp-acc__chevron { transform: rotate(180deg); }
.pdp-acc__panel { display: none; }
.pdp-acc.is-open .pdp-acc__panel { display: block; }
.pdp-acc--bordered { border-top: 1px solid var(--border); }
.pdp-acc__content { padding-bottom: 1.5rem; font-family: var(--font-body); font-size: 15px; color: var(--muted-foreground); line-height: 1.625; overflow-wrap: break-word; word-break: break-word; }
.pdp-acc__desc p { margin-bottom: 1rem; white-space: pre-line; }
.pdp-acc__content ul > li { display: flex; align-items: flex-start; }
.pdp-acc__content ul > li + li { margin-top: 0.5rem; }
.pdp-acc__content ul > li::before { content: ''; flex-shrink: 0; width: 0.25rem; height: 0.25rem; background-color: var(--foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; }
.pdp-acc__content--shipping > * + * { margin-top: 0.75rem; }
.pdp-acc__end { border-top: 1px solid var(--border); }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.related-products__head { text-align: center; margin-bottom: 3rem; }
.related-products__pre { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.5; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.related-products__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .related-products__title { font-size: 2.25rem; line-height: 2.5rem; } }

/* ---------- Journal ---------- */
.journal-section { background-color: var(--card); }
.journal-section__intro { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.625; max-width: 36rem; margin: 0 auto; }
.journal-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.journal-card__link { display: block; }
.journal-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background-color: var(--secondary); margin-bottom: 1.25rem; }
.journal-card__img { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.journal-card:hover .journal-card__img { transform: scale(1.05); }
.journal-card__meta { display: block; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--marigold); margin-bottom: 0.5rem; }
.journal-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; margin-bottom: 0.75rem; transition: color 0.15s; }
@media (min-width: 768px) { .journal-card__title { font-size: 1.875rem; line-height: 2.25rem; } }
.journal-card:hover .journal-card__title { color: var(--primary); }
.journal-card__excerpt { font-size: 1rem; color: var(--muted-foreground); line-height: 1.625; margin-bottom: 1rem; }
.journal-card__more { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }

.journal-post { background-color: var(--background); }
.journal-post__article { max-width: 48rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .journal-post__article { padding-top: 6rem; padding-bottom: 6rem; } }
.journal-post__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-foreground); transition: color 0.15s; margin-bottom: 2.5rem; }
.journal-post__back:hover { color: var(--foreground); }
.journal-post__meta { display: block; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--marigold); margin-bottom: 1rem; }
.journal-post__title { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .journal-post__title { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .journal-post__title { font-size: 3.75rem; line-height: 1; } }
.journal-post__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-sm); background-color: var(--secondary); margin-bottom: 2.5rem; }
.journal-post__body > * + * { margin-top: 1.5rem; }
.journal-post__body p { color: color-mix(in srgb, var(--foreground) 80%, transparent); font-size: 1.125rem; line-height: 1.625; }
.journal-post__more { border-top: 1px solid var(--border); }
.journal-post__more-inner { max-width: 48rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .journal-post__more-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.journal-post__more-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 2rem; }
.journal-post__more-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .journal-post__more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.journal-more-card { display: block; }
.journal-more-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background-color: var(--secondary); margin-bottom: 1rem; }
.journal-more-card__img { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.journal-more-card:hover .journal-more-card__img { transform: scale(1.05); }
.journal-more-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.5rem; transition: color 0.15s; }
.journal-more-card:hover .journal-more-card__title { color: var(--primary); }
.journal-more-card__link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-section { background-color: var(--background); }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .faq-item__q { padding: 1.5rem 0; } }
.faq-item__q-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; transition: color 0.15s; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1.25rem; } }
.faq-item__q:hover .faq-item__q-text { color: var(--primary); }
.faq-item__chevron { color: var(--primary); transition: transform 0.3s; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; opacity: 0; overflow: hidden; transition: grid-template-rows 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; opacity: 1; }
.faq-item__panel-inner { min-height: 0; overflow: hidden; }
.faq-item__a { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.625; }

/* ---------- Contact banner ---------- */
.cta-section { position: relative; background-color: var(--butter); overflow: hidden; }
.cta-section__img { opacity: 0.8; }
.cta-section__shade { display: none; }
.cta-section__inner { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .cta-section__inner { padding-top: 8rem; padding-bottom: 8rem; } }
.cta-card { max-width: 42rem; margin: 0 auto; text-align: center; background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: var(--radius-sm); box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
@media (min-width: 768px) { .cta-card { padding: 4rem 3.5rem; } }
.cta-card__text { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.625; margin: 0 auto 2.5rem; max-width: 32rem; }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background-color: var(--primary); color: var(--primary-foreground); padding: 1.25rem 3rem; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; transition: background-color 0.15s; }
.btn-cta:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--surface-deep); color: var(--surface-deep-foreground); }
.site-footer__main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; } .site-footer__grid > * { grid-column: span 4 / span 4; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.site-footer__logo { position: relative; display: inline-block; flex-shrink: 0; width: 4rem; height: 4rem; border-radius: 9999px; background-color: var(--surface-deep-foreground); padding: 0.5rem; }
@media (min-width: 640px) { .site-footer__logo { width: 5rem; height: 5rem; } }
.site-footer__name-block { display: flex; flex-direction: column; line-height: 1; }
.site-footer__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; letter-spacing: 0.02em; }
.site-footer__tagline { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--surface-deep-foreground) 60%, transparent); margin-top: 0.5rem; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer__social a, .footer-nav-list a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--surface-deep-foreground) 75%, transparent); transition: color 0.15s; }
.site-footer__social a:hover, .footer-nav-list a:hover { color: var(--surface-deep-foreground); }
.site-footer__heading { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--surface-deep-foreground) 50%, transparent); margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a { display: block; width: fit-content; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in srgb, var(--surface-deep-foreground) 75%, transparent); transition: color 0.15s; }
.site-footer__contact-link:hover { color: var(--surface-deep-foreground); }
.site-footer__address { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in srgb, var(--surface-deep-foreground) 75%, transparent); }
.site-footer__address .icon-pin { margin-top: 0.125rem; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--surface-deep-foreground) 10%, transparent); }
.site-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; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__legal { font-size: 12px; color: color-mix(in srgb, var(--surface-deep-foreground) 60%, transparent); letter-spacing: 0.025em; text-align: center; }
@media (min-width: 640px) { .site-footer__legal { text-align: left; } .site-footer__legal--right { text-align: right; } }
.site-footer__credit { font-weight: 700; color: color-mix(in srgb, var(--surface-deep-foreground) 90%, transparent); text-underline-offset: 4px; transition: color 0.15s; }
.site-footer__credit:hover { color: var(--surface-deep-foreground); text-decoration: underline; }

/* ---------- Buttons (shadcn parity) ---------- */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; border-radius: var(--radius-md); font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; height: 2.5rem; padding: 0.5rem 1rem; transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.theme-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.theme-btn:disabled { pointer-events: none; opacity: 0.5; }
.theme-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.theme-btn--default { background-color: var(--primary); color: var(--primary-foreground); }
.theme-btn--default:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.theme-btn--outline { border: 1px solid var(--input); background-color: var(--background); }
.theme-btn--outline:hover { background-color: var(--accent); color: var(--accent-foreground); }
.theme-btn--lg { height: 2.75rem; padding: 0 2rem; }
.theme-btn--sm { height: 2.25rem; padding: 0 0.75rem; }
.theme-btn--block { width: 100%; }
.theme-btn__icon-left { margin-right: 0.5rem; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { display: none; position: fixed; inset: 0; background-color: color-mix(in srgb, var(--foreground) 20%, transparent); z-index: 50; }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background-color: var(--background); z-index: 50; box-shadow: var(--shadow-elevated); flex-direction: column; }
@media (min-width: 783px) {
	.admin-bar #theme-cart-overlay,
	.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
}
@media (max-width: 782px) {
	.admin-bar.admin-bar-visible #theme-cart-overlay,
	.admin-bar.admin-bar-visible #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
body.cart-open #theme-cart-drawer { display: flex; animation: slideUp 0.6s var(--transition-smooth) forwards; }
#theme-cart-drawer .woocommerce-message { display: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s; }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__items { flex: 1 1 0%; overflow: auto; padding: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item + .cart-item { margin-top: 1.5rem; }
.cart-item__thumb { width: 5rem; height: 6rem; background-color: var(--secondary); overflow: hidden; flex-shrink: 0; display: block; }
.cart-item__info { flex: 1 1 0%; min-width: 0; }
.cart-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.15s; }
.cart-item__name:hover { opacity: 0.7; }
.cart-item__variation { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.cart-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; border-radius: var(--radius); display: inline-flex; transition: background-color 0.15s; }
.cart-item__qty-btn:hover { background-color: var(--secondary); }
.cart-item__qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; }
.cart-item__remove { margin-left: auto; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 0.15s; }
.cart-item__remove:hover { color: var(--foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; }
.cart-drawer__subtotal-label { color: var(--muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

/* ---------- Contact dialog ---------- */
body.modal-open { overflow: hidden; }
.theme-dialog { position: fixed; inset: 0; z-index: 50; }
.theme-dialog__overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.8); }
.theme-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: translate3d(-50%, -50%, 0); gap: 1rem; border: 1px solid var(--border); background-color: var(--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); outline: none; }
@media (min-width: 640px) { .theme-dialog__content { border-radius: var(--radius); } }
.theme-dialog[data-state="open"] .theme-dialog__overlay { animation: overlayIn 0.15s ease both; }
.theme-dialog[data-state="open"] .theme-dialog__content { animation: dialogIn 0.2s ease both; }
.theme-dialog[data-state="closed"] .theme-dialog__overlay { animation: overlayOut 0.15s ease both; }
.theme-dialog[data-state="closed"] .theme-dialog__content { animation: dialogOut 0.2s ease both; }
.theme-dialog__header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .theme-dialog__header { text-align: left; } }
.theme-dialog__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.025em; }
.theme-dialog__desc { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.theme-dialog__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.theme-dialog__contact-item { display: flex; align-items: center; gap: 0.5rem; }
.theme-dialog__contact-item a { transition: color 0.15s; }
.theme-dialog__contact-item a:hover { color: var(--foreground); }
.theme-dialog__form { animation: fadeIn 0.3s ease-in-out both; }
.theme-dialog__form > * + * { margin-top: 1rem; }
.theme-dialog__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-dialog__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-field-label { display: block; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-field { width: 100%; padding: 0.625rem 0.75rem; background-color: var(--background); border: 1px solid var(--border); font-family: var(--font-body); font-size: 1rem; line-height: 1.5rem; border-radius: var(--radius-md); outline: none; transition: box-shadow 0.3s; }
.theme-field:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.theme-field--textarea { resize: none; }
.theme-dialog__actions { display: flex; justify-content: flex-end; }
.theme-dialog__error { font-family: var(--font-body); font-size: 0.875rem; color: var(--foreground); }
.theme-dialog__close { position: absolute; right: 1rem; top: 1rem; border-radius: var(--radius-sm); opacity: 0.7; transition: opacity 0.15s; }
.theme-dialog__close:hover { opacity: 1; }
.theme-dialog__success { text-align: center; padding: 2rem 0; animation: successIn 0.4s ease-in-out both; }
.theme-dialog__success-icon { width: 3.5rem; height: 3.5rem; background-color: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 9999px; animation: successIcon 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
.theme-dialog__success h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; }
.theme-dialog__success p { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }

/* ---------- Generic pages, archive, 404 ---------- */
.generic-main { padding-top: 6rem; min-height: 100vh; }
@media (min-width: 1024px) { .generic-main { padding-top: 7rem; } }
.generic-main__inner { 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; } }
.entry-content { max-width: 100%; }
.archive-main { padding-top: 6rem; }
.archive-section { padding: 2.5rem 0 5rem; }
.archive-empty { color: var(--muted-foreground); text-align: center; padding: 5rem 0; }
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--muted); }
.not-found__inner { text-align: center; }
.not-found__title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.not-found__text { font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.not-found__link { color: var(--primary); text-decoration: underline; }
.not-found__link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ---------- WooCommerce notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background-color: var(--card); font-family: var(--font-body); font-size: 0.875rem; list-style: none; }
.woocommerce-error { border-color: var(--foreground); color: var(--foreground); }

/* ---------- Checkout / Cart / Account / Thank you (WooCommerce Blocks) ---------- */
body.woocommerce-checkout .generic-main__inner,
body.woocommerce-cart .generic-main__inner,
body.woocommerce-account .generic-main__inner,
body.theme-thankyou-page .generic-main__inner { max-width: 80rem; }
.checkout-continue-link { display: inline-flex; align-items: center; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 0.15s; margin-bottom: 2rem; }
.checkout-continue-link:hover { color: var(--foreground); }
.checkout-continue-link__icon { width: 1rem; height: 1rem; margin-right: 0.5rem; flex-shrink: 0; }
body.woocommerce-checkout .wc-block-checkout { display: block; font-family: var(--font-body); color: var(--foreground); }
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; align-items: start; }
	body.woocommerce-checkout .wc-block-checkout__sidebar { order: 1; grid-column: 1; }
	body.woocommerce-checkout .wc-block-checkout__main { order: 2; grid-column: 2; }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; background: transparent; border: 0; border-radius: 0; }
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25rem; font-weight: 700; }
@media (max-width: 767px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar { display: none !important; }
	body.woocommerce-checkout .checkout-order-summary-block-fill-wrapper { display: block !important; }
	body.woocommerce-checkout .wc-block-components-order-summary.is-collapsed,
	body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-panel__button { display: none !important; }
	body.woocommerce-checkout .checkout-order-summary-block-fill-wrapper .wc-block-components-order-summary__content { display: block !important; max-height: none !important; }
}
body.woocommerce-checkout .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-components-order-summary-coupon-form,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-cart-item__product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__description { display: none !important; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important; font-family: var(--font-body); font-size: 1rem; color: var(--foreground); background-color: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
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 1px var(--primary); border-color: var(--primary); }
body.woocommerce-checkout .wc-block-components-text-input label { color: var(--muted-foreground); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) { background-color: var(--primary); color: var(--primary-foreground); border: 0; border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 500; transition: background-color 0.15s; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
body.woocommerce-checkout .wc-block-components-notice-banner { font-family: var(--font-body); border-radius: var(--radius-md); background-color: var(--card); border-color: var(--border); }
body.woocommerce-checkout .wc-block-components-notice-banner.is-error { border-color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-totals-item__label { color: var(--muted-foreground); }

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; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--foreground); text-transform: none; letter-spacing: 0; font-size: 1rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border: 1px solid var(--border); }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
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; }
