/* The Secret Shelf - theme styles. Custom properties below are re-emitted by the Customizer. */

:root {
  --background: #f2efe8;
  --foreground: #182a22;
  --primary: #92471c;
  --primary-foreground: #f8f6f1;
  --secondary: #cbd7c6;
  --muted-foreground: #4f645a;
  --accent: #7ebbd7;
  --border: #a4b49d;
  --mist: #e0e6db;
  --forest: #324d3e;
  --forest-deep: #172b22;
  --ink: #11221a;
  --paper: #f5f0e5;

  --secondary-foreground: var(--foreground);
  --accent-foreground: var(--foreground);
  --input: var(--border);
  --ring: var(--primary);
  --gold: var(--primary);
  --cream: var(--paper);
  --muted: hsl(39 20% 87%);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Karla', sans-serif;
  --shadow-elevated: 0 16px 48px -10px hsl(156 40% 2% / 0.7);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --logo-height: 84px;
  --header-height: 7rem;
}

/* ---------- 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; max-width: 100%; overflow-x: clip; }
body { margin: 0; line-height: inherit; max-width: 100%; overflow-x: clip; background-color: var(--background); color: var(--foreground); font-family: 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; font-feature-settings: "ss01", "ss02"; }
p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; margin: 0; padding: 0; }
button, [role="button"] { cursor: pointer; background-color: transparent; background-image: none; }
button, select { text-transform: none; }
button:disabled { cursor: default; }
img, svg, video, canvas { display: block; vertical-align: middle; }
img:not(.cover-img):not(.product-card-img):not(.hero-bg):not(.footer-logo-img) { max-width: 100%; height: auto; }
video:not(.cover-img) { max-width: 100%; height: auto; }
table { border-collapse: collapse; text-indent: 0; border-color: inherit; }
[hidden] { display: none !important; }
.cover-img, .product-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

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

.section-border { border-top: 1px solid var(--border); }
.section-pad { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section-pad { padding-top: 6rem; padding-bottom: 6rem; } }
.scroll-mt { scroll-margin-top: 6rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; height: 2.5rem; padding: 0.5rem 1rem; border-radius: 0.125rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: color 0.15s var(--transition-smooth), background-color 0.15s var(--transition-smooth), border-color 0.15s var(--transition-smooth); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.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-default { background-color: var(--primary); color: var(--primary-foreground); }
.btn-default:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.btn-outline { border: 1px solid var(--input); background-color: var(--background); }
.btn-outline:hover, .btn-ghost:hover { background-color: var(--accent); color: var(--accent-foreground); }
.btn-secondary { background-color: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { background-color: color-mix(in srgb, var(--secondary) 80%, transparent); }
.btn-outline-light { border: 1px solid var(--paper); color: var(--paper); background-color: transparent; }
.btn-outline-light:hover { background-color: var(--paper); color: var(--ink); }
.btn-sm { height: 2.25rem; padding: 0 0.75rem; }
.btn-lg { height: 2.75rem; padding: 0 2rem; }
.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; }
.btn-icon.btn-icon-sm { width: 2.25rem; height: 2.25rem; }
.btn-hero-primary, .btn-hero-outline { text-transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-bottom: 1px solid var(--border); }
.admin-bar .site-header { top: 32px; }
.admin-bar #theme-cart-overlay, .admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media (max-width: 782px) {
  .admin-bar.admin-bar-visible .site-header { top: 46px; }
  .admin-bar:not(.admin-bar-visible) .site-header { top: 0; }
  .admin-bar.admin-bar-visible #theme-cart-overlay, .admin-bar.admin-bar-visible #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
  .admin-bar:not(.admin-bar-visible) #theme-cart-overlay, .admin-bar:not(.admin-bar-visible) #theme-cart-drawer { top: 0; height: 100%; }
}
.site-nav { height: 7rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.site-logo-link { flex-shrink: 0; display: block; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; }
@media (min-width: 640px) { .site-logo-img { height: calc(var(--logo-height) + 10px) !important; } }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.5rem; }
.nav-desktop { display: none; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1280px) { .nav-list { gap: 2rem; } }
@media (min-width: 1024px) { .nav-desktop { display: flex; align-items: center; } }
.nav-link { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; }
.nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-toggle { position: relative; }
.theme-cart-count { position: absolute; top: -0.125rem; right: -0.125rem; min-width: 18px; height: 18px; padding: 0 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; line-height: 1rem; background-color: var(--primary); color: var(--primary-foreground); border-radius: 9999px; }
.theme-cart-count:empty { display: none; }
.mobile-toggle .icon-close { display: none; }
.mobile-toggle[aria-expanded="true"] .icon-open { display: none; }
.mobile-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } .mobile-menu { display: none !important; } }
.mobile-menu { border-top: 1px solid var(--border); padding: 0.75rem 0; }
.mobile-nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.mobile-link { width: 100%; justify-content: flex-start; min-height: 2.75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(32rem, calc(100vh - 7rem)); min-height: max(32rem, calc(100svh - 7rem)); display: flex; align-items: flex-end; overflow: hidden; background-color: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background-image: linear-gradient(to top, color-mix(in srgb, var(--ink) 95%, transparent), color-mix(in srgb, var(--ink) 45%, transparent), color-mix(in srgb, var(--ink) 20%, transparent)); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-content { position: relative; padding-bottom: 4rem; color: var(--paper); }
@media (min-width: 768px) { .hero-content { padding-bottom: 6rem; } }
.hero-eyebrow { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 1.25rem; }
.hero-title { font-family: var(--font-display); font-size: 3rem; line-height: 1; max-width: 56rem; }
.hero-subtitle { font-size: 1.125rem; line-height: 1.625; max-width: 42rem; margin-top: 1.5rem; color: color-mix(in srgb, var(--paper) 90%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } .hero-subtitle { font-size: 1.25rem; line-height: 1.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
@keyframes hero-rise-16 { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-rise-20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
.hero-eyebrow { animation: hero-rise-16 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both; }
.hero-title { animation: hero-rise-20 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s both; }
.hero-subtitle { animation: hero-fade 0.4s ease-out 0.3s both; }
.hero-actions { animation: hero-fade 0.4s ease-out 0.45s both; }

/* ---------- Scroll reveal ---------- */
.reveal-section .reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1); }
.reveal-section.is-visible .reveal-item { opacity: 1; transform: none; }
.reveal-section .reveal-item[data-reveal-i="1"] { transition-delay: 0.08s; }
.reveal-section .reveal-item[data-reveal-i="2"] { transition-delay: 0.16s; }
.reveal-section .reveal-item[data-reveal-i="3"] { transition-delay: 0.24s; }
.reveal-section .reveal-item[data-reveal-i="4"] { transition-delay: 0.32s; }
.reveal-section .reveal-item[data-reveal-i="5"] { transition-delay: 0.4s; }
.reveal-section .reveal-item[data-reveal-i="6"] { transition-delay: 0.48s; }
.reveal-section .reveal-item[data-reveal-i="7"] { transition-delay: 0.56s; }
.reveal-section .reveal-item[data-reveal-i="8"] { transition-delay: 0.64s; }
.reveal-section .reveal-item[data-reveal-i="9"] { transition-delay: 0.72s; }
.reveal-section .reveal-item[data-reveal-i="10"] { transition-delay: 0.8s; }
.reveal-section .reveal-item[data-reveal-i="11"] { transition-delay: 0.88s; }
.reveal-section .reveal-item[data-reveal-i="12"] { transition-delay: 0.96s; }
body.is-customizer .reveal-item, body.is-customizer .reveal-section .reveal-item { opacity: 1 !important; transform: none !important; }
@media (scripting: none) { .reveal-section .reveal-item { opacity: 1; transform: none; } }

