/* nutriwealth: colours and type from the archived Shopify theme (styles.scss.css, 2021).
   Green #8dc348, dark green #487e01, pale green #dcf8b8, text #333333, Ubuntu + Open Sans. */
:root {
  --green: #8dc348;
  --green-dark: #487e01;
  --green-pale: #dcf8b8;
  --text: #333333;
  --muted: #666666;
  --line: #e6e6e6;
  --bg-alt: #f6f9f1;
  --font-head: Ubuntu, "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --pad: 20px;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font-body); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .6em; color: #222; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }

.announce { margin: 0; padding: 8px var(--pad); background: var(--green-dark); color: #fff; text-align: center; font-size: 14px; }
.header { border-bottom: 1px solid var(--line); background: #fff; }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo img { width: 170px; }
.nav ul { list-style: none; display: flex; gap: 6px 26px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; padding: 6px 0; display: block; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--green); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font: inherit; cursor: pointer; }
@media (max-width: 799px) {
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

.section { padding: 48px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: 24px; margin: 0 0 22px; text-align: center; }
.section__title--left { text-align: left; font-size: 20px; }
.page-title { font-size: 32px; margin-bottom: 12px; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 6px; }
.btn { display: inline-block; background: var(--green-dark); color: #fff; text-decoration: none; padding: 12px 26px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 500; }
.btn:hover { background: #355d01; color: #fff; }
.btn--ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green-dark); }
.btn--ghost:hover { background: var(--green-dark); color: #fff; }

.hero { background: var(--bg-alt); padding: 40px 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; }
.hero__text h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.hero__text p { font-size: 18px; }
.hero__img img { width: 100%; border-radius: var(--radius); }
@media (max-width: 799px) { .hero__in { grid-template-columns: 1fr; gap: 24px; } }

.brands { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brands a { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; height: 130px; background: #fff; }
.brands img { max-height: 90px; width: auto; object-fit: contain; }
@media (max-width: 599px) { .brands { grid-template-columns: 1fr; } }

.grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
@media (max-width: 699px) { .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .card a { padding: 10px; } }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color .15s; }
.card a:hover { border-color: var(--green); }
.card__img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.card__img img { max-height: 100%; object-fit: contain; }
.card__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card__name { font-family: var(--font-head); font-size: 15px; line-height: 1.35; margin: 4px 0 8px; flex: 1; }
.card__price { font-weight: 700; color: var(--green-dark); }

.tiles, .ranges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tile, .range { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; }
.tile img, .range img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.tile:hover img, .range:hover img { transform: scale(1.03); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.65)); font: 500 24px var(--font-head); }
.range__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; flex-direction: column; }
.range__text strong { font: 500 26px var(--font-head); }
@media (max-width: 699px) { .tiles, .ranges { grid-template-columns: 1fr; } }

.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.menu-cols h3 { font-size: 18px; border-bottom: 2px solid var(--green); padding-bottom: 6px; }
.menu-cols ul { list-style: none; }
.menu-cols li { padding: 3px 0; }
.menu-cols a { text-decoration: none; color: var(--text); }
.menu-cols a:hover { color: var(--green-dark); text-decoration: underline; }

.about-teaser { text-align: center; max-width: 760px; }

.posts { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.posts a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.posts img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.posts strong { font: 500 19px/1.3 var(--font-head); color: #222; }
.posts a:hover strong { color: var(--green-dark); }
.posts span { color: var(--muted); font-size: 15px; }

.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.lead { max-width: 820px; color: var(--muted); }
.count { color: var(--muted); font-size: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chips a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); background: #fff; }
.chips a:hover { border-color: var(--green); color: var(--green-dark); }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; margin-bottom: 48px; }
.product__gallery > img { border: 1px solid var(--line); border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.product__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.product__thumbs img { width: 90px; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; object-fit: contain; }
.product__brand { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 4px; }
.product__name { font-size: 28px; }
.product__price { font-size: 24px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.product__price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.product__note { display: inline-block; background: var(--green-pale); padding: 6px 12px; border-radius: var(--radius); font-size: 14px; }
.product__cols { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 799px) { .product { grid-template-columns: 1fr; gap: 24px; } }

.prose { overflow-wrap: anywhere; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.prose h3, .prose h4 { font-size: 18px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; font-size: 15px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.meta { color: var(--muted); font-size: 14px; }
.post__img { border-radius: var(--radius); margin: 10px 0 24px; width: 100%; }

.footer { background: #263016; color: #e8eedd; padding: 44px 0 20px; font-size: 15px; }
.footer a { color: #e8eedd; }
.footer a:hover { color: var(--green); }
.footer h2 { color: #fff; font-size: 17px; }
.footer ul { list-style: none; }
.footer li { padding: 3px 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer__grid img { width: 140px; background: #fff; padding: 8px 10px; border-radius: var(--radius); margin-bottom: 12px; }
.footer__note { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; font-size: 13px; color: #c4cdb6; }
@media (max-width: 699px) { .footer__grid { grid-template-columns: 1fr; } }
