/* ==========================================================================
   Backroad Botanicals — theme.css
   Semantic tokens first, shared components second, sections last.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/libre-baskerville-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/libre-baskerville-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }

/* ---------- Tokens (hex derived from the source HSL tokens; re-emitted by the Customizer) ---------- */
:root {
  --background: #faf7ef;
  --foreground: #1b2919;
  --card: #fdfbf7;
  --light: #fdfbf7;
  --poppy: #e85d3b;
  --leaf: #376a2f;
  --marigold: #f8cf54;
  --botanical-pink: #e59eb5;
  --mist: #e9f2cf;
  --secondary: #abdecd;
  --muted-foreground: #4f614c;
  --border: #b5c7b3;
  --accent: #328f89;
  --sage: #679051;
  --dusty-blue: #3d8b8f;
  --soft-teal: #95d5c4;

  --primary: var(--poppy);
  --primary-foreground: var(--light);
  --poppy-foreground: var(--light);
  --leaf-foreground: var(--light);
  --marigold-foreground: var(--foreground);
  --botanical-pink-foreground: var(--foreground);
  --card-foreground: var(--foreground);
  --secondary-foreground: var(--foreground);
  --muted: #e8edd9;
  --input: var(--border);
  --ring: var(--accent);

  --radius: 0.375rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);

  --font-display: 'Libre Baskerville', serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  --shadow-soft: 0 4px 20px -4px hsl(220 12% 14% / 0.08);
  --shadow-elevated: 0 12px 40px -8px hsl(220 12% 14% / 0.16);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-motion: cubic-bezier(0.25, 0.4, 0.25, 1);
  --ease-service: cubic-bezier(0.25, 1, 0.5, 1);

  --logo-height: 95px;
  --footer-logo-height: 56px;
  --header-height: 112px;

  /* Add-to-cart button tokens */
  --color-primary: var(--poppy);
  --color-button-text: var(--primary-foreground);
  --btn-radius: var(--radius-md);
  --btn-height: 0px;
  --btn-padding: 1rem 1.25rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.2em;
  --btn-text-transform: uppercase;
  --color-border: var(--border);
}

/* ---------- Reset (Tailwind 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%; tab-size: 4; font-family: var(--font-body); -webkit-tap-highlight-color: transparent; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; line-height: inherit; background: var(--background); color: var(--foreground); font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; font-family: var(--font-display); letter-spacing: 0; }
p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol, menu { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; }
:disabled { cursor: default; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: var(--muted-foreground); }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img:not(.cover-img):not(.hero__slide):not(.tile__img):not(.product-card-img):not(.parallax-divider__img):not(.lifestyle__img):not(.gallery-img):not(.gallery-thumb__img):not(.magnifier__img):not(.cart-item__img):not(.cart-suggest__img):not(.edu-card__img):not(.review__photo):not(.article__img):not(.article-more__img):not(.site-logo-img) { max-width: 100%; height: auto; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
:focus-visible { outline-offset: 0; }
.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; }

.theme-icon { flex-shrink: 0; }
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-3-5 { width: 0.875rem; height: 0.875rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-7 { width: 1.75rem; height: 1.75rem; }
.icon-8 { width: 2rem; height: 2rem; }

/* Full-bleed / cover images (excluded from the global img rule above) */
.cover-img, .tile__img, .hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

body.dialog-open { overflow: hidden; }

/* ---------- Layout primitives ---------- */
.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; } }

.theme-section { border-top: 1px solid var(--border); scroll-margin-top: 128px; }
@media (min-width: 768px) { .theme-section { scroll-margin-top: 140px; } }
.theme-section--bg { background: var(--background); }
.theme-section--card { background: var(--card); }

