@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #191f30;
  --muted: #555a66;
  --navy: #1a2030;
  --lime: #d9ef55;
  --lime-hover: #c9e442;
  --paper: #f8f8f5;
  --white: #fff;
  --line: #d7d9dc;
  --blue: #18376e;
  --radius: 5px;
  --gutter: clamp(18px, 2.6vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; font: 400 15px/1.45 Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 4.05vw, 58px); font-weight: 820; line-height: 1.08; letter-spacing: -.055em; }
h2 { font-size: clamp(23px, 2.8vw, 39px); font-weight: 810; line-height: 1.15; letter-spacing: -.045em; }
h3 { font-size: 20px; line-height: 1.18; letter-spacing: -.035em; }
p + p { margin-top: .6em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #486cbd; outline-offset: 3px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 10px; background: white; }
.shell { width: min(100% - 2 * var(--gutter), 1380px); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(23px, 2.5vw, 36px); font-weight: 815; letter-spacing: -.065em; white-space: nowrap; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { width: clamp(36px, 5vw, 72px); }
.mast { background: var(--navy); color: var(--white); }
.mast-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 4vw, 68px); min-height: 102px; }
.search { display: flex; align-items: center; gap: 12px; background: white; color: var(--ink); border-radius: var(--radius); padding-left: 14px; }
.search input { flex: 1; min-width: 0; background: transparent; padding: 12px 0; border: 0; }
.search .button { align-self: stretch; border-radius: 0 var(--radius) var(--radius) 0; min-width: 89px; }
.tools, .tools a { display: flex; align-items: center; gap: 10px; }
.tools { gap: 20px; }
.tools a + a { border-left: 1px solid #6d7180; padding-left: 18px; }
.tools .icon { filter: invert(1); width: 24px; height: 24px; }
.cart-count { background: var(--lime); color: var(--ink); border-radius: 4px; font-size: .79rem; padding: 2px 5px; }
.nav { display: flex; align-items: stretch; gap: clamp(18px, 4vw, 54px); min-height: 60px; border-bottom: 1px solid var(--line); }
.nav a { display: flex; align-items: center; border-bottom: 4px solid transparent; padding-top: 4px; white-space: nowrap; }
.nav a[aria-current=page] { border-color: var(--lime); font-weight: 730; }
.nav .sell-nav { margin-left: auto; padding-left: 18px; }
.market-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 64px 0 43px; }
.market-intro p, .page-heading p { margin-top: 8px; color: var(--muted); font-size: clamp(16px, 1.65vw, 22px); }
.city, .toolbar, .sort, .filters { display: flex; align-items: center; }
.city { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); gap: 8px; padding: 6px 7px 6px 12px; flex-shrink: 0; }
.city select, .sort select { border: 0; background: transparent; padding: 7px 3px; max-width: 185px; }
.toolbar { justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 38px; }
.filters { flex-wrap: wrap; }
.filters a { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px clamp(11px, 2.2vw, 32px); border-right: 1px solid var(--line); }
.filters a[aria-current=true] { font-weight: 720; background: var(--lime); }
.sort { gap: 7px; padding: 5px 7px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius); padding: 10px 15px; min-height: 40px; font-weight: 730; line-height: 1.2; text-align: center; }
.button:hover { text-decoration: none; }
.primary { background: var(--lime); color: #141821; }
.primary:hover { background: var(--lime-hover); }
.outline, .compact { border-color: var(--line); background: var(--white); }
.outline:hover, .compact:hover, .white:hover { background: #eceee8; }
.white { background: white; color: var(--ink); }
.compact { font-size: 13px; padding: 7px 9px; min-height: 34px; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px) clamp(12px, 1.3vw, 18px); }
.offer-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer-photo { display: block; position: relative; aspect-ratio: 1 / 1.04; background: #eee; overflow: hidden; }
.offer-photo img, .promotion-photo img { width: 100%; height: 100%; object-fit: cover; }
.offer-photo img { transition: transform .18s ease; }
.offer-photo:hover img { transform: scale(1.035); }
.sponsored { position: absolute; z-index: 1; top: 12px; left: 10px; background: var(--lime); color: var(--ink); padding: 4px 8px; border-radius: 3px; font-size: 12px; font-weight: 740; }
.offer-body { padding: clamp(10px, 1.18vw, 16px); display: flex; flex-direction: column; flex: 1; }
.offer-body h2 { font-size: clamp(17px, 1.74vw, 25px); letter-spacing: -.041em; margin-bottom: 5px; }
.attribution { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; margin-bottom: 18px; font-size: clamp(12px, 1.1vw, 15px); }
.price { margin-top: auto; font-size: clamp(21px, 2vw, 30px); font-weight: 825; letter-spacing: -.047em; }
.fulfillment { display: flex; align-items: center; gap: 8px; font-size: 13px; min-height: 27px; margin: 6px 0 14px; }
.fulfillment .icon { width: 19px; height: 19px; }
.buy { width: 100%; }
.text-link { color: var(--blue); font-weight: 590; }
.attribution .text-link { text-decoration: underline; }
.arrow { display: inline-flex; align-items: center; gap: 7px; }
.arrow .icon { width: 17px; height: 17px; }
.market-more { display: flex; justify-content: center; align-items: center; gap: 25px; margin: 30px 0 0; }
.producers-section { margin-top: 35px; padding: 35px 0 0; border-top: 1px solid var(--line); }
.section-heading, .heading-actions { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.section-heading { margin-bottom: 25px; }
.producer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.producer-card { display: grid; grid-template-columns: minmax(80px, 50%) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.producer-card.no-photo { grid-template-columns: 1fr; }
.producer-photo { min-height: 160px; overflow: hidden; }
.producer-photo img { height: 100%; width: 100%; object-fit: cover; }
.producer-card > div { display: grid; align-content: center; gap: 8px; padding: 16px clamp(14px, 2vw, 25px); }
.producer-card h3 { font-size: clamp(18px, 2vw, 28px); }
.producer-card p { color: var(--muted); }
.seller-callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(20px, 3vw, 38px); margin: 34px 0; border-radius: var(--radius); background: var(--navy); color: white; }
.seller-callout h2 { font-size: clamp(23px, 2.6vw, 36px); }
.seller-callout p { margin-top: 6px; color: #e5e7ec; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; padding-bottom: 25px; }
.footer-grid p { margin-top: 10px; color: var(--muted); }
.footer-grid div:not(:first-child) { display: flex; flex-direction: column; gap: 4px; }
.footer-grid b { margin-bottom: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 13px 0; color: var(--muted); font-size: 12px; }
.page-heading { padding: 48px 0 26px; }
.page-heading h1 { margin: 8px 0; font-size: clamp(32px, 3.8vw, 54px); }
.page-heading .eyebrow { font-size: 13px; text-transform: uppercase; font-weight: 720; letter-spacing: .07em; }
.narrow { max-width: 660px; margin-inline: auto; }
.narrow.wide { max-width: 820px; }
.panel, .empty, .notice { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 28px); }
.panel { min-width: 0; }
.panel > h2, .panel > p, .empty > p, .notice > p { margin-bottom: 14px; }
.empty { text-align: center; padding-block: 40px; }
.empty h2 { margin-bottom: 10px; }
.notice { background: #f4f7e2; margin-bottom: 14px; }
.muted { color: var(--muted); }
.messages { margin-top: 18px; }
.message { padding: 10px 14px; border-left: 4px solid #8fa943; background: #f2f7e0; }
.message.error { border-color: #bb4d32; background: #fff0ec; }
.fields { display: grid; gap: 12px; }
.fields p { margin: 0; }
.fields label { font-weight: 620; }
.fields p > label { display: block; margin-bottom: 6px; }
.fields input:not([type=checkbox]), .fields textarea, .fields select, .qty { width: 100%; min-width: 0; border: 1px solid #a8acb5; border-radius: 4px; padding: 9px 10px; background: white; }
.fields textarea { min-height: 92px; }
.fields .button { justify-self: start; }
.fields .helptext { display: block; margin: 4px 0; color: var(--muted); font-size: 13px; }
.fields .errorlist { color: #9d2a18; margin: 4px 0; }
.fields + p { margin-top: 14px; }
.account-tabs { border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.seller-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.seller-row, .row, .cert-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.seller-row p { color: var(--muted); margin: 2px 0; }
.seller-thumb { width: 60px; height: 60px; border-radius: 4px; overflow: hidden; }
.seller-thumb:empty { display: none; }
.seller-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-links, .cart-controls { display: flex; gap: 10px; margin-left: auto; }
.status { background: #f1f3e9; font-size: 13px; padding: 2px 6px; border-radius: 3px; }
.order-part + .order-part { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.order-part h3 { margin-bottom: 8px; }
.order-part form, .issue, .section-gap { margin-top: 18px; }
.section-nav { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 20px; }
.section-nav a { color: var(--blue); }
.qty { width: 70px; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.detail-photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { margin: 8px 0 13px; }
.detail p { margin-bottom: 12px; }
.detail .large { font-size: 34px; margin-top: 22px; }
.detail-certs, .section-title { margin: 24px 0 14px; }
.promotion-photo { position: relative; height: 240px; max-width: 300px; overflow: hidden; border-radius: var(--radius); margin-bottom: 12px; }
dt { font-weight: 740; }
dd { margin: 0 0 10px; }
@media (max-width: 1080px) {
  .mast-grid { min-height: 86px; gap: 22px; }
  .city .compact { padding-inline: 7px; }
  .market-intro { padding: 47px 0 33px; }
  .filters a { padding-inline: 12px; }
  .offer-body { padding-inline: 10px; }
  .seller-callout .actions { flex-shrink: 0; }
}
@media (max-width: 840px) {
  .mast-grid { grid-template-columns: 1fr auto; min-height: auto; padding-block: 15px; gap: 12px; }
  .mast-grid .search { grid-column: 1 / -1; grid-row: 2; }
  .mast-grid .tools { grid-row: 1; grid-column: 2; }
  .market-intro, .seller-callout { align-items: flex-start; flex-direction: column; }
  .toolbar { flex-wrap: wrap; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .nav { gap: 16px; overflow: auto; min-height: 51px; font-size: 13px; }
  .nav .sell-nav { padding-left: 0; }
  .tools { gap: 12px; }
  .tools a + a { padding-left: 10px; }
  .tools a span { font-size: 12px; }
  .tools .icon { width: 18px; height: 18px; }
  .market-intro { padding: 32px 0 20px; gap: 15px; }
  .toolbar { margin-bottom: 17px; }
  .filters a { font-size: 12px; min-height: 37px; padding: 7px 9px; }
  .offer-body h2 { font-size: 16px; }
  .attribution { margin-bottom: 10px; }
  .fulfillment { font-size: 11px; align-items: flex-start; }
  .fulfillment .icon, .buy .icon { width: 16px; height: 16px; }
  .buy { padding: 8px 4px; gap: 4px; font-size: 13px; }
  .producer-grid, .detail { grid-template-columns: 1fr; }
  .producer-photo { min-height: 130px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.bio-badge { position: absolute; z-index: 1; top: 12px; right: 10px; border-radius: 3px; background: #edf4d5; color: #263a16; padding: 4px 8px; font-size: 12px; font-weight: 750; }
.bio-badge.inline { position: static; display: inline-block; }
.bio-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.bio-categories a { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; }
.bio-categories a[aria-current=true] { border-color: #9bb62f; background: #edf4d5; font-weight: 720; }

.detail-unpublished { grid-template-columns: 1fr; }
.review-section { margin-top: 30px; }
.review-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 15px; }
.review-stars { color: #876300; }
.product-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; align-self: flex-start; margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.product-rating:hover { text-decoration: underline; }
.review-form { max-width: 620px; margin: 0 0 22px; }
.review-item { border-top: 1px solid var(--line); padding: 13px 0; }
.review-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.review-comment { margin-top: 8px; overflow-wrap: anywhere; }
