/*
 * Classy and Sassy Consignment Boutique - theme stylesheet.
 * By The Free Website Guys.
 */

/* ---------- Tokens (hex derived from the design HSL tokens) ---------- */
:root {
  --background: #f9f4f0;
  --foreground: #2a1d20;
  --card: #fcf9f7;
  --primary: #652031;
  --primary-foreground: #fbf7f4;
  --secondary: #f0e5e0;
  --muted: #e6dbd5;
  --muted-foreground: #69595d;
  --accent: #ba862c;
  --accent-foreground: #fbf7f4;
  --destructive: #b82e2e;
  --border: #dacec8;
  --bone: #e4d8d3;
  --dark-background: #291419;
  --dark-foreground: #f8f1ed;
  --dark-accent: #e2b05a;
  --dark-border: #544045;
  --ivory: var(--background);
  --linen: var(--secondary);
  --ring: var(--primary);
  --radius: 0.5rem;
  --shadow-soft: 0 6px 24px -12px color-mix(in srgb, var(--foreground) 18%, transparent);
  --shadow-elevated: 0 24px 60px -24px color-mix(in srgb, var(--foreground) 28%, transparent);
  --color-primary: var(--primary);
  --color-button-text: var(--primary-foreground);
  --font-body: 'Jost', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --btn-radius: 9999px;
  --btn-height: 3rem;
  --btn-padding: 0.625rem 1.75rem;
  --btn-font-size: 15px;
  --btn-font-weight: 500;
  --btn-letter-spacing: normal;
  --btn-text-transform: none;
  --header-height: 4.5rem;
}
@media (min-width: 768px) { :root { --header-height: 5rem; } }
@media (min-width: 1280px) { :root { --header-height: 6.5rem; } }

.theme-dark {
  --background: var(--dark-background);
  --foreground: var(--dark-foreground);
  --card: #372026;
  --secondary: #3e282d;
  --muted: #4e3b40;
  --muted-foreground: #d7cac1;
  --accent: var(--dark-accent);
  --accent-foreground: var(--dark-background);
  --primary: var(--dark-accent);
  --primary-foreground: var(--dark-background);
  --border: var(--dark-border);
  --ring: var(--dark-accent);
  background-color: var(--background);
  color: var(--foreground);
}
.theme-light {
  background-color: var(--background);
  color: var(--foreground);
}