.section-pad { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .section-pad { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .section-pad { padding-left: 2.5rem; padding-right: 2.5rem; } }
.section-pad-about { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
.section-pad--lg { padding-top: 4rem; padding-bottom: 4rem; }
.section-pad--xl { padding-top: 5rem; padding-bottom: 5rem; }
.section-pad--xl-b { padding-top: 4rem; padding-bottom: 4rem; }
.section-pad--wholesale { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) {
  .section-pad--lg { padding-top: 5rem; padding-bottom: 5rem; }
  .section-pad--xl { padding-top: 7rem; padding-bottom: 7rem; }
  .section-pad--xl-b { padding-top: 6rem; padding-bottom: 6rem; }
  .section-pad--wholesale { padding-top: 5rem; padding-bottom: 5rem; }
}

.editorial-kicker { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; }
.eyebrow-heading { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; }
.page-title--eyebrow { font-family: var(--font-body); }

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

.section-bar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem; }
.section-bar--mb10 { margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.section-bar--mb4 { margin-bottom: 1rem; }
.section-bar__link { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted-foreground); }
.section-bar__link:hover { color: var(--foreground); }
.headline-display { font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; line-height: 1.1; max-width: 42rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .headline-display { font-size: 3rem; } }
.text-highlight { font-style: italic; color: var(--poppy); }

/* Clickable affordance */
a[href], button, summary, [role='button'], label[for], .nav-link, .tile, .shop__cat, .shop-by-category__item, .accordion-trigger, .gallery-thumb, .edu-card, .theme-product-card__link, .service-card, input[type='checkbox'], input[type='radio'], .link-underline, .contact-btn, .hero-btn { cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; border-radius: var(--radius-md); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.025em; font-family: var(--font-body); height: 2.5rem; padding: 0.5rem 1rem; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth); cursor: pointer; text-align: center; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.btn:disabled { pointer-events: none; opacity: 0.5; }
.btn svg, .btn .btn__icon { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn--default { background: var(--poppy); color: var(--poppy-foreground); }
.btn--default:hover { background: var(--leaf); color: var(--leaf-foreground); }
.btn--outline { border: 1px solid var(--leaf); background: var(--background); }
.btn--outline:hover { background: var(--leaf); color: var(--leaf-foreground); }
.btn--sm { height: 2.25rem; padding: 0 0.75rem; }
.btn--lg { height: 2.75rem; padding: 0 2rem; }
.btn--block { width: 100%; }
.btn__icon--lead { margin-right: 0.5rem; }
.btn--auto-sm { width: 100%; }
@media (min-width: 640px) { .btn--auto-sm { width: auto; } }
.btn--wholesale { margin-top: 2rem; width: 100%; border-color: var(--leaf-foreground); background: var(--leaf-foreground); color: var(--leaf); }
.btn--wholesale:hover { background: var(--marigold); color: var(--marigold-foreground); }
@media (min-width: 640px) { .btn--wholesale { width: auto; } }

/* ---------- Animation keyframes ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ken-burns { 0% { transform: scale(1) translate3d(0, 0, 0); } 100% { transform: scale(1.08) translate3d(-2%, -1.5%, 0); } }
@keyframes ken-burns-alt { 0% { transform: scale(1.08) translate3d(2%, 1%, 0); } 100% { transform: scale(1) translate3d(0, 0, 0); } }
@keyframes heroTitleIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroCtaIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialogIn { from { opacity: 0; transform: translate3d(-50%, -48%, 0) scale3d(0.95, 0.95, 1); } to { opacity: 1; transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1); } }
@keyframes dialogOut { from { opacity: 1; transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1); } to { opacity: 0; transform: translate3d(-50%, -48%, 0) scale3d(0.95, 0.95, 1); } }
@keyframes successPop { from { transform: scale(0); } 60% { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes successIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* ---------- Scroll reveal (per-element delay set by main.js; framer fadeUp parity) ---------- */
.theme-js .reveal-item { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease-motion) var(--rd, 0s), transform 0.7s var(--ease-motion) var(--rd, 0s); }
.theme-js .reveal-item--standalone { transform: translateY(20px); transition-duration: 0.5s; }
.theme-js .reveal-item.is-visible { opacity: 1; transform: none; }
.theme-js .reveal-item.is-revealed { transition: none; }
body.is-customizer .reveal-item,
body.is-customizer .theme-js .reveal-item { opacity: 1; transform: none; }
.card-enter { animation: cardIn 0.7s var(--ease-motion) both; animation-delay: calc(var(--i, 0) * 0.2s); }

/* ---------- Announcement bar ---------- */
.announcement-bar { position: relative; background: var(--poppy); color: var(--poppy-foreground); }
.announcement-bar__inner { padding-top: 0.5rem; padding-bottom: 0.5rem; padding-right: 2rem; text-align: center; }
.announcement-bar__text { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; }
.announcement-bar__close { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.25rem; opacity: 0.7; transition: opacity 0.15s var(--transition-smooth); }
.announcement-bar__close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.3s var(--transition-smooth); background: var(--background); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-bottom-color: color-mix(in srgb, var(--leaf) 20%, transparent); box-shadow: var(--shadow-soft); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 112px; gap: 1rem; }
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; }
.site-footer .site-logo-img { height: var(--footer-logo-height) !important; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); }
.site-header__nav { display: none; align-items: center; }
@media (min-width: 1280px) { .site-header__nav { display: flex; } }
.theme-nav-list { display: flex; }
.theme-nav-list--desktop { align-items: center; gap: 1.75rem; }
.theme-nav-list--desktop .nav-link { font-size: 12px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: color 0.3s var(--transition-smooth); position: relative; display: inline-block; }
.theme-nav-list--desktop .nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--transition-smooth); }
.theme-nav-list--desktop .nav-link:hover::after { transform: scaleX(1); }
.theme-nav-list--desktop .nav-link:hover { color: var(--poppy); }
.site-header__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: 0.5rem; } }
.site-header__cart { position: relative; padding: 0.5rem; transition: color 0.15s var(--transition-smooth); }
.site-header__cart:hover { color: var(--poppy); }
.theme-cart-count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; background: var(--primary); color: var(--primary-foreground); border-radius: 9999px; }
.theme-cart-count:empty { display: none; }
.site-header__toggle { padding: 0.5rem; transition: opacity 0.15s var(--transition-smooth); }
.site-header__toggle:hover { opacity: 0.6; }
@media (min-width: 1280px) { .site-header__toggle { display: none; } }
.site-header__mobile { border-top: 1px solid var(--border); padding: 1rem 0; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
@media (min-width: 1280px) { .site-header__mobile { display: none !important; } }
@media (max-width: 1279px) {
  .theme-nav-list--mobile { flex-direction: column; gap: 1rem; }
  .site-header__mobile .theme-nav-list { flex-direction: column; align-items: stretch; }
}
.theme-nav-list--mobile { flex-direction: column; gap: 1rem; }
.theme-nav-list--mobile .nav-link { display: block; text-align: left; font-size: 1rem; line-height: 1.5rem; font-family: var(--font-display); padding: 0.5rem 0; transition: color 0.15s var(--transition-smooth); }
.theme-nav-list--mobile .nav-link:hover { color: var(--poppy); }

.hamburger-svg { width: 1.75rem; height: 1.75rem; transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1); transform-origin: 50% 50%; overflow: visible; }
.hamburger-line { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms cubic-bezier(0.4, 0, 0.2, 1); }
.hamburger-line-top-bottom { stroke-dasharray: 12 63; }
.hamburger-svg.is-open { transform: rotate(-45deg); }
.hamburger-svg.is-open .hamburger-line-top-bottom { stroke-dasharray: 20 300; stroke-dashoffset: -33; transform: translateX(-1px); }
@media (prefers-reduced-motion: reduce) { .hamburger-svg, .hamburger-line { transition: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--background); }
.hero__fade { animation: fadeIn 1.1s var(--ease-motion) both; }
.hero__mobile { display: block; }
.hero__desktop { display: none; position: relative; min-height: 100vh; overflow: hidden; }
@media (min-width: 1280px) { .hero__mobile { display: none; } .hero__desktop { display: block; } }
.hero__frame { position: relative; }
.hero__stage--mobile { position: relative; width: 100%; min-height: 100vh; overflow: hidden; background: var(--foreground); }
.hero__stage--desktop { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1200ms ease-in-out; will-change: transform; }
.hero__slide.is-active { opacity: 1; animation: ken-burns 9s ease-in-out forwards; }
.hero__slide--alt.is-active { animation-name: ken-burns-alt; }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; } }
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__shade--mobile { background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 70%, transparent), color-mix(in srgb, var(--foreground) 20%, transparent), transparent); }
.hero__shade--desktop { z-index: 1; background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 60%, transparent), color-mix(in srgb, var(--foreground) 20%, transparent), transparent); }
.hero__center--mobile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--foreground) 10%, transparent); }
.hero__title { color: var(--background); font-family: var(--font-display); font-weight: 300; text-align: center; }
.hero__title--mobile { font-size: 32px; line-height: 1.12; padding: 0 1.5rem; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
@media (min-width: 640px) { .hero__title--mobile { font-size: 3rem; } }
.hero__line { display: block; }
.hero__block { display: block; }
.hero__title--desktop { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 0 2.5rem; font-size: 3rem; line-height: 1.08; letter-spacing: normal; text-shadow: 0 2px 32px rgba(0, 0, 0, 0.55); animation: heroTitleIn 0.9s var(--ease-motion) 0.4s both; }
@media (min-width: 1024px) { .hero__title--desktop { font-size: 4.5rem; } }
.hero__ctas { z-index: 10; display: flex; align-items: center; justify-content: center; }
.hero__ctas--mobile { position: absolute; left: 0; right: 0; bottom: 1.5rem; flex-direction: column; gap: 0.75rem; padding: 0 1.5rem; }
.hero__ctas--desktop { position: absolute; left: 0; right: 0; bottom: 3rem; gap: 1rem; animation: heroCtaIn 0.7s ease-out 0.7s both; }
.hero-btn { display: block; width: 100%; max-width: 20rem; border-radius: var(--radius-md); padding: 0.75rem 0; text-align: center; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); background: transparent; border: 1px solid var(--background); color: var(--background); transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); }
.hero-btn:hover { background: var(--background); color: var(--foreground); }
.hero-btn--min { width: auto; min-width: 200px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); padding: 1.75rem 0; }
@media (min-width: 768px) { .marquee { padding: 2.25rem 0; } }
.marquee__track { display: flex; width: max-content; align-items: center; animation: marquee 52s linear infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.marquee__set, .marquee__item { display: flex; flex-shrink: 0; align-items: center; }
.marquee__phrase { white-space: nowrap; padding: 0 1.25rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: var(--foreground); }
.marquee__star { font-size: 1.25rem; line-height: 1.75rem; color: var(--marigold); }
@media (min-width: 640px) { .marquee__phrase { padding: 0 2rem; font-size: 1.875rem; line-height: 2.25rem; } }
@media (min-width: 768px) { .marquee__phrase { font-size: 2.25rem; line-height: 2.5rem; } }

/* ---------- Explore tiles ---------- */
.explore { border-top: 0; scroll-margin-top: 0; padding: 3rem 0; }
@media (min-width: 768px) { .explore { padding: 5rem 0; } }
.explore__head { margin-bottom: 2rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .explore__head { margin-bottom: 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; } }
.explore__kicker { color: var(--poppy); }
.explore__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 768px) { .explore__title { font-size: 3rem; text-align: right; } }
.explore__body { display: flex; flex-direction: column; gap: 3rem; }
.explore__large { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .explore__large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.explore__small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (min-width: 768px) { .explore__small { gap: 1.5rem; } }
@media (min-width: 1024px) { .explore__small { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { text-align: left; cursor: pointer; }
.tile--large { display: block; width: 100%; }
.tile--small { display: flex; min-width: 0; flex-direction: column; }
.tile__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow-soft); }
.tile__media--wide { margin-bottom: 1.5rem; aspect-ratio: 16 / 9; }
.tile__media--tall { margin-bottom: 1rem; aspect-ratio: 3 / 4; border-top: 4px solid; }
.tile__img { transition: transform 0.9s var(--ease-motion); }
.tile:hover .tile__img { transform: scale(1.03); }
.tile__body { display: block; }
.tile__body--accent { border-top: 4px solid; padding-top: 1.5rem; }
.tile__body--marigold { border-color: var(--marigold); }
.tile__body--soft-teal { border-color: var(--soft-teal); }
.tile__body--botanical-pink { border-color: var(--botanical-pink); }
.tile__body--sage { border-color: var(--sage); }
.tile__body--poppy { border-color: var(--poppy); }
.tile__body--dusty-blue { border-color: var(--dusty-blue); }
.tile__media--botanical-pink { border-color: var(--botanical-pink); }
.tile__media--sage { border-color: var(--sage); }
.tile__media--poppy { border-color: var(--poppy); }
.tile__media--dusty-blue { border-color: var(--dusty-blue); }
.tile__media--marigold { border-color: var(--marigold); }
.tile__media--soft-teal { border-color: var(--soft-teal); }
.tile__body--small { display: flex; min-height: 5.75rem; flex-direction: column; align-items: flex-start; }
.tile__eyebrow { display: block; margin-bottom: 0.5rem; font-size: 12px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.tile__eyebrow--small { letter-spacing: 0.14em; }
.tile__title { display: block; font-family: var(--font-display); }
.tile__title--large { margin-bottom: 1rem; font-size: 1.5rem; line-height: 2rem; }
@media (min-width: 768px) { .tile__title--large { font-size: 1.875rem; line-height: 2.25rem; } }
.tile__title--small { font-size: 1.125rem; line-height: 1.375; }
@media (min-width: 768px) { .tile__title--small { font-size: 1.25rem; } }
.tile__action { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; }

/* ---------- Product grids and cards ---------- */
.theme-product-grid { display: grid; align-items: stretch; }
.theme-product-grid--four, .theme-product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; }
@media (min-width: 768px) { .theme-product-grid--four, .theme-product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--four, .theme-product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-product-grid--shop { margin-top: 2.5rem; }
.theme-product-grid--best { grid-template-columns: 1fr; column-gap: 2.5rem; row-gap: 3.5rem; max-width: 64rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .theme-product-grid--best { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-card-wrap { min-width: 0; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card__link { display: block; flex: 0 0 auto; position: relative; z-index: 1; }
.theme-product-card__image-wrapper { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--card); overflow: hidden; border-radius: var(--radius-md); margin-bottom: 1rem; border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-product-card__img, .product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: opacity 0.5s var(--transition-smooth), transform 0.7s var(--ease-motion); }
.theme-product-card__img.is-dim { opacity: 0.6; }
.theme-product-card__img--alt { opacity: 0; }
.theme-product-card:hover .theme-product-card__img.has-alt { opacity: 0; }
.theme-product-card:hover .theme-product-card__img--alt { opacity: 1; }
.theme-product-card:hover .theme-product-card__img--alt.is-dim { opacity: 0.6; }
.theme-product-card__image-wrapper:hover .theme-product-card__img { transform: scale(1.03); }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10; border-radius: var(--radius-sm); padding: 0.25rem 0.75rem; font-size: 10px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.24em; background: var(--foreground); color: var(--background); }
.theme-product-card__info { display: block; text-align: left; }
.theme-product-card__info > * + * { margin-top: 0.25rem; }
.theme-product-card__title { display: block; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.025em; color: var(--foreground); }
.theme-product-card__price { display: block; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }

/* Card compact button */
.theme-card-btn, a.theme-card-btn, a.add_to_cart_button.theme-card-btn { position: relative; z-index: 2; margin-top: 1rem; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: var(--radius-md); padding: 0.625rem 0; font-size: 11px; line-height: 1rem; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-body); border: 1px solid var(--leaf); color: var(--leaf); background: transparent; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth); cursor: pointer; font-weight: 400; min-height: 0; }
.theme-card-btn:hover { background: var(--poppy); color: var(--poppy-foreground); border-color: var(--poppy); }
.theme-card-btn__idle, .theme-card-btn__done { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-card-btn__done { display: none; }
.theme-card-btn.is-added { background: var(--leaf); color: var(--leaf-foreground); border-color: var(--leaf); pointer-events: none; }
.theme-card-btn.is-added .theme-card-btn__idle { display: none; }
.theme-card-btn.is-added .theme-card-btn__done { display: inline-flex; }
.theme-card-btn.is-disabled, .theme-card-btn:disabled { border-color: var(--border); color: var(--muted-foreground); cursor: not-allowed; background: transparent; }
.theme-card-btn.is-disabled:hover { background: transparent; color: var(--muted-foreground); border-color: var(--border); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.about__media { position: relative; overflow: hidden; border-radius: var(--radius-md); min-height: 420px; }
@media (min-width: 768px) { .about__media { min-height: 0; } }
.about__kicker { display: block; color: var(--leaf); margin-bottom: 1.5rem; }
.about__title { font-family: var(--font-display); font-weight: 300; font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .about__title { font-size: 3rem; } }
@media (min-width: 1024px) { .about__title { font-size: 3.75rem; } }
.about__p { color: color-mix(in srgb, var(--foreground) 75%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.about__p--last { margin-bottom: 2rem; }
.about__cta { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); }

/* ---------- Parallax dividers and lifestyle banner ---------- */
.parallax-divider { position: relative; height: 45vh; min-height: 320px; overflow: hidden; background: var(--card); }
@media (min-width: 768px) { .parallax-divider { height: 60vh; min-height: 420px; } }
.parallax-divider__img { position: absolute; left: 0; right: 0; width: 100%; height: 130%; top: -15%; object-fit: cover; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .parallax-divider__img { height: 100%; top: 0; } }
.lifestyle { position: relative; border-top: 1px solid var(--border); overflow: hidden; }
.lifestyle__bg { position: absolute; left: 0; right: 0; top: -10%; height: 120%; will-change: transform; }
.lifestyle__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lifestyle__veil { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 45%, transparent); }
.lifestyle__inner { position: relative; min-height: 60vh; display: flex; align-items: flex-end; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .lifestyle__inner { min-height: 70vh; padding-top: 5rem; padding-bottom: 5rem; } }
.lifestyle__box { max-width: 36rem; color: var(--background); }
.lifestyle__kicker { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 1.25rem; opacity: 0.9; }
.lifestyle__text { font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .lifestyle__text { font-size: 3rem; } }
.lifestyle__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; border-radius: var(--radius-md); padding: 0.75rem 0; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); background: var(--background); color: var(--foreground); border: 1px solid var(--background); transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); }
.lifestyle__btn:hover { background: transparent; color: var(--background); }

