/*
 * ============================================================
 *  AN YUAN GMBH – STYLESHEET
 *  Plain CSS, no build step. All colours and fonts are tokens in :root.
 *  Layout idea: calm white pages framed by deep pine-green bands,
 *  gold used sparingly for labels and key actions.
 * ============================================================ */

:root {
  /* Colour */
  --pine: #14472A;        /* deep brand green (dark bands, primary buttons) */
  --pine-2: #268A46;      /* logo green: links, hovers */
  --pine-ink: #0C2E1B;    /* darkest green: top bar, footer */
  --sage: #E1EEDD;        /* soft green surfaces */
  --mist: #F4F8F1;        /* page section background */
  --paper: #FFFFFF;       /* cards, main background */
  --ink: #16241B;         /* body text */
  --muted: #56675C;       /* secondary text */
  --line: #DCE6D8;        /* borders */
  --gold: #5E8C1F;        /* accent text on light backgrounds (eyebrows, labels) – olive from the logo */
  --gold-soft: #EEF5DC;   /* light accent surface */
  --lime: #A9C83C;        /* logo lime: highlight buttons, accents on dark */
  --lime-soft: #CFE38A;   /* accent text on dark backgrounds */
  --wa: #1FA855;          /* WhatsApp green (chat button) */
  --danger: #B3443A;

  /* Type */
  --font-display: "DM Serif Display", "Noto Serif TC", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .78rem; --fs-sm: .9rem; --fs-md: 1rem; --fs-lg: 1.15rem;
  --fs-h3: 1.35rem; --fs-h2: clamp(1.8rem, 3.2vw, 2.6rem); --fs-h1: clamp(2.2rem, 4.6vw, 3.6rem);

  /* Shape & spacing */
  --radius: 14px; --radius-sm: 8px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 10px 30px -12px rgba(20, 71, 42, .25);
  color-scheme: light;
}

/* ---------- Language switch: show only the active language ---------- */
html.lang-de [data-l]:not([data-l="de"]),
html.lang-en [data-l]:not([data-l="en"]),
html.lang-fr [data-l]:not([data-l="fr"]),
html.lang-zh [data-l]:not([data-l="zh"]) { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--pine-2); }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--pine-ink); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-mist { background: var(--mist); }
.section-head { display: grid; gap: .9rem; max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: var(--fs-lg); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 var(--fs-sm)/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-2); color: #fff; }
.btn-gold { background: var(--lime); color: var(--pine-ink); }
.btn-gold:hover { background: #97B632; color: var(--pine-ink); }
.btn-ghost { border-color: currentColor; color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.btn-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--pine); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178A45; color: #fff; }
.btn-small { padding: .6rem 1rem; font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--pine); white-space: nowrap; }
.link-arrow:hover { color: var(--gold); }

/* ---------- Header ---------- */
.topbar { background: var(--pine-ink); color: #C6D8CA; font-size: var(--fs-xs); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #E7F0E8; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: none; border: 0; color: #C6D8CA; font: 600 var(--fs-xs)/1 var(--font-body); padding: .38rem .7rem; cursor: pointer; letter-spacing: .06em; }
.lang-switch button[aria-pressed="true"] { background: var(--lime); color: var(--pine-ink); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--pine-ink); flex-shrink: 0; }
.logo-img { height: 48px; width: auto; }
.logo-text { display: grid; gap: 5px; }
.logo-word { height: 19px; width: auto; }
.logo-text span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1; }

.site-nav { display: flex; gap: .2rem; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: var(--fs-sm); padding: .55rem .8rem; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { background: var(--mist); color: var(--pine); }
.site-nav a[aria-current="page"] { color: var(--pine); background: var(--sage); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--pine); cursor: pointer; }
.icon-btn:hover { border-color: var(--pine); }
.icon-btn svg { width: 20px; height: 20px; }
.count-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.count-badge[data-count="0"] { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1200px) {
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.2rem; display: none; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem .6rem; border-radius: var(--radius-sm); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) { .topbar-contact .tb-mail, .topbar-contact > span { display: none; } }

/* ---------- Hero slider ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.slides { position: relative; }
.slide { display: none; position: relative; background: var(--pine-ink); isolation: isolate; }
.slide.is-active { display: block; animation: slideIn .7s ease both; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,38,22,.92) 0%, rgba(10,38,22,.78) 38%, rgba(10,38,22,.25) 68%, rgba(10,38,22,0) 100%); }
.slide-inner { display: grid; align-items: center; min-height: clamp(480px, 48vw, 640px); padding-block: clamp(48px, 7vw, 88px) clamp(80px, 8vw, 104px); }
.slide-copy { display: grid; gap: 1.2rem; min-width: 0; max-width: 600px; }
.slide h1, .slide h2 { color: #fff; font-size: var(--fs-h1); }
.slide .eyebrow { color: var(--lime-soft); }
.slide p { color: rgba(255,255,255,.86); font-size: var(--fs-lg); max-width: 34em; }
.slide-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.slider-controls { position: absolute; left: 0; right: 0; bottom: 22px; }
.slider-controls .wrap { display: flex; align-items: center; gap: 1rem; }
.dots { display: flex; gap: .5rem; }
.dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--gold); }
.arrows { margin-left: auto; display: flex; gap: .5rem; }
.arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.arrows button:hover { background: #fff; color: var(--pine); }
@media (max-width: 820px) {
  .slide::before { background: linear-gradient(180deg, rgba(10,38,22,.35) 0%, rgba(10,38,22,.82) 45%, rgba(10,38,22,.94) 100%); }
  .slide-bg { object-position: 70% center; }
  .slide-inner { align-items: end; min-height: 560px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--pine); color: #fff; background-image: radial-gradient(900px 400px at 90% 0%, rgba(255,255,255,.08), transparent 60%); }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(48px, 7vw, 84px); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); font-size: var(--fs-lg); max-width: 36em; }
.page-hero .copy { display: grid; gap: 1rem; min-width: 0; }
.page-hero .eyebrow { color: var(--lime-soft); }
.page-hero .media img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.page-hero.simple .wrap { grid-template-columns: 1fr; }
.breadcrumb { font-size: var(--fs-xs); color: rgba(255,255,255,.7); letter-spacing: .04em; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
@media (max-width: 820px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: grid; gap: .15rem; padding: 1.6rem 1.2rem; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--pine); line-height: 1.1; font-variant-numeric: tabular-nums; }
.trust-item span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 820px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Audience split (B2B / B2C) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.audience { position: relative; display: grid; grid-template-columns: 1fr 42%; min-height: 300px; border-radius: var(--radius); overflow: hidden; background: var(--mist); text-decoration: none; color: inherit; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.audience:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.audience-copy { padding: clamp(24px, 3vw, 36px); display: grid; align-content: start; gap: .8rem; min-width: 0; }
.audience-copy ul { margin: .2rem 0 .6rem; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .3rem; }
.audience-media { background: var(--sage); }
.audience-media { overflow: hidden; }
.audience-media img { width: 100%; height: 100%; object-fit: cover; }
.audience.dark { background: var(--pine); color: #fff; border-color: var(--pine); }
.audience.dark h3 { color: #fff; }
.audience.dark ul { color: rgba(255,255,255,.78); }
.audience.dark .link-arrow { color: var(--lime-soft); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } .audience-media { height: 180px; } }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-tile { display: grid; text-decoration: none; color: var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile img { aspect-ratio: 15 / 11; object-fit: cover; width: 100%; }
.cat-tile div { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .25rem; }
.cat-tile strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--pine-ink); }
.cat-tile div > span { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cats { grid-template-columns: 1fr 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .product-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .product-grid.three { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; min-width: 0; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { position: relative; background: var(--mist); border: 0; padding: 0; cursor: pointer; display: block; width: 100%; }
.product-media img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; padding: .28rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--pine); color: #fff; }
.badge-neu { background: var(--gold); }
.badge-exklusiv { background: #fff; color: var(--pine); border: 1px solid var(--pine); }
.product-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-brand { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.product-body h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.35; }
.product-size { font-size: var(--fs-sm); color: var(--muted); }
.prices { display: grid; gap: .35rem; margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.price-row small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.price-row .val { font-weight: 700; white-space: nowrap; }
.price-retail .val { font-size: 1.15rem; color: var(--ink); }
.price-trade .val { color: var(--pine-2); }
.price-trade small b { color: var(--pine-2); font-weight: 600; }
.product-actions { display: flex; gap: .5rem; margin-top: .7rem; }
.product-actions .btn { flex: 1; }

/* ---------- Shop page ---------- */
.shop-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .5rem .95rem; border-radius: 999px; font: 500 var(--fs-sm)/1 var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--pine); }
.chip[aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.shop-tools { display: flex; gap: .6rem; flex-wrap: wrap; }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: var(--radius-sm);
  padding: .75rem .9rem; font: 400 var(--fs-md)/1.4 var(--font-body);
}
.input:focus { outline: 2px solid var(--pine); outline-offset: 0; border-color: var(--pine); }
.shop-tools .input { width: auto; min-width: 200px; }
.shop-note { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: var(--gold-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 2rem; font-size: var(--fs-sm); }
.shop-note svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.demo-flag { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.4rem; }

/* Product dialog */
dialog.product-dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 40px 80px -20px rgba(0,0,0,.4); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(12, 46, 27, .55); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pd-grid img { width: 100%; height: 100%; object-fit: cover; background: var(--mist); }
.pd-body { padding: clamp(20px, 3vw, 36px); display: grid; gap: .8rem; align-content: start; min-width: 0; }
.pd-body h2 { font-size: 1.8rem; }
.pd-meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: var(--fs-sm); margin: .4rem 0; }
.pd-meta dt { color: var(--muted); }
.pd-meta dd { margin: 0; font-weight: 600; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--ink); }
@media (max-width: 700px) { .pd-grid { grid-template-columns: 1fr; } .pd-grid img { max-height: 280px; } }

/* ---------- Inquiry list drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(12, 46, 27, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0,0,0,.35); animation: drawerIn .3s ease; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: grid; align-content: start; gap: 1rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.1rem 1.4rem; display: grid; gap: .7rem; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: 999px; padding: 4px; }
.segmented button { border: 0; background: transparent; padding: .55rem; border-radius: 999px; font: 600 var(--fs-sm)/1 var(--font-body); color: var(--muted); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--paper); color: var(--pine); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; }
.line-item img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; background: var(--mist); }
.line-item strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.line-item small { color: var(--muted); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 1rem; color: var(--pine); }
.qty input { width: 44px; border: 0; text-align: center; font: 600 var(--fs-sm) var(--font-body); background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.remove { border: 0; background: none; color: var(--muted); font-size: var(--fs-xs); cursor: pointer; padding: 0; text-decoration: underline; }
.total-row { display: flex; justify-content: space-between; font-weight: 700; font-variant-numeric: tabular-nums; }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.warn { font-size: var(--fs-xs); color: var(--danger); }

/* ---------- About teaser / media text ---------- */
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.media-text .copy { display: grid; gap: 1.1rem; min-width: 0; }
.media-text .copy p { color: var(--muted); font-size: var(--fs-lg); }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius); width: 100%; }
.media-frame .stamp { position: absolute; left: -18px; bottom: -18px; background: var(--gold); color: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; display: grid; line-height: 1.1; box-shadow: var(--shadow); }
.media-frame .stamp strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; }
.media-frame .stamp span { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.mini-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: .4rem 0 .6rem; }
.mini-timeline div { border-top: 2px solid var(--gold); padding-top: .6rem; display: grid; gap: .2rem; }
.mini-timeline strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--pine); font-variant-numeric: tabular-nums; }
.mini-timeline span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .media-text { grid-template-columns: 1fr; } .media-frame .stamp { left: 12px; bottom: 12px; } }
@media (max-width: 480px) { .mini-timeline { grid-template-columns: 1fr; } }

