/* Classy Coastal Designs — theme styles. Tokens below mirror the Customizer defaults (HSL source tokens -> hex). */

:root {
  --color-background: #f8f4ed;
  --color-foreground: #182c3a;
  --color-card: #fbf9f4;
  --color-primary: #326976;
  --color-primary-foreground: #fbf9f4;
  --color-secondary: #ece5da;
  --color-muted: #e1dad0;
  --color-muted-foreground: #344855;
  --color-accent: #a34224;
  --color-border: #dbd3c7;
  --color-destructive: #b82e2e;
  --color-button-text: var(--color-primary-foreground);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter Tight', sans-serif;

  --shadow-soft: 0 4px 24px -8px color-mix(in srgb, var(--color-foreground) 18%, transparent);
  --shadow-elevated: 0 20px 60px -16px color-mix(in srgb, var(--color-foreground) 25%, transparent);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: cubic-bezier(0.25, 0.4, 0.25, 1);

  --logo-height: 48px;
  --footer-logo-height: 96px;
  --header-height: 80px;

  --btn-radius: 0;
  --btn-height: 2.75rem;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.3em;
  --btn-text-transform: uppercase;
}

/* ------------------------------------------------------------------ Reset (preflight parity) */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--color-border); }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: auto; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video, canvas { display: block; vertical-align: middle; }
img:not(.product-card-img):not(.product-main-img):not(.product-thumb-img):not(.about-media__img):not(.cart-item-img):not(.site-logo-img),
video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; padding: 0; background: transparent; letter-spacing: inherit; border-radius: 0; }
button { cursor: pointer; background-color: transparent; background-image: none; -webkit-appearance: button; text-transform: none; }
a[href], area[href], summary, label[for], select,
[role="button"], [role="link"], [role="tab"], [role="menuitem"], [onclick],
input[type="submit"], input[type="button"], input[type="reset"], input[type="checkbox"], input[type="radio"], input[type="file"], input[type="image"], input[type="color"], input[type="range"],
[data-cart-open], [data-cart-close], [data-cart-qty-update], [data-cart-remove], [data-faq-toggle],
.theme-thumb, .theme-attr-pill, .theme-qty-minus, .theme-qty-plus, .ajax_add_to_cart,
a[href] *, button:not(:disabled) * { cursor: pointer; }
button:disabled, [aria-disabled="true"], .disabled, button:disabled * { cursor: default; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--color-foreground);
}
p, li, input, textarea, select { line-height: 1.6; }

.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; } }