/* ---------- Base (preflight parity) ---------- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0; line-height: inherit; max-width: 100%; overflow-x: clip;
  background-color: var(--background); color: var(--foreground);
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0; font-size: inherit;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: -0.008em; font-weight: 400;
}
p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img:not(.cover-img):not(.site-logo-img), video { max-width: 100%; height: auto; }
img, svg, video { display: block; vertical-align: middle; }
svg { flex-shrink: 0; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
button, input, select, textarea, optgroup {
  font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit;
  color: inherit; margin: 0; padding: 0; background-color: transparent; border-radius: 0;
}
button, [type='button'], [type='submit'] { -webkit-appearance: button; appearance: button; background-image: none; cursor: pointer; }
:disabled { cursor: default; }
[hidden] { display: none !important; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); opacity: 1; }
input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type='number'] { -moz-appearance: textfield; appearance: textfield; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.break-all { word-break: break-all; }
.italic { font-style: italic; }

a, button, [role='button'] {
  transition: color 300ms cubic-bezier(0.22, 1, 0.36, 1), background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1), transform 350ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}
a svg, button svg, [role='button'] svg {
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), color 300ms ease, opacity 300ms ease;
  will-change: transform;
}
a:hover svg, button:hover svg, [role='button']:hover svg { transform: translateY(-1px) scale(1.06); }
a:active svg, button:active svg { transform: scale(0.96); }
img { transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) {
  a, button, [role='button'], a svg, button svg, img { transition: none !important; transform: none !important; }
}
section[id] { scroll-margin-top: 88px; }
::selection { background: color-mix(in srgb, var(--accent) 70%, transparent); color: var(--accent-foreground); }

.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 4rem; padding-right: 4rem; } }

.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-shrink { flex-shrink: 0; }
.icon-mt { margin-top: 0.125rem; }

/* ---------- Animations ---------- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fade-in 0.7s ease-out both; }
.animate-slide-in-bottom { animation: slide-in-bottom 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--muted) 0%, var(--linen) 50%, var(--muted) 100%);
  background-size: 200% 100%; animation: shimmer 1.6s linear infinite;
}
.img-fade-in { opacity: 0; transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.img-fade-in.is-loaded { opacity: 1; }
body.is-customizer .img-fade-in { opacity: 1; }
body.is-customizer .skeleton-shimmer { display: none; }
@keyframes marquee-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.marquee-track { width: max-content; animation: marquee-scroll 45s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
  border-radius: 9999px; font-size: 15px; line-height: 1.5rem; font-weight: 500; border: 1px solid var(--primary);
  height: 2.75rem; padding: 0.625rem 1.5rem;
  background-color: var(--primary); color: var(--primary-foreground); text-transform: none; letter-spacing: normal;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.btn:hover { transform: scale(1.02); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn--lg { height: 3rem; padding: 0 1.75rem; }
.btn--sm { height: 2.25rem; padding: 0 1rem; }
.btn--block { width: 100%; }
.btn--outline { background-color: transparent; color: var(--foreground); border-color: color-mix(in srgb, var(--foreground) 25%, transparent); }
.btn--outline:hover { background-color: transparent; border-color: var(--primary); color: var(--primary); }
.btn--ghost { background-color: transparent; border-color: transparent; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.btn--ghost:hover { background-color: color-mix(in srgb, var(--foreground) 6%, transparent); color: var(--primary); }
.btn:disabled, .btn.is-disabled { pointer-events: none; opacity: 0.6; }
.btn:disabled:hover, .btn.is-disabled:hover { transform: none; box-shadow: none; }

.btn-hero-primary, .btn-hero-outline { width: 100%; text-transform: none; }
.btn-hero-primary {
  background-color: var(--accent); color: var(--accent-foreground); border-color: var(--primary);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  transition: all 300ms ease-out;
}
.btn-hero-primary:hover { background-color: color-mix(in srgb, var(--accent) 90%, transparent); transform: scale(1.03); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.btn-hero-primary:active { transform: scale(0.98); }
.btn-hero-outline { background-color: transparent; border-color: rgb(255 255 255 / 0.7); color: #fff; transition: all 300ms ease-out; }
.btn-hero-outline:hover { background-color: #fff; color: var(--primary); border-color: rgb(255 255 255 / 0.7); transform: scale(1.03); }
.btn-hero-outline:active { transform: scale(0.98); }
@media (min-width: 640px) { .btn-hero-primary, .btn-hero-outline { width: auto; } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; background: transparent; pointer-events: none; }
.scroll-progress__bar { height: 100%; background: var(--foreground); transform-origin: left; transform: scaleX(0); transition: transform 150ms ease-out; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
  background-color: transparent; border-bottom: 1px solid transparent;
  transition: background-color 300ms ease-out, border-color 300ms ease-out, box-shadow 300ms ease-out;
}
.site-header.is-solid { background-color: var(--background); border-bottom-color: var(--border); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 0.75rem; }
@media (min-width: 640px) { .site-header__inner { gap: 1rem; } }
@media (min-width: 768px) { .site-header__inner { height: 5rem; } }
@media (min-width: 1280px) { .site-header__inner { height: 6.5rem; } }
.site-header__brand { display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.site-header .site-logo-img {
  height: 2.75rem; width: auto; max-width: 9.5rem; object-fit: contain; user-select: none;
  transition: all 300ms ease-out; filter: brightness(0) invert(1);
}
.site-header.is-solid .site-logo-img { filter: none; }
.site-header__brand:hover .site-logo-img { transform: scale(1.04); }
@media (min-width: 640px) { .site-header .site-logo-img { height: 3rem; } }
@media (min-width: 768px) { .site-header .site-logo-img { height: 3.5rem; max-width: 10.5rem; } }
@media (min-width: 1280px) { .site-header .site-logo-img { height: 64%; } }
body.has-logo-height .site-logo-img { height: var(--logo-height) !important; width: auto !important; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: #fff; display: block; }
.site-header.is-solid .site-logo-text { color: var(--foreground); }

.site-nav { display: none; align-items: center; justify-content: center; flex: 1 1 0%; min-width: 0; }
@media (min-width: 1280px) { .site-nav { display: flex; } }
.site-nav .theme-nav-list { display: flex; align-items: center; gap: 0.25rem; }
.site-nav .theme-nav-list a {
  position: relative; display: inline-block; padding: 0.5rem 0.75rem; font-size: 14px; line-height: 1.25rem; font-weight: 500;
  letter-spacing: 0.025em; border-radius: 0.25rem; white-space: nowrap; color: rgb(255 255 255 / 0.85);
  transition: all 300ms ease-out;
}
.site-nav .theme-nav-list a:hover { transform: translateY(-2px); color: #fff; }
.site-nav .theme-nav-list a::after {
  content: ''; pointer-events: none; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -2px; height: 2px;
  background: #fff; transform-origin: left; opacity: 0; transform: scaleX(0); transition: all 300ms ease-out;
}
.site-nav .theme-nav-list a.is-active { color: #fff; }
.site-nav .theme-nav-list a.is-active::after { opacity: 1; transform: scaleX(1); }
.site-header.is-solid .site-nav .theme-nav-list a { color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.site-header.is-solid .site-nav .theme-nav-list a:hover { color: var(--primary); }
.site-header.is-solid .site-nav .theme-nav-list a.is-active { color: var(--primary); }
.site-header.is-solid .site-nav .theme-nav-list a::after { background: var(--accent); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: calc(var(--radius) - 2px); color: #fff; transition: all 300ms ease-out;
}
.header-icon-btn:hover { transform: scale(1.1); background-color: rgb(255 255 255 / 0.1); }
.header-icon-btn:active { transform: scale(0.95); }
.site-header.is-solid .header-icon-btn { color: var(--foreground); }
.site-header.is-solid .header-icon-btn:hover { background-color: var(--secondary); }
.theme-cart-count {
  position: absolute; top: -0.125rem; right: -0.125rem; font-size: 11px; font-weight: 500; line-height: 1rem; min-width: 18px; height: 18px;
  padding: 0 0.25rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-foreground); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.theme-cart-count:empty { display: none; }
.menu-toggle { display: inline-flex; }
@media (min-width: 1280px) { .menu-toggle { display: none; } }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__close { display: inline-flex; }
.menu-toggle__open, .menu-toggle__close { align-items: center; justify-content: center; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--background); animation: fade-in 0.7s ease-out both; }
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
.mobile-menu__nav {
  padding-top: 0.5rem; padding-bottom: 0.5rem; display: flex; flex-direction: column;
  max-height: calc(100svh - 4.5rem); overflow-y: auto;
}
.theme-nav-list--mobile { display: flex; flex-direction: column; }
.theme-nav-list--mobile a {
  display: block; min-height: 3rem; text-align: left; font-size: 15px; line-height: 1.5rem; font-weight: 500; padding: 0.75rem 0;
  border-bottom: 1px solid var(--border); color: color-mix(in srgb, var(--foreground) 85%, transparent); transition: all 300ms ease-out;
}
.theme-nav-list--mobile li:last-child a { border-bottom-width: 0; }
.theme-nav-list--mobile a:hover { color: var(--primary); transform: translateX(4px); }
@media (min-width: 768px) {
  .mobile-menu__nav { padding-top: 0.75rem; padding-bottom: 0.75rem; max-height: calc(100svh - 5rem); }
  .theme-nav-list--mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

/* ---------- Layout helpers ---------- */
.site-main { display: block; }
.site-main--home { padding-top: 0; }
.section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .section { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 768px) { .section { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.eyebrow {
  font-size: 13px; line-height: 1.25rem; letter-spacing: 0.3em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent);
  margin-bottom: 1rem; font-weight: 500;
}
@media (min-width: 640px) { .eyebrow { letter-spacing: 0.4em; } }
.section-heading { font-family: var(--font-display); color: var(--foreground); line-height: 1.08; font-size: 1.875rem; }
@media (min-width: 640px) { .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: clip; }
.hero__video { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1280px) { .hero__video { display: block; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(38, 12, 20, 0.66) 0%, rgba(38, 12, 20, 0.48) 55%, rgba(38, 12, 20, 0.76) 100%);
}
.hero__content { position: relative; z-index: 10; text-align: center; padding-top: 7rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .hero__content { padding-top: 8rem; padding-bottom: 6rem; } }
@media (min-width: 1024px) { .hero__content { padding-top: 10rem; padding-bottom: 8rem; } }
.hero__badge-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero__badge-wrap { margin-bottom: 2rem; } }
.hero__badge {
  display: inline-flex; max-width: 100%; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 0.75rem;
  border-radius: 9999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.25);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(255 255 255 / 0.9); font-weight: 500; line-height: 1.625;
}
@media (min-width: 640px) { .hero__badge { padding: 0.5rem 1rem; font-size: 13px; letter-spacing: 0.32em; } }
.hero__title {
  font-family: var(--font-display); color: #fff; line-height: 1.04; letter-spacing: normal; margin: 0 auto; max-width: 64rem;
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45)); font-size: clamp(2.25rem, 6.6vw, 5.4rem);
}
.hero__title-accent { font-style: italic; color: var(--accent); }
.hero__text { margin: 1.5rem auto 0; max-width: 42rem; font-size: 15px; color: rgb(255 255 255 / 0.9); line-height: 1.625; }
@media (min-width: 640px) { .hero__text { margin-top: 2rem; font-size: 18px; line-height: 1.75rem; } }
.hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero__actions { margin-top: 2.5rem; flex-direction: row; gap: 1rem; } }

