/* ==========================================================================
   Buyvora Garden — "Bloom plate"

   The anchor is the herbarium sheet: a specimen mounted on dark board with a
   small typed label pinned beside it. Going dark instead of the usual pastel
   garden cream does two things — the flower photography carries all the
   colour, and the label reads as a record rather than a price ticket.
   ========================================================================== */

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

  --display-weight: 600;
  --display-tracking: -0.022em;
  --brand-weight: 600;
  --eyebrow-tracking: .22em;
  --btn-tracking: .04em;

  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px;
  --radius-lg: 4px; --radius-btn: 999px; --radius-pill: 999px;
  --card-min: 262px; --card-gap: 1.7rem;
  --btn-shadow: 0 8px 26px rgb(242 84 125 / .32);
}

/* Fraunces has an optical-size axis and a "wonk" axis; the display setting
   makes the headline genuinely a display cut rather than scaled body text. */
h1, h2, .brand__name, .hero__stat b, .pcard__price {
  font-variation-settings: 'SOFT' 40, 'WONK' 1, 'opsz' 100;
}

body {
  background-image:
    radial-gradient(ellipse 70% 50% at 15% -5%, color-mix(in srgb, var(--primary) 15%, transparent), transparent 60%),
    radial-gradient(ellipse 60% 45% at 95% 8%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 62%);
  background-repeat: no-repeat;
}

/* ---------- announce & header ---------- */

.announce { font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .68rem; }
.hdr { border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.brand__name { font-size: 1.34rem; letter-spacing: -.01em; }
.brand__sub { color: var(--primary); letter-spacing: .26em; font-weight: 700; }
.nav a { font-size: .88rem; letter-spacing: .01em; }
.nav a:hover { border-bottom-color: var(--primary); }
.searchbox input { background: var(--surface); border-color: var(--rule-strong); }
.searchbox input::placeholder { color: var(--muted); }
.burger span { background: var(--ink); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.8rem, 1.6rem + 5vw, 6rem); }
.hero__in { display: grid; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 940px) { .hero__in { grid-template-columns: .96fr 1.04fr; } }

.hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1.02; margin-bottom: .7rem; }
.hero h1 em {
  font-style: italic; color: var(--primary);
  font-variation-settings: 'SOFT' 60, 'WONK' 1, 'opsz' 120;
}
.hero__lede { font-size: clamp(1rem, .95rem + .45vw, 1.2rem); max-width: 46ch; color: var(--muted); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero__proof { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.hero__proof li {
  font-size: .84rem; color: var(--muted); display: grid;
  grid-template-columns: 18px 1fr; gap: .7rem; align-items: start;
}
.hero__proof li::before {
  content: ""; width: 7px; height: 7px; margin-top: .5rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* Hero image mounted with a plate keyline, the way a specimen is presented. */
.hero__figure { position: relative; margin: 0; padding: 14px; background: var(--surface); border-radius: 6px; }
.hero__figure::after {
  content: ""; position: absolute; inset: 7px; border: 1px solid var(--rule-strong);
  border-radius: 3px; pointer-events: none;
}
.hero__figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 2px; }
.hero__stat {
  position: absolute; right: -10px; bottom: -16px;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.1rem; border-radius: 3px; display: grid; gap: .05rem;
  box-shadow: 0 12px 32px rgb(0 0 0 / .38);
}
.hero__stat b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.hero__stat span { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; opacity: .74; }

/* ---------- facts ---------- */

.facts { border-block: 1px solid var(--rule); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.facts__in { display: grid; gap: 1.4rem; padding: 1.9rem 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fact { display: grid; gap: .3rem; }
.fact b { font-family: var(--font-display); font-size: 1.08rem; color: var(--accent); font-variation-settings: 'SOFT' 40, 'WONK' 1; }
.fact span { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ---------- sections ---------- */

.eyebrow { text-transform: uppercase; font-weight: 700; }
.section-head { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
.section-head__link { font-size: .84rem; text-decoration: none; color: var(--accent); font-weight: 600; }
.section-head__link:hover { color: var(--primary); }

/* ---------- categories ---------- */

.cats { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.cat {
  text-decoration: none; color: inherit; display: block;
  padding: 12px; background: var(--surface); border-radius: 5px; position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.cat::after {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule-strong);
  border-radius: 3px; pointer-events: none; transition: border-color .3s ease;
}
.cat:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgb(0 0 0 / .34); }
.cat:hover::after { border-color: var(--accent); }
.cat__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.cat__body { padding: .95rem .35rem .3rem; display: grid; gap: .3rem; }
.cat__body strong { font-family: var(--font-display); font-size: 1.1rem; font-variation-settings: 'SOFT' 40, 'WONK' 1; }
.cat__body em { font-style: italic; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.cat__n { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-top: .3rem; }

/* ==========================================================================
   SIGNATURE — the mounted plate with its pinned specimen label
   ========================================================================== */

.pcard {
  background: var(--surface);
  padding: 11px 11px 0;
  border-radius: 5px;
  position: relative;
  transition: transform .32s cubic-bezier(.2,.7,.3,1), box-shadow .32s ease;
}
.pcard::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule-strong);
  border-radius: 3px; pointer-events: none; transition: border-color .3s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgb(0 0 0 / .4); }
.pcard:hover::before { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }

.pcard__media { border-radius: 2px; }
.pcard__media img { aspect-ratio: 4 / 3.3; }

/* The label sits half-off the plate, as if pinned to the mount board. */
.pcard__label {
  position: relative; z-index: 2;
  margin: -30px .35rem 0; padding: .8rem .9rem .85rem;
  background: var(--tint); border: 1px solid var(--rule-strong); border-radius: 3px;
  box-shadow: 0 8px 22px rgb(0 0 0 / .3);
}
.pcard__pin {
  position: absolute; top: -6px; left: 50%; translate: -50% 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 2px 5px rgb(0 0 0 / .5);
}
.pcard__crop {
  font-size: .62rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; display: block; margin-bottom: .18rem;
}
.pcard__variety {
  font-family: var(--font-display); font-size: 1.03rem; line-height: 1.22; margin: 0 0 .45rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.pcard__variety a { color: inherit; text-decoration: none; }
.pcard__variety a:hover { color: var(--primary); }

/* Specimen data, set in italic small caps the way a plate is annotated. */
.pcard__spec { display: grid; gap: .16rem; margin: 0 0 .7rem; padding: .45rem 0 0; border-top: 1px solid var(--rule-strong); }
.pcard__spec div { display: flex; justify-content: space-between; gap: .6rem; font-size: .7rem; }
.pcard__spec dt { color: var(--muted); font-style: italic; }
.pcard__spec dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }

.pcard__body { padding: .9rem .35rem 1rem; }
.pcard__foot { padding-top: .2rem; }
.pcard__price { font-family: var(--font-display); font-size: 1.2rem; font-variation-settings: 'SOFT' 40, 'WONK' 1; }
.pcard__price small { display: block; font-family: var(--font-body); font-size: .62rem; color: var(--muted); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; margin-top: .2rem; }
.pcard__out { font-size: .72rem; color: var(--danger); font-style: italic; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }

/* ---------- page head ---------- */

.pagehead { padding: clamp(1.8rem, 1rem + 2.6vw, 3.2rem) 0 1.6rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.2rem; }
.pagehead h1 { margin-bottom: .4rem; }
.pagehead__lede { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1rem; }
.crumbs { font-size: .78rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .35; margin: 0 .4rem; }
.crumbs b { color: var(--ink); font-weight: 600; }

/* ---------- shop ---------- */

.shopside__block { margin-bottom: 1.7rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
.shopside__block h3 { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 700; }
.facets { list-style: none; margin: 0; padding: 0; display: grid; gap: .12rem; }
.facets a { display: flex; justify-content: space-between; gap: .5rem; padding: .42rem .6rem; text-decoration: none; color: var(--ink); font-size: .87rem; border-radius: 3px; }
.facets a:hover { background: var(--tint); }
.facets a.on { background: var(--tint); color: var(--accent); font-weight: 700; }
.facets span { font-size: .7rem; color: var(--muted); }
.shopside__note { margin-top: 1.1rem; font-size: .79rem; }

.shopbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--rule); font-size: .85rem; color: var(--muted); }
.shopbar__search { display: flex; gap: .45rem; }
.shopbar__search input { width: 200px; font-size: .84rem; padding: .48rem .8rem; }

/* ---------- product page ---------- */

.pdp { display: grid; gap: clamp(2rem, 4vw, 3.8rem); }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; align-items: start; } }
.pdp__media { padding: 14px; background: var(--surface); border-radius: 6px; position: relative; }
.pdp__media::after { content: ""; position: absolute; inset: 7px; border: 1px solid var(--rule-strong); border-radius: 3px; pointer-events: none; }
.gallery__main img { border-radius: 2px; }
.pdp__imgnote { font-size: .72rem; color: var(--muted); margin: .8rem .3rem 0; font-style: italic; }
.pdp__variety { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; font-style: italic; }
.pdp__variety b { color: var(--accent); font-style: normal; }
.pdp__desc { font-size: 1.02rem; line-height: 1.72; }

.pdp__pricebox { border: 1px solid var(--rule-strong); border-radius: 4px; padding: 1.2rem 1.3rem; margin: 1.5rem 0; background: var(--tint); }
.pdp__price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.pdp__price b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-variation-settings: 'SOFT' 40, 'WONK' 1; }
.pdp__price s { color: var(--muted); font-size: 1rem; }
.pdp__price em { font-style: normal; font-size: .68rem; background: var(--primary); color: #fff; padding: .2rem .5rem; border-radius: 999px; font-weight: 700; letter-spacing: .04em; }
.pdp__packline { font-size: .82rem; color: var(--muted); margin: .7rem 0 .5rem; }
.pdp__taxline { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.6; }
.pdp__buy { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.6rem; }

.taxnotice { border: 1px solid var(--rule-strong); border-left: 3px solid var(--accent); border-radius: 3px; background: var(--tint); padding: 1rem 1.1rem; margin: 1.5rem 0; font-size: .78rem; }
.taxnotice__row { display: flex; justify-content: space-between; gap: 1rem; padding: .26rem 0; }
.taxnotice__row span { color: var(--muted); font-style: italic; }
.taxnotice__row b { text-align: right; }
.taxnotice__note { margin: .7rem 0 0; padding-top: .7rem; border-top: 1px solid var(--rule-strong); color: var(--muted); font-size: .73rem; line-height: 1.6; font-style: italic; }

.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-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; font-weight: 700; }

.pdp__detail { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }
.pdp__panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 1.3rem 1.4rem; }
.pdp__panel h2 { font-size: 1.1rem; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--rule); }

