/* Public showcase - the site's own look: Watta green, Playfair Display for
   headings and Plus Jakarta Sans for text (both already loaded by the live
   site). Light only, like the rest of wattaindustries.com. */
:root {
  --green: #2d7a4f; --green-deep: #1f5a39; --green-ink: #123d27; --green-soft: #eaf4ee; --green-line: #cfe3d6;
  --gold: #f3b82f; --gold-ink: #5a3d00;
  --ink: #16201b; --ink-2: #4a5a52; --ink-3: #5c6b64;
  --line: #e3ebe6; --paper: #ffffff; --paper-2: #f6f8f7;
  --radius: 16px; --radius-s: 10px;
  --shadow: 0 1px 2px rgba(18, 61, 39, .06), 0 12px 32px -18px rgba(18, 61, 39, .28);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", -apple-system, "Segoe UI", system-ui, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
img { max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 8px; }
.eyebrow.light { color: #bfe3cc; }
.lead { font-size: 19px; color: var(--ink-2); }
.note { color: var(--ink-3); font-size: 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.preview-flag { background: #fff4d6; color: var(--gold-ink); text-align: center; font-size: 12.5px; font-weight: 600; padding: 6px 12px; letter-spacing: .02em; }

/* The header and the footer live in chrome.css (one header, one footer for
   the whole site, shared with the app - 30 Sep 2026). The app's thin
   scrollbar too, so the page is as wide as the app's and the header does not
   shift sideways when a visitor moves between the two. */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f2f8f5; }
::-webkit-scrollbar-thumb { background: #009e544d; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #009e5480; }

/* ------------------------------------------------------------ buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 2px solid transparent; transition: transform .12s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-line { border-color: var(--green); color: var(--green); background: #fff; }

/* ------------------------------------------------------- breadcrumbs -- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 22px 0 18px; font-size: 13.5px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.about-hero .crumbs, .about-hero .crumbs a, .about-hero .crumbs li + li::before { color: #cfe8d8; }

/* ------------------------------------------------------ product page -- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: 96px; }
.pd-main { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pd-thumbs { list-style: none; display: flex; gap: 10px; padding: 0; margin: 12px 0 0; flex-wrap: wrap; }
.pd-thumbs button { width: 74px; height: 74px; padding: 6px; border: 2px solid var(--line); border-radius: var(--radius-s); background: #fff; cursor: pointer; }
.pd-thumbs button.on { border-color: var(--green); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-brand { display: inline-flex; align-items: center; height: 56px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; }
.pd-brand img { height: 100%; width: auto; }
.sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 22px; }
.sizes-label { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.sizes a { padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink); }
.sizes a:hover { border-color: var(--green); }
.sizes a.on { background: var(--green); border-color: var(--green); color: #fff; }
.sizes.small a { font-size: 13px; padding: 5px 11px; }
.sizes.small a span { color: var(--ink-3); font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 22px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: #fff; padding: 12px 16px; }
.facts dt { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.facts dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
/* An odd number of facts: the last one takes the whole row instead of leaving a blank box. */
.facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cta { background: var(--green-soft); border: 1px solid var(--green-line); border-radius: var(--radius); padding: 22px 24px; margin: 8px 0 24px; }
.cta h2 { font-size: 22px; margin-bottom: 6px; }
.cta p { color: var(--ink-2); font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.cta-small { font-size: 13.5px; margin: 0; }
.pd-more-info { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; margin: 40px 0; padding-top: 32px; border-top: 1px solid var(--line); }
.pd-text p { color: var(--ink-2); }
.ingredients { font-size: 15px; }
.pd-side h2 { font-size: 20px; margin-top: 4px; }
.benefits { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.benefits li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.benefits img { width: 28px; height: 28px; object-fit: contain; }
.seals { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.seals li { height: 64px; min-width: 64px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; }
.seals img { max-height: 46px; max-width: 110px; }
.seals.wide li { flex-direction: column; height: auto; width: 150px; gap: 8px; padding: 14px 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.seals.wide img { height: 54px; }
.logi { margin: 0; }
.logi div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.logi dt { color: var(--ink-3); }
.logi dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.related { margin: 20px 0 56px; }

/* ------------------------------------------------------------- cards -- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.card-body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.card-name { font-weight: 700; line-height: 1.3; }
.card-meta { font-size: 13px; color: var(--ink-3); }

/* -------------------------------------------------------- brand page -- */
.brand-hero { background: linear-gradient(180deg, var(--green-soft), #fff 85%); padding-bottom: 28px; }
.brand-hero-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 12px; }
.brand-plate { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 36px; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.brand-plate img { max-height: 170px; width: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 18px 0; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stats dt { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.stats dd { margin: 0 0 2px; font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--green-deep); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats.big dd { font-size: 40px; }
/* A stat that is words, not a number, is set smaller so it does not break up. */
.stats dd.txt { font-family: var(--body); font-size: 16px; line-height: 1.35; padding-top: 4px; }
.range { padding-top: 24px; padding-bottom: 12px; }
.range-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.chip span { color: var(--ink-3); font-weight: 500; margin-left: 2px; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.chip.on span { color: #d6efe0; }
.fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.fam { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.fam[hidden] { display: none; }
.fam-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--paper-2); }
.fam-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.fam-body { padding: 14px 16px 16px; }
.fam-body h3 { font-family: var(--body); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.fam-body h3 a { color: var(--ink); text-decoration: none; }
.fam-body h3 a:hover { color: var(--green); }
.fam .sizes { margin: 0; }
.page-title { margin-top: 4px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 10px 0 56px; }
.brand-grid.compact { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); margin-bottom: 0; }
.brand-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; text-align: center; }
.brand-tile:hover { border-color: var(--green); box-shadow: var(--shadow); }
.brand-tile-img { height: 56px; display: flex; align-items: center; }
.brand-tile-img img { max-height: 56px; max-width: 120px; }
.brand-tile-name { font-weight: 700; font-size: 14px; }
.brand-tile-n { font-size: 12.5px; color: var(--ink-3); }

/* -------------------------------------------------------- about page -- */
.about-hero { background: radial-gradient(1200px 400px at 85% -10%, #3c9a66 0%, transparent 60%), var(--green-deep); color: #fff; padding: 6px 0 46px; }
.about-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(34px, 5vw, 56px); }
.about-hero .lead { color: #d8efe1; max-width: 62ch; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: start; margin: 48px auto; }
.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.panel h2 { font-size: 21px; margin-top: 6px; }
.panel p { color: var(--ink-2); font-size: 15px; }
.green-band { background: var(--green-ink); color: #fff; padding: 8px 0; margin-top: 12px; }
.green-band h2 { color: #fff; }
.green-band p { color: #cfe8d8; }
.stats.onGreen div { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.stats.onGreen dd { color: var(--gold); }
.stats.onGreen dt { color: #cfe8d8; }

/* ------------------------------------------- Why Us (on the About page) -- */
.why-us { padding-block: 40px 8px; }
.why-us h2 { color: var(--green-deep); }
.why-us p { font-size: 17px; color: var(--ink-2); }

/* --------------------------------------------- catalog home, indexes -- */
.hub-hero { padding-top: 40px; }
.hub-hero .cta-row { margin-top: 22px; }
.block { margin-block: 44px; }
.block > h2 a { color: inherit; text-decoration: none; }
.block > h2 a:hover { color: var(--green); }
.muted-n { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-tile { display: grid; grid-template-rows: auto auto 1fr; gap: 2px; padding: 12px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); }
.cat-tile:hover { border-color: var(--green); box-shadow: var(--shadow); }
.cat-img { aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; overflow: hidden; }
.cat-img img { max-height: 88%; max-width: 88%; object-fit: contain; }
.cat-name { font-weight: 700; font-size: 15px; }
.cat-n { font-size: 12.5px; color: var(--ink-3); }
.import-list { margin: 0 0 1em; padding-left: 1.2em; max-width: 68ch; }
.import-list li { margin-bottom: 6px; }
.import-list li::marker { color: var(--green); }

/* ------------------------------------------------------------- hub -- */
.hub { padding-block: 56px; max-width: 860px; }
.hub-list { padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.hub-list a { display: grid; gap: 4px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; }
.hub-list a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.hub-list strong { font-family: var(--display); font-size: 22px; color: var(--green-deep); }
.hub-list span { color: var(--ink-2); }

/* -------------------------------------------------------- responsive -- */
@media (max-width: 980px) {
  .pd, .pd-more-info, .brand-hero-in, .split { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
