/* Organic Way — site styles */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/). Not loaded from Google: fonts.googleapis.com is blocked in mainland China. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --leaf: #2f6b3f;
  --leaf-dark: #173d26;
  --gold: #e3c27f;
  --clay: #b87345;
  --cream: #f6f1e7;
  --paper: #fffdf7;
  --mint: #e4ebdc;
  --mint-2: #eef2e8;
  --ink: #1f2a22;
  --ink-2: #3f4a41;
  --muted: #58635a;
  --on-dark: #d7e3d2;
  --on-dark-2: #e6efe2;
  --line: rgba(31, 42, 34, 0.10);
  --line-2: rgba(31, 42, 34, 0.18);
  --radius: 12px;
  --radius-lg: 16px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
html[lang="zh"] body { font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--leaf); }
a:hover { color: var(--leaf-dark); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--leaf); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.serif { font-family: var(--serif); font-weight: 600; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--clay); margin-bottom: 10px; }
.eyebrow.on-dark { color: var(--gold); }
.rule { width: 56px; height: 3px; background: var(--leaf); margin: 16px 0 18px; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.15; color: var(--leaf-dark); }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section.tight { padding-top: 64px; padding-bottom: 64px; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--leaf-dark); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { flex: none; }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-dark); color: #fff; }
.btn-outline { border-color: var(--leaf); color: var(--leaf); background: transparent; }
.btn-outline:hover { background: var(--leaf); color: #fff; }
.btn-white { background: #fff; color: var(--leaf-dark); font-weight: 700; }
.btn-white:hover { background: var(--mint); color: var(--leaf-dark); }
.btn-ghost-white { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { font-size: 16px; padding: 15px 26px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 60px; width: 180px; object-fit: contain; }
.brand-tag { display: none; border-left: 1px solid var(--line-2); padding-left: 12px; font-size: 12px; line-height: 1.4; color: var(--muted); } /* no room beside the 7-link menu on one line */
.main-nav { flex: 1; display: flex; justify-content: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--leaf); }
.main-nav a[aria-current="page"] { color: var(--leaf); font-weight: 600; border-bottom-color: var(--leaf); }
.header-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.lang { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang svg { margin: 0 4px 0 6px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 34px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); }
.lang a:hover { background: var(--mint-2); }
.lang a[aria-current="true"] { background: var(--leaf); color: #fff; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; cursor: pointer; }

@media (max-width: 1365px) { .main-nav { gap: 4px 12px; } .header-row { gap: 18px; } }
@media (max-width: 1279px) {
  .header-row { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .main-nav { order: 10; flex-basis: 100%; display: none; flex-direction: column; gap: 0; padding: 8px 0 12px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-tools { order: 5; }
}
@media (max-width: 640px) {
  .brand img { height: 40px; width: 120px; }
  .brand-tag { display: none; }
  .header-tools .btn { display: none; }
  .header-row { gap: 12px; }
}
@media (max-width: 400px) {
  .brand img { height: 35px; width: 105px; }
  .header-row { gap: 8px; }
  .lang svg { display: none; }
  .lang a { min-width: 32px; padding: 0 6px; }
}

/* Hero / banners */
.hero { position: relative; overflow: hidden; background: var(--leaf-dark); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,61,38,.95) 0%, rgba(23,61,38,.80) 48%, rgba(23,61,38,.28) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 60px; line-height: 1.05; color: #fff; max-width: 740px; }
.hero p.hero-text { font-size: 19px; line-height: 1.6; color: var(--on-dark-2); max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.badges { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 820px; border-top: 1px solid rgba(255,255,255,.22); }
.badges li { display: flex; align-items: center; gap: 12px; padding: 20px 16px 4px 0; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; }
.banner .hero-inner { padding-top: 68px; padding-bottom: 68px; gap: 14px; }
.banner h1 { font-size: 52px; line-height: 1.08; }
.banner p.hero-text { font-size: 18px; }
.banner.plain::after { display: none; }

.crumbs { padding-top: 18px; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--leaf); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* Section heads */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .lead { max-width: 640px; }

/* Layout: sidebar + content */
.with-side { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.side { flex: 1 1 240px; max-width: 290px; display: flex; flex-direction: column; gap: 22px; }
.main-col { flex: 999 1 560px; min-width: 0; }
@media (max-width: 860px) { .side { max-width: none; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cat-list { padding: 10px; }
.cat-list .panel-title { padding: 12px 14px; font-weight: 700; font-size: 16px; color: var(--leaf-dark); }
.cat-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 15px; text-decoration: none; cursor: pointer; text-align: left; }
.cat-item:hover { background: var(--mint-2); color: var(--ink); }
.cat-item .ico { display: flex; align-items: center; gap: 10px; }
.cat-item .count { font-size: 13px; color: var(--muted); background: var(--mint-2); border-radius: 999px; padding: 2px 10px; }
.cat-item[aria-pressed="true"] { background: var(--leaf); color: #fff; font-weight: 600; }
.cat-item[aria-pressed="true"] .count { background: rgba(255,255,255,.2); color: #fff; }
.promo img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.promo .pad { padding: 20px 20px 22px; }
.promo h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--leaf-dark); margin-bottom: 8px; }
.promo p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.promo a { font-weight: 600; font-size: 14px; }

/* Product cards */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(23,61,38,.12); transform: translateY(-2px); }
.card .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--leaf); }
.latin { font-style: italic; font-size: 14px; color: var(--leaf); margin-top: 4px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--muted); }
.facts li { display: flex; gap: 8px; align-items: flex-start; }
.facts svg { flex: none; margin-top: 2px; }
.facts b { font-weight: 600; color: var(--ink); }
.card-desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.card .actions .btn { white-space: nowrap; }
.card .actions .btn-primary { flex: 1 1 auto; font-size: 14px; padding: 10px; min-height: 44px; }
.card .actions .btn-outline { flex: 1 0 auto; font-size: 14px; padding: 10px 14px; min-height: 44px; border-color: rgba(47,107,63,.45); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.stats .v { display: block; font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--gold); line-height: 1.2; }
.stats .l { font-size: 15px; color: var(--on-dark); }

/* Tiles & cards */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.tile:hover { box-shadow: 0 14px 34px rgba(23,61,38,.12); color: inherit; }
.tile img { width: 100%; height: 220px; object-fit: cover; }
.tile .pad { padding: 20px; }
.tile h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--leaf-dark); margin-bottom: 6px; }
.tile p { font-size: 14px; color: var(--muted); }
.box { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.box h3 { font-size: 18px; color: var(--leaf-dark); margin-bottom: 8px; }
.box p { font-size: 14px; color: var(--muted); }
.box.icon { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.box.icon h3 { font-size: 20px; margin: 0; }
.box.icon p { font-size: 15px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > .narrow { flex: 1 1 320px; max-width: 420px; }
.split > .wide { flex: 999 1 520px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* Quote band */
.quote-band { background: var(--mint); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
#custom-quote { scroll-margin-top: 110px; }
.quote-band > img { flex: 1 1 280px; max-width: 380px; min-height: 220px; object-fit: cover; }
.quote-band > img.quote-container { flex: 0 1 320px; width: 100%; height: auto; min-height: 0; aspect-ratio: 1122 / 1402; object-fit: contain; align-self: center; }
.quote-band > img.quote-container.plain { aspect-ratio: 1122 / 1024; }
.certificate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.certificate-card { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); overflow: hidden; min-width: 0; }
.certificate-preview { display: block; background: #fff; }
.certificate-preview img { width: 100%; height: auto; aspect-ratio: 990 / 1400; object-fit: contain; }
.certificate-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.certificate-body h3 { font-size: 21px; line-height: 1.3; }
.certificate-body > p { color: var(--muted); font-size: 14px; }
.certificate-body dl { display: grid; gap: 10px; margin: 0 0 4px; font-size: 13px; }
.certificate-body dl > div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.certificate-body dt { color: var(--muted); }
.certificate-body dd { margin: 0; overflow-wrap: anywhere; }
.certificate-body > .btn { margin-top: auto; }
@media (max-width: 900px) { .certificate-grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin: 0 auto; } }
.quote-band .pad { flex: 999 1 420px; padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.quote-band h2 { font-family: var(--serif); font-weight: 600; font-size: 36px; color: var(--leaf-dark); margin-bottom: 10px; }
.quote-band p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 520px; }
.quote-band .eyebrow { color: var(--leaf); }
@media (max-width: 700px) { .quote-band > img { max-width: none; } .quote-band .pad { padding: 28px 24px; } }
@media (max-width: 700px) { .quote-band > img.quote-container { flex-basis: 100%; max-width: 100%; } }

/* Story / media */
.media-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.media-split > * { flex: 1 1 420px; min-width: 0; }
.media-split .stack { display: flex; flex-direction: column; gap: 18px; }
.media-split .rule { margin: 0; }
.rounded { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.float-badge { position: absolute; left: -20px; bottom: -24px; background: var(--leaf); color: #fff; border-radius: var(--radius); padding: 18px 22px; max-width: 240px; }
.float-badge b { display: block; font-family: var(--serif); font-size: 22px; }
.float-badge span { font-size: 14px; color: var(--on-dark); }
@media (max-width: 700px) { .float-badge { left: 12px; } }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.steps .n { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--clay); line-height: 1; }
.steps b { display: block; font-size: 18px; color: var(--leaf-dark); margin-bottom: 4px; }
.steps span.d { font-size: 15px; color: var(--muted); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.process li { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--leaf); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.process .n { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--clay); }
.process h3 { font-size: 19px; color: var(--leaf-dark); }
.process p { font-size: 15px; color: var(--muted); }
.forms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.forms-grid div { border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 22px; }
.forms-grid h3 { font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.forms-grid p { font-size: 14px; color: var(--on-dark); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 280px; object-fit: cover; }
.gallery img[src*="/products/"] { object-fit: contain; background: #fff; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(23,61,38,.88); color: #fff; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 6px; }
.chip-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-weight: 600; font-size: 17px; color: var(--leaf-dark); }

/* Products page */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.field-inline { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; padding: 0 14px; min-height: 46px; font-size: 14px; color: var(--muted); }
.field-inline input, .field-inline select { border: 0; outline: none; background: transparent; font-size: 15px; color: var(--ink); min-width: 0; }
.field-inline input { width: 200px; }
.field-inline select { font-weight: 600; padding: 10px 0; }
.filters { padding: 20px 22px; display: flex; flex-direction: column; gap: 20px; }
.filters .panel-sub { font-weight: 700; font-size: 15px; color: var(--leaf-dark); margin-bottom: 8px; }
.filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.filters li { display: flex; align-items: center; gap: 8px; }
.filters li svg { flex: none; }
.mixed { background: var(--leaf-dark); color: #fff; border-radius: var(--radius); padding: 22px; }
.mixed h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.mixed p { font-size: 14px; color: var(--on-dark); margin-bottom: 16px; }
.results { display: flex; flex-direction: column; gap: 44px; }
.group-head { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; margin-bottom: 18px; }
.group-head h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--leaf-dark); }
.group-head span { font-size: 14px; color: var(--muted); }
.nf-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.empty { padding: 40px; text-align: center; background: var(--paper); border-radius: var(--radius); color: var(--muted); }
[hidden] { display: none !important; }

/* Product page */
.pd { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.pd > * { flex: 1 1 420px; min-width: 0; }
.pd-photo { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pd-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #fff; }
.pd-info { display: flex; flex-direction: column; gap: 22px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--leaf); background: var(--mint); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.pd-info h1 { font-family: var(--serif); font-weight: 600; font-size: 52px; line-height: 1.05; color: var(--leaf-dark); margin: 14px 0 6px; }
.pd-info .latin { font-size: 18px; }
.pd-info .desc { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.opt-label { font-weight: 700; font-size: 15px; color: var(--leaf-dark); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 999px; font-size: 14px; font-weight: 600; padding: 0 18px; min-height: 44px; cursor: pointer; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line-2); }
.chip:hover { border-color: var(--leaf); }
.chip[aria-pressed="true"] { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.kv { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kv div { padding: 16px 18px; border-right: 1px solid var(--line); }
.kv div:last-child { border-right: 0; }
.kv dt { font-size: 13px; color: var(--muted); }
.kv dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs tr { border-bottom: 1px solid var(--line); }
.specs tr:last-child { border-bottom: 0; }
.specs th { text-align: left; padding: 15px 16px 15px 0; width: 42%; color: var(--muted); font-weight: 500; vertical-align: top; }
.specs td { padding: 15px 0; font-weight: 600; }
.quote-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.quote-form.light { background: var(--paper); padding: 34px; gap: 22px; }
.quote-form h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--leaf-dark); margin-bottom: 6px; }
.form-grid { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 16px; }
.form-grid legend { font-weight: 700; font-size: 15px; color: var(--leaf-dark); margin-bottom: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { font-weight: 400; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form-grid input[readonly] { background: var(--mint-2); }
.form-grid textarea { resize: vertical; }
.form-status { font-size: 15px; font-weight: 600; color: var(--leaf); }
.form-error { font-size: 15px; font-weight: 600; color: #a33a1f; background: #fbeee8; border-radius: 8px; padding: 12px 14px; }
.form-error a { font-weight: 700; color: inherit; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.btn-whatsapp { background: #fff; color: #11733a; border-color: #16853f; }
.btn-whatsapp img { filter: invert(33%) sepia(62%) saturate(640%) hue-rotate(96deg) brightness(92%); }
.btn-whatsapp:hover { background: #16853f; color: #fff; }
.btn-whatsapp:hover img { filter: brightness(0) invert(1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); font-size: 14px; }

/* Contact */
.info-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.info-card h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--leaf-dark); }
.info-line { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.info-line .circle { width: 46px; height: 46px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; flex: none; }
.info-line small { display: block; font-size: 13px; color: var(--muted); }
.info-line strong { font-size: 16px; word-break: break-all; }
.help { background: var(--mint); border-radius: var(--radius-lg); padding: 28px; }
.help h3 { font-size: 17px; color: var(--leaf-dark); margin-bottom: 14px; }
.help ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.help li { display: flex; gap: 10px; }
.help svg { flex: none; margin-top: 3px; }

/* Footer */
.site-footer { background: var(--leaf-dark); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.footer-grid h2 { font-size: 15px; color: #fff; margin-bottom: 6px; font-family: var(--sans); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact-link img { flex: none; filter: brightness(0) invert(1); }
.header-whatsapp { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #16853f; }
.header-whatsapp img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.header-whatsapp:hover { background: var(--leaf-dark); }
.whatsapp-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #16853f; border: 2px solid #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); text-decoration: none; }
.whatsapp-float:hover { background: #16853f; }
.whatsapp-float > img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.whatsapp-tooltip { position: absolute; right: calc(100% + 12px); width: max-content; max-width: 210px; padding: 8px 12px; border-radius: 6px; background: var(--leaf-dark); color: #fff; font-size: 13px; line-height: 1.4; opacity: 0; visibility: hidden; pointer-events: none; }
.whatsapp-float:hover .whatsapp-tooltip, .whatsapp-float:focus-visible .whatsapp-tooltip { opacity: 1; visibility: visible; }
@media (max-width: 1480px) { .whatsapp-float { display: none; } .header-whatsapp { display: inline-flex; } }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 8px; width: fit-content; }
.footer-logo img { height: 72px; width: 216px; object-fit: contain; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 14px; }
.footer-bottom a { color: var(--on-dark); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Responsive type */
@media (max-width: 900px) {
  .hero h1 { font-size: 44px; }
  .banner h1, .pd-info h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero-inner { padding-top: 64px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 36px; }
  .banner h1, .pd-info h1 { font-size: 34px; }
  .h2 { font-size: 28px; }
  .quote-band h2 { font-size: 28px; }
  .stats .v { font-size: 36px; }
  .field-inline input { width: 140px; }
  .quote-form, .quote-form.light { padding: 22px 18px; }
}
/* Bring the home catalogue into the opening viewport. */
.home-hero .hero-inner { padding-top: 24px; padding-bottom: 20px; gap: 10px; }
.home-hero .eyebrow { margin-bottom: 0; font-size: 12px; letter-spacing: 0; }
.home-hero h1 { font-size: 38px; line-height: 1.15; max-width: 1000px; }
.home-hero p.hero-text { font-size: 16px; line-height: 1.5; max-width: 920px; }
.home-hero .hero-actions { margin-top: 0; gap: 12px; }
.home-hero .hero-actions .btn { font-size: 14px; min-height: 44px; padding: 10px 18px; }
.home-hero .badges { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: none; margin-top: 4px; padding-top: 10px; }
.home-hero .badges li { padding: 0; gap: 8px; font-size: 13px; }
.home-hero .badges svg { width: 20px; height: 20px; flex: none; }
.home-products { padding-top: 22px; padding-bottom: 56px; }
.home-products .head-row { align-items: center; gap: 10px 20px; margin-bottom: 16px; }
.home-products .h2 { font-size: 28px; }
.home-viewall { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 600; text-decoration: none; }
.home-viewall svg { flex: none; }
.home-products .with-side { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
.home-products .grid-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.home-products .side { max-width: none; min-width: 0; }
.home-products .side > .lead { font-size: 14px; line-height: 1.6; }
@media (max-width: 1000px) {
  .home-products .with-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .home-hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .home-hero .hero-inner { padding-top: 16px; padding-bottom: 16px; gap: 9px; }
  .home-hero h1 { font-size: 28px; }
  .home-hero p.hero-text { display: none; }
  .home-hero .hero-actions { gap: 8px; }
  .home-hero .hero-actions .btn { font-size: 13px; padding: 9px 12px; }
  .home-hero .badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 8px; }
  .home-hero .badges li { font-size: 12px; }
  .home-products { padding-top: 16px; padding-bottom: 40px; }
  .home-products .head-row { gap: 4px 12px; margin-bottom: 12px; }
  .home-products .h2 { font-size: 24px; }
  .home-viewall { font-size: 13px; min-height: 28px; gap: 6px; }
  .home-products .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-products .card .body { padding: 12px; gap: 10px; }
  .home-products .card h3 { font-size: 18px; overflow-wrap: anywhere; }
  .home-products .card .latin { font-size: 12px; }
  .home-products .card .actions { flex-direction: column; }
  .home-products .card .actions .btn { font-size: 13px; padding: 9px 8px; }
}
@media (max-width: 360px) {
  .home-hero h1 { font-size: 24px; }
  .home-products .head-row { flex-wrap: nowrap; gap: 8px; }
  .home-products .head-row > div { min-width: 0; }
  .home-products .h2 { font-size: 22px; }
  .home-viewall { max-width: 50%; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Cookie consent (shown only when Google Analytics is configured) */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px 24px; padding: 18px 20px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 10px 32px rgba(0, 0, 0, .18); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; line-height: 1.5; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn { min-height: 40px; padding: 8px 18px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: #fff; }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
}
