/* ============ TOKENS ============ */
:root {
  --ink: #0d2b20;
  --emerald: #1f5c45;
  --emerald-dark: #153b2c;
  --emerald-deep: #102c22;
  --gold: #d8a63f;
  --gold-light: #f1e6c9;
  --paper: #f7f2e7;
  --paper-dark: #ece2cc;
  --wood: #5a3b26;
  --text: #1c2420;
  --text-soft: #4a5750;
  --radius: 14px;
  --shadow-1: 0 10px 30px -12px rgba(13, 43, 32, 0.35);
  --shadow-2: 0 4px 14px -6px rgba(13, 43, 32, 0.25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Segoe UI, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", Consolas, "Liberation Mono", monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0 0 .5em; color: var(--ink); line-height: 1.12; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.icon { display: inline-block; vertical-align: middle; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .5em 1em; z-index: 200;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============ LAYOUT HELPERS ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }
.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 3rem; } .mb-lg { margin-bottom: 3rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.reveal-clip { clip-path: inset(0 0 100% 0); transform: none; transition: clip-path .7s ease; }
.reveal.reveal-clip.in-view { clip-path: inset(0 0 0 0); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 231, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--paper-dark);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: .7rem 1.4rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-word { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.main-nav { display: flex; gap: 1.3rem; margin-left: auto; flex-wrap: wrap; }
.main-nav a { font-size: .95rem; color: var(--text-soft); padding: .3rem 0; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.cart-link { position: relative; color: var(--ink); display: flex; }
.cart-count {
  position: absolute; top: -8px; right: -10px; background: var(--gold); color: var(--ink);
  font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.cart-count.is-empty { opacity: .55; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: .4rem;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw);
    background: var(--emerald-deep); flex-direction: column; margin: 0; padding: 5.5rem 1.6rem 2rem;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s ease;
    gap: .4rem;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav a { color: var(--gold-light); padding: .6rem 0; font-size: 1.05rem; }
  .main-nav a.is-active { color: #fff; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .75em 1.5em; border-radius: 999px; border: 2px solid transparent;
  position: relative; overflow: hidden; isolation: isolate; min-height: 44px;
  transition: color .25s ease, border-color .25s ease, transform .15s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%; z-index: -1;
  transition: left .35s ease;
}
.btn:hover::before { left: 0; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--ink); }
.btn-gold:hover { color: var(--gold-light); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary::before { background: var(--gold); }
.btn-primary:hover { color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--gold-light); border-color: var(--gold-light); }
.btn-outline-light::before { background: var(--gold-light); }
.btn-outline-light:hover { color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: .5em 1.1em; font-size: .85rem; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ============ HERO (home) ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--emerald-deep), var(--ink));
  color: var(--gold-light); padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(5rem, 8vw, 7rem);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-eyebrow { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; }
.hero p.lead { font-size: 1.1rem; color: var(--gold-light); opacity: .9; max-width: 32em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-art { position: relative; aspect-ratio: 1/1; }
.hero-art svg { width: 100%; height: 100%; }
.hero-grain {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
}

/* assembling shapes hero motion */
.hero-shape { transform-origin: center; opacity: 0; transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.hero-art.is-assembled .hero-shape { opacity: 1; transform: none; }
.hero-shape[data-from="top"] { transform: translateY(-60px) rotate(-8deg); }
.hero-shape[data-from="left"] { transform: translateX(-70px) rotate(6deg); }
.hero-shape[data-from="right"] { transform: translateX(70px) rotate(-6deg); }
.hero-shape[data-from="bottom"] { transform: translateY(60px) scale(.8); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(180deg, var(--emerald-deep), var(--emerald));
  color: var(--gold-light); padding: clamp(2.6rem, 6vw, 4rem) 0;
}
.page-hero .wrap { max-width: var(--maxw); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: var(--gold-light); opacity: .9; max-width: 42em; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs { font-size: .85rem; color: var(--gold-light); opacity: .85; margin-bottom: .8rem; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.breadcrumbs a:hover { text-decoration-color: currentColor; }
.breadcrumbs .sep { margin: 0 .4em; opacity: .6; }

/* ============ MASONRY GALLERY (home) ============ */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 10px; gap: 1.1rem; }
.masonry-item {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2);
  grid-row-end: span 30;
}
.masonry-item.is-tall { grid-row-end: span 40; }
.masonry-item.is-wide { grid-column: span 2; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.07); }
.masonry-caption {
  position: absolute; inset: auto 0 0 0; padding: 1rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(13,43,32,.9));
  transform: translateY(8px); opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.masonry-item:hover .masonry-caption { opacity: 1; transform: none; }
@media (max-width: 860px) { .masonry { grid-template-columns: repeat(2, 1fr); } .masonry-item.is-wide { grid-column: span 2; } }
@media (max-width: 560px) { .masonry { grid-template-columns: 1fr; } .masonry-item.is-wide { grid-column: span 1; } }

/* ============ COMPASS (signature feature) ============ */
.compass-section { background: var(--paper-dark); }
.compass {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center;
  background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-1);
}
@media (max-width: 860px) { .compass { grid-template-columns: 1fr; } }
.compass-dial { position: relative; width: min(280px, 100%); aspect-ratio: 1/1; margin: 0 auto; }
.compass-dial svg { width: 100%; height: 100%; }
.compass-needle { transform-origin: 100px 100px; transition: transform .6s cubic-bezier(.3,1.2,.4,1); }
.compass-moods { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.mood-btn {
  border: 2px solid var(--emerald); background: transparent; color: var(--emerald);
  padding: .5em 1.1em; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem;
  min-height: 44px; transition: background .2s, color .2s;
}
.mood-btn.is-active, .mood-btn:hover { background: var(--emerald); color: #fff; }
.compass-results { margin-top: .5rem; }
.compass-results ul { display: flex; flex-direction: column; gap: .6rem; }
.compass-result {
  display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--paper-dark);
}
.compass-result a { font-weight: 600; }
.compass-empty { color: var(--text-soft); font-size: .9rem; }

/* ============ CARDS / PRODUCTS ============ */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-2); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); }
.product-card { position: relative; }
.product-media { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-dark); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-cat { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.product-body h3 { font-size: 1.15rem; margin: 0; }
.product-author { color: var(--text-soft); font-size: .88rem; }
.product-price { font-weight: 700; color: var(--ink); margin-top: auto; display: flex; gap: .5em; align-items: baseline; }
.product-price .old { text-decoration: line-through; color: var(--text-soft); font-weight: 400; font-size: .85em; }
.product-strip {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
}
.product-strip .product-card { min-width: 240px; scroll-snap-align: start; }
@media (min-width: 860px) { .product-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); overflow: visible; } }