/* ---------- Shared text ---------- */
.eyebrow { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); margin-bottom: 0.75rem; }
.eyebrow-plain { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.eyebrow-muted { color: var(--muted-foreground); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .section-title { font-size: 3rem; line-height: 1; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; margin-bottom: 2.5rem; }

/* ---------- Category tiles ---------- */
.tiles-section { background-color: var(--background); }
.tiles-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background-color: var(--border); }
@media (min-width: 768px) { .tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles-grid > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.tile { display: block; background-color: var(--background); text-align: left; width: 100%; }
.tile-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 768px) { .tile-media { height: 65vh; aspect-ratio: auto; } }
.tile-img { transition: transform 0.7s var(--transition-smooth); }
.tile:hover .tile-img { transform: scale(1.03); }
.tile-caption { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.tile-caption .eyebrow { margin-bottom: 0.5rem; }
.tile-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; }

/* ---------- Product cards and grids ---------- */
.new-section { background-color: var(--mist); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; row-gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .product-grid--new { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-grid--related { column-gap: 1.5rem; row-gap: 1.5rem; }
@media (min-width: 1024px) { .product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 2 / 3; background-color: var(--secondary); overflow: hidden; margin-bottom: 1rem; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.product-card-img { transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1); }
.product-card-img.is-soldout { opacity: 0.5; }
.theme-product-card:hover .product-card-img { transform: scale(1.03); }
.theme-product-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.badge { padding: 0.25rem 0.625rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; border-radius: 0; }
.badge-dark { background-color: var(--foreground); color: var(--background); }
.badge-primary { background-color: var(--primary); color: var(--primary-foreground); }
.theme-product-card__info { text-align: center; flex: 1; }
.theme-product-card__info > * + * { margin-top: 0.25rem; }
.theme-product-card__cat { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; color: var(--foreground); transition: color 0.3s; }
.theme-product-card:hover .theme-product-card__title { color: var(--accent); }
.theme-product-card__price { font-size: 15px; color: var(--primary); }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.25rem; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------- About ---------- */
.about-section { background-color: var(--background); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.about-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.eyebrow--about { margin-bottom: 1rem; }
.about-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.25; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .about-title { font-size: 3.75rem; } }
.about-copy { font-family: var(--font-body); color: var(--muted-foreground); line-height: 1.8; }
.about-copy > * + * { margin-top: 1.25rem; }
.about-btn { margin-top: 2rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background-color: var(--foreground); color: var(--background); padding: 1.5rem 0; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-word { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; padding: 0 2rem; }
.marquee-dot { color: var(--primary); margin-left: 2rem; }
@media (min-width: 768px) { .marquee-word { font-size: 3rem; line-height: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Events ---------- */
.events-section { background-color: var(--forest); color: var(--paper); }
.events-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); grid-auto-rows: auto; gap: 4rem; } }
.events-media { position: relative; min-height: 20rem; overflow: hidden; }
@media (min-width: 1024px) {
  .events-media { min-height: 0; height: auto; }
  .events-media .events-img { position: static; inset: auto; width: 100%; height: auto; display: block; object-fit: cover; }
}
.events-copy { min-height: 20rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .events-copy { min-height: 0; } }
.eyebrow--events { color: var(--paper); font-weight: 600; margin-bottom: 1rem; }
.events-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.25; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .events-title { font-size: 3.75rem; line-height: 1; } }
.events-text { font-size: 1.125rem; line-height: 1.625; color: color-mix(in srgb, var(--paper) 90%, transparent); margin-bottom: 2rem; }
.events-btn { align-self: flex-start; }

/* ---------- Shop ---------- */
.shop-section { background-color: var(--background); }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.shop-count { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.filter-chevron { transition: transform 0.15s; }
[data-filter-toggle][aria-expanded="true"] .filter-chevron { transform: rotate(180deg); }
.shop-cats { display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: 0.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.shop-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .shop-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop-section .product-grid { margin-top: 2.5rem; }
.shop-empty { padding: 4rem 0; text-align: center; color: var(--muted-foreground); }
.archive-title { margin-bottom: 2.5rem; }
.shop-archive .product-grid { margin-top: 0; }
.field-with-icon { position: relative; display: block; }
.field-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); pointer-events: none; }
.field-input { display: flex; height: 2.5rem; width: 100%; border-radius: 0.125rem; border: 1px solid var(--input); background-color: var(--background); padding: 0.5rem 0.75rem; font-size: 1rem; line-height: 1.5rem; }
.field-input.has-icon { padding-left: 2.25rem; }
.field-input::placeholder, .product-option-input::placeholder, .contact-form ::placeholder { color: var(--muted-foreground); opacity: 1; }
@media (min-width: 768px) { .field-input { font-size: 0.875rem; line-height: 1.25rem; } }
.field-input:focus-visible, .field-select:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.field-select { height: 2.5rem; border-radius: 0.125rem; border: 1px solid var(--input); background-color: var(--background); padding: 0 0.75rem; font-size: 0.875rem; font-family: var(--font-body); width: 100%; }
.price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); margin-bottom: 0.75rem; }