/* ---------- About ---------- */
.about-section .section-heading { font-size: 1.875rem; }
@media (min-width: 640px) { .about-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.6rem; } }
.about__intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-section .eyebrow { margin-bottom: 1rem; }
@media (min-width: 640px) { .about-section .eyebrow { margin-bottom: 1.5rem; } }
.about__lead { margin-top: 1.5rem; font-size: 16px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; }
@media (min-width: 768px) { .about__lead { font-size: 17px; } }
.about__grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center; }
@media (min-width: 640px) { .about__grid { margin-top: 3.5rem; gap: 3rem; } }
@media (min-width: 768px) { .about__grid { margin-top: 4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 1024px) { .about__grid { margin-top: 5rem; gap: 5rem; } }
.about__image {
  position: relative; border-radius: var(--radius); overflow: clip; border: 1px solid var(--border); background: var(--secondary);
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) { .about__image { aspect-ratio: 3 / 4; } }
@media (min-width: 1024px) { .about__image { aspect-ratio: 4 / 5; } }
.about__heading { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.15; color: var(--foreground); margin-bottom: 1.5rem; }
@media (min-width: 640px) { .about__heading { font-size: 1.875rem; margin-bottom: 2rem; } }
@media (min-width: 768px) { .about__heading { font-size: 2rem; margin-bottom: 1.5rem; } }
@media (min-width: 1024px) { .about__heading { font-size: 2.25rem; margin-bottom: 2rem; } }
.about__copy { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.about__copy > * + * { margin-top: 1.25rem; }
@media (min-width: 640px) { .about__copy > * + * { margin-top: 1.5rem; } }
@media (min-width: 768px) { .about__copy > * + * { margin-top: 1rem; } }
@media (min-width: 1024px) { .about__copy { font-size: 16px; } .about__copy > * + * { margin-top: 1.5rem; } }
.about__copy .about__highlight { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--foreground) 90%, transparent); font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 768px) { .about__copy .about__highlight { font-size: 1.25rem; } }
.about__stats { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.75rem; border-top: 1px solid var(--border); padding-top: 2rem; }
@media (min-width: 640px) { .about__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 2.5rem; } }
@media (min-width: 768px) { .about__stats { margin-top: 5rem; } }
.about-stat { text-align: center; }
@media (min-width: 640px) { .about-stat { text-align: left; } }
.about-stat__value { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; line-height: 2.25rem; color: var(--foreground); }
@media (min-width: 768px) { .about-stat__value { font-size: 2.25rem; line-height: 2.5rem; } }
.about-stat__label { margin-top: 0.25rem; font-size: 13px; line-height: 1.25rem; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.about-stat__rule { margin: 0.75rem auto 0; display: block; height: 1px; width: 1.5rem; background: var(--accent); }
@media (min-width: 640px) { .about-stat__rule { margin-left: 0; margin-right: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-top: 2.25rem; padding-bottom: 2.25rem; }
@media (min-width: 768px) { .marquee { padding-top: 3.15rem; padding-bottom: 3.15rem; } }
.marquee__fade { pointer-events: none; position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10; }
.marquee__fade--left { left: 0; background: linear-gradient(to right, var(--background), transparent); }
.marquee__fade--right { right: 0; background: linear-gradient(to left, var(--background), transparent); }
@media (min-width: 768px) { .marquee__fade { width: 10rem; } }
.marquee-track { display: flex; align-items: center; gap: 3rem; white-space: nowrap; will-change: transform; }
.marquee__item { display: flex; align-items: center; gap: 3rem; flex-shrink: 0; }
@media (min-width: 768px) { .marquee-track, .marquee__item { gap: 5rem; } }
.marquee__phrase { font-family: var(--font-display); font-style: italic; line-height: 1; color: var(--foreground); font-size: clamp(1.44rem, 3.84vw, 3.2rem); }
.marquee__dot { display: inline-block; border-radius: 9999px; background: var(--accent); flex-shrink: 0; width: clamp(6px, 0.6vw, 10px); height: clamp(6px, 0.6vw, 10px); }

/* ---------- Services ---------- */
.services-section .section-heading { font-size: 1.875rem; }
@media (min-width: 640px) { .services-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .services-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 3.4rem; } }
.services__intro { max-width: 48rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .services__intro { margin-bottom: 3.5rem; } }
.services__lead { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card {
  display: flex; height: 100%; min-height: 11rem; flex-direction: column; align-items: flex-start; text-align: left;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); padding: 1.25rem;
  transition: all 500ms ease-out;
}
@media (min-width: 640px) { .service-card { padding: 1.5rem; } }
@media (min-width: 1024px) { .service-card { padding: 1.75rem; } }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.service-card:focus { outline: none; }
.service-card:focus-visible { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px color-mix(in srgb, var(--primary) 40%, transparent); }
.service-card__icon {
  width: 3rem; height: 3rem; border-radius: 9999px; background: var(--secondary); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--primary); transition: color 300ms, border-color 300ms;
}
.service-card:hover .service-card__icon { border-color: var(--primary); }
.service-card__title {
  margin-top: 1.25rem; margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; color: var(--foreground);
  transition: color 300ms;
}
@media (min-width: 640px) { .service-card__title { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.5rem; line-height: 2rem; } }
.service-card:hover .service-card__title { color: var(--primary); }
.service-card__body { font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; }