/* ---------- trust / cta ---------- */

.trustband { background: color-mix(in srgb, var(--surface) 55%, transparent); border-block: 1px solid var(--rule); }
.trust { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust article { padding: 1.3rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; }
.trust h3 { font-size: 1rem; margin-bottom: .55rem; }
.trust p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.65; }

.cta { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--accent))); color: #2A0E19; }
.cta__in { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between; }
.cta h2 { color: #250C15; margin: 0 0 .4rem; }
.cta p { margin: 0; opacity: .8; max-width: 52ch; }
.cta .btn--accent { background: #250C15; color: #F7EDE2; }

/* ---------- misc ---------- */

.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font-size: .82rem; 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: .8rem; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.3rem; }
.summary { border-radius: 5px; }
.summary__h { font-size: 1.05rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rule); margin-bottom: .8rem; }
.summary__items { display: grid; gap: .8rem; padding-bottom: 1rem; margin-bottom: .6rem; border-bottom: 1px solid var(--rule); }
.summary__item { display: grid; grid-template-columns: 44px 1fr auto; gap: .7rem; align-items: center; }
.summary__item img { border-radius: 2px; }
.summary__item b { display: block; font-size: .84rem; font-weight: 600; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: .9rem 0; }

.authgrid { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .authgrid { grid-template-columns: 1fr 1fr; } }
.supportgrid { display: grid; gap: 1.6rem; }
@media (min-width: 980px) { .supportgrid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; }
.panel--warn { border-left: 3px solid var(--warn); }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .48rem; font-size: .88rem; }
.msg { border-left: 2px solid var(--rule-strong); padding: .5rem 0 .5rem .9rem; margin-top: .8rem; }
.msg--support { border-left-color: var(--primary); }
.policyswitch { margin-top: 1.7rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); display: grid; gap: .12rem; }
.policyswitch a { font-size: .86rem; text-decoration: none; color: var(--muted); padding: .32rem 0; }
.policyswitch a:hover, .policyswitch a.on { color: var(--accent); font-weight: 700; }

.prose__toc a.on { color: var(--accent); border-left-color: var(--accent); }
.table th { color: var(--muted); }
.inv { color: #111; }