/* ---------- Values band ---------- */
.values-band { background: var(--pine); color: #fff; }
.values-band h2 { color: #fff; }
.values-band .section-head p { color: rgba(255,255,255,.75); }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.value { padding: 1.6rem 1.3rem 0 0; display: grid; align-content: start; gap: .55rem; }
.value + .value { padding-left: 1.3rem; border-left: 1px solid rgba(255,255,255,.18); }
.value-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--lime-soft); }
.value-icon svg { width: 22px; height: 22px; }
.value h3 { color: #fff; font-size: 1.3rem; }
.value p { color: rgba(255,255,255,.75); font-size: var(--fs-sm); }
.value .zh { font-size: var(--fs-xs); letter-spacing: .1em; color: var(--lime-soft); }
@media (max-width: 1000px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value + .value { padding: 1.4rem 1rem 1.4rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Export band ---------- */
.export { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.export .copy { display: grid; gap: 1rem; min-width: 0; }
.export .copy > p { color: var(--muted); font-size: var(--fs-lg); }
.route-card { background: var(--pine-ink); border-radius: var(--radius); padding: 1.2rem; color: #fff; }
.route-card svg { width: 100%; height: auto; display: block; }
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.market { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; display: grid; gap: .2rem; background: var(--paper); }
.market strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--pine); }
.market > span { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px) { .export { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .55rem; align-content: start; }
.post-meta { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; display: flex; gap: .8rem; flex-wrap: wrap; }
.post-meta .topic { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.post-card h3 { font-size: 1.35rem; }
.post-card p { color: var(--muted); font-size: var(--fs-sm); }
.post-featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto; }
.post-featured img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.post-featured h3 { font-size: 1.9rem; }
.post-featured .body { padding: clamp(24px, 3vw, 40px); align-content: center; }
@media (max-width: 900px) { .post-grid, .post-grid.two { grid-template-columns: 1fr 1fr; } .post-featured { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .post-grid, .post-grid.two { grid-template-columns: 1fr; } }

/* Article */
.article-hero img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.article { max-width: 720px; margin: 0 auto; }
.article-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.article-body { font-size: 1.08rem; line-height: 1.8; display: grid; gap: 1.1rem; }
.article-body h2 { font-size: 1.7rem; margin-top: 1rem; }
.article-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.article-body strong { color: var(--pine-ink); }
.disclaimer { margin-top: 2.2rem; padding: 1rem 1.2rem; background: var(--mist); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.4rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .5rem; align-content: start; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature .value-icon { background: var(--sage); color: var(--pine); }
.feature p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { padding: .45rem .85rem; border-radius: 999px; background: var(--sage); color: var(--pine-ink); font-size: var(--fs-sm); font-weight: 500; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; display: grid; gap: 0; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 158px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 2.4rem; padding-bottom: 2.2rem; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--font-display); font-size: 1.45rem; white-space: nowrap; color: var(--pine); text-align: right; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tl-item::after { content: ""; position: absolute; left: 152px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
.tl-item.major::after { background: var(--gold); }
.tl-body { display: grid; gap: .35rem; min-width: 0; }
.tl-body h3 { font-size: 1.3rem; }
.tl-body p { color: var(--muted); }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: .3rem; padding-left: 2rem; }
  .tl-item::after { left: 0; }
  .tl-year { text-align: left; font-size: 1.3rem; }
}

.quote-band { background: var(--gold-soft); }
.quote { max-width: 860px; margin: 0 auto; text-align: center; display: grid; gap: 1rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: var(--pine-ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pine-ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center; background-image: radial-gradient(600px 300px at 100% 0%, rgba(169,200,60,.22), transparent 60%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: .6rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Forms / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .req { color: var(--gold); }
.radio-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.radio-row label { display: inline-flex; gap: .45rem; align-items: center; font-weight: 500; font-size: var(--fs-sm); cursor: pointer; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: var(--fs-xs); color: var(--muted); align-items: start; }
.check input { margin-top: .2rem; }
.form-status { font-size: var(--fs-sm); padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--sage); color: var(--pine-ink); }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.contact-card .value-icon { background: var(--sage); color: var(--pine); }
.contact-card strong { display: block; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.contact-card div > a, .contact-card div > span { font-size: 1.05rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gold); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; display: grid; gap: 1rem; }
.legal h2 { font-size: 1.5rem; margin-top: 1.4rem; }
.legal p, .legal li { color: var(--ink); }
.legal .todo { background: var(--gold-soft); padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-ink); color: #B7CABB; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(48px, 6vw, 72px) 2.5rem; }
.footer-grid h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer-grid a { color: #B7CABB; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: grid; gap: 1rem; align-content: start; font-size: var(--fs-sm); }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-text span { color: #8CA793; }
.footer-brand .logo-img { background: #fff; border-radius: 3px; box-shadow: 0 0 0 8px #fff; margin: 8px; height: 44px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.2rem; font-size: var(--fs-xs); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; color: #8CA793; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp chat box ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem .8rem .9rem; border-radius: 999px; border: 0;
  background: var(--wa); color: #fff; font: 600 var(--fs-sm)/1 var(--font-body); cursor: pointer; box-shadow: 0 12px 30px -8px rgba(31,168,85,.6);
}
.chat-launcher svg { width: 24px; height: 24px; }
.chat-launcher:hover { background: #178A45; }
.chat-panel {
  position: fixed; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 81; width: min(360px, calc(100vw - 32px));
  background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); display: flex; flex-direction: column;
  animation: chatIn .25s ease;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { background: var(--pine); color: #fff; padding: 1rem 1.1rem; display: grid; grid-template-columns: 42px 1fr auto; gap: .8rem; align-items: center; }
.chat-head .avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; position: relative; }
.chat-head .avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #4ADE80; border: 2px solid var(--pine); }
.chat-head strong { display: block; font-size: var(--fs-md); }
.chat-head small { color: rgba(255,255,255,.75); font-size: .75rem; }
.chat-head button { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-body { padding: 1rem; background: #EEF4EC; display: grid; gap: .7rem; max-height: 300px; overflow-y: auto; }
.bubble { background: var(--paper); border-radius: 4px 14px 14px 14px; padding: .7rem .9rem; font-size: var(--fs-sm); max-width: 88%; box-shadow: 0 1px 2px rgba(0,0,0,.06); color: var(--ink); }
.bubble.me { justify-self: end; background: #DCF3E3; border-radius: 14px 4px 14px 14px; }
.quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.quick button { border: 1px solid var(--wa); background: var(--paper); color: #137A3C; border-radius: 999px; padding: .4rem .75rem; font: 500 .8rem/1.2 var(--font-body); cursor: pointer; }
.quick button:hover { background: var(--wa); color: #fff; }
.chat-foot { padding: .8rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem; border-top: 1px solid var(--line); background: var(--paper); }
.chat-foot textarea { resize: none; height: 44px; font-size: var(--fs-sm); }
.chat-foot .btn { padding: 0 1rem; }
.chat-note { font-size: .7rem; color: var(--muted); padding: 0 .9rem .8rem; background: var(--paper); }
@media (max-width: 520px) { .chat-launcher .label { display: none; } .chat-launcher { padding: .9rem; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--pine-ink); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; font-size: var(--fs-sm); z-index: 100; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.features.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .features.two { grid-template-columns: 1fr; } }

.chat-panel[hidden], .toast[hidden] { display: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.drawer-body { min-height: 0; }
.markets { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .markets { grid-template-columns: 1fr; } }
.export-banner { width: 100%; height: clamp(200px, 28vw, 360px); object-fit: cover; border-radius: var(--radius); margin-bottom: clamp(32px, 5vw, 56px); }

.chat-head .avatar img { width: 30px; height: auto; }
@media (max-width: 420px) { .logo-word { height: 16px; } .logo-img { height: 40px; } .logo-text span { display: none; } }

/* Chinese: CJK needs no letter-spacing tricks and a touch more line height */
html.lang-zh h1, html.lang-zh h2, html.lang-zh h3 { font-family: "Noto Serif TC", var(--font-display); font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
html.lang-zh body { line-height: 1.8; }
html.lang-zh .eyebrow { letter-spacing: .08em; }
.lang-switch button[lang="zh"] { font-family: "Noto Sans TC", var(--font-body); }

/* Hero trust checklist */
.hero-checks { list-style: none; margin: .6rem 0 0; padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.4rem; max-width: 620px; }
.hero-checks li { display: flex; gap: .55rem; align-items: flex-start; color: rgba(255,255,255,.9); font-size: var(--fs-sm); line-height: 1.4; }
.hero-checks svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .hero-checks { grid-template-columns: 1fr; } }
.slide h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
/* Trust strip with icons */
.trust-item { grid-template-columns: auto 1fr; align-items: center; gap: .9rem; }
.trust-item > div { display: grid; gap: .1rem; min-width: 0; }
.trust-item strong { font-size: 1.45rem; }
.trust-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; color: var(--pine-2); }
.trust-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--pine); }
.trust-item > div > span { line-height: 1.45; }

/* ---------- About: logo & culture ---------- */
.culture { background: var(--pine); color: #fff; background-image: radial-gradient(700px 400px at 15% 30%, rgba(169,200,60,.16), transparent 65%); }
.culture-grid { display: grid; grid-template-columns: minmax(240px, .8fr) 1.4fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.culture-logo { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.culture-disc { width: min(100%, 340px); aspect-ratio: 1; background: #fff; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); }
.culture-disc img { width: 62%; height: auto; }
.culture-logo figcaption { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--lime-soft); }
.culture-copy { display: grid; gap: 1.1rem; min-width: 0; }
.culture-copy h2 { color: #fff; }
.culture-copy .eyebrow { color: var(--lime-soft); }
.culture-copy .lead { font-size: var(--fs-lg); color: rgba(255,255,255,.88); }
.logo-points { display: grid; gap: 1.1rem; margin-top: .4rem; }
.logo-point { border-left: 2px solid var(--lime); padding-left: 1.1rem; display: grid; gap: .3rem; }
.logo-point h3 { color: #fff; font-size: 1.2rem; }
.logo-point p { color: rgba(255,255,255,.78); font-size: var(--fs-sm); }
.culture-close { color: var(--lime-soft); font-style: italic; }
@media (max-width: 820px) { .culture-grid { grid-template-columns: 1fr; } .culture-disc { width: 220px; } }

/* ---------- About: careers ---------- */
.jobs { display: grid; gap: 1rem; }
.job { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job[open] { box-shadow: var(--shadow); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1.3rem 1.5rem; align-items: center; }
.job summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--pine-ink); grid-column: 1; }
.job-meta { grid-column: 1; font-size: var(--fs-sm); color: var(--muted); }
.job-toggle { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--pine); transform: translate(-50%, -50%); transition: transform .2s; }
.job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.job[open] .job-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.job-body { padding: 0 1.5rem 1.5rem; display: grid; gap: 1.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.job-intro { font-size: var(--fs-lg); color: var(--ink); }
.job-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.job-cols > div { min-width: 0; }
.job-cols h4 { margin: 0 0 .6rem; font-size: var(--fs-sm); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.job-cols ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--muted); font-size: var(--fs-sm); }
.job-apply { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.jobs-note { margin-top: 1.4rem; color: var(--muted); }
@media (max-width: 860px) { .job-cols { grid-template-columns: 1fr; } }

/* ---------- Nav dropdown ---------- */
.nav-group { position: relative; display: flex; }
.nav-parent { display: inline-flex !important; align-items: center; gap: .25rem; }
.nav-parent .caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.nav-sub { position: absolute; top: 100%; left: 0; min-width: 230px; padding: .5rem; margin-top: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); display: none; flex-direction: column; z-index: 60; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-sub a { border-radius: 6px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: flex; }
.nav-group:hover .caret, .nav-group:focus-within .caret { transform: rotate(180deg); }
@media (max-width: 1200px) {
  .nav-group { flex-direction: column; }
  .nav-sub { position: static; display: flex; box-shadow: none; border: 0; margin: 0 0 .3rem .8rem; padding: 0; min-width: 0; border-left: 2px solid var(--sage); border-radius: 0; }
  .nav-sub a { font-size: var(--fs-sm); color: var(--muted); }
  .nav-parent .caret { display: none; }
}
/* Culture page hero + about teaser */
.culture-hero { padding-block: clamp(56px, 8vw, 96px); }
.culture-hero .breadcrumb { color: rgba(255,255,255,.7); }
.culture-hero .breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.culture-hero h1 { color: #fff; }
.culture-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--pine); color: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.culture-teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #fff; }
.culture-disc.small { width: 96px; box-shadow: none; }
.culture-teaser-copy { display: grid; gap: .3rem; min-width: 0; }
.culture-teaser-copy .eyebrow { color: var(--lime-soft); }
.culture-teaser-copy strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.culture-teaser-copy > span:last-child { color: rgba(255,255,255,.78); font-size: var(--fs-sm); }
.culture-teaser .link-arrow { color: var(--lime-soft); }
@media (max-width: 700px) { .culture-teaser { grid-template-columns: 1fr; } }
.values-more { margin-top: 1.8rem; }
.values-band .values-more .link-arrow { color: var(--lime-soft); }
/* five values: 3 + 2 layout */
#values-full { grid-template-columns: repeat(6, 1fr); }
#values-full > .feature { grid-column: span 2; }
#values-full > .feature:nth-child(4), #values-full > .feature:nth-child(5) { grid-column: span 3; }
@media (max-width: 900px) { #values-full { grid-template-columns: 1fr 1fr; } #values-full > .feature, #values-full > .feature:nth-child(4), #values-full > .feature:nth-child(5) { grid-column: auto; } }
@media (max-width: 560px) { #values-full { grid-template-columns: 1fr; } }

.footer-grid a[aria-current="page"] { color: #fff; font-weight: 600; }
.footer-grid a[aria-current="page"]::before { content: "› "; color: var(--lime); }

.cat-tile { align-content: start; grid-template-rows: auto 1fr; }
.cat-tile div { align-content: start; }
.values-on-culture { background: var(--pine-ink); border-top: 1px solid rgba(255,255,255,.1); }

/* Culture section – refined layout: compact emblem, wider text, points in a row */
.culture-grid { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; max-width: 1120px; }
.culture-logo { position: sticky; top: 120px; padding-top: 3.2rem; }
.culture-disc { width: 220px; }
.culture-disc img { width: 64%; }
.culture-copy { gap: 1rem; }
.culture-copy .lead { max-width: 40em; }
.logo-points { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1rem; }
.logo-point { border-left: 0; border-top: 2px solid var(--lime); padding: 1rem 0 0; }
.culture-close { margin-top: .6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 960px) { .logo-points { grid-template-columns: 1fr; } .logo-point { border-top: 0; border-left: 2px solid var(--lime); padding: 0 0 0 1.1rem; } }
@media (max-width: 820px) { .culture-grid { grid-template-columns: 1fr; } .culture-logo { position: static; padding-top: 0; justify-items: start; } .culture-disc { width: 160px; } }
.logo-point { align-content: start; }
.logo-points { align-items: start; }
/* Homepage "Our markets" heading */
.markets-head { margin-bottom: clamp(24px, 3vw, 36px); }
.markets-title { display: flex; align-items: center; gap: 1rem; }
.markets-title::before { content: ""; width: 44px; height: 3px; border-radius: 2px; background: var(--lime); flex-shrink: 0; }

.base-price { font-size: .74rem; color: var(--muted); margin-top: -.15rem; font-variant-numeric: tabular-nums; }

/* ---- Blog article elements (tip, note, steps, table, checklist) ---- */
.article-body ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: .8rem; counter-reset: n; }
.article-body ol.numbered > li { counter-increment: n; position: relative; padding-left: 2.6rem; }
.article-body ol.numbered > li::before { content: counter(n); position: absolute; left: 0; top: .15rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--pine); color: #fff; font-size: .9rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.article-body ol.steps > li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.article-body .step-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.article-body .step-head .dur { flex: none; font-size: .82rem; font-weight: 600; color: var(--pine-2); background: var(--mist); padding: .15rem .6rem; border-radius: 999px; }
.article-body ol.steps p { margin: .35rem 0 0; color: var(--muted); font-size: 1rem; }
.article-body .tip { background: var(--pine); color: #fff; border-radius: var(--radius-sm); padding: 1rem 1.2rem 1rem 3rem; position: relative; }
.article-body .tip::before { content: "✓"; position: absolute; left: 1.1rem; top: 1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--lime); color: var(--pine-ink); font-size: .8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.article-body .tip strong { color: var(--lime-soft); }
.article-body .note { background: #FFF7E8; border-left: 3px solid #D99A2B; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: .9rem 1.1rem; font-size: 1rem; }
.article-body .sources { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.article-body .data-table { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.article-body .data-table figcaption { background: var(--mist); padding: .7rem 1rem; font-weight: 600; color: var(--pine-ink); font-size: 1rem; }
.article-body .data-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.article-body .data-table td { padding: .6rem 1rem; border-top: 1px solid var(--line); }
.article-body .data-table td:last-child { text-align: right; white-space: nowrap; color: var(--pine-2); font-weight: 600; }
.article-body .data-table tfoot td { font-weight: 700; color: var(--pine-ink); background: #F4F8EC; }
.article-body .table-note { margin: 0; padding: .55rem 1rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.article-body .checklist { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.article-body .checklist-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--mist); padding: .7rem 1rem; font-size: 1rem; }
.article-body .checklist-head span { font-size: .88rem; color: var(--pine-2); font-weight: 600; white-space: nowrap; }
.article-body .checklist ul { list-style: none; padding: 0; gap: 0; }
.article-body .checklist li { border-top: 1px solid var(--line); }
.article-body .checklist label { display: flex; gap: .7rem; align-items: center; padding: .6rem 1rem; cursor: pointer; font-size: 1rem; }
.article-body .checklist input { width: 1.15rem; height: 1.15rem; accent-color: var(--pine-2); flex: none; }
.article-body .checklist input:checked + span { text-decoration: line-through; color: var(--muted); }

.article-body > .article-body > p:first-child { font-size: 1.2rem; color: var(--muted); }
@media (min-width: 901px) { .post-featured:last-child:not(:first-child) { grid-template-columns: 1fr 1.2fr; } .post-featured:last-child:not(:first-child) img { order: 2; } }
.article-body ol.steps { grid-template-columns: 1fr !important; gap: .8rem; }
.article-body ol.steps > li::before, .article-body ol.steps > li::after { content: none; display: none; }
.form-status.is-success { background: #E6F2D3; border-left: 3px solid var(--pine-2); }
button[type=submit]:disabled { opacity: .7; cursor: wait; }

/* inquiry list: remove buttons */
.line-item .remove { display: inline-flex; align-items: center; gap: .3rem; color: #B4472F; font-weight: 600; text-decoration: none; padding: .2rem 0; }
.line-item .remove svg { width: 15px; height: 15px; }
.line-item .remove:hover { text-decoration: underline; }
.line-item .qty button svg { width: 15px; height: 15px; color: #B4472F; }
#inquiry-items .line-item { padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
#inquiry-items .line-item:last-child { border-bottom: 0; }

/* top bar: icon + contact links */
.topbar-contact { gap: 1.6rem; align-items: center; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .45rem; letter-spacing: .01em; }
.topbar-contact a svg { width: 14px; height: 14px; color: var(--lime); flex: none; }
.topbar-contact a + a { position: relative; }
.topbar-contact a + a::before { content: ""; position: absolute; left: -.8rem; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: rgba(255,255,255,.18); }
.topbar a:hover { color: var(--lime-soft); }
@media (max-width: 560px) { .topbar-contact .tb-mail { display: none; } .topbar-contact { gap: 1.2rem; } }

/* ---- "Marken" mega menu ---- */
.nav-brands { position: static; }
.site-header .header-main { position: relative; }
.nav-sub.brand-menu { left: 50%; right: auto; transform: translateX(-50%); width: min(760px, calc(100vw - 32px)); padding: 1.3rem 1.3rem 1rem; display: none; flex-direction: column; gap: .9rem; }
.nav-brands:hover .brand-menu, .nav-brands:focus-within .brand-menu { display: flex; }
.brand-menu-title { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.nav-sub .brand-tile { display: flex; align-items: center; gap: .8rem; padding: .65rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--ink, #1d2b22); transition: border-color .2s, box-shadow .2s, transform .2s; }
.nav-sub .brand-tile:hover { border-color: var(--lime); box-shadow: 0 6px 18px rgba(20,71,42,.08); transform: translateY(-1px); background: #fff; }
.brand-logo { flex: none; width: 64px; height: 40px; display: grid; place-items: center; }
.brand-logo img { max-width: 64px; max-height: 40px; object-fit: contain; }
.brand-initial { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--pine); font-family: var(--font-display); font-size: 1.25rem; display: grid; place-items: center; line-height: 1; }
.brand-text { display: grid; gap: .1rem; min-width: 0; }
.brand-text strong { font-size: .95rem; color: var(--pine-ink); font-weight: 600; }
.brand-text small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-sub .brand-menu-all { align-self: flex-end; font-size: .85rem; font-weight: 600; color: var(--pine-2); padding: .2rem .3rem; }
@media (max-width: 1200px) {
  .nav-brands { position: relative; }
  .nav-sub.brand-menu { position: static; transform: none; width: auto; padding: .4rem 0 .6rem .8rem; box-shadow: none; border: 0; border-left: 2px solid var(--sage); border-radius: 0; margin: 0 0 .3rem .8rem; display: flex; }
  .brand-menu-title, .nav-sub .brand-menu-all { display: none; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .nav-sub .brand-tile { padding: .45rem .5rem; gap: .5rem; }
  .brand-logo { width: 32px; height: 32px; } .brand-initial { width: 30px; height: 30px; font-size: 1rem; }
  .brand-text small { display: none; }
}

/* brand tiles with logos: logo on top, name below */
.nav-sub .brand-tile { flex-direction: column; align-items: stretch; gap: .55rem; padding: .8rem .8rem .7rem; text-align: center; }
.brand-logo { width: 100%; height: 56px; }
.brand-logo img { max-width: 150px; max-height: 52px; width: auto; height: auto; }
.brand-text { justify-items: center; }
@media (max-width: 1200px) {
  .nav-sub .brand-tile { flex-direction: row; text-align: left; padding: .45rem .55rem; gap: .6rem; align-items: center; }
  .brand-logo { width: 64px; height: 34px; flex: none; }
  .brand-logo img { max-width: 64px; max-height: 34px; }
  .brand-text { justify-items: start; }
}
@media (max-width: 1200px) {
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-sub .brand-tile { min-width: 0; }
}
@media (max-width: 700px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-sub .brand-tile { justify-content: center; padding: .55rem; }
  .nav-sub .brand-tile .brand-text { display: none; }
  .brand-logo { width: 100%; height: 38px; }
  .brand-logo img { max-width: 120px; max-height: 38px; }
}

/* desktop dropdowns are controlled by JS (.is-open) so they don't vanish instantly */
@media (min-width: 1201px) {
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub,
  .nav-brands:hover .brand-menu, .nav-brands:focus-within .brand-menu { display: none; }
  .nav-group.is-open .nav-sub, .nav-brands.is-open .brand-menu { display: flex; }
  .nav-group:hover .caret, .nav-group:focus-within .caret { transform: none; }
  .nav-group.is-open .caret { transform: rotate(180deg); }
  .nav-group.is-open > .nav-parent { background: var(--mist); }
  .nav-sub.brand-menu::before { top: -28px; height: 28px; }
}

/* ============ Shop: sidebar + centred product grid ============ */
.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.shop-side { position: sticky; top: 110px; display: grid; gap: .5rem; }
.side-title { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pine-ink); }
.side-title:not(:first-child) { margin-top: 1.4rem; }
.side-list { display: grid; gap: .1rem; }
.side-list .chip { display: flex; justify-content: space-between; align-items: center; gap: .6rem; width: 100%; text-align: left; border: 0; border-radius: 6px; background: none; padding: .5rem .7rem; font-size: .92rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); line-height: 1.3; }
.side-list .chip:hover { color: var(--pine); background: var(--mist); }
.side-list .chip[aria-pressed="true"] { color: var(--pine-ink); background: var(--mist); font-weight: 700; box-shadow: inset 3px 0 0 var(--lime); }
.side-list .chip .n { font-size: .75rem; font-weight: 600; color: var(--muted); opacity: .8; }

.shop-head { text-align: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.shop-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: .02em; }
.shop-head h2 .sep { color: var(--lime); margin: 0 .25em; font-weight: 300; }
.shop-count { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.shop-main .shop-tools { justify-content: center; margin-bottom: 1.8rem; }

.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.4rem; }
.shop-grid .product-card { border-color: transparent; background: transparent; }
.shop-grid .product-card:hover { border-color: var(--line); background: var(--paper); }
.shop-grid .product-media { background: transparent; padding: 6% 12% 0; }
.shop-grid .product-media img { border-radius: var(--radius-sm); }
.shop-grid .product-body { text-align: center; align-items: center; padding: .9rem 1rem 1.1rem; }
.shop-grid .product-body h3 { font-size: 1rem; }
.shop-grid .prices { width: 100%; text-align: left; }
.shop-grid .product-actions { width: 100%; }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .shop-side { position: static; gap: .4rem; }
  .side-title:not(:first-child) { margin-top: .6rem; }
  .side-list { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
  .side-list .chip { flex: none; width: auto; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; }
  .side-list .chip[aria-pressed="true"] { box-shadow: none; background: var(--pine); color: #fff; border-color: var(--pine); }
  .side-list .chip[aria-pressed="true"] .n { color: #fff; }
}
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr 1fr; gap: 1rem .7rem; } .shop-grid .product-media { padding: 4% 6% 0; } }
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .shop-grid .product-media { padding: 4% 18% 0; }
  .shop-main .shop-tools .input { min-width: 0; flex: 1 1 140px; }
}

/* Crisp live chat active: hide the built-in WhatsApp chat launcher/panel */
/* Crisp runs invisibly; our own chat box is the interface */
.crisp-client { display: none !important; }
.chat-note .note-live, .chat-note .note-wa-alt { display: none; }
html.crisp-ready .chat-note .note-live, html.crisp-ready .chat-note .note-wa-alt { display: inline; }
html.crisp-ready .chat-note .note-wa { display: none; }
.chat-note .note-wa-alt { color: #137A3C; font-weight: 600; margin-left: .3rem; }
.bubble { white-space: pre-wrap; word-break: break-word; }
.bubble.me { position: relative; padding-right: 1.9rem; }
.bubble .tick { position: absolute; right: .55rem; bottom: .45rem; font-size: .7rem; color: #3BA55C; }
.bubble.typing { display: inline-flex; gap: 4px; width: auto; padding: .75rem .9rem; justify-self: start; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9BB3A2; animation: aytyp 1.2s infinite ease-in-out; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aytyp { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-mail { display: grid; gap: .5rem; }
.chat-mail div { display: flex; gap: .35rem; }
.chat-mail input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: .4rem .55rem; font: inherit; font-size: .85rem; }
.chat-mail button { border: 0; border-radius: 8px; background: var(--wa); color: #fff; font-weight: 700; padding: 0 .8rem; cursor: pointer; }
.chat-launcher { position: fixed; }
.chat-launcher.has-unread::after { content: ""; position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #E5484D; border: 2px solid #fff; }
.chat-launcher .lbl-live { display: none; } html.crisp-ready .chat-launcher .lbl-live { display: inline; } html.crisp-ready .chat-launcher .lbl-wa { display: none; }

/* inquiry list: live-chat button when Crisp is ready, WhatsApp otherwise */
.drawer-foot .inq-live { display: inline-flex; }

.chat-foot .btn { align-self: end; height: 44px; }

/* inquiry list: larger product image and text */
.drawer-panel { width: min(500px, 100%); }
#inquiry-items .line-item { grid-template-columns: 92px 1fr auto; gap: 1rem; }
#inquiry-items .line-item img { width: 92px; height: 92px; object-fit: contain; padding: 4px; }
#inquiry-items .line-item strong { font-size: 1.02rem; line-height: 1.35; margin-bottom: .25rem; }
#inquiry-items .line-item small { font-size: .9rem; line-height: 1.5; }
@media (max-width: 480px) {
  #inquiry-items .line-item { grid-template-columns: 72px 1fr; }
  #inquiry-items .line-item img { width: 72px; height: 72px; }
  #inquiry-items .line-item .qty { grid-column: 2; justify-self: start; }
}

/* ---- Shop: brand logo strip ---- */
.brand-strip { margin-bottom: 2.2rem; }
.brand-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.brand-strip-head p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.brand-strip-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .75rem; }
.bs-tile { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1rem .5rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--pine-ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.bs-tile:hover { border-color: var(--lime); box-shadow: 0 8px 20px -10px rgba(20,71,42,.25); transform: translateY(-2px); color: var(--pine-ink); }
.bs-tile.is-active { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.bs-logo { height: 46px; width: 100%; display: grid; place-items: center; }
.bs-logo img { max-width: 92%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.bs-name { font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-align: center; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 1100px) { .brand-strip-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) { .brand-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; } .bs-logo { height: 38px; } .bs-logo img { max-height: 38px; } }
.bs-name { white-space: normal; overflow: visible; letter-spacing: 0; text-wrap: balance; }

/* 17 brands: wider mega menu with 5 compact columns */
@media (min-width: 1201px) {
  .nav-sub.brand-menu { width: min(980px, calc(100vw - 32px)); padding: 1.1rem 1.2rem .9rem; gap: .7rem; }
  .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; }
  .nav-sub .brand-tile { padding: .6rem .5rem .55rem; gap: .35rem; }
  .brand-logo { height: 44px; }
  .brand-logo img { max-width: 130px; max-height: 42px; }
  .brand-text strong { font-size: .85rem; }
}
/* brand strip: centred rows (e.g. 9 + 8) */
.brand-strip-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.brand-strip-grid .bs-tile { flex: 0 0 calc((100% - 8 * .75rem) / 9); }
@media (max-width: 1100px) { .brand-strip-grid .bs-tile { flex-basis: calc((100% - 5 * .75rem) / 6); } }
@media (max-width: 640px) { .brand-strip-grid .bs-tile { flex-basis: calc((100% - 2 * .5rem) / 3); } }

/* EAN on product cards and in the product dialog */
.product-ean { font-size: .76rem; color: var(--muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
dd.ean { font-variant-numeric: tabular-nums; letter-spacing: .03em; }

/* ---------- Site-wide product search (header magnifier) ---------- */
.site-search { border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 40px rgba(12,46,27,.12); }
.site-search[hidden] { display: none; }
.site-search .wrap { padding-top: .9rem; padding-bottom: 1rem; }
.site-search-form { position: relative; display: flex; align-items: center; }
.site-search-form > svg { position: absolute; left: 1rem; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.site-search-input { width: 100%; font: inherit; font-size: 1.05rem; padding: .85rem 3rem .85rem 2.9rem; border: 1.5px solid var(--pine-2); border-radius: 999px; background: var(--paper); color: var(--pine-ink); outline: none; }
.site-search-input:focus { box-shadow: 0 0 0 4px rgba(38,138,70,.15); }
.site-search-input::-webkit-search-cancel-button { display: none; }
.site-search-close { position: absolute; right: .55rem; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--mist); color: var(--pine); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.site-search-results { max-height: min(60vh, 520px); overflow-y: auto; margin-top: .6rem; }
.ss-hint, .ss-empty { margin: .4rem 1rem; color: var(--muted); font-size: .92rem; }
.ss-item { display: grid; grid-template-columns: 52px 1fr auto; gap: .9rem; align-items: center; padding: .55rem .8rem; border-radius: 12px; color: var(--pine-ink); text-decoration: none; }
.ss-item:hover, .ss-item.is-sel { background: var(--mist); }
.ss-item img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--mist); }
.ss-text { display: flex; flex-direction: column; min-width: 0; }
.ss-brand { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-2); }
.ss-name { font-weight: 600; line-height: 1.3; }
.ss-size { font-weight: 400; color: var(--muted); font-size: .88rem; }
.ss-codes { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ss-price { font-weight: 700; white-space: nowrap; }
.ss-item mark { background: #E3F1C7; color: inherit; border-radius: 3px; padding: 0 1px; }
.ss-all { display: block; padding: .7rem .8rem; font-weight: 600; text-decoration: none; }
@media (max-width: 600px) {
  .ss-item { grid-template-columns: 44px 1fr; }
  .ss-item img { width: 44px; height: 44px; }
  .ss-price { display: none; }
}
/* header with search button: keep everything on one line on smaller desktops */
@media (min-width: 1201px) and (max-width: 1440px) {
  .header-main { gap: 1rem; }
  .header-actions { gap: .45rem; }
  .site-nav a { padding: .55rem .62rem; }
}
@media (max-width: 480px) {
  .header-main { gap: .5rem; }
  .header-actions { gap: .35rem; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
  .logo { gap: .45rem; }
  .logo-word { height: 14px; }
  .logo-img { height: 36px; }
}
@media (max-width: 350px) { .logo-word { height: 11px; } .logo-img { height: 32px; } .header-actions .icon-btn { width: 36px; height: 36px; } }
/* larger logo on desktop */
@media (min-width: 1201px) {
  .header-main { min-height: 86px; }
  .logo { gap: .8rem; }
  .logo-img { height: 58px; }
  .logo-word { height: 23px; }
  .logo-text { gap: 7px; }
  .logo-text span { font-size: .7rem; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .logo-img { height: 54px; }
  .logo-word { height: 21px; }
}
@media (min-width: 1201px) and (max-width: 1380px) {
  .logo-img { height: 52px; }
  .logo-word { height: 21px; }
  .logo-text span { font-size: .66rem; }
}
@media (min-width: 1201px) and (max-width: 1320px) { .header-cta { display: none; } }
/* logo text balance: smaller company name, larger + darker tagline */
.site-header .logo-text span { color: #3A4A40; font-weight: 500; }
@media (min-width: 1201px) {
  .site-header .logo-word { height: 20px; }
  .site-header .logo-text span { font-size: .78rem; letter-spacing: .14em; }
}
@media (min-width: 1201px) and (max-width: 1380px) {
  .site-header .logo-word { height: 19px; }
  .site-header .logo-text span { font-size: .74rem; }
}
/* company name as text (Cormorant Garamond) – replaces the old wordmark image */
.logo-text .logo-name, .site-header .logo-text .logo-name { display: block; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-weight: 700; font-size: 1.8rem; line-height: .95; letter-spacing: .005em; text-transform: none; color: var(--pine-ink); white-space: nowrap; }
.footer-brand .logo-text .logo-name { color: #fff; }
@media (min-width: 1201px) { .site-header .logo-text .logo-name { font-size: 2.1rem; } }
@media (min-width: 1201px) and (max-width: 1380px) { .site-header .logo-text .logo-name { font-size: 1.95rem; } }
@media (max-width: 480px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.42rem; } }
@media (max-width: 350px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.2rem; } }
/* logo block ~6% smaller on desktop */
@media (min-width: 1201px) {
  .site-header .logo-img { height: 54px; }
  .site-header .logo-text .logo-name { font-size: 1.97rem; }
  .site-header .logo-text span:not(.logo-name) { font-size: .73rem; }
}
@media (min-width: 1201px) and (max-width: 1380px) {
  .site-header .logo-img { height: 49px; }
  .site-header .logo-text .logo-name { font-size: 1.83rem; }
  .site-header .logo-text span:not(.logo-name) { font-size: .7rem; }
}
/* logo block another ~6% smaller on desktop */
@media (min-width: 1201px) {
  .site-header .logo-img { height: 50px; }
  .site-header .logo-text .logo-name { font-size: 1.85rem; }
  .site-header .logo-text span:not(.logo-name) { font-size: .69rem; }
}
@media (min-width: 1201px) and (max-width: 1380px) {
  .site-header .logo-img { height: 46px; }
  .site-header .logo-text .logo-name { font-size: 1.72rem; }
  .site-header .logo-text span:not(.logo-name) { font-size: .66rem; }
}
/* logo block step 3: another ~6% smaller on desktop */
@media (min-width: 1201px) {
  .site-header .logo-img { height: 47px; }
  .site-header .logo-text .logo-name { font-size: 1.74rem; }
  .site-header .logo-text span:not(.logo-name) { font-size: .65rem; }
}
@media (min-width: 1201px) and (max-width: 1380px) {
  .site-header .logo-img { height: 43px; }
  .site-header .logo-text .logo-name { font-size: 1.62rem; }
  .site-header .logo-text span:not(.logo-name) { font-size: .62rem; }
}
/* company name font: Playfair Display (choice A) – same visual size as before */
.logo-text .logo-name, .site-header .logo-text .logo-name { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 600; font-size: 1.6rem; line-height: 1; }
@media (min-width: 1201px) { .site-header .logo-text .logo-name { font-size: 1.53rem; } }
@media (min-width: 1201px) and (max-width: 1380px) { .site-header .logo-text .logo-name { font-size: 1.43rem; } }
@media (max-width: 480px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.25rem; } }
@media (max-width: 350px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.05rem; } }
/* company name font: Marcellus (choice D) */
.logo-text .logo-name, .site-header .logo-text .logo-name { font-family: "Marcellus", Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.56rem; line-height: 1; letter-spacing: .01em; }
@media (min-width: 1201px) { .site-header .logo-text .logo-name { font-size: 1.5rem; } }
@media (min-width: 1201px) and (max-width: 1380px) { .site-header .logo-text .logo-name { font-size: 1.4rem; } }
@media (max-width: 480px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.22rem; } }
@media (max-width: 350px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.02rem; } }
/* company name font: Montserrat (choice E) */
.logo-text .logo-name, .site-header .logo-text .logo-name { font-family: "Montserrat", "Figtree", Arial, sans-serif; font-weight: 600; font-size: 1.44rem; line-height: 1; letter-spacing: .005em; }
@media (min-width: 1201px) { .site-header .logo-text .logo-name { font-size: 1.38rem; } }
@media (min-width: 1201px) and (max-width: 1380px) { .site-header .logo-text .logo-name { font-size: 1.29rem; } }
@media (max-width: 480px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.13rem; } }
@media (max-width: 350px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: .95rem; } }
/* company name font: DM Serif Display (choice F, same as site headings) */
.logo-text .logo-name, .site-header .logo-text .logo-name { font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.65rem; line-height: 1; letter-spacing: .005em; }
@media (min-width: 1201px) { .site-header .logo-text .logo-name { font-size: 1.58rem; } }
@media (min-width: 1201px) and (max-width: 1380px) { .site-header .logo-text .logo-name { font-size: 1.47rem; } }
@media (max-width: 480px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.29rem; } }
@media (max-width: 350px) { .logo-text .logo-name, .site-header .logo-text .logo-name { font-size: 1.08rem; } }
/* tagline back to light grey-green, regular weight */
.site-header .logo-text span:not(.logo-name) { color: var(--muted); font-weight: 400; }

/* ---------- Compact legal page (Impressum) ---------- */
.page-hero.simple.compact .wrap { padding-block: clamp(32px, 4vw, 48px); }
.page-hero.simple.compact h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-compact { padding-block: clamp(32px, 4vw, 52px); }
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.legal-item { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); padding: 1rem 1.2rem; }
.legal-item h2 { font-size: 1.08rem; margin: 0 0 .4rem; }
.legal-item p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.legal-small { max-width: 1000px; margin: 1.2rem auto 0; font-size: .82rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 820px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .legal-grid { grid-template-columns: 1fr; } }

/* ---------- Header icons: globe (language), user (account), cart (inquiry list) ---------- */
.lang-switch { display: none; }
@media (max-width: 1500px) and (min-width: 1201px) { .header-cta { display: none; } }
.nav-extra { display: none; }
@media (max-width: 600px) {
  .hdr-lang, .hdr-account { display: none !important; }
  .site-nav .nav-extra { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; padding-top: .8rem; border-top: 1px solid var(--line); }
  .nav-extra button { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); background: var(--paper); color: var(--pine); font: inherit; font-weight: 600; cursor: pointer; }
  .nav-extra svg { width: 20px; height: 20px; }
}

/* ---------- Side panels (language / account / inquiry) ---------- */
.panel-head { gap: 1rem; }
.panel-close { width: 40px; height: 40px; border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--pine-ink); cursor: pointer; padding: 0; }
.panel-icons { display: flex; gap: 1.4rem; align-items: center; }
.panel-ico { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--pine-ink); cursor: pointer; display: grid; place-items: center; }
.panel-ico svg { width: 24px; height: 24px; stroke-width: 1.6; }
.panel-ico:hover, .panel-ico.is-active { color: var(--pine-2); }
.panel-ico.is-active svg { stroke-width: 2; }
.panel-title { font-family: var(--font-body); font-size: .98rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-ink); margin: .4rem 0 .2rem; }
html.lang-zh .panel-title { letter-spacing: .04em; }
.lang-list { display: grid; }
.lang-list button { text-align: left; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.lang-list button[lang] { text-transform: none; letter-spacing: .04em; }
.lang-list button:hover { color: var(--pine-2); }
.lang-list button[aria-pressed="true"] { color: var(--pine-2); font-weight: 700; }
.lang-list button[aria-pressed="true"]::after { content: " ✓"; }
.acc-form { display: grid; gap: .8rem; }
.acc-form[hidden] { display: none; }
.link-btn { justify-self: start; border: 0; background: none; padding: 0; color: var(--pine-2); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
.acc-status { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); padding: .8rem 1rem; font-size: .92rem; }
.acc-benefits { margin: .4rem 0 0; padding: 1rem 1rem 1rem 2.2rem; background: var(--mist); border-radius: var(--radius-sm, 12px); color: var(--muted); font-size: .9rem; display: grid; gap: .4rem; }
html.lang-zh .panel-title { font-family: var(--font-body); font-weight: 700; }

/* ---------- Product popup: ingredients & warnings ---------- */
.pd-more { border-top: 1px solid var(--line); padding: .55rem 0; }
.pd-more summary { cursor: pointer; font-weight: 600; color: var(--pine); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pd-more summary::-webkit-details-marker { display: none; }
.pd-more summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); }
.pd-more[open] summary::after { content: "–"; }
.pd-ing { font-size: .82rem; line-height: 1.55; color: var(--muted); margin: .5rem 0 0; }
.pd-warn { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .85rem; line-height: 1.5; color: var(--ink); display: grid; gap: .25rem; }
.pd-src { font-size: .72rem; color: var(--muted); margin: .2rem 0 .6rem; }
.pd-body .pd-more + .prices, .pd-src + .prices { margin-top: .4rem; }

/* ---------- Product images: always whole, centred, with breathing room ---------- */
.product-media img { object-fit: contain; padding: 7%; background: #fff; box-sizing: border-box; }
.shop-grid .product-media img { border: 1px solid var(--line); }
.pd-grid { align-items: start; }
.pd-grid > img { position: sticky; top: 0; align-self: start; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 9%; box-sizing: border-box; background: #fff; border-right: 1px solid var(--line); }
@media (max-width: 700px) { .pd-grid > img { position: static; max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); } }
/* match the light grey background of the product photos so they blend in */
.product-media img, .pd-grid > img { background: var(--mist); }
/* product popup: image column fills the whole left side, image centred */
@media (min-width: 701px) {
  .pd-grid { align-items: stretch; }
  .pd-grid > img { position: static; align-self: stretch; height: 100%; min-height: 440px; aspect-ratio: auto; padding: 8%; object-fit: contain; object-position: center; }
}
@media (min-width: 701px) { .pd-grid > img { padding: 4%; } }
@media (min-width: 701px) { .pd-grid > img { padding: 5% 6%; } }
.product-media img { padding: 6%; }

/* Chinese ingredient list (product popup, zh) */
.pd-ing-note { font-size: .78rem; color: var(--muted); margin: .5rem 0 .35rem; }
.pd-ing-note strong { color: var(--ink); }
.pd-ing-zh { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.85; color: var(--ink); }
.pd-ing-zh li { display: inline; }
.pd-ing-zh li:not(:last-child)::after { content: "、"; color: var(--muted); }
.pd-ing-zh strong { font-weight: 700; color: var(--pine); }
.pd-orig { margin-top: .5rem; }
.pd-more .pd-orig summary { display: block; cursor: pointer; font-size: .76rem; font-weight: 400; color: var(--muted); list-style: none; }
.pd-more .pd-orig summary::after { content: none; }
.pd-orig summary::-webkit-details-marker { display: none; }
.pd-more .pd-orig summary::before { content: "▸ "; }
.pd-more .pd-orig[open] summary::before { content: "▾ "; }
.pd-orig .pd-ing { margin-top: .3rem; font-size: .76rem; }
.pd-ing-zh.latin li:not(:last-child)::after { content: ", "; }
.pd-ing-zh.latin { line-height: 1.7; }

/* Contact card: phone + WhatsApp */
.contact-card.contact-wa .value-icon { background: var(--wa); color: #fff; }
.contact-card .contact-note { margin: .45rem 0 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.contact-card .contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.contact-card .contact-actions a.btn { font-size: var(--fs-xs); }
.contact-card .contact-actions a.btn-wa, .contact-card .contact-actions a.btn-wa:hover { color: #fff; }
.contact-card .contact-actions a.btn-ghost { color: var(--pine); }
.contact-card .contact-actions a.btn-ghost:hover { color: #fff; }
.contact-card.contact-wa .value-icon svg { width: 24px; height: 24px; }