/* ---------- Owner ---------- */
.owner__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .owner__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .owner__side { grid-column: span 4 / span 4; position: sticky; top: 148px; align-self: start; } .owner__body { grid-column: span 8 / span 8; } }
.owner__kicker { display: block; color: var(--poppy); margin-bottom: 1.5rem; }
.owner__title { font-family: var(--font-display); font-weight: 300; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .owner__title { font-size: 3rem; } }
.owner__role { margin-top: 1.5rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); font-family: var(--font-body); }
.owner__body > * + * { margin-top: 1.25rem; }
@media (min-width: 768px) { .owner__body > * + * { margin-top: 2rem; } }
.owner__p { color: color-mix(in srgb, var(--foreground) 75%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.5rem; }
@media (min-width: 768px) { .owner__p { font-size: 17px; line-height: 1.85; } }

/* ---------- Services ---------- */
.services { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .services { flex-direction: row; } }
.service-card { background: var(--background); border-radius: var(--radius-md); border: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.service-card__text { display: flex; flex-direction: column; flex-shrink: 0; padding: 2rem; width: 100%; }
.service-card__num { display: block; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); margin-bottom: 1rem; }
.service-card__title { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.15; margin-bottom: 1rem; white-space: nowrap; }
.service-card__copy { color: color-mix(in srgb, var(--foreground) 75%, transparent); font-family: var(--font-body); font-size: 15px; line-height: 1.8; margin-bottom: 2rem; }
.service-card__link { align-self: flex-start; margin-top: auto; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); }
.service-card__media { position: relative; width: 100%; height: 14rem; flex-shrink: 0; overflow: hidden; align-self: stretch; }
@media (min-width: 640px) { .service-card__media { height: 18rem; } }
@media (min-width: 768px) { .service-card__text { padding: 2.5rem; } .service-card__title { font-size: 1.875rem; } }
@media (min-width: 1024px) {
  .service-card { flex-direction: row; height: 26rem; overflow: hidden; flex: 2 1 0%; transition: all 0.7s var(--ease-service); }
  .service-card.is-dimmed { flex: 0.5 1 0%; }
  .service-card.is-active { flex: 4 1 0%; }
  .service-card__text, .service-card__num, .service-card__title, .service-card__copy, .service-card__link, .service-card__media { transition-duration: 0.7s; transition-timing-function: var(--ease-service); }
  .theme-js .service-card.is-revealed { transition: all 0.7s var(--ease-service); }
  .service-card__text { width: 100%; min-width: 20rem; transition-property: all; }
  .service-card.is-active .service-card__text { width: 50%; }
  .service-card.is-dimmed .service-card__text { width: 5.5rem; min-width: 0; padding-left: 1rem; padding-right: 1rem; align-items: center; }
  .service-card__num, .service-card__title { transition-property: all; }
  .service-card.is-dimmed .service-card__num { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 0.75rem; }
  .service-card.is-dimmed .service-card__title { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 0; font-size: 1.5rem; }
  .service-card__copy { transition-property: opacity; }
  .service-card.is-dimmed .service-card__copy { opacity: 0; display: none; }
  .service-card__link { transition-property: opacity; }
  .service-card.is-dimmed .service-card__link { opacity: 0; pointer-events: none; }
  .service-card__media { height: auto; width: 0; opacity: 0; transition-property: all; }
  .service-card.is-active .service-card__media { width: 50%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .service-card, .service-card * { transition: none !important; } }

/* ---------- Shop ---------- */
.shop__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.shop__filter-btn { display: flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); transition: color 0.15s var(--transition-smooth); }
.shop__filter-btn:hover { color: var(--foreground); }
.shop__filter-chevron { width: 0.75rem; height: 0.75rem; transition: transform 0.3s var(--transition-smooth); }
.shop__filter-btn[aria-expanded='true'] .shop__filter-chevron { transform: rotate(180deg); }
.shop__cats { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.25rem; row-gap: 0.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.shop__cat { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); transition: color 0.15s var(--transition-smooth); }
.shop__cat:hover { color: var(--foreground); }
.shop__cat.is-active { color: var(--foreground); border-bottom: 1px solid var(--foreground); padding-bottom: 0.125rem; }
.shop__filters { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.3s var(--ease-motion), opacity 0.3s var(--ease-motion); }
.shop__filters.is-open { grid-template-rows: 1fr; opacity: 1; }
.shop__filters-clip { overflow: hidden; min-height: 0; }
.shop__filters-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .shop__filters-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop__search { position: relative; }
.shop__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); }
.shop__search-input { display: flex; height: 2.5rem; width: 100%; padding: 0.5rem 0.75rem 0.5rem 1.75rem; font-size: 1rem; line-height: 1.5rem; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; color: var(--foreground); transition: border-color 0.15s var(--transition-smooth); font-family: var(--font-body); }
@media (min-width: 768px) { .shop__search-input { font-size: 0.875rem; line-height: 1.25rem; } }
.shop__search-input:focus { outline: none; border-bottom-color: var(--foreground); }
.shop__price-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); margin-bottom: 0.75rem; }
.shop__more { text-align: center; margin-top: 3rem; }
.shop__more-btn { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); }
.shop__empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); font-family: var(--font-body); animation: fadeIn 0.5s ease both; }
.shop__empty-archive { color: var(--muted-foreground); font-family: var(--font-body); }

/* Dual-handle price range (overlapping full-width inputs; Radix slider look) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 0.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--secondary); }
.range-track-fill { background: var(--primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.range-input::-moz-range-track { background: transparent; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; border: 2px solid var(--primary); background: var(--background); cursor: pointer; margin-top: 0.125rem; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; border: 2px solid var(--primary); background: var(--background); cursor: pointer; box-sizing: border-box; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* ---------- Wholesale ---------- */
.wholesale__grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 1024px) { .wholesale__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: 34rem; } .wholesale__media { grid-column: span 8 / span 8; min-height: 100%; } .wholesale__panel { grid-column: span 4 / span 4; } }
.wholesale__media { position: relative; min-height: 24rem; overflow: hidden; border-radius: var(--radius-md); }
.wholesale__panel { display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius-md); background: var(--leaf); color: var(--leaf-foreground); padding: 3rem 1.75rem; }
@media (min-width: 640px) { .wholesale__panel { padding-left: 2.5rem; padding-right: 2.5rem; } }
.wholesale__kicker { margin-bottom: 1.25rem; color: var(--marigold); }
.wholesale__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 640px) { .wholesale__title { font-size: 2.25rem; line-height: 1.25; } }
.wholesale__copy { margin-top: 1.5rem; font-family: var(--font-body); font-size: 15px; line-height: 1.625; color: color-mix(in srgb, var(--leaf-foreground) 75%, transparent); }