/* ============ PRODUCT DETAIL ============ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail .product-media { border-radius: var(--radius); }
.product-detail-info h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.product-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin: .6rem 0 1.2rem; color: var(--text-soft); font-size: .9rem; }
.qty-row { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; }
.qty-input { width: 64px; padding: .5em; border: 1px solid var(--paper-dark); border-radius: 8px; font-size: 1rem; text-align: center; }

/* ============ CART / CHECKOUT ============ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid var(--paper-dark); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; }
.cart-row-main { display: flex; gap: .8rem; align-items: center; }
.cart-remove { background: none; border: none; color: var(--text-soft); cursor: pointer; text-decoration: underline; min-height: 44px; }
.cart-summary {
  background: var(--paper-dark); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  position: sticky; top: 90px;
}
.cart-summary-row { display: flex; justify-content: space-between; }
.cart-summary-row.total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid #fff; padding-top: .7rem; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-soft); }

/* ============ FORMS ============ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: .7em .8em; border: 1px solid var(--paper-dark);
  border-radius: 8px; background: #fff; accent-color: var(--emerald); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--emerald); }
.field-error { color: #a33b2a; font-size: .82rem; min-height: 1.1em; }
.form-msg { font-size: .9rem; min-height: 1.3em; }
.form-msg.is-success { color: var(--emerald); }
.form-msg.is-error { color: #a33b2a; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.newsletter-form { display: flex; flex-direction: column; gap: .4rem; min-width: 240px; }
.newsletter-form label { color: var(--gold-light); font-size: .85rem; }
.newsletter-row { display: flex; gap: .5rem; }
.newsletter-row input {
  flex: 1; padding: .7em .9em; border-radius: 999px; border: 1px solid var(--emerald); background: rgba(255,255,255,.06);
  color: #fff; min-height: 44px;
}
.newsletter-row input::placeholder { color: rgba(241,230,201,.6); }

/* ============ NOTICE ============ */
.notice { border-radius: 10px; padding: 1rem 1.2rem; font-size: .92rem; border: 1px solid; }
.notice-info { background: #eef5f1; border-color: var(--emerald); color: var(--emerald-dark); }
.notice-warn { background: #fbf1df; border-color: var(--gold); color: #6b4e0f; }

/* ============ PROSE (legal pages) ============ */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: 90px; background: var(--paper-dark); border-radius: var(--radius); padding: 1.2rem; font-size: .9rem; }
.legal-toc h2 { font-size: 1rem; margin-bottom: .6em; }
.legal-toc ul { display: flex; flex-direction: column; gap: .4em; list-style: none; }
.legal-toc a { color: var(--text-soft); }
.legal-toc a:hover { color: var(--ink); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: .8rem; max-width: 70ch; }
.faq-item { background: #fff; border-radius: 10px; border: 1px solid var(--paper-dark); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; position: relative; min-height: 44px; display: flex; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; font-size: 1.3rem; color: var(--gold); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 1.2rem 1.1rem; color: var(--text-soft); margin: 0; }

/* ============ CONTACT ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-info .row { display: flex; gap: .8rem; align-items: flex-start; }
.contact-info .row svg { flex-shrink: 0; color: var(--emerald); margin-top: .2em; }
.contact-map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; border: 0; width: 100%; }

/* ============ BADGES / SEALS ============ */
.badge-seal { width: 86px; height: 86px; }
.ornament-row { display: flex; justify-content: center; margin: 1.5rem 0; opacity: .7; }

/* ============ DIVIDER ============ */
.divider-wrap { line-height: 0; }
.divider-svg { width: 100%; height: 48px; display: block; }

/* ============ FOOTER ============ */
.site-footer { background: var(--emerald-deep); color: var(--gold-light); padding: 3rem 0 0; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem 2.5rem;
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 2rem;
}
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--gold-light); opacity: .9; }
.footer-links { display: flex; flex-direction: column; flex-wrap: wrap; gap: .5rem; max-height: 220px; column-count: 2; column-gap: 1.5rem; }
.footer-links a { font-size: .9rem; color: var(--gold-light); opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(241,230,201,.15); padding: 1.1rem 1.4rem; display: flex; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; font-size: .82rem; color: rgba(241,230,201,.7); flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { text-decoration: underline; }
.footer-bottom p { margin: 0; display: flex; align-items: center; gap: .4em; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin: 0 auto; z-index: 300;
  background: var(--ink); color: var(--gold-light); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: .9rem;
}
.cookie-banner p { margin: 0; font-size: .88rem; }
.cookie-banner a { text-decoration: underline; color: #fff; }
.cookie-actions { display: flex; gap: .7rem; justify-content: flex-end; }

/* ============ 404 ============ */
.error-page { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-page h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--emerald); }

/* COMPONENTS:
.page-hero - dark green hero banner for inner pages, holds h1 + intro paragraph
.breadcrumbs - small trail of links under a page-hero
.prose - readable long-form legal/text column (max 70ch)
.legal-layout - two-column layout: .legal-toc sidebar + .prose content
.legal-toc - sticky in-page table of contents for legal pages
.notice / .notice-info / .notice-warn - callout boxes for important info
.btn / .btn-gold / .btn-primary / .btn-ghost / .btn-outline-light / .btn-block / .btn-sm - button variants with fill-sweep hover
.form-grid - two-column responsive form layout
.field / .field-wide / .field-error - single form field wrapper + error message
.form-msg / .form-msg.is-success / .form-msg.is-error - inline form submission feedback
.hp-field - visually hidden honeypot input
.faq / .faq-item - details/summary accordion list
.product-detail - two-column product page layout (media + info)
.product-meta / .qty-row / .qty-input - product detail meta row and quantity stepper
.cart-table / .cart-row-main / .cart-remove - cart line items table
.cart-summary / .cart-summary-row / .cart-layout / .cart-empty - cart totals panel and page layout
.contact-layout / .contact-info / .contact-map - contact page two-column layout
.card / .product-card / .product-media / .product-body / .product-price / .product-cat / .product-author - catalog product card
.product-strip - horizontal scroll-snap row of product cards (grid on desktop)
.masonry / .masonry-item / .masonry-caption - home page masonry photo gallery with hover captions
.compass / .compass-dial / .compass-needle / .compass-moods / .mood-btn / .compass-results / .compass-result - signature Bralni kompas feature
.hero / .hero-inner / .hero-art / .hero-shape / .hero-grain - home page hero with assembling-shapes motion
.reveal / .reveal.in-view / .reveal-clip - scroll reveal animation hooks
.site-header / .main-nav / .nav-toggle / .cart-link / .cart-count - header and navigation
.site-footer / .footer-inner / .footer-links / .newsletter-form / .footer-bottom - footer
.cookie-banner / .cookie-actions - cookie consent banner
.divider-wrap / .divider-svg - decorative wave divider between sections
.badge-seal / .ornament-row - decorative seal/ornament SVG wrappers
.error-page - 404 page layout
.wrap / .section / .grid / .grid-2 / .grid-3 / .grid-4 - generic layout and spacing utilities
*/

/* ============ MISSING COMPONENT STYLES ============ */
.brand-mark {
  fill: var(--ink);
  width: 64px;
  height: 64px;
}

.product-section {
  /* inherits .section base styles */
}

.product-media-main {
  aspect-ratio: 1;
  background: var(--paper-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  margin-bottom: 1.5rem;
}

.product-info {
  margin-top: 1.5rem;
}

.qty-btn {
  background: var(--paper-dark);
  border: 1px solid var(--text-soft);
  color: var(--text);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s;
}

.qty-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
}

.qty-update {
  width: 60px;
  height: 40px;
  padding: 0.4rem;
  border: 1px solid var(--text-soft);
  border-radius: 4px;
  font-family: var(--mono);
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 560px) {
  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .product-media-main {
    margin-bottom: 1rem;
  }

  .product-info {
    margin-top: 1rem;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .catalog-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .qty-update {
    width: 50px;
    height: 36px;
  }
}

/* wg-contrast-autofix */
#home-products article.card.product-card div.product-body span.product-cat { color: #111111 !important; }
.cookie-banner .btn-ghost { color: var(--gold-light); border-color: var(--gold-light); }
.grid-2 .hero-eyebrow { color: var(--ink); }