.text-center { text-align: center; }
.italic { font-style: italic; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.icon { flex-shrink: 0; }
.icon-12 { width: 0.75rem; height: 0.75rem; }
.icon-16 { width: 1rem; height: 1rem; }
.icon-20 { width: 1.25rem; height: 1.25rem; }
.icon-24 { width: 1.5rem; height: 1.5rem; }
.icon-48 { width: 3rem; height: 3rem; }

.grain-overlay { background-image: radial-gradient(color-mix(in srgb, var(--color-foreground) 5%, transparent) 1px, transparent 1px); background-size: 3px 3px; }
section[id] { scroll-margin-top: 6rem; }

/* ------------------------------------------------------------------ Keyframes / motion utilities */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes heroFade { from { opacity: 0; transform: translateY(var(--hy, 30px)); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroLine { from { width: 0; } to { width: 56px; } }
.animate-fade-in { animation: fadeIn 0.8s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.8s var(--transition-smooth) forwards; }

.card-hover { transition-property: all; transition-duration: 500ms; transition-timing-function: var(--transition-smooth); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-0.25rem); }

/* Scroll reveals (per-element delay via --delay, per-section duration/offset via --rd / --ry) */
.reveal-item {
  opacity: 0;
  transform: translateY(var(--ry, 40px));
  transition: opacity var(--rd, 0.9s) var(--ease-reveal) var(--delay, 0s), transform var(--rd, 0.9s) var(--ease-reveal) var(--delay, 0s);
}
.reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-item.reveal-done { transition: none; }
.card-hover.reveal-item.reveal-done { transition-property: all; transition-duration: 500ms; transition-timing-function: var(--transition-smooth); }
.contact { --rd: 0.8s; --ry: 30px; }
body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible { opacity: 1; transform: none; transition: none; }
@media (scripting: none) { .reveal-item { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap; border-radius: 0; font-size: 1rem; font-weight: 500; line-height: 1;
  height: 2.5rem; padding: 0.5rem 1rem; cursor: pointer;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  text-decoration: none; border: 0;
}
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.btn .icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn--lg { height: 2.75rem; padding: 0 2rem; }
.btn--primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn--primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.btn--dark { background: var(--color-foreground); color: var(--color-background); }
.btn--dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.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-primary-foreground); }
.btn--caps { font-size: 0.75rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500; }
.btn--hero { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 0.875rem; text-transform: uppercase; font-weight: 600; }
.btn--block { width: 100%; }
.btn--commission { width: fit-content; padding-left: 1.5rem; padding-right: 1.5rem; }
.btn-arrow { margin-left: 0.5rem; }
.btn-arrow--wide { margin-left: 0.75rem; }
.btn:disabled, .btn.is-disabled { pointer-events: none; opacity: 0.5; }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s var(--transition-smooth);
  background: color-mix(in srgb, var(--color-foreground) 35%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-bottom: 1px solid transparent;
  color: var(--color-background);
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  border-bottom-color: var(--color-border);
  color: var(--color-foreground);
}
/* WordPress admin bar: keep the fixed header, cart drawer and anchors below it. */
body.admin-bar { --wp-admin-bar-height: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --wp-admin-bar-height: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
body.admin-bar .site-header { top: var(--wp-admin-bar-height); }
body.admin-bar #theme-cart-drawer { top: var(--wp-admin-bar-height); height: calc(100% - var(--wp-admin-bar-height)); }
body.admin-bar section[id] { scroll-margin-top: calc(6rem + var(--wp-admin-bar-height)); }
body.admin-bar .hero { min-height: calc(100vh - var(--wp-admin-bar-height)); }
.hdr-nav { display: flex; align-items: center; height: 4rem; }
@media (min-width: 1024px) { .hdr-nav { height: 5rem; } }
.hdr-logo { display: flex; align-items: center; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.site-header .site-logo-img--light { height: var(--logo-height) !important; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55)); transition: all 0.5s var(--transition-smooth); }
.site-header .site-logo-img--dark { display: none; height: calc(var(--logo-height) * 0.9167) !important; }
.site-header.is-solid .site-logo-img--light { display: none; }
.site-header.is-solid .site-logo-img--dark { display: block; }
@media (min-width: 768px) {
  .site-header .site-logo-img--light { height: calc(var(--logo-height) * 1.1667) !important; }
  .site-header .site-logo-img--dark { height: var(--logo-height) !important; }
}
.hdr-desktop-nav { display: none; margin-left: auto; align-items: center; }
.theme-nav-list { display: flex; align-items: center; gap: 0.75rem; }
.hdr-link {
  display: inline-block; font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: color 0.3s, background-color 0.3s; padding: 0.5rem; text-align: left;
}
.hdr-link--plain { color: var(--color-background); }
.hdr-link--plain:hover { color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.site-header.is-solid .hdr-link--plain { color: var(--color-foreground); }
.site-header.is-solid .hdr-link--plain:hover { color: var(--color-primary); }
.hdr-link--primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.hdr-link--primary:hover { background: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.hdr-link--dark { background: var(--color-foreground); color: var(--color-background); }
.hdr-link--dark:hover { background: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.hdr-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.hdr-icon-btn { position: relative; display: inline-flex; padding: 0.5rem; color: inherit; transition: all 0.15s; }
.hdr-icon-btn:hover { color: var(--color-accent); }
.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; line-height: 1rem; font-weight: 600;
  background: var(--color-accent); color: var(--color-primary-foreground);
}
.theme-cart-count:empty { display: none; }
.hdr-menu-toggle__close { display: none; }
.hdr-menu-toggle.is-open .hdr-menu-toggle__open { display: none; }
.hdr-menu-toggle.is-open .hdr-menu-toggle__close { display: inline-flex; }
.hdr-menu-toggle__open { display: inline-flex; }
.hdr-mobile-nav { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; animation: fadeIn 0.8s var(--transition-smooth) forwards; }
.hdr-mobile-nav.is-open { display: block; }
.hdr-mobile-nav .theme-nav-list { flex-direction: column; align-items: stretch; gap: 1rem; }
.hdr-mobile-nav .hdr-link { display: block; font-size: 1rem; line-height: 1.5rem; padding: 0.75rem; color: var(--color-foreground); }
.hdr-mobile-nav .hdr-link--plain:hover { color: var(--color-primary); }
.hdr-mobile-nav .hdr-link--primary { color: var(--color-primary-foreground); }
.hdr-mobile-nav .hdr-link--dark { color: var(--color-background); }
@media (min-width: 1536px) {
  .hdr-desktop-nav { display: flex; }
  .hdr-actions { margin-left: 1rem; }
  .hdr-menu-toggle, .hdr-mobile-nav, .hdr-mobile-nav.is-open { display: none; }
}

/* ------------------------------------------------------------------ Main offsets */
.site-main--product, .site-main--archive, .site-main--page { padding-top: 6rem; min-height: 60vh; }
@media (min-width: 1024px) { .site-main--product, .site-main--archive, .site-main--page { padding-top: 7rem; } }

/* ------------------------------------------------------------------ Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--color-background); }
.hero-media { position: absolute; inset: 0; transform-origin: center; will-change: transform; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: hue-rotate(-12deg) saturate(1.3); max-width: none; }
.hero-overlay { position: absolute; inset: 0; background: var(--color-foreground); opacity: 0.12; }
.hero-gradient { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent), color-mix(in srgb, var(--color-foreground) 50%, transparent)); }
.hero-grain { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }
.hero-body { flex: 1 1 0%; display: flex; align-items: center; justify-content: center; }
.hero-content { text-align: center; padding-top: 6rem; padding-bottom: 6rem; position: relative; z-index: 10; }
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; animation: heroFade 1s ease-in-out 0.3s both; --hy: -10px; }
.hero-line { display: block; height: 1px; background: var(--color-background); width: 56px; animation: heroLine 1s ease-in-out 0.5s both; }
.hero-eyebrow__text { font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-background); font-weight: 600; }
.hero-clip { overflow: hidden; }
.hero-clip--sub { margin-top: 1rem; }
.hero-title {
  font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; color: var(--color-background); font-weight: 500;
  animation: heroFade 1.2s var(--ease-reveal) 0.5s both; --hy: 100px;
}
.hero-subtitle {
  font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-background); font-weight: 700;
  animation: heroFade 1s ease-in-out 0.85s both;
}
.hero-tagline {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; color: var(--color-background); max-width: 42rem; margin: 2.5rem auto; font-weight: 600;
  animation: heroFade 1s ease-in-out 1.05s both;
}
.hero-buttons { display: flex; flex-direction: column; flex-wrap: wrap; gap: 0.75rem; justify-content: center; padding: 0 1rem; animation: heroFade 0.9s ease-in-out 1.25s both; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } .hero-subtitle { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 768px) {
  .hero-title { font-size: 7rem; }
  .hero-subtitle { font-size: 3rem; line-height: 1; }
  .hero-tagline { font-size: 2.25rem; line-height: 1.375; }
  .hero-buttons { flex-direction: row; }
}
@media (min-width: 1024px) { .hero-title { font-size: 9rem; } .hero-subtitle { font-size: 3.75rem; } }
.hero-marquee-wrap { position: relative; z-index: 10; }

.marquee { width: 100%; border-top: 1px solid color-mix(in srgb, var(--color-primary-foreground) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-primary-foreground) 20%, transparent); background: var(--color-primary); color: var(--color-primary-foreground); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marqueeScroll 38s linear infinite; will-change: transform; }
.marquee__item { display: flex; align-items: center; padding: 0.75rem 0; }
.marquee__text { padding: 0 1.5rem; font-size: 0.875rem; line-height: 1.25rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; white-space: nowrap; font-family: var(--font-body); }
.marquee__dot { width: 0.375rem; height: 0.375rem; background: color-mix(in srgb, var(--color-primary-foreground) 60%, transparent); flex-shrink: 0; }
@media (min-width: 768px) { .marquee__item { padding: 1rem 0; } .marquee__text { padding: 0 2rem; font-size: 1rem; line-height: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ------------------------------------------------------------------ Sections */
.section { position: relative; }
.section--card { background: var(--color-card); }
.section--bordered { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section--about { overflow: hidden; border-top: 1px solid var(--color-border); }
.section-pad { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section-pad { padding-top: 8rem; padding-bottom: 8rem; } }

.eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.eyebrow--center { justify-content: center; }
.about-copy .eyebrow, .artist-copy .eyebrow { margin-bottom: 1.5rem; }
.eyebrow__rule { display: block; height: 1px; width: 3rem; background: var(--color-accent); }
.eyebrow__text { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-accent); font-family: var(--font-body); }

.h2-about { font-family: var(--font-display); font-size: 2.25rem; line-height: 0.95; margin-bottom: 2rem; }
.h2-about--mb6 { margin-bottom: 1.5rem; }
.h2-xl { font-family: var(--font-display); font-size: 3rem; line-height: 0.95; letter-spacing: -0.025em; }
.h2-faq { font-family: var(--font-display); font-size: 3rem; line-height: 0.95; letter-spacing: -0.025em; }
@media (min-width: 768px) { .h2-about { font-size: 3.75rem; } .h2-xl { font-size: 4.5rem; } .h2-faq { font-size: 3.75rem; } }
.section-gallery .h2-xl, #pricing .h2-xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.archive-title { text-transform: none; }

.body-lg { font-family: var(--font-body); font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.5rem; max-width: 42rem; }
.body-lg--mb5 { margin-bottom: 1.25rem; }
.body-lg--mb8 { margin-bottom: 2rem; }
@media (min-width: 768px) { .body-lg { font-size: 1.125rem; } }
.body-md { font-family: var(--font-body); font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 1rem; max-width: 42rem; }
.body-md--mb4 { margin-bottom: 1rem; }
.body-md--mb5 { margin-bottom: 1.25rem; }
.body-md--mb10 { margin-bottom: 2.5rem; }
.body-base { font-family: var(--font-body); font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.intro-center { margin: 2.5rem auto 0; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.625; max-width: 42rem; }
.intro-center--gallery2 { margin: 1.5rem auto 4rem; }
.intro-center--pricing { margin-bottom: 4rem; }
@media (min-width: 768px) {
  .intro-center { margin-top: 3.5rem; font-size: 1.125rem; }
  .intro-center--gallery2 { margin-top: 1.5rem; margin-bottom: 5rem; }
}

/* About */
.about-blob { position: absolute; pointer-events: none; filter: blur(64px); }
.about-blob--a { top: -8rem; right: -5rem; width: 28rem; height: 28rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.about-blob--b { bottom: -8rem; left: -5rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.about-wrap { position: relative; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
.about-media__box { position: relative; height: 100%; min-height: 28rem; overflow: hidden; }
.about-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.about-media__shade { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 30%, transparent), transparent, transparent); }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; max-width: 42rem; }
.stat-label { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 0.5rem; }
.stat-value { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
@media (min-width: 768px) { .stat-value { font-size: 1.875rem; line-height: 2.25rem; } }
.about-cta { display: flex; align-items: center; gap: 1.25rem; }
.about-signature { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); display: none; }
@media (min-width: 640px) { .about-signature { display: block; } }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; }
  .about-media { grid-column: span 5 / span 5; }
  .about-copy { grid-column: span 7 / span 7; }
}

/* Gallery / product cards */
.theme-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 72rem; margin-left: auto; margin-right: auto; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: none; margin: 0; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; margin-bottom: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.22, 1.2, 0.36, 1);
}
.theme-product-card__image-wrapper:hover { transform: translateY(-6px); }
.theme-product-card__image-wrapper img, .product-card-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.9s var(--ease-reveal); }
.theme-product-card__image-wrapper:hover img { transform: scale(1.07); }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.375rem 0.75rem; font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; background: var(--color-background); color: var(--color-foreground); font-family: var(--font-body); }
.theme-product-card__info { flex: 1; }
.theme-product-card__info > * + * { margin-top: 0.5rem; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; transition: color 0.3s; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__line { font-family: var(--font-body); font-size: 1rem; line-height: 1.5rem; color: var(--color-foreground); padding-top: 0.25rem; }
.theme-product-card__line--sold { text-transform: uppercase; letter-spacing: 0.2em; }
.theme-product-card__ship { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.25rem; }
.theme-product-card__unit { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
.theme-product-card .woocommerce-Price-amount { font: inherit; }
.theme-product-card del { opacity: 0.6; }
.theme-product-card ins { text-decoration: none; }

/* Split heads, process, services */
.split-head { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3.5rem; align-items: end; }
.split-head__intro { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .split-head__intro { font-size: 1.125rem; line-height: 1.625; } }
@media (min-width: 1024px) {
  .split-head { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split-head__main { grid-column: span 7 / span 7; }
  .split-head__intro { grid-column: span 5 / span 5; }
}
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: inline; } }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.grid-3--testimonials { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 640px) { .grid-3--testimonials { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) { .grid-3--testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.process-card { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.process-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.process-card__step { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.h3-card { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; }
.service-card { border: 1px solid var(--color-border); background: var(--color-background); padding: 1.75rem; }
.service-card__icon { margin-bottom: 1.25rem; }
.service-card__text { margin-bottom: 1.25rem; }
.service-card__price { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-accent); font-family: var(--font-body); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 72rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pricing-card { padding: 2rem; border: 1px solid var(--color-border); background: var(--color-background); display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--color-primary); background: var(--color-card); }
.pricing-card__head { min-height: 140px; }
.pricing-card__badge { display: inline-block; margin-bottom: 1rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; background: var(--color-primary); color: var(--color-primary-foreground); padding: 0.25rem 0.75rem; font-family: var(--font-body); }
.pricing-card__name { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 0.5rem; }
.pricing-card__range { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; color: var(--color-primary); margin-bottom: 1rem; }
.pricing-card__blurb { margin-bottom: 1.5rem; }
.pricing-card__list { margin-bottom: 2rem; }
.pricing-card__list > li + li { margin-top: 0.75rem; }
.pricing-card__list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; line-height: 1.625; font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.pricing-card__shell { margin-top: 0.125rem; }
.pricing-card__btn { margin-top: auto; }

/* Artist */
.artist-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.artist-copy { order: 2; }
.artist-media { order: 1; }
.artist-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.75rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 2.5rem; max-width: 42rem; }
.artist-media__box { position: relative; }
.artist-media__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.artist-badge { position: absolute; bottom: -1.25rem; left: -1.25rem; display: none; background: var(--color-primary); color: var(--color-primary-foreground); padding: 1rem 1.5rem; }
.artist-badge__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.artist-badge__role { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; margin-top: 0.5rem; font-family: var(--font-body); opacity: 0.8; }
@media (min-width: 640px) { .artist-badge { display: block; } }
@media (min-width: 1024px) {
  .artist-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; }
  .artist-copy { grid-column: span 7 / span 7; order: 1; }
  .artist-media { grid-column: span 5 / span 5; order: 2; }
}

/* Testimonials */
.testimonial { border: 1px solid var(--color-border); background: var(--color-background); padding: 2rem; display: flex; flex-direction: column; }
.testimonial__stars { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonial__star { fill: currentColor; }
.testimonial__star--empty { display: none; }
.testimonial__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.625; color: var(--color-foreground); margin-bottom: 1.5rem; flex: 1 1 0%; }
.testimonial__name { font-size: 1rem; line-height: 1.5rem; font-weight: 500; font-family: var(--font-body); }
.testimonial__role { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--color-muted-foreground); margin-top: 0.25rem; font-family: var(--font-body); }

/* Commissions */
.commission-box { border: 1px solid var(--color-border); background: var(--color-card); padding: 2rem; }

/* FAQ */
.faq-wrap { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__btn { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.5rem 0; }
.faq-item__q { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.375; }
@media (min-width: 768px) { .faq-item__q { font-size: 1.5rem; line-height: 1.375; } }
.faq-item__icon { flex-shrink: 0; margin-top: 0.25rem; }
.faq-item__icon--minus { display: none; }
.faq-item.is-open .faq-item__icon--minus { display: block; }
.faq-item.is-open .faq-item__icon--plus { display: none; }
.faq-item__a { padding-bottom: 1.5rem; margin-top: -0.25rem; font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); animation: fadeIn 0.8s var(--transition-smooth) forwards; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--color-card); }
.contact-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.contact-bg__wash { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 85%, transparent); }
.contact-bg__grain { position: absolute; inset: 0; opacity: 0.4; }
.contact-inner { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .contact-inner { padding-top: 10rem; padding-bottom: 10rem; } }
.contact-center { max-width: 48rem; margin: 0 auto; text-align: center; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--color-accent); font-family: var(--font-body); }
.contact-eyebrow__rule { display: block; height: 1px; width: 2.5rem; background: var(--color-accent); }
.contact-title { font-family: var(--font-display); font-size: 3rem; line-height: 0.95; margin-top: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 6rem; } }
.contact-intro { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.625; max-width: 36rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .contact-intro { font-size: 1.125rem; } }
.contact-card { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: 36rem; margin: 0 auto; padding: 2rem; border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.contact-form { text-align: left; }
.contact-form > * + * { margin-top: 1.25rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-label { display: block; font-size: 0.875rem; line-height: 1.25rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; color: var(--color-foreground); }
.contact-input {
  width: 100%; padding: 0.75rem 1rem; background: color-mix(in srgb, var(--color-background) 70%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
  font-size: 1rem; line-height: 1.5rem; font-family: var(--font-body); transition: all 0.3s; outline: none; -webkit-appearance: none; appearance: none;
}
.contact-input::placeholder { color: var(--color-muted-foreground); opacity: 1; }
.contact-input:focus { border-color: var(--color-accent); background: var(--color-background); }
select.contact-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23182c3a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem; padding-right: 2.5rem; }
.contact-input--textarea { resize: none; display: block; }
.contact-error { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-destructive); margin-top: 0.25rem; font-family: var(--font-body); }
.contact-submit__label { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-submit__icon { margin-left: 0.5rem; }
.contact-note { font-size: 0.875rem; line-height: 1.625; color: var(--color-muted-foreground); text-align: center; font-family: var(--font-body); }
.contact-meta { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 2.5rem; row-gap: 1rem; font-size: 1rem; line-height: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); font-family: var(--font-body); }
.contact-meta__link, .contact-meta__loc { display: flex; align-items: center; gap: 0.5rem; }
.contact-meta__link { word-break: break-all; transition: color 0.15s; }
.contact-meta__link:hover { color: var(--color-accent); }

/* ------------------------------------------------------------------ Footer */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-background); }
.ftr-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .ftr-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.ftr-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .ftr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ftr-grid { gap: 4rem; } }
.ftr-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 768px) { .ftr-brand { align-items: flex-start; text-align: left; } }
.site-footer .footer-logo-img { height: var(--footer-logo-height) !important; width: auto !important; object-fit: contain; }
.ftr-text { margin-top: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--color-muted-foreground); max-width: 24rem; font-family: var(--font-body); }
.ftr-handle { margin-top: 1rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.4em; color: var(--color-accent); font-family: var(--font-body); }
.ftr-social { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
.ftr-social-link { color: var(--color-muted-foreground); transition: color 0.15s; }
.ftr-social-link:hover { color: var(--color-accent); }
.ftr-heading { font-size: 0.75rem; line-height: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.35em; margin-bottom: 1.25rem; font-family: var(--font-body); color: var(--color-accent); }
.ftr-list > li + li { margin-top: 0.75rem; }
.ftr-link { font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); transition: color 0.15s; font-family: var(--font-body); }
.ftr-link:hover { color: var(--color-foreground); }
.ftr-studio-item { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.ftr-email { word-break: break-all; transition: color 0.15s; }
.ftr-email:hover { color: var(--color-foreground); }
.ftr-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .ftr-bottom { flex-direction: row; } }
.ftr-copy { font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.ftr-credit { font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.3em; }
.ftr-credit a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; transition: color 0.15s; }
.ftr-credit a:hover { color: var(--color-foreground); }