/* ---------- Education ---------- */
.edu__bar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem; }
.edu__headline { font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; line-height: 1.1; max-width: 42rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .edu__headline { font-size: 3rem; } }
.edu__desc { font-family: var(--font-body); font-size: 15px; color: var(--muted-foreground); line-height: 1.625; max-width: 42rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.edu__controls { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .edu__controls { flex-direction: row; align-items: center; justify-content: space-between; } }
.edu__search { position: relative; display: block; width: 100%; }
@media (min-width: 1024px) { .edu__search { max-width: 20rem; } }
.edu__search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); }
.edu__search-input { height: 2.75rem; width: 100%; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent); background: var(--card); padding: 0 1rem 0 2.25rem; font-size: 1rem; line-height: 1.5rem; outline: none; font-family: var(--font-body); }
.edu__search-input:focus { border-color: var(--primary); }
.edu__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.edu__cat { height: 2.5rem; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent); padding: 0 1rem; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); background: var(--background); color: var(--foreground); transition: color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); }
.edu__cat:hover { border-color: var(--primary); }
.edu__cat.is-active { border-color: var(--poppy); background: var(--background); color: var(--poppy); }
.edu__view { margin-left: auto; display: flex; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent); padding: 0.25rem; }
@media (min-width: 1024px) { .edu__view { margin-left: 0.5rem; } }
.edu__view-btn { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--muted-foreground); }
.edu__view-btn.is-active { background: var(--foreground); color: var(--background); }
.edu__empty { margin-top: 4rem; text-align: center; color: var(--muted-foreground); font-family: var(--font-body); }
.edu__grid { margin-top: 2.5rem; }
.edu__grid.is-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .edu__grid.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .edu__grid.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.edu__grid.is-list { display: flex; flex-direction: column; gap: 1rem; }
.edu-card { display: block; overflow: hidden; border-radius: var(--radius-md); border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); background: var(--card); transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s; transition-timing-function: var(--transition-smooth); }
.edu-card:hover { transform: translateY(-0.125rem); box-shadow: var(--shadow-elevated); }
.is-list .edu-card { display: flex; flex-direction: column; align-items: stretch; }
@media (min-width: 640px) { .is-list .edu-card { flex-direction: row; align-items: stretch; } }
.edu-card__media { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; flex-shrink: 0; background: var(--muted); }
@media (min-width: 640px) { .is-list .edu-card__media { width: 14rem; } }
.edu-card__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.edu-card__body { padding: 1.25rem; }
.edu-card__meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); font-family: var(--font-body); }
.edu-card__title { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; }
.edu-card:hover .edu-card__title { color: var(--primary); }
.edu-card__excerpt { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.edu__pages { margin-top: 2.5rem; display: flex; justify-content: center; gap: 0.5rem; }
.edu__page { height: 2.5rem; width: 2.5rem; border-radius: 9999px; border: 1px solid var(--border); font-size: 0.875rem; line-height: 1.25rem; transition: color 0.15s, border-color 0.15s; }
.edu__page:hover { border-color: var(--primary); }
.edu__page.is-active { border-color: var(--foreground); background: var(--foreground); color: var(--background); }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .reviews__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.reviews__summary { display: flex; align-items: center; gap: 0.5rem; }
.reviews__stars { display: flex; }
.star { color: var(--border); }
.star.is-filled { fill: var(--primary); color: var(--primary); }
.star--md { width: 1rem; height: 1rem; }
.star--sm { width: 0.875rem; height: 0.875rem; }
.reviews__count { font-size: 13px; color: var(--muted-foreground); font-family: var(--font-body); }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reviews__grid { gap: 3rem; } }
.review { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .review { flex-direction: row; } }
.review__photo-link { flex-shrink: 0; }
.review__photo { width: 100%; height: 10rem; border-radius: var(--radius-md); object-fit: cover; background: var(--secondary); }
@media (min-width: 640px) { .review__photo { width: 7rem; height: 7rem; } }
.review__stars { margin-bottom: 0.5rem; }
.review__text { font-size: 15px; color: color-mix(in srgb, var(--foreground) 80%, transparent); font-family: var(--font-body); line-height: 1.625; margin-bottom: 0.75rem; }
.review__by { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); font-family: var(--font-body); }
.review__product { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); margin-top: 0.5rem; }

/* ---------- Accordion (FAQ) ---------- */
.faq__head { margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.faq__list { width: 100%; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-align: left; transition: color 0.15s var(--transition-smooth); font-family: var(--font-body); font-size: 15px; }
.accordion-trigger:hover { color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.accordion-chevron { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform 0.3s var(--transition-smooth); }
.accordion-trigger[aria-expanded='true'] .accordion-chevron { transform: rotate(180deg); }
.accordion-content { display: grid; grid-template-rows: 0fr; opacity: 0; transition: all 0.3s ease-out; }
.accordion-item.is-open .accordion-content { grid-template-rows: 1fr; opacity: 1; }
.accordion-content__clip { overflow: hidden; }
.accordion-content__inner { padding-bottom: 1.25rem; padding-right: 2rem; font-family: var(--font-body); font-size: 15px; color: var(--muted-foreground); line-height: 1.625; }

/* ---------- Contact section ---------- */
.contact { position: relative; overflow: hidden; scroll-margin-top: 0; }
.contact__veil { position: absolute; inset: 0; background: color-mix(in srgb, var(--background) 85%, transparent); }
.contact__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .contact__inner { padding-top: 7rem; padding-bottom: 7rem; } }
.contact__box { max-width: 42rem; margin: 0 auto; text-align: center; }
.contact__kicker { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted-foreground); font-family: var(--font-body); margin-bottom: 1.5rem; }
.contact__title { font-family: var(--font-display); font-weight: 300; font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact__title { font-size: 3.75rem; } }
.contact__text { color: color-mix(in srgb, var(--foreground) 75%, transparent); font-family: var(--font-body); font-size: 1rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact__buttons { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .contact__buttons { flex-direction: row; align-items: center; } }
.contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 220px; border-radius: var(--radius-md); padding: 0.75rem 0; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); border: 1px solid var(--foreground); transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); }
.contact-btn--solid { background: var(--foreground); color: var(--background); }
.contact-btn--solid:hover { background: transparent; color: var(--foreground); }
.contact-btn--ghost { background: transparent; color: var(--foreground); }
.contact-btn--ghost:hover { background: var(--foreground); color: var(--background); }
.contact__meta { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; font-size: 13px; font-family: var(--font-body); color: var(--muted-foreground); }
@media (min-width: 640px) { .contact__meta { flex-direction: row; gap: 1.5rem; } }
.contact__meta-item { display: flex; align-items: center; gap: 0.5rem; }
.contact__meta-link { transition: color 0.15s var(--transition-smooth); }
.contact__meta-link:hover { color: var(--foreground); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--leaf); background: var(--leaf); color: var(--leaf-foreground); }
.site-footer__inner { padding-top: 2.5rem; padding-bottom: 1.25rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 3rem; padding-bottom: 1.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.site-footer__col { display: flex; flex-direction: column; gap: 1rem; }
.site-footer__logo { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__tagline { font-size: 13px; color: color-mix(in srgb, var(--leaf-foreground) 75%, transparent); font-family: var(--font-body); letter-spacing: 0.025em; max-width: 20rem; }
.site-footer__heading { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--marigold); }
.site-footer__nav .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.site-footer__nav .nav-link { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--leaf-foreground) 75%, transparent); transition: color 0.15s var(--transition-smooth); font-family: var(--font-body); }
.site-footer__nav .nav-link:hover { color: var(--marigold); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in srgb, var(--leaf-foreground) 75%, transparent); transition: color 0.15s var(--transition-smooth); font-family: var(--font-body); }
.site-footer__link--static:hover { color: color-mix(in srgb, var(--leaf-foreground) 75%, transparent); }
a.site-footer__link:hover { color: var(--marigold); }
.site-footer__link--email { word-break: break-all; }
.site-footer__disclaimer { margin-top: 2rem; font-size: 12px; color: color-mix(in srgb, var(--leaf-foreground) 65%, transparent); font-family: var(--font-body); line-height: 1.625; max-width: 48rem; }
.site-footer__bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, var(--leaf-foreground) 20%, transparent); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__small { font-size: 13px; color: color-mix(in srgb, var(--leaf-foreground) 65%, transparent); font-family: var(--font-body); letter-spacing: 0.025em; }
.site-footer__credit { transition: color 0.15s var(--transition-smooth); }
.site-footer__credit:hover { color: var(--marigold); }

/* ---------- Dialogs ---------- */
.theme-dialog { position: fixed; inset: 0; z-index: 50; }
.theme-dialog__overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.8); }
.theme-dialog[data-state='open'] .theme-dialog__overlay { animation: fadeIn 0.15s ease both; }
.theme-dialog[data-state='closed'] .theme-dialog__overlay { animation: fadeIn 0.15s ease reverse both; }
.theme-dialog__content { position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; width: 100%; max-width: 32rem; transform: translate3d(-50%, -50%, 0); gap: 1rem; border: 1px solid var(--border); background: var(--background); padding: 1.5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); outline: none; }
@media (min-width: 640px) { .theme-dialog__content { border-radius: var(--radius); } }
.theme-dialog[data-state='open'] .theme-dialog__content { animation: dialogIn 0.2s ease both; }
.theme-dialog[data-state='closed'] .theme-dialog__content { animation: dialogOut 0.2s ease both; }
.theme-dialog__content--contact { max-height: 90vh; overflow-y: auto; }
.theme-dialog__content--wholesale { width: calc(100% - 2rem); max-height: 90vh; overflow-y: auto; background: var(--background); border-color: color-mix(in srgb, var(--leaf) 20%, transparent); padding: 1.25rem; }
@media (min-width: 640px) { .theme-dialog__content--wholesale { max-width: 48rem; padding: 2rem; } }
.theme-dialog__header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .theme-dialog__header { text-align: left; } }
.theme-dialog__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 640px) { .theme-dialog__title--lg { font-size: 1.875rem; } }
.theme-dialog__desc { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
@media (min-width: 640px) { .theme-dialog__desc--lg { font-size: 1rem; line-height: 1.5rem; } }
.theme-dialog__close { position: absolute; right: 1rem; top: 1rem; border-radius: var(--radius-sm); opacity: 0.7; transition: opacity 0.15s var(--transition-smooth); }
.theme-dialog__close:hover { opacity: 1; }
.theme-dialog__close:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
@media (prefers-reduced-motion: reduce) { .theme-dialog__content, .theme-dialog__overlay { animation: none !important; } }

.contact-modal__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.contact-modal__link { display: flex; align-items: center; gap: 0.5rem; }
.contact-modal__link a { transition: color 0.15s var(--transition-smooth); word-break: break-all; }
.contact-modal__link a:hover { color: var(--foreground); }
.contact-modal__form { animation: fadeIn 0.6s ease both; }
.contact-modal__form > * + * { margin-top: 1rem; }
.contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-modal__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-modal__actions { display: flex; justify-content: flex-end; }
.contact-modal__error { font-size: 0.875rem; color: var(--destructive, #a8341e); font-family: var(--font-body); }
.contact-modal__success { text-align: center; padding: 2rem 0; animation: successIn 0.4s ease both; }
.contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 9999px; animation: successPop 0.5s ease 0.15s both; }
.contact-modal__success-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.5rem; }
.contact-modal__success-text { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }

.form-label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.375rem; font-family: var(--font-body); }
.form-input { width: 100%; padding: 0.625rem 0.75rem; background: var(--background); border: 1px solid var(--border); font-size: 1rem; line-height: 1.5rem; font-family: var(--font-body); border-radius: var(--radius-md); transition: box-shadow 0.3s var(--transition-smooth); color: var(--foreground); }
.form-input:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.form-input--textarea { resize: none; }
.form-input--card { padding: 0.75rem 1rem; background: var(--card); border-color: color-mix(in srgb, var(--foreground) 25%, transparent); }
.form-input--card:focus { box-shadow: 0 0 0 2px var(--primary); }
.wholesale-modal__form { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .wholesale-modal__form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wholesale-modal__form .is-wide { grid-column: span 2 / span 2; } }
.wholesale-modal__note { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); margin-top: 0.75rem; }
.wholesale-modal__success { border: 1px solid color-mix(in srgb, var(--leaf) 20%, transparent); border-radius: var(--radius-md); padding: 2rem; text-align: center; background: var(--mist); }
.wholesale-modal__success .theme-icon { margin: 0 auto 1rem; color: var(--leaf); }
.wholesale-modal__success-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; }
.wholesale-modal__success-text { color: var(--muted-foreground); font-family: var(--font-body); }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { display: none; position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--foreground) 20%, transparent); }
.cart-drawer { display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--background); z-index: 50; box-shadow: var(--shadow-elevated); flex-direction: column; border-left: 1px solid color-mix(in srgb, var(--leaf) 20%, transparent); }
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.35s var(--transition-smooth) forwards; }
body.cart-open .cart-drawer { display: flex; transform: translateX(0); transition: transform 0.35s var(--transition-smooth); }
.cart-drawer { transform: translateX(100%); transition: transform 0.35s var(--transition-smooth); }
body.cart-open .cart-drawer.is-updating { transition: none; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s var(--transition-smooth); }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.cart-drawer__items { flex: 1; 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(--mist); overflow: hidden; flex-shrink: 0; display: block; }
.cart-item__img { width: 100%; height: 100% !important; object-fit: cover; object-position: center; padding: 0.25rem; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.15s var(--transition-smooth); font-family: var(--font-body); }
.cart-item__name:hover { opacity: 0.7; }
.cart-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.cart-item__variation { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.25rem; font-family: var(--font-body); }
.cart-item__note { font-size: 12px; color: var(--muted-foreground); margin-top: 0.25rem; font-family: var(--font-body); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; border-radius: var(--radius-md); transition: background-color 0.15s var(--transition-smooth); }
.cart-item__qty-btn:hover { background: var(--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(--muted-foreground); transition: color 0.15s var(--transition-smooth); font-family: var(--font-body); }
.cart-item__remove:hover { color: var(--foreground); }
.cart-drawer__foot { padding: 1.5rem; border-top: 1px solid var(--border); background: var(--mist); }
.cart-drawer__foot > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); }
.cart-drawer__subtotal-label { color: var(--muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.cart-suggest { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.cart-suggest__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; margin-bottom: 0.25rem; }
.cart-suggest__kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); margin-bottom: 1rem; }
.cart-suggest__row { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; margin-left: -0.25rem; margin-right: -0.25rem; padding-left: 0.25rem; padding-right: 0.25rem; }
a.cart-suggest__item, .cart-suggest__item { display: block; flex-shrink: 0; width: 8rem; text-align: left; background: none; border: 0; padding: 0; min-height: 0; color: inherit; font-weight: 400; }
.cart-suggest__media { display: block; aspect-ratio: 3 / 4; background: var(--mist); overflow: hidden; margin-bottom: 0.5rem; border: 1px solid color-mix(in srgb, var(--leaf) 10%, transparent); }
.cart-suggest__img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; transition: transform 0.7s var(--transition-smooth); }
.cart-suggest__item:hover .cart-suggest__img { transform: scale(1.05); }
.cart-suggest__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); line-height: 1.625; }
.cart-suggest__price { display: block; font-size: 0.75rem; line-height: 1rem; font-family: var(--font-body); color: var(--muted-foreground); margin-top: 0.25rem; }
.cart-suggest__add { margin-top: 0.25rem; display: inline-block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); color: var(--poppy); opacity: 0; transition: opacity 0.15s var(--transition-smooth); }
.cart-suggest__item:hover .cart-suggest__add { opacity: 1; }

/* ---------- Single product ---------- */
.site-main { display: block; }
.breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); font-family: var(--font-body); }
.breadcrumb__link { transition: color 0.15s var(--transition-smooth); }
.breadcrumb__link:hover { color: var(--foreground); }
.breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb__current { color: var(--foreground); }
.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; padding-bottom: 6rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .single-product .theme-product-gallery { grid-column: span 7 / span 7; } .single-product .theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.gallery-mobile { display: block; }
.gallery-desktop { display: none; }
@media (min-width: 1024px) { .gallery-mobile { display: none; } .gallery-desktop { display: flex; flex-direction: column; gap: 1rem; } }
.gallery-mobile__main { aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; }
.gallery-img { width: 100%; height: 100% !important; object-fit: contain; padding: 1rem; }
.single-product .theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; max-width: 100%; }
.gallery-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--secondary); }
.gallery-thumb__img { width: 100%; height: 100%; object-fit: contain; padding: 0.25rem; opacity: 0.6; transition: opacity 0.15s var(--transition-smooth); }
.gallery-thumb:hover .gallery-thumb__img, .gallery-thumb.is-active .gallery-thumb__img { opacity: 1; }
.gallery-thumb__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--foreground); opacity: 0; transition: opacity 0.15s var(--transition-smooth); }
.gallery-thumb.is-active .gallery-thumb__line { opacity: 1; }
.gallery-desktop__item { aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.magnifier { position: relative; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.magnifier__img { width: 100%; max-width: 100%; height: 100% !important; max-height: 100%; padding: 1rem; object-fit: contain; user-select: none; }
.magnifier.is-active .magnifier__img.is-hovering { cursor: crosshair; }
.magnifier__hint { display: none; pointer-events: none; position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 10; align-items: center; gap: 0.375rem; background: color-mix(in srgb, var(--foreground) 70%, transparent); color: var(--background); padding: 0.375rem 0.75rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: opacity 0.2s ease; }
.magnifier.is-active .magnifier__hint { display: flex; }
.magnifier.is-lens-visible .magnifier__hint { opacity: 0; }
.magnifier__lens { position: absolute; z-index: 20; pointer-events: none; border-radius: 9999px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); transform: translateZ(0); transition: opacity 0.15s ease-out; }
.magnifier__lens img { position: absolute; max-width: none; user-select: none; }

.product-category { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--poppy); font-family: var(--font-body); font-weight: 600; }
.product-title { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
.single-product .product-title { font-family: var(--font-display); font-weight: 400; }
@media (min-width: 768px) { .single-product .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--foreground); }
.product-price del { opacity: 0.6; }
.product-price ins { text-decoration: none; }
.product-lead { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); font-size: 1rem; }
.product-field { margin-bottom: 1.5rem; }
.product-qty { margin-bottom: 1rem; }
.product-field__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted-foreground); margin-bottom: 0.75rem; }
.product-field__optional { opacity: 0.6; }
.product-notes__input { width: 100%; padding: 0.75rem 1rem; background: var(--background); border: 1px solid var(--border); font-size: 1rem; line-height: 1.5rem; font-family: var(--font-body); transition: border-color 0.15s var(--transition-smooth); color: var(--foreground); }
.product-notes__input:focus { outline: none; border-color: var(--foreground); }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.15s var(--transition-smooth); display: inline-flex; align-items: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input { width: auto; min-width: 44px; max-width: 4.5rem; padding: 0.5rem 0; text-align: center; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; color: var(--foreground); }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.single-product .theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0; }
.single-product .theme-add-to-cart-area .product-qty { align-self: flex-start; }

/* Add to cart button overrides (WooCommerce .button styles must not leak) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button:not(.theme-card-btn):not(.cart-suggest__item) {
  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: background-color 0.15s var(--transition-smooth), color 0.15s var(--transition-smooth) !important;
  line-height: 1rem;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
a.single_add_to_cart_button:hover {
  background-color: var(--leaf) !important;
  color: var(--leaf-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.6 !important;
  background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button { width: 100%; text-align: center; flex: 1 1 auto; text-transform: var(--btn-text-transform); }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single_add_to_cart_button.is-added-state { opacity: 0.6 !important; pointer-events: none !important; cursor: not-allowed !important; }

/* "View cart" link WooCommerce injects after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.product-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.product-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.product-accordion__chevron { width: 1rem; height: 1rem; transition: transform 0.15s var(--transition-smooth); }
.product-accordion__trigger[aria-expanded='true'] .product-accordion__chevron { transform: rotate(180deg); }
.product-accordion__panel { padding-bottom: 1.5rem; font-family: var(--font-body); }
.product-prose { font-size: 15px; color: var(--muted-foreground); line-height: 1.625; margin-bottom: 1.5rem; overflow-wrap: break-word; }
.product-prose p + p { margin-top: 1.625em; }
.product-herbs { margin-bottom: 1.5rem; }
.product-herbs__title { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--poppy); margin-bottom: 0.75rem; }
.product-herbs__list > * + * { margin-top: 0.75rem; }
.product-herbs__list dt { font-size: 15px; color: var(--foreground); font-weight: 500; }
.product-herbs__list dd { font-size: 15px; color: var(--muted-foreground); line-height: 1.625; }
.product-details > * + * { margin-top: 0.5rem; }
.product-details li { font-size: 15px; color: var(--muted-foreground); display: flex; align-items: flex-start; }
.product-details__dot { width: 0.25rem; height: 0.25rem; background: var(--foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.product-accordion--second { border-top: 1px solid var(--border); }
.product-accordion__panel--shipping { font-size: 15px; color: var(--muted-foreground); line-height: 1.625; }
.product-accordion__panel--shipping > * + * { margin-top: 0.75rem; }
.product-accordion__rule { border-top: 1px solid var(--border); }
.product-disclaimer { margin-top: 1.5rem; font-size: 13px; color: var(--muted-foreground); font-family: var(--font-body); line-height: 1.625; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 1.25rem; border-top: 1px solid var(--border); background: var(--mist); margin-left: -1.25rem; margin-right: -1.25rem; }
@media (min-width: 768px) { .related-products-section { margin-left: -2rem; margin-right: -2rem; padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .related-products-section { margin-left: -2.5rem; margin-right: -2.5rem; padding-left: 2.5rem; padding-right: 2.5rem; } }
.related-products__head { text-align: center; margin-bottom: 3rem; }
.related-products__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.5rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.related-products__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .related-products__title { font-size: 2.25rem; line-height: 2.5rem; } }

/* Variable product: stacked variation table, pills, hidden native selects */
.theme-attr-select-hidden { display: none !important; }
.single-product .variations, .single-product .variations tbody, .single-product .variations tr, .single-product .variations td { display: block; width: 100%; }
.single-product .variations { margin-bottom: 1.5rem; }
.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: 400; font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); display: block; margin-bottom: 0.5rem; }
.single-product .variations tr + tr { margin-top: 1.5rem; }
.single-product .reset_variations { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--border); font-family: var(--font-body); border-radius: 9999px; transition: all 0.15s var(--transition-smooth); }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-attr-pill.is-active { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.theme-attr-pill__dot { width: 0.75rem; height: 0.75rem; border-radius: 9999px; border: 1px solid var(--border); }
.woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-body); }
.woocommerce-variation-availability .stock { font-size: 0.875rem; color: var(--muted-foreground); font-family: var(--font-body); margin-bottom: 1rem; }
.stock.out-of-stock { color: var(--poppy); }

/* ---------- Article ---------- */
.article { max-width: 48rem; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
@media (min-width: 640px) { .article { padding-left: 2rem; padding-right: 2rem; } }
.article__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); transition: color 0.15s; }
.article__back:hover { color: var(--primary); }
.article__meta { margin-top: 2rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--poppy); font-family: var(--font-body); font-weight: 600; }
.article__title { margin-top: 0.75rem; font-family: var(--font-display); font-size: 2.25rem; line-height: 1.25; }
@media (min-width: 640px) { .article__title { font-size: 3.75rem; } }
.article__excerpt { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted-foreground); font-family: var(--font-body); }
.article__media { margin-top: 2.5rem; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; border-radius: var(--radius-md); background: var(--muted); }
.article__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.article__body { margin-top: 2.5rem; font-size: 1.125rem; line-height: 1.625; font-family: var(--font-body); color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.article__body > * + * { margin-top: 1.5rem; }
.article__body img { width: auto; max-width: 100%; height: auto; aspect-ratio: auto; border-radius: var(--radius-md); }
.article__published { margin-top: 2.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); font-family: var(--font-body); }
.article-more { border-top: 1px solid var(--border); background: var(--botanical-pink); padding: 4rem 0; }
.article-more__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .article-more__title { font-size: 2.25rem; line-height: 2.5rem; } }
.article-more__grid { margin-top: 2rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .article-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .article-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-more__card { display: block; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--card); }
.article-more__media { aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--muted); }
.article-more__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.article-more__body { padding: 1.25rem; }
.article-more__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); font-family: var(--font-body); }
.article-more__name { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; }
.article-more__card:hover .article-more__name { color: var(--primary); }