/* ---------- Shop ---------- */
.shop-section .section-heading { font-size: 1.875rem; }
@media (min-width: 640px) { .shop-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .shop-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section .section-heading { font-size: 3.4rem; } }
.shop__intro { margin-bottom: 2.5rem; }
.shop__intro-inner { max-width: 42rem; }
.shop__lead { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; max-width: 36rem; }
.shop__note { margin-top: 0.75rem; font-size: 12px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.24em; color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.shop__toolbar { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1280px) { .shop__toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.shop__cats { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 640px) { .shop__cats { display: flex; flex-wrap: wrap; gap: 0.625rem; } }
@media (min-width: 768px) { .shop__cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .shop__cats { display: flex; width: auto; } }
.theme-cat-filter {
  min-width: 0; padding: 0 0.75rem; height: 2.75rem; border-radius: 9999px; font-size: 14px; line-height: 1.25rem; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); background: transparent; color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: all 300ms ease-out;
}
@media (min-width: 640px) { .theme-cat-filter { padding: 0 1.25rem; } }
.theme-cat-filter:hover { transform: translateY(-2px); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); border-color: var(--primary); color: var(--primary); }
.theme-cat-filter.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); transform: scale(1.02); }
.theme-cat-filter.is-active:hover { transform: translateY(-2px) scale(1.02); color: var(--primary-foreground); }
.shop__search { position: relative; width: 100%; flex-shrink: 0; }
@media (min-width: 768px) { .shop__search { max-width: 28rem; } }
@media (min-width: 1280px) { .shop__search { width: 20rem; } }
.shop__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: color-mix(in srgb, var(--foreground) 50%, transparent); }
.shop__search-input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem; border-radius: 9999px; background: var(--secondary); border: 1px solid var(--border);
  font-size: 14px; line-height: 1.25rem; color: var(--foreground); transition: color 300ms, border-color 300ms; -webkit-appearance: none; appearance: none;
}
.shop__search-input:focus { outline: none; border-color: var(--primary); }
.shop__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.shop__dropdowns { margin-top: 1rem; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .shop__dropdowns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop__select { position: relative; display: block; }
.shop__select-input {
  width: 100%; height: 2.75rem; padding: 0 2.25rem 0 1rem; border-radius: 9999px; background: var(--secondary); border: 1px solid var(--border);
  font-size: 14px; line-height: 1.25rem; color: var(--foreground); -webkit-appearance: none; appearance: none; transition: color 300ms, border-color 300ms;
}
.shop__select-input:focus { outline: none; border-color: var(--primary); }
.shop__select-caret { pointer-events: none; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--foreground) 50%, transparent); font-size: 11px; line-height: 1rem; }
.shop__quick { margin-top: 1.5rem; }
.shop__quick-label { font-size: 12px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.24em; color: color-mix(in srgb, var(--foreground) 50%, transparent); margin-bottom: 0.75rem; }
.shop__quick-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-style-filter {
  padding: 0 0.875rem; height: 2.25rem; border-radius: 9999px; font-size: 13px; line-height: 1.25rem; border: 1px solid var(--border);
  background: transparent; color: color-mix(in srgb, var(--foreground) 65%, transparent); transition: all 300ms ease-out;
}
.theme-style-filter:hover { border-color: var(--primary); color: var(--primary); }
.theme-style-filter.is-active { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.shop__status { margin-top: 1.5rem; margin-bottom: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .shop__status { margin-bottom: 3rem; } }
.shop__count { font-size: 13px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.shop__clear { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); transition: color 300ms; }
.shop__clear:hover { color: var(--primary); }
.shop__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.shop__more { margin-top: 3.5rem; display: flex; justify-content: center; }

.theme-product-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; row-gap: 2rem; align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { column-gap: 1.5rem; row-gap: 3rem; } }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-grid--related { row-gap: 2rem; }
@media (min-width: 640px) { .theme-product-grid--related { row-gap: 2.5rem; } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.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: 1 / 1; background: var(--linen); border-radius: var(--radius); overflow: clip; margin-bottom: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); transition: border-color 300ms;
}
@media (min-width: 640px) { .theme-product-card__image-wrapper { margin-bottom: 1.25rem; } }
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.product-card-img { will-change: transform; }
.theme-product-card:hover .product-card-img { transform: scale(1.04); }
.theme-product-card__scrim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(to top, rgb(0 0 0 / 0.55), transparent);
  opacity: 0; transition: opacity 500ms; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }
.theme-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary); color: var(--primary-foreground); font-size: 15px; line-height: 1.5rem;
  font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 9999px;
}
.theme-product-card__actions {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.625rem; display: flex; align-items: center; gap: 0.5rem; opacity: 1; transform: translateY(0);
  transition: all 500ms ease-out; z-index: 3;
}
@media (min-width: 640px) {
  .theme-product-card__actions { padding: 1.25rem; gap: 0.75rem; opacity: 0; transform: translateY(0.75rem); }
  .theme-product-card:hover .theme-product-card__actions { opacity: 1; transform: translateY(0); }
}
.theme-card-eye {
  display: none; width: 3rem; height: 3rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px;
  background: var(--background); color: var(--foreground); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transition: background-color 300ms, color 300ms; pointer-events: auto !important; cursor: pointer;
}
@media (min-width: 640px) { .theme-card-eye { display: inline-flex; } }
.theme-card-eye:hover { background: var(--primary); color: var(--primary-foreground); }
.theme-product-card__info { flex: 1; padding: 0 0.125rem; }
.theme-product-card__cat {
  font-size: 12px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--primary) 80%, transparent); margin-bottom: 0.375rem; overflow-wrap: break-word; word-break: break-word;
}
@media (min-width: 640px) { .theme-product-card__cat { font-size: 15px; line-height: 1.5rem; letter-spacing: 0.24em; } }
.theme-product-card__title {
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.375; color: var(--foreground); transition: color 300ms;
}
@media (min-width: 640px) { .theme-product-card__title { font-size: 1.2rem; } }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.35rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 13px; line-height: 1.25rem; font-weight: 500; color: var(--primary); }
@media (min-width: 640px) { .theme-product-card__price { font-size: 15px; line-height: 1.5rem; } }
.theme-product-card__price del { opacity: 0.55; margin-right: 0.35rem; }
.theme-product-card__price ins { text-decoration: none; }

/* Card add-to-cart (card-scoped; overrides the global WooCommerce button rules above it) */
.theme-product-card .add_to_cart_button.theme-card-add,
.theme-product-card a.theme-card-add {
  display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important;
  flex: 1 1 0%; min-width: 0; min-height: unset !important; height: 2.5rem !important; padding: 0 0.5rem !important; gap: 0.375rem;
  border-radius: 9999px !important; font-size: 12px !important; letter-spacing: normal !important; font-weight: 500 !important;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); pointer-events: auto; position: relative; z-index: 3; text-transform: none !important;
  background-color: var(--primary) !important; color: var(--primary-foreground) !important; line-height: 1.25rem !important; white-space: nowrap;
}
.theme-product-card a.theme-card-add svg,
.theme-product-card .add_to_cart_button.theme-card-add svg { flex-shrink: 0; display: block; }
.theme-product-card a.theme-card-add .theme-card-add__label { display: block; line-height: 1.25rem; }
@media (min-width: 640px) {
  .theme-product-card .add_to_cart_button.theme-card-add,
  .theme-product-card a.theme-card-add { height: 3rem !important; padding: 0 1.25rem !important; gap: 0.625rem; font-size: 15px !important; letter-spacing: 0.025em !important; }
}
.theme-product-card a.theme-card-add:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent) !important; opacity: 1 !important; }
.theme-product-card a.theme-card-add:active { transform: scale(0.97); }
.theme-product-card a.theme-card-add .theme-card-add__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: clip; background: var(--foreground); color: var(--background); }
.newsletter__bg { pointer-events: none; }
.newsletter__video { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (min-width: 1024px) { .newsletter__video { display: block; } }
@media (prefers-reduced-motion: reduce) { .newsletter__video { display: none; } }
.newsletter__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 0.65); pointer-events: none; }
.newsletter__content { position: relative; z-index: 10; padding-top: 4rem; padding-bottom: 4rem; text-align: center; }
@media (min-width: 640px) { .newsletter__content { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 768px) { .newsletter__content { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .newsletter__content { padding-top: 8rem; padding-bottom: 8rem; } }
.newsletter__eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 12px; line-height: 1rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: color-mix(in srgb, var(--background) 85%, transparent); margin-bottom: 1.25rem; font-weight: 500; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
@media (min-width: 640px) { .newsletter__eyebrow { gap: 0.75rem; font-size: 13px; line-height: 1.25rem; letter-spacing: 0.4em; margin-bottom: 1.5rem; } }
.newsletter__rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--background) 50%, transparent); }
.newsletter__title {
  font-family: var(--font-display); font-style: italic; color: var(--background); line-height: 1.08; letter-spacing: normal; margin: 0 auto; max-width: 56rem;
  font-size: clamp(2rem, 5.6vw, 4.2rem); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.newsletter__text { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: color-mix(in srgb, var(--background) 85%, transparent); line-height: 1.625; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.newsletter__form { margin: 2rem auto 0; max-width: 48rem; display: grid; grid-template-columns: 1fr; gap: 0.75rem; text-align: left; }
@media (min-width: 640px) { .newsletter__form { margin-top: 2.5rem; grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .newsletter__form { grid-template-columns: 1fr 1fr auto; } }
.field--newsletter { background: color-mix(in srgb, var(--background) 95%, transparent); }
.field--newsletter:focus { border-color: var(--accent); }
.btn-newsletter {
  height: 3rem; width: 100%; background: var(--accent); color: var(--accent-foreground); border-color: var(--primary);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); transition: all 300ms ease-out;
}
.btn-newsletter:hover { background: color-mix(in srgb, var(--accent) 90%, transparent); transform: scale(1.03); }
.btn-newsletter:active { transform: scale(0.98); }
@media (min-width: 640px) { .btn-newsletter { grid-column: span 2 / span 2; } }
@media (min-width: 768px) { .btn-newsletter { grid-column: span 1 / span 1; width: auto; } }
.newsletter__note { font-size: 13px; line-height: 1.25rem; text-align: center; color: color-mix(in srgb, var(--background) 70%, transparent); }
@media (min-width: 640px) { .newsletter__note { grid-column: span 2 / span 2; text-align: left; } }
@media (min-width: 768px) { .newsletter__note { grid-column: span 3 / span 3; } }

/* ---------- Contact ---------- */
.contact-section { padding-top: 4rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .contact-section { padding-top: 5rem; padding-bottom: 4rem; } }
@media (min-width: 768px) { .contact-section { padding-top: 7rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .contact-section { padding-top: 8rem; } }
.contact-section .section-heading { font-size: 1.875rem; }
@media (min-width: 640px) { .contact-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .section-heading { font-size: 3.4rem; } }
.eyebrow--tight { margin-bottom: 1rem; }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 640px) { .contact__grid { gap: 3rem; } }
@media (min-width: 768px) { .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .contact__grid { gap: 5rem; } }
.contact__info { display: flex; flex-direction: column; height: 100%; }
.contact__lead { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; max-width: 28rem; }
@media (min-width: 768px) { .contact__lead { margin-top: 1.25rem; } }
@media (min-width: 1024px) { .contact__lead { margin-top: 1.5rem; } }
.contact__list { margin-top: 2rem; }
.contact__list > li + li { margin-top: 1rem; }
@media (min-width: 640px) { .contact__list { margin-top: 2.5rem; } .contact__list > li + li { margin-top: 1.25rem; } }
@media (min-width: 768px) { .contact__list { margin-top: 2rem; } .contact__list > li + li { margin-top: 1rem; } }
.contact-item { display: flex; width: 100%; min-width: 0; align-items: center; gap: 0.75rem; color: var(--foreground); transition: color 300ms; }
@media (min-width: 640px) { .contact-item { gap: 1rem; } }
.contact-item:hover { color: var(--primary); }
.contact-item--top { align-items: flex-start; }
.contact-item__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: var(--secondary); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; transition: border-color 300ms;
}
.contact-item__icon--shrink { flex-shrink: 0; }
.contact-item:hover .contact-item__icon { border-color: var(--primary); }
.contact-item__text { display: flex; min-width: 0; flex-direction: column; text-align: left; }
.contact-item__label { font-size: 12px; line-height: 1rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.contact-item__value { font-size: 15px; line-height: 1.5rem; font-weight: 500; }
.contact-item__value--snug { line-height: 1.375; }
.contact__note { margin-top: 2.5rem; font-size: 13px; color: color-mix(in srgb, var(--foreground) 55%, transparent); max-width: 28rem; line-height: 1.625; }
@media (min-width: 768px) { .contact__note { margin-top: 2rem; } }
.contact__form {
  background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-soft);
  height: 100%; display: flex; flex-direction: column;
}
.contact__form > * + * { margin-top: 1rem; }
@media (min-width: 640px) { .contact__form { padding: 1.5rem; } }
@media (min-width: 1024px) { .contact__form { padding: 2rem; } }
.contact__fields { flex: 1 1 0%; }
.contact__fields > * + * { margin-top: 1rem; }
.contact__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 1024px) { .contact__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact__submit { padding-top: 0.5rem; }
.contact__submit > * + * { margin-top: 0.75rem; }
.contact__reply { font-size: 13px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); text-align: center; }
.newsletter__embed { max-width: 32rem; margin: 0 auto; }
.newsletter__embed > * { max-width: 100%; }
.field-label { display: block; font-size: 12px; line-height: 1rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 0.5rem; }
.field {
  width: 100%; height: 3rem; padding: 0 1rem; background: var(--background); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px);
  font-size: 14px; line-height: 1.25rem; color: var(--foreground); transition: color 300ms, border-color 300ms, background-color 300ms;
}
.field:focus { outline: none; border-color: var(--primary); }
.field--textarea { height: auto; padding-top: 0.75rem; padding-bottom: 0.75rem; resize: none; }
.theme-select { position: relative; }
.theme-select__button { display: flex; align-items: center; justify-content: space-between; text-align: left; color: var(--foreground); }
.theme-select__button.is-placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.theme-select__chevron { width: 1rem; height: 1rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); transition: transform 200ms; }
.theme-select__button[aria-expanded='true'] .theme-select__chevron { transform: rotate(180deg); }
.theme-select__button:hover svg { transform: none; }
.theme-select__button[aria-expanded='true']:hover .theme-select__chevron { transform: rotate(180deg); }
.theme-select__list {
  position: absolute; z-index: 50; width: 100%; margin-top: 0.375rem; background: var(--background); border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px); box-shadow: var(--shadow-soft); max-height: 15rem; overflow: auto; padding: 0.375rem 0;
}
.theme-select__option {
  padding: 0.625rem 1rem; font-size: 14px; line-height: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  color: var(--foreground); transition: color 300ms, background-color 300ms;
}
.theme-select__option:hover, .theme-select__option.is-highlighted { background: var(--secondary); }
.theme-select__option[aria-selected='true'] { background: var(--primary); color: var(--primary-foreground); font-weight: 500; }
.theme-select__check { width: 1rem; height: 1rem; display: none; }
.theme-select__option[aria-selected='true'] .theme-select__check { display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .site-footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; }
.footer-col--brand, .footer-col--contact { grid-column: span 2 / span 2; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.25rem; }
  .footer-col--brand { grid-column: span 3 / span 3; }
  .footer-col--explore, .footer-col--shop { grid-column: span 2 / span 2; }
  .footer-col--contact { grid-column: span 5 / span 5; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; }
  .footer-col--brand, .footer-col--explore, .footer-col--shop, .footer-col--contact { grid-column: span 1 / span 1; }
}
.footer-brand { display: inline-flex; align-items: center; height: 3rem; }
@media (min-width: 1024px) { .footer-brand { height: 3.7rem; } }
.site-footer .site-logo-img { height: 100%; width: auto; object-fit: contain; filter: brightness(0) invert(1); transition: all 300ms ease-out; }
.footer-brand:hover .site-logo-img { transform: scale(1.04); }
.site-footer .site-logo-text { color: var(--foreground); }
.footer-text { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; max-width: 20rem; }
.footer-heading { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; color: var(--foreground); margin-bottom: 1rem; }
.footer-link-list > li + li { margin-top: 0.625rem; }
.footer-link-list a {
  display: inline-flex; min-height: 2.75rem; align-items: center; font-size: 14px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); text-align: left; transition: all 300ms ease-out;
}
.footer-link-list a:hover { color: var(--primary); transform: translateX(4px); }
.footer-contact-list { font-size: 14px; line-height: 1.25rem; }
.footer-contact-list > li + li { margin-top: 0.5rem; }
.footer-contact-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); text-align: left; transition: all 300ms ease-out; }
.footer-contact-link:hover { color: var(--primary); }
.footer-contact-link--top { align-items: flex-start; padding: 0.5rem 0; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1.25rem; }
@media (min-width: 640px) { .footer-bottom { margin-top: 3.5rem; flex-direction: row; gap: 0.75rem; } }
.footer-legal { font-size: 13px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); text-align: center; }
@media (min-width: 640px) { .footer-legal { text-align: left; } }
.footer-legal__credit { margin-top: 0.25rem; }
.footer-legal__credit a { color: color-mix(in srgb, var(--foreground) 80%, transparent); text-decoration: underline; text-underline-offset: 4px; transition: color 300ms; }
.footer-legal__credit a:hover { color: var(--primary); }
.footer-top { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.5rem; font-size: 13px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: all 300ms ease-out; }
.footer-top:hover { color: var(--primary); }
.footer-top__circle {
  width: 2rem; height: 2rem; border-radius: 9999px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; transition: all 300ms ease-out;
}
.footer-top:hover .footer-top__circle { border-color: var(--primary); transform: translateY(-2px); }

/* ---------- Single product ---------- */
.product-page { padding-top: 6rem; background: var(--ivory); }
@media (min-width: 1024px) { .product-page { padding-top: 7rem; } }
.product-crumbs {
  padding: 1rem 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); line-height: 1.625; overflow-wrap: break-word; word-break: break-word;
}
@media (min-width: 640px) { .product-crumbs { padding: 1.5rem 0; font-size: 15px; letter-spacing: 0.2em; } }
.product-crumbs a { transition: color 300ms; }
.product-crumbs a:hover { color: var(--primary); }
.product-crumbs__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-crumbs__current { color: var(--foreground); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 3.5rem; align-items: start; min-width: 0; }
@media (min-width: 640px) { .theme-product-layout { gap: 2.5rem; padding-bottom: 5rem; } }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-layout { gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 768px) {
  .theme-product-gallery { grid-column: span 6 / span 6; position: sticky; top: 6rem; align-self: start; }
  .theme-product-info { grid-column: span 6 / span 6; }
}
@media (min-width: 1024px) {
  .theme-product-gallery { grid-column: span 7 / span 7; top: 7rem; }
  .theme-product-info { grid-column: span 5 / span 5; }
}
.product-gallery__main { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.625rem; max-width: 100%; }
.theme-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--linen); border-radius: calc(var(--radius) - 2px); overflow: hidden; border: 2px solid transparent; transition: border-color 300ms; }
.theme-thumb:hover { border-color: color-mix(in srgb, var(--foreground) 20%, transparent); }
.theme-thumb.is-active { border-color: var(--primary); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; line-height: 1.5rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-bottom: 1.25rem; transition: color 300ms; }
.back-link:hover { color: var(--primary); }
.product-category { font-size: 15px; line-height: 1.5rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem; font-weight: 500; }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.08; color: var(--foreground); margin-bottom: 1rem; text-transform: none; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.6rem; } }
.product-price { font-size: 20px; line-height: 1.75rem; font-weight: 500; color: color-mix(in srgb, var(--foreground) 90%, transparent); margin-bottom: 1.75rem; }
.product-price .woocommerce-Price-amount { font-weight: inherit; }
.product-price del { opacity: 0.55; margin-right: 0.35rem; }
.product-price ins { text-decoration: none; }
.product-price__each { margin-left: 0.5rem; font-size: 14px; line-height: 1.25rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); font-weight: 400; }
.product-description { font-size: 15px; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 75%, transparent); margin-bottom: 2rem; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.product-description p + p { margin-top: 1rem; }
.product-qty-label { font-size: 15px; line-height: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 0.625rem; }
.product-qty-block { width: 100%; margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); border-radius: 9999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; line-height: 0; transition: color 300ms; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--primary); }
.theme-qty-input { width: 44px; min-width: 44px; padding: 0.625rem 0; text-align: center; font-size: 15px; line-height: 1.5rem; font-weight: 500; border: 0; background: transparent; }
.theme-qty-input:focus { outline: none; }
.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.single-product .theme-add-to-cart-area > .single_add_to_cart_button,
.theme-add-to-cart-area > .theme-buy-now { flex: 1 1 100%; min-width: 160px; }
@media (min-width: 1024px) {
  .single-product .theme-add-to-cart-area > .single_add_to_cart_button,
  .theme-add-to-cart-area > .theme-buy-now { flex: 1 1 0%; }
}
.theme-buy-now { width: 100%; }
@media (min-width: 640px) { .theme-buy-now { width: auto; } }
.single-product .variations_form .variations { width: 100%; margin-bottom: 1.5rem; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody tr + tr { margin-top: 1rem; }
.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: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.single-product .variations select {
  width: 100%; height: 3rem; padding: 0 1rem; background: var(--background); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px);
  font-size: 14px; color: var(--foreground);
}
.single-product .variations select:focus { outline: none; border-color: var(--primary); }
.single-product .reset_variations { display: inline-block; margin-top: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--foreground) 60%, transparent); text-decoration: underline; }
.single-product .woocommerce-variation { margin-bottom: 1rem; }
.single-product .woocommerce-variation-price { font-size: 20px; font-weight: 500; }
.single-product .woocommerce-variation-description, .single-product .woocommerce-variation-description p { font-size: 15px; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.single-product .theme-add-to-cart-area { display: flex; }
.product-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.product-details__label { font-size: 15px; line-height: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 1rem; }
.woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__short-description ul > li { font-size: 15px; line-height: 1.5rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); display: flex; align-items: flex-start; }
.woocommerce-product-details__short-description ul > li + li { margin-top: 0.625rem; }
.woocommerce-product-details__short-description ul > li::before {
  content: ''; width: 4px; height: 4px; background: var(--primary); border-radius: 9999px; margin-top: 0.625rem; margin-right: 0.75rem; flex-shrink: 0;
}
.woocommerce-product-details__short-description p { font-size: 15px; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.product-badges { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
@media (min-width: 1024px) { .product-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; } }
.product-badge { display: flex; align-items: center; gap: 0.75rem; text-align: left; }
.product-badge p { font-size: 13px; line-height: 1.25rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.product-badge__icon { color: var(--primary); }
@media (min-width: 1024px) {
  .product-badge { display: block; text-align: center; }
  .product-badge__icon { margin: 0 auto 0.5rem; }
  .product-badge p { font-size: 15px; line-height: 1.5rem; letter-spacing: 0.15em; }
}
.related-products-section { padding: 3.5rem 0; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
@media (min-width: 640px) { .related-products-section { padding: 5rem 0; } }
.related-products__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; color: var(--foreground); }
@media (min-width: 768px) { .related-products__title { font-size: 2.25rem; line-height: 2.5rem; } }
.related-products__all { display: none; align-items: center; gap: 0.375rem; font-size: 15px; line-height: 1.5rem; font-weight: 500; color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: color 300ms; }
@media (min-width: 640px) { .related-products__all { display: inline-flex; } }
.related-products__all:hover { color: var(--primary); }

/* WooCommerce button overrides (single product + cards) */
.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; cursor: pointer !important; transition: opacity 0.2s ease !important; line-height: 1.5rem; text-decoration: none; white-space: nowrap;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover { opacity: 0.85 !important; background-color: var(--color-primary) !important; color: var(--color-button-text) !important; }
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled { cursor: not-allowed !important; opacity: 0.4 !important; pointer-events: none !important; }
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover { opacity: 0.4 !important; background-color: var(--color-primary) !important; }
.single-product .single_add_to_cart_button { text-transform: none; }
.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; }
.ajax_add_to_cart.added::after { display: none !important; }
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--foreground) 30%, transparent); z-index: 50; display: none; }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-animate #theme-cart-overlay { animation: fade-in 0.7s ease-out both; }
#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100dvh; width: 100%; max-width: 28rem; background: var(--ivory); z-index: 51; box-shadow: var(--shadow-elevated);
  display: none; flex-direction: column;
}
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-animate #theme-cart-drawer { animation: slide-in-bottom 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
@media (min-width: 640px) { .cart-drawer__header { padding: 1.5rem; } }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: var(--foreground); }
.cart-drawer__close { display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 9999px; transition: background-color 300ms; }
.cart-drawer__close:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.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: color-mix(in srgb, var(--foreground) 30%, transparent); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 15px; line-height: 1.5rem; }
.cart-drawer__items { flex: 1 1 0%; overflow: auto; padding: 1.25rem 1rem; overscroll-behavior: contain; }
.cart-drawer__items > * + * { margin-top: 1.25rem; }
@media (min-width: 640px) { .cart-drawer__items { padding: 1.5rem; } }
.cart-item { display: flex; gap: 0.75rem; }
@media (min-width: 640px) { .cart-item { gap: 1rem; } }
.cart-item__thumb { position: relative; width: 4rem; height: 5rem; background: var(--bone); border-radius: calc(var(--radius) - 2px); overflow: clip; flex-shrink: 0; }
@media (min-width: 640px) { .cart-item__thumb { width: 5rem; height: 6rem; } }
.cart-item__body { flex: 1 1 0%; min-width: 0; }
.cart-item__name { display: block; font-size: 15px; line-height: 1.5rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 300ms; }
.cart-item__name:hover { color: var(--primary); }
.cart-item__meta { font-size: 13px; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.cart-item__price { font-size: 15px; line-height: 1.5rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); margin-top: 0.125rem; }
.cart-item__each { margin-left: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 0.25rem; transition: background-color 300ms; }
.cart-item__qty-btn:hover { background: var(--bone); }
.cart-item__qty { font-size: 15px; line-height: 1.5rem; width: 1.5rem; text-align: center; }
.cart-item__remove { margin-left: auto; min-height: 2.5rem; font-size: 15px; line-height: 1.5rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); transition: color 300ms; }
.cart-item__remove:hover { color: var(--destructive); }
.cart-drawer__footer {
  padding: 1.25rem 1rem; padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); background: color-mix(in srgb, var(--linen) 40%, transparent);
}
.cart-drawer__footer > * + * { margin-top: 1rem; }
@media (min-width: 640px) { .cart-drawer__footer { padding-left: 1.5rem; padding-right: 1.5rem; padding-top: 1.5rem; } }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 15px; line-height: 1.5rem; }
.cart-drawer__subtotal-label { color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 15px; line-height: 1.5rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }

/* ---------- Pages / 404 ---------- */
.page-main { padding-top: 6rem; background: var(--ivory); min-height: 100vh; }
@media (min-width: 1024px) { .page-main { padding-top: 7rem; } }
.page-container { padding-top: 1.75rem; padding-bottom: 1.75rem; }
@media (min-width: 640px) { .page-container { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
.page-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 2rem; color: var(--foreground); }
@media (min-width: 640px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 2.5rem; } }
@media (min-width: 768px) { .page-title { font-size: 3rem; line-height: 1; } }
.entry-content { color: var(--foreground); }
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--muted); }
.not-found__inner { text-align: center; }
.not-found__title { margin-bottom: 1rem; font-family: var(--font-body); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; letter-spacing: normal; }
.not-found__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }
.not-found__link { color: var(--primary); text-decoration: underline; }
.not-found__link:hover { opacity: 0.9; }

/* ---------- WooCommerce: notices, checkout, cart, account, thank-you ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: var(--secondary); border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px); font-size: 15px; color: var(--foreground);
}
.woocommerce-error { border-color: var(--destructive); }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; text-decoration: underline; }

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: none; }
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-checkout { font-family: var(--font-body); color: var(--foreground); }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-medium {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-notices,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-notice-banner { grid-column: 1 / -1; }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; margin: 0; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft);
}
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 { font-family: var(--font-display); font-weight: 400; color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input-container,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout select.wc-block-components-select-control__select,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .woocommerce-shipping-fields select {
  width: 100% !important;
  max-width: none !important;
  min-height: 3rem !important;
  background: var(--background) !important;
  border: 1px solid var(--border) !important;
  border-radius: calc(var(--radius) - 2px) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.25rem !important;
  color: var(--foreground) !important;
  box-shadow: none !important;
}
/* Blocks dropdowns: border on the container; inner button stays flush (WC default padding). */
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-country-select .wc-block-components-select__container,
body.woocommerce-checkout .wc-block-components-country-select .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-state-select .wc-block-components-select__container,
body.woocommerce-checkout .wc-block-components-state-select .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-address-form__country .wc-block-components-select__container,
body.woocommerce-checkout .wc-block-components-address-form__state .wc-block-components-select__container {
  width: 100% !important;
  max-width: none !important;
  min-height: 3rem !important;
  background: var(--background) !important;
  border: 1px solid var(--border) !important;
  border-radius: calc(var(--radius) - 2px) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-blocks-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-country-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-state-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button {
  width: 100% !important;
  min-height: 3rem !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: calc(var(--radius) - 2px) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  line-height: 1.25rem !important;
  color: var(--foreground) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-textarea textarea {
  min-height: auto !important;
  height: auto !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container.is-active,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container:focus-within,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container.is-active,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container:focus-within,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input-container:focus-within,
body.woocommerce-checkout form.checkout select:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button:focus {
  outline: none !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-combobox label {
  color: color-mix(in srgb, var(--foreground) 55%, transparent) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
}
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: 1px solid var(--primary); border-radius: 9999px; min-height: 3rem; padding: 0 1.75rem;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: normal; text-transform: none;
}
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 { background: var(--secondary); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-notice-banner.is-error { border-color: var(--destructive); }
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary { color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-product-price { font-weight: 500; }
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-checkbox { font-family: var(--font-body); }

body.woocommerce-cart .wc-block-cart { font-family: var(--font-body); color: var(--foreground); }
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button:not(.is-link) {
  background-color: var(--primary); color: var(--primary-foreground); border: 1px solid var(--primary); border-radius: 9999px; min-height: 3rem; font-size: 15px; font-weight: 500;
}
body.woocommerce-cart .wc-block-cart__sidebar { background: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-size: 15px; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); padding-right: 1.5rem; border-right: 1px solid var(--border);
}
body.theme-thankyou-page .woocommerce-order-overview li:last-child { border-right: 0; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--foreground); padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table { width: 100%; table-layout: fixed; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border); text-align: left; overflow-wrap: break-word; }
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; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); min-width: 0; }
body.woocommerce-account .woocommerce { font-size: 15px; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-flex; padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); border-radius: 9999px; font-size: 14px; }
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--primary); color: var(--primary-foreground); }
body.woocommerce-account input.input-text, body.woocommerce-account select {
  width: 100%; height: 3rem; padding: 0 1rem; background: var(--background); border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px);
}
body.woocommerce-account .button { background: var(--primary); color: var(--primary-foreground); border-radius: 9999px; padding: 0.75rem 1.75rem; font-weight: 500; }