/* Dual-handle price range (overlapping full-width inputs) */
.price-range-wrapper { position: relative; height: 1.25rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 0.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.range-track-bg { left: 0; right: 0; background-color: var(--secondary); border-radius: 9999px; overflow: hidden; }
.range-track-fill { background-color: var(--primary); left: 0; width: 100%; }
.range-track-bg .range-track-fill { top: 0; transform: none; height: 100%; }
.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: 1.25rem; }
.range-input::-moz-range-track { background: transparent; height: 1.25rem; }
.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-color: var(--background); cursor: pointer; transition: background-color 0.15s; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; border: 2px solid var(--primary); background-color: var(--background); box-sizing: border-box; cursor: pointer; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.range-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.range-input:focus-visible { outline: none; }
.range-input--max { z-index: 3; }
.range-input.is-raised { z-index: 5; }
.range-input--min { z-index: 4; }

/* ---------- Journal ---------- */
.journal-section { background-color: var(--mist); }
.journal-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .journal-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.eyebrow--journal { letter-spacing: 0.24em; }
.journal-title { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .journal-title { font-size: 3rem; line-height: 1; } }
.journal-intro { color: var(--muted-foreground); max-width: 28rem; }
.journal-featured { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .journal-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.journal-controls-row { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; justify-content: space-between; }
@media (min-width: 1024px) { .journal-controls-row { flex-direction: row; align-items: flex-end; } }
.journal-browse { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; }
.journal-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .journal-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; } }
@media (min-width: 1024px) { .journal-controls { max-width: 56rem; } }
.view-toggle { display: flex; border-radius: 0.125rem; border: 1px solid var(--input); background-color: var(--background); padding: 0.125rem; }
.journal-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem 0; }
@media (min-width: 768px) { .journal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; row-gap: 3.5rem; } }
.journal-list.is-list { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.journal-card__media { position: relative; display: block; overflow: hidden; background-color: var(--secondary); aspect-ratio: 4 / 3; margin-bottom: 1.25rem; }
.journal-card__media .cover-img { transition: transform 0.7s var(--transition-smooth); }
.journal-card:hover .journal-card__media .cover-img { transform: scale(1.03); }
.journal-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.journal-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; }
.journal-card--featured .journal-card__title { font-size: 1.875rem; }
.journal-card__title a { transition: color 0.15s; }
.journal-card__title a:hover { color: var(--primary); }
.journal-card__excerpt { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 1rem; }
.journal-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: var(--primary); transition: color 0.15s; }
.journal-card__link:hover { color: var(--foreground); }
.journal-card__link svg { width: 1rem; height: 1rem; }
.journal-list.is-list .journal-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.journal-list.is-list .journal-card__media { margin-bottom: 0; }
@media (min-width: 640px) { .journal-list.is-list .journal-card { grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr); gap: 1.75rem; } }
.journal-empty { padding: 3.5rem 0; text-align: center; color: var(--muted-foreground); }
.journal-pager { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-top: 3rem; }
.journal-page-label { font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Image banner, FAQ, contact band ---------- */
.cta-band { position: relative; min-height: 65vh; display: flex; align-items: flex-end; }
.cta-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.cta-content { position: relative; padding-top: 4rem; padding-bottom: 4rem; color: var(--paper); }
.cta-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; max-width: 42rem; }
@media (min-width: 768px) { .cta-title { font-size: 3.75rem; line-height: 1; } }
.faq-section { background-color: var(--mist); }
.faq-title { margin-bottom: 2rem; }
.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; font-size: 1rem; line-height: 1.5rem; transition: color 0.15s var(--transition-smooth); }
.accordion-trigger:hover { color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.accordion-chevron { width: 1rem; height: 1rem; transition: transform 0.3s; }
.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-inner { overflow: hidden; }
.accordion-body { padding: 0 2rem 1.25rem 0; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.contact-band { position: relative; background-color: var(--ink); overflow: hidden; }
.contact-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--ink) 70%, transparent); }
.contact-content { position: relative; text-align: center; color: var(--paper); }
.eyebrow--gold { color: var(--gold); margin-bottom: 1rem; }
.contact-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; line-height: 1; } }
.contact-text { color: color-mix(in srgb, var(--paper) 90%, transparent); max-width: 36rem; margin: 0 auto 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.contact-location { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.25rem; color: color-mix(in srgb, var(--paper) 80%, transparent); }
.contact-location svg { width: 1rem; height: 1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background-color: var(--forest-deep); }
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-logo-img { height: 5rem !important; width: auto !important; object-fit: contain; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.875rem; line-height: 1.25rem; color: #fff; max-width: 24rem; }
.footer-heading { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; color: #fff; }
.footer-nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.footer-link { width: 100%; justify-content: flex-start; padding-left: 0; padding-right: 0; color: #fff; }
.footer-link:hover { color: var(--gold); }
.footer-contact { font-size: 0.875rem; line-height: 1.25rem; color: #fff; }
.footer-contact > * + * { margin-top: 0.75rem; }
.footer-contact-link { display: flex; align-items: center; gap: 0.5rem; }
a.footer-contact-link:hover, .footer-credit:hover { color: var(--gold); }
.footer-contact-link svg { width: 1rem; height: 1rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.75rem; line-height: 1rem; color: #fff; display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .footer-bottom { text-align: left; flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Contact dialog ---------- */
.dialog-root { position: fixed; inset: 0; z-index: 50; }
.dialog-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.8); animation: dlg-fade-in 0.15s ease-out both; }
.dialog-content { position: fixed; left: 50%; top: 50%; z-index: 50; display: grid; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%, -50%); gap: 1rem; border: 1px solid var(--border); background-color: var(--background); padding: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); animation: dlg-in 0.2s ease-out both; }
.dialog-root.is-closing .dialog-overlay { animation: dlg-fade-out 0.15s ease-in both; }
.dialog-root.is-closing .dialog-content { animation: dlg-out 0.2s ease-in both; }
@keyframes dlg-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dlg-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes dlg-in { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes dlg-out { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } }
.dialog-content:focus { outline: none; }
.dialog-header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .dialog-header { text-align: left; } }
.dialog-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.dialog-desc { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.dialog-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.dialog-link { display: flex; align-items: center; gap: 0.5rem; }
.dialog-link svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.dialog-link a { transition: color 0.15s; word-break: break-all; }
.dialog-link a:hover { color: var(--foreground); }
.dialog-close { position: absolute; right: 1rem; top: 1rem; border-radius: 0.125rem; opacity: 0.7; transition: opacity 0.15s; }
.dialog-close:hover { opacity: 1; }
.dialog-close:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.dialog-close svg { width: 1rem; height: 1rem; }
.dialog-success { text-align: center; padding: 2rem 0; animation: dlg-success 0.4s ease-out both; }
.dialog-success-icon { width: 3.5rem; height: 3.5rem; background-color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 9999px; color: var(--primary-foreground); animation: dlg-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
.dialog-success-icon svg { width: 1.75rem; height: 1.75rem; }
.dialog-success h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.5rem; }
.dialog-success p { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
@keyframes dlg-success { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes dlg-pop { from { transform: scale(0); } to { transform: scale(1); } }
.contact-form { display: grid; gap: 1rem; animation: hero-fade 0.3s ease-out both; }
.contact-form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form label { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.375rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.625rem 0.75rem; background-color: var(--background); border: 1px solid var(--border); font-size: 1rem; line-height: 1.5rem; border-radius: 0.125rem; transition: box-shadow 0.3s; }
.contact-form textarea { resize: none; display: block; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.contact-form-actions { display: flex; justify-content: flex-end; }
.contact-form-error { font-size: 0.875rem; color: hsl(0 55% 42%); }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: color-mix(in srgb, var(--foreground) 20%, transparent); z-index: 50; }
#theme-cart-drawer { display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background-color: var(--background); z-index: 50; box-shadow: var(--shadow-elevated); flex-direction: column; overflow: hidden; }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-open.cart-anim #theme-cart-overlay { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
body.cart-open.cart-anim #theme-cart-drawer { animation: slideUp 0.6s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
body.cart-open > .blockUI.blockOverlay { display: none !important; }
.cart-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
#theme-cart-drawer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cart-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-close { padding: 0.25rem; transition: opacity 0.15s; }
.cart-close:hover { opacity: 0.6; }
.cart-close svg { width: 1.25rem; height: 1.25rem; }
.cart-empty { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-empty-icon { width: 3rem; height: 3rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.cart-empty p { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.cart-items { flex: 1; min-height: 0; overflow: auto; padding: 1.5rem; }
.cart-items > * + * { margin-top: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item-thumb { position: relative; width: 5rem; height: 6rem; background-color: var(--secondary); overflow: hidden; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.15s; }
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.cart-item-attrs { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); margin-top: 0.25rem; }
.cart-item-note { font-size: 12px; color: var(--muted-foreground); margin-top: 0.25rem; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.15s; }
.cart-qty-btn:hover { background-color: var(--secondary); }
.cart-qty-btn svg { width: 0.75rem; height: 0.75rem; }
.cart-qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; }
.cart-remove { margin-left: auto; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color 0.15s; }
.cart-remove:hover { color: var(--foreground); }
.cart-footer { flex-shrink: 0; padding: 1.5rem; border-top: 1px solid var(--border); background-color: var(--background); }
.cart-footer > * + * { margin-top: 1rem; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; }
.cart-subtotal-label, .cart-note { color: var(--muted-foreground); }
.cart-subtotal-value { font-weight: 500; }
.cart-note { font-size: 0.875rem; line-height: 1.25rem; }
.cart-checkout, .cart-empty-btn { width: 100%; }
.cart-empty-btn svg { margin-right: 0.5rem; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after, .ajax_add_to_cart.loading::after { display: none !important; }
.woocommerce-page a.added_to_cart.wc-forward, .single-product a.added_to_cart.wc-forward, body a.added_to_cart.wc-forward { display: none !important; }

/* ---------- Single product ---------- */
.product-main { background-color: var(--background); }
.breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.breadcrumb a { transition: color 0.15s; }
.breadcrumb a: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: minmax(0, 1fr); gap: 2.5rem; padding: 1rem 0 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-main { position: relative; aspect-ratio: 3 / 4; background-color: var(--secondary); overflow: hidden; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; max-width: 100%; }
.theme-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background-color: var(--secondary); }
.theme-thumb .cover-img { opacity: 0.6; transition: opacity 0.15s; }
.theme-thumb:hover .cover-img, .theme-thumb.is-active .cover-img { opacity: 1; }
.theme-thumb__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background-color: var(--foreground); opacity: 0; transition: opacity 0.15s; }
.theme-thumb.is-active .theme-thumb__line { opacity: 1; }
.gallery-desktop { display: none; }
@media (min-width: 1024px) { .gallery-mobile { display: none; } .gallery-desktop { display: flex; flex-direction: column; gap: 1rem; } }
.gallery-item { position: relative; aspect-ratio: 2 / 3; width: 100%; max-width: 32rem; margin: 0 auto; background-color: var(--secondary); overflow: hidden; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.product-cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; color: var(--foreground); }
.product-price del { opacity: 0.6; }
.product-price ins { text-decoration: none; }
.product-short { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; }
.product-field-label, .single-product .variations label { display: block; font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 13px; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.opacity-60 { opacity: 0.6; }
.product-option { margin-bottom: 1.5rem; }
.product-option-input { width: 100%; padding: 0.75rem 1rem; background-color: var(--background); border: 1px solid var(--border); font-size: 1rem; line-height: 1.5rem; transition: border-color 0.15s; }
.product-option-input:focus { outline: none; border-color: var(--foreground); }
.theme-qty-block { margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.15s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--secondary); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 0.875rem; height: 0.875rem; }
.theme-qty-input { width: 44px; min-width: 44px; padding: 0.5rem 0; text-align: center; font-size: 0.875rem; line-height: 1.25rem; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.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 .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; text-align: center; }

.single_add_to_cart_button.button, .add_to_cart_button.button, a.single_add_to_cart_button, a.add_to_cart_button {
  background-color: var(--btn-bg, var(--foreground)) !important;
  color: var(--btn-fg, var(--background)) !important;
  border: none !important;
  border-radius: var(--btn-radius, 0.125rem) !important;
  min-height: var(--btn-height, 0) !important;
  padding: var(--btn-padding, 1rem 1.5rem) !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, 0.75rem) !important;
  line-height: 1rem !important;
  font-weight: var(--btn-font-weight, 500) !important;
  letter-spacing: var(--btn-letter-spacing, 0.25em) !important;
  text-transform: var(--btn-text-transform, uppercase) !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover, .add_to_cart_button.button:hover { background-color: color-mix(in srgb, var(--foreground) 90%, transparent) !important; color: var(--background) !important; }
.single_add_to_cart_button.button:disabled, .single_add_to_cart_button.button.disabled, .add_to_cart_button.button:disabled, .add_to_cart_button.button.disabled, a.single_add_to_cart_button.disabled {
  cursor: not-allowed !important; opacity: 0.6 !important; pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover, .single_add_to_cart_button.button.disabled:hover, .add_to_cart_button.button:disabled:hover, .add_to_cart_button.button.disabled:hover { opacity: 0.6 !important; background-color: var(--foreground) !important; }

.single-product .variations tbody, .single-product .variations tbody tr, .single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations { width: 100%; margin: 0; }
.single-product .variations tbody tr { margin-bottom: 1.5rem; }
.single-product .variations tbody td { padding: 0; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { display: 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); border-radius: 9999px; font-family: var(--font-body); transition: all 0.15s; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-attr-pill.is-selected { border-color: var(--foreground); background-color: color-mix(in srgb, var(--foreground) 5%, transparent); }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-variation-description, .single-product .woocommerce-product-details__short-description, .single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .woocommerce-variation-price, .single-product .woocommerce-variation-availability { display: none; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }

.product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.pa-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.pa-title { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.pa-chevron { width: 1rem; height: 1rem; transition: transform 0.15s; }
.pa-trigger[aria-expanded="true"] .pa-chevron { transform: rotate(180deg); }
.pa-panel { padding-bottom: 1.5rem; }
.pa-desc { font-size: 15px; color: var(--muted-foreground); line-height: 1.625; margin-bottom: 1rem; white-space: pre-line; }
.pa-bullets > * + * { margin-top: 0.5rem; }
.pa-bullets li { font-size: 15px; color: var(--muted-foreground); display: flex; align-items: flex-start; }
.pa-dot { width: 0.25rem; height: 0.25rem; background-color: var(--foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.pa-item--bordered { border-top: 1px solid var(--border); }
.pa-panel--text { font-size: 15px; color: var(--muted-foreground); line-height: 1.625; }
.pa-panel--text > * + * { margin-top: 0.75rem; }
.pa-end { border-top: 1px solid var(--border); }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.related-head { text-align: center; margin-bottom: 3rem; }
.related-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.5rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.related-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .related-title { font-size: 2.25rem; line-height: 2.5rem; } }

/* ---------- Journal article ---------- */
.article-main { background-color: var(--background); padding-bottom: 6rem; }
.article-head { max-width: 64rem; padding-top: 3.5rem; padding-bottom: 3.5rem; text-align: center; }
@media (min-width: 768px) { .article-head { padding-top: 5rem; padding-bottom: 5rem; } }
.article-kicker { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); }
.article-title { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1.05; margin-top: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .article-title { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .article-title { font-size: 4.5rem; line-height: 1; } }
.article-meta { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.article-meta .sep { margin: 0 0.5rem; }
.article-hero { position: relative; width: 100%; aspect-ratio: 16 / 8; max-height: 720px; overflow: hidden; }
.article-wrap { max-width: 48rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .article-wrap { padding-top: 5rem; padding-bottom: 5rem; } }
.article-lead { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 90%, transparent); margin-bottom: 2.5rem; }
@media (min-width: 768px) { .article-lead { font-size: 1.875rem; line-height: 1.625; } }
.article-body > * + * { margin-top: 1.75rem; }
.article-body p { font-size: 1.125rem; line-height: 1.9; color: var(--muted-foreground); }
.article-body h2 { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; padding-top: 1.25rem; }
@media (min-width: 768px) { .article-body h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.article-body blockquote, .article-body .wp-block-quote { margin: 0; margin-top: 1.75rem; padding: 0.5rem 0 0.5rem 1.5rem; border: 0; border-left: 2px solid var(--primary); font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.article-body blockquote p { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: inherit; }
.article-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .article-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.article-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background-color: var(--secondary); }
.article-next { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.article-next a { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; transition: color 0.15s; }
.article-next a:hover { color: var(--primary); }
.article-menu { z-index: 40; background-color: color-mix(in srgb, var(--background) 95%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.article-menu--side { display: none; position: fixed; left: 1.25rem; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 0.5rem; border-radius: 0.125rem; border: 1px solid var(--border); padding: 0.5rem; box-shadow: var(--shadow-elevated); }
.article-menu--bottom { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 0.5rem; border-top: 1px solid var(--border); padding: 0.75rem; }
@media (min-width: 1024px) { .article-menu--side { display: flex; } .article-menu--bottom { display: none; } }
.lightbox { position: fixed; inset: 0; z-index: 50; background-color: color-mix(in srgb, var(--foreground) 90%, transparent); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox img { max-height: 88vh; max-width: 100%; object-fit: contain; }

/* ---------- Pages, 404 ---------- */
.site-main { min-height: 40vh; }
.page-wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; } }
.notfound { display: flex; min-height: 60vh; align-items: center; justify-content: center; background-color: var(--muted); }
.notfound-inner { text-align: center; }
.notfound-code { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-text { font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.notfound-link { color: var(--primary); text-decoration: underline; }
.notfound-link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ---------- WooCommerce notices / forms ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 0.125rem; background-color: var(--card, var(--background)); font-size: 0.875rem; }
.woocommerce-error { border-color: hsl(0 55% 42%); color: hsl(0 55% 42%); }
#theme-cart-drawer .woocommerce-message { display: none; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="password"], .entry-content textarea, .entry-content select { background-color: var(--background); border: 1px solid var(--border); border-radius: 0.125rem; font-size: 1rem; }
.entry-content .button, .entry-content button[type="submit"] { background-color: var(--primary); color: var(--primary-foreground); border-radius: 0.125rem; padding: 0.625rem 1.25rem; font-weight: 500; }

/* ---------- Checkout / cart blocks ---------- */
body.woocommerce-checkout .site-main { padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout, body.woocommerce-cart .wp-block-woocommerce-cart { font-family: var(--font-body); color: var(--foreground); }
body.woocommerce-checkout .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: 4rem; 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-checkout__sidebar { background-color: var(--secondary); border-radius: 0.25rem; padding: 2rem; }
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-components-title, body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 700; }
body.woocommerce-checkout .wc-block-components-text-input input, body.woocommerce-checkout .wc-block-components-select select, body.woocommerce-checkout .wc-block-components-textarea textarea { width: 100% !important; max-width: none !important; font-family: var(--font-body); color: var(--foreground); background-color: var(--background); border: 1px solid var(--border); border-radius: 0.125rem; }
body.woocommerce-checkout .wc-block-components-text-input input:focus, body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button { background-color: var(--primary); color: var(--primary-foreground); border-radius: 0.125rem; font-weight: 500; font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.125rem; }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
@media (max-width: 767px) {
  body.woocommerce-checkout .checkout-order-summary-block-fill-wrapper { display: none !important; }
  body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--secondary); border-radius: 0.25rem; padding: 2rem; }
}

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: 0.875rem; color: var(--muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--foreground); }
body.theme-thankyou-page .woocommerce-order h2, body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details th, body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 0; border-bottom: 1px solid var(--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; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }
