/* ==========================================================================
   Bayzons Garden — "Soil profile"

   The anchor is a soil profile drawing: horizontal bands of compost, coir and
   mineral stacked the way they sit in the ground. Each card carries that band
   under its image, and an NPK triad — the three numbers a grower actually
   reads before anything else on the sack.
   ========================================================================== */

:root {
  --font-display: 'Bitter', Georgia, serif;
  --font-body:    'Mulish', system-ui, sans-serif;
  --font-util:    'Mulish', system-ui, sans-serif;

  --display-weight: 600; --display-tracking: -.015em; --brand-weight: 700;
  --eyebrow-tracking: .17em; --btn-tracking: .02em;
  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px; --radius-lg: 6px;
  --radius-btn: 5px; --radius-pill: 3px;
  --card-min: 252px; --card-gap: 1.25rem;
  --btn-shadow: 0 6px 18px rgb(74 55 32 / .3);
}

/* ---------- announce & header ---------- */
.announce { font-family: var(--font-util); font-size: .7rem; letter-spacing: .05em; }
.hdr { border-bottom: 1px solid var(--rule-strong); }
.brand__sub { font-family: var(--font-util); letter-spacing: .2em; color: var(--accent); font-weight: 700; }
.nav a { font-size: .87rem; }
.searchbox input { border-radius: var(--radius-sm); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.6rem, 1.5rem + 4.5vw, 5.4rem);  }
.hero__in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
@media (min-width: 940px) { .hero__in { grid-template-columns: 1.03fr .97fr; } }
.hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 4.1rem); margin-bottom: .55rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__lede { font-size: clamp(1rem, .95rem + .4vw, 1.16rem); max-width: 47ch; color: var(--muted); line-height: 1.68; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero__proof { list-style: none; margin: 2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--rule-strong); display: grid; gap: .55rem; }
.hero__proof li { font-size: .84rem; color: var(--muted); display: grid; grid-template-columns: 16px 1fr; gap: .65rem; align-items: start; }
.hero__proof li::before { content: "■"; color: var(--accent); font-weight: 700; }
.hero__figure { position: relative; margin: 0; }
.hero__figure img { width: 100%; aspect-ratio: 5 / 4.2; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--rule-strong); }
.hero__stat { position: absolute; left: -12px; bottom: 20px; background: var(--primary); color: #F3EADA; padding: .75rem 1.05rem; border-radius: var(--radius-sm); display: grid; gap: .1rem; box-shadow: 0 10px 26px rgb(0 0 0 / .22); }
.hero__stat b { font-family: var(--font-display); font-size: 1.65rem; line-height: 1; }
.hero__stat span { font-family: var(--font-util); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; opacity: .82; }

/* ---------- facts ---------- */
.facts { background: var(--surface); color: var(--ink); border-block: 1px solid var(--rule-strong); }
.facts__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.fact { padding: 1.35rem 1.2rem; display: grid; gap: .26rem; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-family: var(--font-util); font-size: .93rem; font-weight: 700; color: var(--accent); }
.fact span { font-size: .79rem; opacity: .8; line-height: 1.5; }

/* ---------- sections ---------- */
.eyebrow { font-family: var(--font-util); }
.section-head { border-bottom: 1px solid var(--rule-strong); padding-bottom: .9rem; }
.section-head__link { font-family: var(--font-util); font-size: .77rem; text-decoration: none; color: var(--primary); font-weight: 600; }
.section-head__link:hover { color: var(--accent); }

/* ---------- categories ---------- */
.cats { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.cat { text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cat:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 14px 30px rgb(36 27 16 / .16); }
.cat__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat__body { padding: .95rem 1.05rem 1.1rem; display: grid; gap: .3rem; }
.cat__body strong { font-family: var(--font-display); font-size: 1.06rem;  }
.cat__body em { font-style: normal; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.cat__n { font-family: var(--font-util); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: .28rem; font-weight: 700; }

/* ---------- page head ---------- */
.pagehead { padding: clamp(1.7rem, 1rem + 2.4vw, 3rem) 0 1.5rem; border-bottom: 1px solid var(--rule-strong); margin-bottom: 2rem; }
.pagehead h1 { margin-bottom: .35rem; }
.pagehead__lede { color: var(--muted); max-width: 62ch; margin: 0; }
.crumbs { font-family: var(--font-util); font-size: .71rem; color: var(--muted); margin-bottom: .95rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs span { opacity: .4; margin: 0 .35rem; }
.crumbs b { color: var(--ink-strong); font-weight: 600; }

/* ---------- shop ---------- */
.shopside__block { margin-bottom: 1.6rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--rule); }
.shopside__block h3 { font-family: var(--font-util); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facets { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.facets a { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem .55rem; text-decoration: none; color: var(--ink); font-size: .86rem; border-radius: var(--radius-xs); border-left: 2px solid transparent; }
.facets a:hover { background: var(--tint); }
.facets a.on { background: var(--tint); border-left-color: var(--accent); font-weight: 700; }
.facets span { font-family: var(--font-util); font-size: .68rem; color: var(--muted); }
.shopside__note { margin-top: 1rem; font-size: .79rem; }
.shopbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule-strong); font-family: var(--font-util); font-size: .78rem; }
.shopbar__search { display: flex; gap: .45rem; }
.shopbar__search input { width: 200px; font-size: .83rem; padding: .46rem .8rem; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; align-items: start; } }
.gallery__main img { border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); }
.pdp__imgnote { font-family: var(--font-util); font-size: .68rem; color: var(--muted); margin-top: .65rem; }
.pdp__variety { font-family: var(--font-util); font-size: .82rem; color: var(--muted); margin-bottom: .9rem; }
.pdp__variety b { color: var(--accent); }
.pdp__desc { font-size: 1.01rem; line-height: 1.7; }
.pdp__pricebox { border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); padding: 1.15rem 1.25rem; margin: 1.5rem 0; background: var(--surface); border-left: 4px solid var(--accent); }
.pdp__price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.pdp__price b { font-family: var(--font-display); font-size: 2.1rem; line-height: 1;  }
.pdp__price s { color: var(--muted); font-size: 1rem; }
.pdp__price em { font-style: normal; font-family: var(--font-util); font-size: .68rem; background: var(--accent); color: var(--accent-ink); padding: .2rem .5rem; border-radius: var(--radius-xs); font-weight: 700; }
.pdp__packline { font-family: var(--font-util); font-size: .76rem; color: var(--muted); margin: .65rem 0 .45rem; }
.pdp__taxline { font-size: .81rem; color: var(--muted); margin: 0; line-height: 1.58; }
.pdp__buy { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.taxnotice { border: 1px solid var(--rule-strong); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); background: var(--tint); padding: .95rem 1.05rem; margin: 1.5rem 0; font-family: var(--font-util); font-size: .72rem; }
.taxnotice__row { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.taxnotice__row span { color: var(--muted); }
.taxnotice__row b { text-align: right; color: var(--ink-strong); }
.taxnotice__note { margin: .65rem 0 0; padding-top: .65rem; border-top: 1px solid var(--rule-strong); color: var(--muted); font-size: .67rem; line-height: 1.6; }
.pdp__assure { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .55rem; }
.pdp__assure li { font-size: .86rem; display: grid; grid-template-columns: 80px 1fr; gap: .9rem; }
.pdp__assure b { font-family: var(--font-util); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.pdp__detail { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.pdp__panel { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); padding: 1.25rem 1.35rem; }
.pdp__panel h2 { font-size: 1.08rem; margin-bottom: .85rem; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }
.speclist dt { font-family: var(--font-util); font-size: .75rem; }

/* ---------- trust / cta ---------- */
.trustband { background: var(--tint); border-block: 1px solid var(--rule-strong); }
.trust { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust article { padding: 1.25rem; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); }
.trust h3 { font-size: 1rem; margin-bottom: .5rem; }
.trust p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.62; }
.cta { background: var(--primary); color: #DFD3BE; }
.cta__in { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between; }
.cta h2 { color: #F5EEE0; margin: 0 0 .4rem; }
.cta p { margin: 0; opacity: .82; max-width: 52ch; }

/* ---------- misc ---------- */
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .81rem; text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--danger); }
.lineitem__name { font-family: var(--font-display); font-size: 1rem; text-decoration: none; color: inherit; }
.lineitem__ctrl { display: flex; gap: 1.1rem; align-items: center; margin-top: .75rem; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.25rem; }
.summary { border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); border-top: 3px solid var(--accent); }
.summary__h { font-size: 1.02rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule-strong); margin-bottom: .75rem; }
.summary__items { display: grid; gap: .75rem; padding-bottom: .95rem; margin-bottom: .55rem; border-bottom: 1px solid var(--rule); }
.summary__item { display: grid; grid-template-columns: 44px 1fr auto; gap: .65rem; align-items: center; }
.summary__item img { border-radius: var(--radius-xs); }
.summary__item b { display: block; font-size: .83rem; font-weight: 600; }
.summary__row span, .summary__row .num { font-family: var(--font-util); font-size: .82rem; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: .85rem 0; }
.authgrid { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .authgrid { grid-template-columns: 1fr 1fr; } }
.supportgrid { display: grid; gap: 1.4rem; }
@media (min-width: 980px) { .supportgrid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius-lg); }
.panel--warn { border-left: 4px solid var(--warn); }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .46rem; font-size: .88rem; }
.msg { border-left: 2px solid var(--rule-strong); padding: .5rem 0 .5rem .85rem; margin-top: .75rem; }
.msg--support { border-left-color: var(--primary); }
.policyswitch { margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); display: grid; gap: .1rem; }
.policyswitch a { font-size: .85rem; text-decoration: none; color: var(--muted); padding: .3rem 0; }
.policyswitch a:hover, .policyswitch a.on { color: var(--primary); font-weight: 700; }
.foot h4 { font-family: var(--font-util); }
.foot__paylist b { font-family: var(--font-util); }

/* ==========================================================================
   SIGNATURE — the soil-profile band and NPK triad
   ========================================================================== */
.pcard { background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 6px;
         overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pcard:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 16px 32px rgb(36 27 16 / .17); }

/* Stacked horizontal bands, like a cut through the soil the product goes into. */
.pcard__strata { display: grid; grid-template-columns: 1fr; height: 7px; }
.pcard__strata i { display: block; height: 7px; }
.pcard__strata { grid-auto-flow: column; }
.pcard__strata i:nth-child(1) { background: #6B4E2A; }
.pcard__strata i:nth-child(2) { background: #8A6B3D; }
.pcard__strata i:nth-child(3) { background: var(--accent); }

.pcard__body { padding: .85rem .95rem 1rem; gap: .3rem; }
.pcard__crop { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
               color: var(--accent); font-weight: 800; }
.pcard__variety { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.24;
                  margin: 0; font-weight: 600; }
.pcard__variety a { color: inherit; text-decoration: none; }
.pcard__variety a:hover { color: var(--primary); }
.pcard__desc { font-size: .81rem; color: var(--muted); margin: .2rem 0 .6rem; line-height: 1.5;
               display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* NPK triad — three cells, the first thing a grower reads on a sack. */
.pcard__npk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
              background: var(--rule-strong); border: 1px solid var(--rule-strong);
              border-radius: 3px; overflow: hidden; margin: 0 0 .55rem; }
.pcard__npk div { background: var(--tint); padding: .3rem .2rem; text-align: center; }
.pcard__npk dt { font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard__npk dd { margin: 0; font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--ink-strong); }
.pcard__meta { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .7rem; }
.pcard__meta span { font-size: .62rem; font-weight: 700; padding: .2rem .45rem; border-radius: 2px;
                    background: var(--tint); color: var(--muted); }
.pcard__price { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; }
.pcard__price small { display: block; font-size: .62rem; color: var(--muted); font-weight: 400; margin-top: .2rem; }
.pcard__out { font-size: .68rem; color: var(--danger); font-weight: 700; }