/* ---------- 404 ---------- */
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--muted); }
.not-found__box { text-align: center; }
.not-found__title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.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 { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ---------- Generic pages, cart, checkout, account, thank-you ---------- */
.page-container { padding-top: 3rem; padding-bottom: 5rem; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1.1; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.entry-content { max-width: 100%; min-width: 0; font-family: var(--font-body); line-height: 1.625; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content a:not(.wp-block-button__link):not(.button):not(.wc-block-components-button) { text-decoration: underline; text-underline-offset: 3px; }

/* WooCommerce notices (kept visible except where the theme already gives feedback) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); color: var(--foreground); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); font-size: 0.875rem; }
.woocommerce-error { border-color: var(--poppy); list-style: none; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* Shared WooCommerce buttons */
.entry-content .button, .woocommerce a.button, .woocommerce button.button, .wc-block-components-button:not(.is-link), .wp-block-button__link { background: var(--poppy); color: var(--poppy-foreground); border: 0; border-radius: var(--radius-md); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.025em; font-size: 0.875rem; padding: 0.625rem 1.25rem; transition: background-color 0.15s var(--transition-smooth), color 0.15s var(--transition-smooth); }
.entry-content .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-button:not(.is-link):hover, .wp-block-button__link:hover { background: var(--leaf); color: var(--leaf-foreground); }

/* Cart and checkout share the site container; the title uses the same inset as the content */
body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content, body.woocommerce-checkout .entry-content { max-width: none; }
body.woocommerce-cart .wc-block-cart, body.woocommerce-checkout .wc-block-checkout { max-width: none; width: 100%; font-family: var(--font-body); color: var(--foreground); }
body.woocommerce-cart .wp-block-woocommerce-cart, body.woocommerce-checkout .wp-block-woocommerce-checkout { max-width: none; padding: 0; margin: 0; }

body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout { 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: var(--checkout-gap, 2rem); align-items: start; }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--card); border: 1px solid var(--border); border-radius: var(--radius); 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: 400; color: var(--foreground); }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input {
  width: 100% !important; max-width: none !important; font-family: var(--font-body); font-size: 1rem; color: var(--foreground); border: 1px solid var(--border); border-radius: var(--radius-md); background-color: var(--background); padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label { color: var(--muted-foreground); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button { background: var(--poppy); color: var(--poppy-foreground); border-radius: var(--radius-md); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; padding: 1rem; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background: var(--leaf); color: var(--leaf-foreground); }
body.woocommerce-checkout .wc-block-cart-items, body.woocommerce-checkout .wc-block-components-order-summary { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-totals-item__label, body.woocommerce-checkout .wc-block-components-product-name { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-order-summary__button-text { font-family: var(--font-display); }

body.woocommerce-cart .wc-block-cart__submit-button { background: var(--poppy); color: var(--poppy-foreground); border-radius: var(--radius-md); font-weight: 600; }
body.woocommerce-cart .wc-block-cart__submit-button:hover { background: var(--leaf); color: var(--leaf-foreground); }
body.woocommerce-cart .wc-block-cart-items__header, body.woocommerce-cart .wc-block-components-product-name { font-family: var(--font-body); color: var(--foreground); }
body.woocommerce-cart .wc-block-cart__totals-title { font-family: var(--font-display); }

/* Classic shortcode cart & checkout (no nested grids; single 2-column checkout) */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals { font-family: var(--font-body); }
@media (min-width: 768px) {
  body.woocommerce-cart .woocommerce { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  body.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  body.woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
  body.woocommerce-cart .cart-collaterals { grid-column: 2; }
}
body.woocommerce-checkout .woocommerce { font-family: var(--font-body); }
body.woocommerce-checkout form.checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .woocommerce { display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap, 2rem); align-items: start; }
  body.woocommerce-checkout .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  body.woocommerce-checkout form.checkout { display: contents; }
  body.woocommerce-checkout #customer_details { grid-column: 1; min-width: 0; }
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review { grid-column: 2; min-width: 0; }
}
body.woocommerce-checkout .woocommerce-billing-fields input.input-text,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .woocommerce-shipping-fields input.input-text,
body.woocommerce-checkout .woocommerce-shipping-fields select,
body.woocommerce-checkout .woocommerce-additional-fields textarea,
body.woocommerce-checkout #order_review input.input-text,
body.woocommerce-checkout #order_review select {
  width: 100% !important; max-width: none !important; font-family: var(--font-body) !important; font-size: 1rem !important; color: var(--foreground) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-md) !important; background-color: var(--background) !important; padding: revert !important;
}
body.woocommerce-checkout .woocommerce-billing-fields input.input-text:focus,
body.woocommerce-checkout .woocommerce-billing-fields select:focus,
body.woocommerce-checkout .woocommerce-shipping-fields input.input-text:focus,
body.woocommerce-checkout .woocommerce-shipping-fields select:focus,
body.woocommerce-checkout .woocommerce-additional-fields textarea:focus { outline: none !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent) !important; }
body.woocommerce-checkout #place_order { background: var(--poppy) !important; color: var(--poppy-foreground) !important; border-radius: var(--radius-md) !important; font-family: var(--font-body) !important; font-weight: 600 !important; letter-spacing: 0.2em !important; text-transform: uppercase !important; font-size: 0.75rem !important; padding: 1rem !important; width: 100%; cursor: pointer !important; }

.theme-product-grid--featured { grid-template-columns: 1fr; column-gap: 1.5rem; row-gap: 3rem; margin-top: 0; }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.shop-by-category__title { margin-bottom: 1.5rem; }
.shop-by-category__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .shop-by-category__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-by-category__item { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); transition: border-color 0.15s var(--transition-smooth), color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth); min-height: 100%; }
.shop-by-category__item:hover { border-color: var(--poppy); color: var(--poppy); }
.shop-by-category__icon { color: var(--leaf); }
.shop-by-category__item:hover .shop-by-category__icon { color: var(--poppy); }
.shop-by-category__label { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

.site-footer__newsletter { margin-top: 0.5rem; }
.site-footer__newsletter-text { font-size: 13px; color: color-mix(in srgb, var(--leaf-foreground) 75%, transparent); font-family: var(--font-body); line-height: 1.625; max-width: 20rem; }
.site-footer__heading--newsletter { margin-top: 0.25rem; }
.site-footer__newsletter--embed { max-width: 20rem; }

body.woocommerce-account .woocommerce { font-family: var(--font-body); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-foreground); }
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: var(--foreground); border-bottom: 1px solid var(--foreground); }
body.woocommerce-account input.input-text, body.woocommerce-account select { width: 100%; padding: 0.625rem 0.75rem; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-body); }

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: 0; list-style: none; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 0.9375rem; letter-spacing: 0; text-transform: none; color: var(--foreground); }
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 2rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border: 1px solid var(--border); border-radius: var(--radius-md); }
body.theme-thankyou-page .woocommerce-order-details th, body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }

/* Pagination (archive) */
.woocommerce-pagination { margin-top: 2.5rem; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 0.5rem; }
.woocommerce-pagination .page-numbers { display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid var(--border); font-size: 0.875rem; }
.woocommerce-pagination .page-numbers.current { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.navigation.pagination { margin-top: 2.5rem; font-family: var(--font-body); }
.navigation.pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; }
.navigation.pagination .page-numbers { display: inline-flex; min-width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid var(--border); font-size: 0.875rem; padding: 0 0.75rem; }
.navigation.pagination .page-numbers.current { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