/* ------------------------------------------------------------------ Single product */
.product-back { padding: 1.5rem 0; }
.product-back__link { display: inline-flex; align-items: center; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-muted-foreground); transition: color 0.15s; font-family: var(--font-body); }
.product-back__link:hover { color: var(--color-foreground); }
.product-back__icon { margin-right: 0.5rem; }
.theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: 6rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.product-main-image { aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.product-main-img, .product-thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 100%; }
.theme-thumb { aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.15s; }
.theme-thumb:hover { opacity: 1; }
.theme-thumb.is-active { border-color: var(--color-accent); opacity: 1; }
@media (min-width: 1024px) { .theme-product-info { padding: 1.5rem 0; } }
.product-eyebrow { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-accent); font-family: var(--font-body); }
.product-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.25; margin-top: 0.75rem; margin-bottom: 1.25rem; text-transform: none; font-style: normal; }
@media (min-width: 768px) { .product-title { font-size: 3rem; } }
.product-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.product-price { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; color: var(--color-foreground); }
.product-price--sold { text-transform: uppercase; letter-spacing: 0.15em; }
.product-price--inquiry { font-size: 1.5rem; line-height: 2rem; }
.product-ship { font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-description { font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 2rem; font-family: var(--font-body); overflow-wrap: break-word; word-break: break-word; }
.product-description p { font-size: 1rem; line-height: 1.625; white-space: pre-line; }
.product-description p + p { margin-top: 1rem; }
.product-specs { margin-bottom: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; max-width: 28rem; }
.product-specs__label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 0.25rem; }
.product-specs__value { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; }
.product-note { font-size: 0.875rem; line-height: 1.625; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 1.5rem; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.15s; display: inline-flex; align-items: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3.5rem; min-width: 56px; padding: 0.75rem 0; text-align: center; font-family: var(--font-body); border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; outline: none; font-size: 1rem; line-height: 1.5rem; }
.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; min-width: 160px; }

