/* Shared design system. Brand typeface is still pending: retain existing system faces. */
:root {
  --green: #133d2f; --deep: #0d3025; --paper: #fdfcf8; --cream: #f3f1e8;
  --ink: #1e2923; --muted: #53665a; --line: #cbd4c9; --accent: #133d2f;
  --heading-font: Georgia, 'Times New Roman', serif;
  --body-font: Arial, Helvetica, sans-serif;
  --radius: 14px; --gutter: clamp(20px, 4vw, 56px); --section: clamp(48px, 6vw, 88px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body-font); }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
a, button, input, select, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #32694b; outline-offset: 4px; }
main:focus:not(:focus-visible) { outline: none; }
::selection { background: #d4e0c3; color: var(--deep); }
h1, h2, h3 { font-family: var(--heading-font); font-style: normal; font-weight: 400; line-height: 1.13; letter-spacing: -.025em; margin: 0 0 24px; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.5vw, 4.25rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 20px; color: var(--muted); text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1240px; margin-inline: auto; }
.section, .find-tea { padding-block: var(--section); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > *, .product-info, .footer-grid > *, .catalog-layout > * { min-width: 0; }
.eyebrow { display: block; font-size: .875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--green); border-radius: var(--radius); background: var(--green); color: var(--paper); font: 600 .9375rem/1.4 var(--body-font); text-align: center; }
.button.outline { background: transparent; color: var(--green); border-color: #7a8e7e; }
.button.small { padding: 10px 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 8px; border: 0; border-radius: var(--radius); color: var(--green); background: transparent; flex-shrink: 0; }
.quick { padding: 12px 4px; min-height: 44px; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 4px; font-size: .9375rem; }
.text-link { display: inline-block; padding-block: 8px; text-decoration: underline; }
a, .button, .icon-button, .quick, .filter, .product { transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
.button:active, .icon-button:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #285541; border-color: #285541; }
  .button.outline:hover, .icon-button:hover { background: #e7eddf; }
  .quick:hover, .text-link:hover { color: #366f48; }
  .product:hover { border-color: #6c8774; }
}
header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 112px; padding: 10px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand, .footer-brand { display: block; position: relative; width: 188px; height: 92px; overflow: hidden; flex-shrink: 0; }
.brand img, .footer-brand img { position: absolute; top: -16px; width: 188px; max-width: none; height: auto; mix-blend-mode: multiply; }
header nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: .9375rem; }
nav a { padding-block: 12px; }
nav a[aria-current=page] { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-toggle, .mobile-catalog, .mobile-label { display: none; }
.cart-link { position: relative; }
#cart-count { position: absolute; top: 0; right: -3px; min-width: 20px; height: 20px; padding-inline: 3px; border-radius: 4px; font: 700 .75rem/20px var(--body-font); background: var(--green); color: var(--paper); text-align: center; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-title h2, .section-title p { margin: 0; }
.section-title p { max-width: 40ch; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 8px 24px rgb(13 48 37 / .06); }
.product-art { position: relative; display: grid; place-items: center; background: var(--cream); aspect-ratio: 1; overflow: hidden; margin: 0; }
.product-art img { width: 100%; height: 100%; object-fit: contain; }
.image-note { position: absolute; bottom: 0; inset-inline: 0; text-align: center; font-size: .75rem; line-height: 1.4; padding: 6px 8px; background: var(--paper); color: var(--muted); }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 22px 18px 12px; }
.product-info small { color: var(--muted); font-size: .875rem; margin-bottom: 12px; }
.product-info :is(h2, h3) { font-size: 1.55rem; line-height: 1.18; margin: 0 0 14px; overflow-wrap: anywhere; hyphens: auto; }
.product-info p { font-size: 1rem; margin-bottom: 16px; }
.product-info .product-price { margin-top: auto; color: var(--ink); font-size: .875rem; }
.product-info .button { width: 100%; }
.product-info .quick { width: 100%; margin-top: 2px; }
.center { margin-top: 28px; }
.find-tea { background: #eef0e7; border-top: 1px solid var(--line); }
.find-tea .eyebrow { display: none; }
.tea-end-choice { margin-bottom: 24px; }
.page-banner { background: var(--cream); padding: 44px 0; border-bottom: 1px solid var(--line); }
.page-banner h1 { max-width: 900px; }
.page-banner p { margin: 0; max-width: 65ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .875rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs > span:before { content: '/'; padding-right: 10px; }
.catalog-section { padding-top: 32px; }
.catalog-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; }
.catalog-top h1 { font-size: clamp(2.2rem, 3.3vw, 3.25rem); margin: 0; }
.catalog-note { max-width: 75ch; margin-bottom: 28px; }
.search-label { display: block; font-size: .875rem; width: min(360px, 100%); }
.catalog-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
.catalog-layout .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filters { position: sticky; top: 132px; align-self: start; display: flex; flex-direction: column; gap: 8px; }
.filter { min-height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; text-align: left; color: var(--ink); font-size: .9375rem; }
.filter.active { background: var(--green); color: var(--paper); border-color: var(--green); }
.detail-split { align-items: start; }
.detail-split h1 { font-size: clamp(2.1rem, 3.5vw, 3.6rem); overflow-wrap: anywhere; hyphens: auto; }
.detail-art { width: 100%; max-width: 540px; border-radius: var(--radius); }
.contact-split { align-items: start; }
.contact-phone { display: block; font-size: clamp(1.3rem, 2.6vw, 2rem); margin-block: 20px; overflow-wrap: anywhere; }
.contact-line { display: grid; gap: 12px; margin-bottom: 28px; }
.contact-line a { overflow-wrap: anywhere; text-decoration: underline; }
address { font-style: normal; margin-bottom: 12px; }
.form-panel { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.form-panel h2 { font-size: 2rem; }
form p { max-width: 60ch; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
label { display: block; margin-block: 18px 8px; }
input, textarea, select { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #819181; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
textarea { resize: vertical; min-height: 96px; }
input::placeholder { color: #607365; opacity: 1; }
[aria-invalid=true] { border-color: #9a3427; }
.form-extra { margin-top: 12px; }
.form-extra summary { cursor: pointer; min-height: 44px; padding-block: 10px; color: var(--green); }
.form-extra[open] { padding-bottom: 8px; }
.consent { display: flex; align-items: start; gap: 12px; font-size: .875rem; line-height: 1.5; margin-block: 24px; }
.consent input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--green); flex-shrink: 0; }
.consent a { text-decoration: underline; }
.form-status { margin: 18px 0 0; color: var(--ink); }
.form-status:empty { display: none; }
.form-status:focus { outline: 2px solid var(--green); outline-offset: 5px; }
.form-note, .delivery-hint { font-size: .875rem; margin-top: 16px; }
.direct-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.form-unavailable p { color: var(--muted); }
.form-unavailable strong { color: var(--ink); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.compact-heading { font-size: 2rem; margin-top: 32px; }
.cart-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); padding: 24px 0; }
.cart-row h2 { margin-bottom: 10px; font-size: 1.6rem; overflow-wrap: anywhere; }
.cart-row p { margin: 0; }
.quantity { display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.quantity button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--green); }
.cart-summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; }
.cart-summary p { margin: 0; }
.empty { padding: 32px 0; }
dialog { position: fixed; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(13 48 37 / .52); }
dialog h2 { padding-right: 32px; font-size: 2rem; }
dialog .close { position: absolute; right: 8px; top: 8px; }
body:has(dialog[open]) { overflow: hidden; }
.delivery-choices { display: grid; gap: 12px; margin-top: 24px; }
.delivery-choices button { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 14px 16px; border: 1px solid #819181; border-radius: var(--radius); background: var(--paper); color: var(--green); text-align: left; }
.archive-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 150px; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.archive-row h2 { margin: 0; font-size: 1.7rem; }
.archive-category, .archive-status { font-size: .875rem; color: var(--muted); }
.article-detail, .policy { max-width: 850px; }
.article-detail h1, .policy h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); }
.policy h2 { font-size: 1.9rem; margin-top: 40px; }
.notice { padding: 24px; border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius); margin-bottom: 24px; }
.notice p { margin: 12px 0 0; }
footer { padding: 56px 0 24px; background: var(--cream); color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand { background: transparent; }
.footer-grid p { color: var(--muted); font-size: .875rem; margin-top: 20px; max-width: 32ch; }
.footer-heading { display: block; font-size: .875rem; color: var(--muted); margin: 14px 0 16px; font-weight: 600; }
.footer-grid a:not(.footer-brand) { display: block; padding-block: 6px; overflow-wrap: anywhere; font-size: .875rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; padding-right: 64px; border-top: 1px solid var(--line); margin-top: 40px; color: var(--muted); font-size: .875rem; }
.forest-assortment :focus-visible { outline-color: #e7d3a0; }
.forest-assortment .product :focus-visible { outline-color: #32694b; }
.to-top { position: fixed; bottom: 24px; right: 20px; z-index: 18; width: 48px; height: 48px; padding: 12px; border: 1px solid #7b917e; border-radius: 50%; background: var(--paper); color: var(--green); box-shadow: 0 4px 18px rgb(13 48 37 / .14); }
#toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 25; max-width: calc(100vw - 40px); width: max-content; padding: 12px 20px; border-radius: var(--radius); color: var(--paper); background: var(--green); opacity: 0; pointer-events: none; text-align: center; }
#toast.show { opacity: 1; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--paper); color: var(--green); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.no-script-note { padding: 20px var(--gutter); border-bottom: 1px solid var(--line); margin: 0; background: var(--cream); }
.no-script-note a { text-decoration: underline; }
@media(max-width:1199px) {
  .products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catalog-layout .products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  header { gap: 16px; }.header-actions > .button { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media(max-width:850px) {
  html { scroll-padding-top: 20px; }
  body { padding-bottom: calc(100px + env(safe-area-inset-bottom,0px)); }
  header { position: relative; inset: auto; justify-content: center; height: 96px; padding: 8px 20px; border-bottom: 1px solid var(--line); }
  header .brand { width: 150px; height: 80px; }
  header .brand img { width: 150px; top: -10px; }
  .header-actions { position: fixed; z-index: 30; bottom: calc(12px + env(safe-area-inset-bottom,0px)); left: 16px; right: 16px; max-width: 440px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; padding: 7px; border: 1px solid #c3cebf; border-radius: 24px; background: var(--paper); box-shadow: 0 8px 32px rgb(13 48 37 / .18), 0 2px 6px rgb(13 48 37 / .05); }
  .header-actions > .icon-button { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: auto; min-height: 56px; padding: 6px 8px; border-radius: 18px; }
  .header-actions > .icon-button[data-search] { display: none; }
  .header-actions svg { width: 22px; height: 22px; }
  .mobile-label { display: block; font-size: .875rem; line-height: 1.2; }
  .mobile-toggle { background: var(--green); color: var(--paper); }
  .mobile-toggle:hover, .mobile-toggle[aria-expanded=true] { background: var(--deep); }
  #cart-count { top: 0; right: calc(50% - 28px); }
  header nav { display: none; position: fixed; z-index: 29; bottom: calc(96px + env(safe-area-inset-bottom,0px)); left: 16px; right: 16px; max-width: 440px; margin-inline: auto; flex-direction: column; gap: 0; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); max-height: calc(100dvh - 120px); overflow: auto; box-shadow: 0 8px 32px rgb(13 48 37 / .16); }
  header nav.open { display: flex; }
  nav a { padding: 12px; min-height: 48px; }
  .split { grid-template-columns: 1fr; }
  .filters { top: 16px; }
  .to-top { bottom: calc(104px + env(safe-area-inset-bottom,0px)); border-radius: 50%; }
  #toast { bottom: calc(106px + env(safe-area-inset-bottom,0px)); }
  dialog { max-height: calc(100dvh - 112px); margin-top: 16px; padding: 28px; }
  .archive-row { grid-template-columns: 110px minmax(0,1fr); }
  .archive-status { grid-column: 2; }
}
@media(max-width:600px) {
  .section-title, .catalog-top { display: block; }
  .section-title p { margin-top: 20px; }
  .section-title > .button { margin-top: 20px; }
  .catalog-top h1 { margin-bottom: 22px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .filter { padding: 10px 12px; font-size: .875rem; }
  .products, .catalog-layout .products { grid-template-columns: 1fr; gap: 16px; }
  .product { display: grid; grid-template-columns: minmax(96px, .7fr) minmax(0, 1.3fr); }
  .product-art { aspect-ratio: auto; min-height: 250px; }
  .product-art img { object-fit: contain; }
  .product-info { padding: 16px 14px 8px; }
  .product-info :is(h2, h3) { font-size: 1.25rem; }
  .product-info small { font-size: .8125rem; margin-bottom: 8px; }
  .product-info p { font-size: .9375rem; }
  .product-info .button, .product-info .quick { font-size: .875rem; padding-inline: 8px; }
  .detail-art { aspect-ratio: 1; }
  .detail-split { gap: 28px; }
  .cart-row { grid-template-columns: minmax(0,1fr) auto; gap: 16px; }
  .cart-row > div:first-child { grid-column: 1 / -1; }
  .cart-row > .icon-button { justify-self: end; }
  .cart-summary { flex-direction: column; align-items: start; }
  .cart-summary .button { width: 100%; }
  .archive-row { grid-template-columns: 1fr; gap: 12px; }
  .archive-status { grid-column: 1; }
  .archive-row h2 { font-size: 1.5rem; }
  .footer-grid { gap: 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid p { max-width: 45ch; }
  .form-panel { padding: 24px 20px; }
  dialog { padding: 28px 22px; }
  dialog h2 { font-size: 1.75rem; }
  .direct-contact { display: grid; gap: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active, .icon-button:active { transform: none; }
}

/* Preserve the exact black logo; white pixels blend into each brand surface. */
.brand,.footer-brand { background: transparent; isolation: auto; }
.brand img,.footer-brand img { mix-blend-mode: multiply; filter: none; }
header { background: #f8f6ee; }
.nav-cart-link { display: none; }
@media(max-width:850px) {
  html { scroll-padding-top: 112px; }
  header { position: sticky; top: 0; background: #f8f6ee; }
  .header-actions { left: 50%; right: auto; width: auto; max-width: none; transform: translateX(-50%); display: block; padding: 0; border: 0; border-radius: 100px; background: transparent; }
  .header-actions > .icon-button { display: none; }
  .header-actions > .mobile-toggle { display: flex; flex-direction: row; width: 148px; min-height: 56px; gap: 12px; padding: 14px 26px; border-radius: 100px; border: 1px solid #6c8267; box-shadow: inset 0 1px 0 #ffffff20, 0 8px 24px #0d30253d; }
  .nav-cart-link { display: block; }
  header nav { bottom: calc(82px + env(safe-area-inset-bottom,0px)); max-height: calc(100dvh - 198px); }
  .to-top { bottom: calc(20px + env(safe-area-inset-bottom,0px)); }
}