.product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.product-details__title { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.35em; color: var(--color-accent); font-family: var(--font-body); margin-bottom: 1rem; font-weight: 500; }
.woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__short-description ul > li + li { margin-top: 0.5rem; }
.woocommerce-product-details__short-description li { font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); display: flex; align-items: flex-start; font-family: var(--font-body); }
.woocommerce-product-details__short-description li::before { content: ''; flex-shrink: 0; width: 0.25rem; height: 0.25rem; background: var(--color-accent); margin-top: 0.5rem; margin-right: 0.75rem; }
.woocommerce-product-details__short-description p { font-size: 1rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-title { font-size: 2.25rem; } }

/* Variable products */
.single-product .variations tbody, .single-product .variations tbody tr, .single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; }
.single-product .variations { margin-bottom: 1.5rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.theme-attr-pill { padding: 0.5rem 1rem; border: 1px solid var(--color-border); font-family: var(--font-body); font-size: 0.875rem; background: var(--color-background); transition: all 0.15s; }
.theme-attr-pill:hover { border-color: var(--color-accent); }
.theme-attr-pill.is-selected { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-variation-price .price { font-family: var(--font-display); font-size: 1.5rem; }
.single-product .woocommerce-variation-description, .single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .single_variation_wrap { margin-top: 1rem; }

/* Add-to-cart button overrides (defeat WooCommerce .button styling) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover { opacity: 0.85 !important; background-color: var(--color-primary) !important; color: var(--color-button-text) !important; }
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled { cursor: not-allowed !important; opacity: 0.4 !important; pointer-events: none !important; }
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover { opacity: 0.4 !important; background-color: var(--color-primary) !important; }
.single_add_to_cart_button.button.is-added { opacity: 1 !important; }
.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 { display: none !important; }
.single_add_to_cart_button .icon { margin-right: 0.5rem; }
.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; }

/* Notices (scoped) */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-foreground); padding: 1rem 1.25rem; margin: 0 0 1.5rem; font-family: var(--font-body); list-style: none; }
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ------------------------------------------------------------------ Cart drawer */
/* Transitions (not keyframes) so re-rendering the drawer while open never replays the entrance. */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 50; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.8s var(--transition-smooth), visibility 0s linear 0.8s; }
#theme-cart-drawer { display: flex; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background); z-index: 50; box-shadow: var(--shadow-elevated); flex-direction: column; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(20px); transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth), visibility 0s linear 0.8s; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.8s var(--transition-smooth), visibility 0s; }
body.cart-open #theme-cart-drawer { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth), visibility 0s; }
#theme-cart-drawer.is-updating .cart-drawer__items, #theme-cart-drawer.is-updating .cart-drawer__footer { opacity: 0.6; pointer-events: none; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer__title { font-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-48 { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.cart-drawer__items { flex: 1 1 0%; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item__thumb { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.cart-item-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__body { flex: 1 1 0%; min-width: 0; }
.cart-item__name { font-size: 1rem; line-height: 1.5rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; transition: color 0.15s; font-family: var(--font-body); }
.cart-item__name:hover { color: var(--color-primary); }
.cart-item__price { font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.cart-item__attrs { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; transition: background-color 0.15s; display: inline-flex; }
.cart-item__qty-btn:hover { background: var(--color-secondary); }
.cart-item__qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.cart-item__remove { margin-left: auto; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); transition: color 0.15s; font-family: var(--font-body); }
.cart-item__remove:hover { color: var(--color-foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 1rem; line-height: 1.5rem; font-family: var(--font-body); }
.cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 1rem; line-height: 1.5rem; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* ------------------------------------------------------------------ 404 */
.site-main--404 { padding-top: 0; }
.notfound { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--color-muted); }
.notfound__title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; font-family: var(--font-display); }
.notfound__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.notfound__link { color: var(--color-primary); text-decoration: underline; }
.notfound__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ------------------------------------------------------------------ Pages: cart / checkout / account / thank you */
.page-container { padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin: 2.5rem 0; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }
.entry-content { max-width: 100%; }
body.woocommerce-checkout .site-main, body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart { font-family: var(--font-body); color: var(--color-foreground); }
body.woocommerce-checkout .wc-block-components-sidebar-layout { display: block; }
@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: 2rem; align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--color-card); border: 1px solid var(--color-border); border-radius: 0; padding: 2rem; }
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 {
  width: 100% !important; max-width: none !important; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0; font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
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 { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); outline: none; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button {
  background: var(--color-primary); color: var(--color-primary-foreground); border: 0; border-radius: 0; font-family: var(--font-body); font-weight: 500; min-height: 2.75rem; text-transform: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0; 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: var(--color-destructive); color: var(--color-destructive); }
body.woocommerce-checkout .wc-block-cart-items, body.woocommerce-cart .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-product-name, body.woocommerce-cart .wc-block-components-product-name { font-family: var(--font-body); font-weight: 500; }

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: 0 0 2rem; padding: 1.5rem; border: 1px solid var(--color-border); background: var(--color-card); }
body.theme-thankyou-page .woocommerce-order-overview li { list-style: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--color-foreground); margin-top: 0.25rem; }
body.theme-thankyou-page 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(--color-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(--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; padding: 1rem; border: 1px solid var(--color-border); font-style: normal; }
