:root {
  --ink: #1d2922;
  --muted: #657068;
  --green: #245b3c;
  --green-dark: #17452e;
  --green-soft: #e5ede6;
  --cream: #f6f5ef;
  --paper: #fffef9;
  --line: #dedfd7;
  --warm: #e9d9bd;
  --orange: #c86e3d;
  --radius: 20px;
  --shadow: 0 18px 60px rgba(27, 48, 35, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.page { min-height: calc(100vh - 76px); }
.kicker, .step-label { display: block; margin-bottom: 12px; color: #68806d; font: 700 11px/1 "Manrope", sans-serif; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.035em; }

.site-header { position: sticky; z-index: 40; top: 0; height: 76px; padding: 0 max(24px, calc((100% - 1240px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(246,245,239,.92); border-bottom: 1px solid rgba(45,66,52,.09); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); text-decoration: none; font: 700 19px "Manrope", sans-serif; letter-spacing: -.03em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; background: var(--green); color: white; border-radius: 10px 10px 10px 4px; }
.brand-mark svg { width: 23px; fill: currentColor; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; padding: 28px 0 25px; border: 0; background: none; font-weight: 600; color: #657068; cursor: pointer; }
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link.active:after { position: absolute; content: ""; height: 2px; left: 0; right: 0; bottom: 0; border-radius: 2px; background: var(--green); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.location-pill { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.55); font-weight: 600; cursor: pointer; }
.pin-icon { color: var(--green); font-size: 20px; }
.avatar-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #b6cbb8; color: #163e29; font-size: 12px; font-weight: 700; cursor: pointer; }

.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); color: white; box-shadow: 0 8px 20px rgba(36,91,60,.16); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary { background: #fff; border-color: var(--line); }
.button.cream { background: #fcf9eb; color: var(--green-dark); }
.button.large { min-height: 56px; padding-inline: 24px; }
.button.full { width: 100%; }
.button.centered { margin: 32px auto 0; display: flex; width: max-content; }
.text-button { padding: 6px 0; border: 0; background: none; color: var(--green); font-weight: 700; cursor: pointer; }

.hero { min-height: 620px; padding: 42px 0 56px; display: grid; grid-template-columns: .84fr 1.16fr; align-items: stretch; gap: 54px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #80a284; box-shadow: 0 0 0 5px rgba(128,162,132,.14); }
.hero h1 { margin-bottom: 24px; font-size: clamp(46px, 5vw, 72px); line-height: 1.04; font-weight: 600; }
.hero h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 400; }
.hero-copy > p { max-width: 570px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero-trust p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-trust strong { color: var(--ink); font-size: 13px; }
.face-stack { display: flex; padding-left: 8px; }
.face-stack span { width: 34px; height: 34px; display: grid; place-items: center; margin-left: -8px; border: 2px solid var(--cream); border-radius: 50%; background: #c4d0bc; font-size: 9px; font-weight: 700; }
.face-stack span:nth-child(2) { background: #d5b69c; }.face-stack span:nth-child(3) { background: #99b5b2; }
.hero-photo { position: relative; min-width: 0; width: 100%; min-height: 520px; overflow: hidden; border-radius: 28px 28px 28px 8px; background: linear-gradient(110deg, #cad4c2, #78977e); background-image: url('/static/assets/local-market-hero.png'); background-position: center; background-size: cover; box-shadow: inset 0 -80px 100px rgba(25,48,32,.12); }
.hero-float-card, .hero-distance { position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 13px; background: rgba(255,255,250,.95); box-shadow: 0 12px 32px rgba(28,47,35,.16); }
.hero-float-card { top: 24px; right: 24px; }
.hero-distance { left: 24px; bottom: 24px; }
.hero-float-card strong, .hero-distance strong { display: block; font-size: 12px; }
.hero-float-card small, .hero-distance small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.hero-distance > span { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 20px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #6e9b68; box-shadow: 0 0 0 5px #e5eee3; }

.category-section, .fresh-section { padding: 72px 0; }
.category-section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head h2 { margin-bottom: 7px; font-size: 34px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head.compact { align-items: center; }.section-head.compact h2 { margin: 0; }
.category-rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.category-card { position: relative; height: 156px; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; border: 0; border-radius: 16px; background-size: cover; background-position: center; color: white; cursor: pointer; isolation: isolate; }
.category-card:after { position: absolute; content: ""; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17,31,22,.76), rgba(17,31,22,0) 65%); }
.category-card strong { font: 700 14px "Manrope", sans-serif; }
.segmented { display: flex; padding: 4px; background: #ebece5; border-radius: 10px; }
.segmented button { height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.segmented button.active { color: var(--ink); background: white; box-shadow: 0 2px 8px rgba(30,50,37,.08); }
.fresh-section { border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { min-width: 0; cursor: pointer; }
.product-image { position: relative; aspect-ratio: 1.25; overflow: hidden; border-radius: 16px 16px 6px 16px; background: #dce2d7; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-tag { display: inline-flex; align-items: center; width: fit-content; padding: 6px 9px; border-radius: 6px; background: rgba(249,249,243,.94); color: #405449; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.product-image .product-tag { position: absolute; top: 12px; left: 12px; }
.heart-button { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 19px; cursor: pointer; }
.voice-badge { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 7px; background: rgba(33,74,50,.93); color: white; font-size: 10px; font-weight: 700; }
.product-info { padding: 14px 3px 4px; }
.product-info h3 { margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; }
.producer-name { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.verified-dot { width: 15px; height: 15px; display: inline-grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-style: normal; font-size: 9px; }
.product-bottom { display: flex; align-items: flex-end; justify-content: space-between; }
.product-bottom strong { font: 700 17px "Manrope", sans-serif; }.product-bottom strong small { color: var(--muted); font: 500 11px "DM Sans", sans-serif; }
.product-bottom > small { color: var(--muted); font-size: 11px; }
.product-bottom > small:before { content: "⌖ "; color: var(--green); }
.low-pill { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 6px; color: #8f471d; background: #fff2e8; font-size: 10px; font-weight: 700; }

.how-section { margin-top: 42px; padding: 76px 72px; display: grid; grid-template-columns: .8fr 1.5fr; gap: 70px; border-radius: 28px 28px 8px 28px; background: #e8ede6; }
.how-intro h2 { margin-bottom: 18px; font-size: 40px; line-height: 1.15; }.how-intro p { max-width: 360px; color: var(--muted); line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps article { position: relative; }.step-number { color: #819087; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 18px 0 22px; border-radius: 14px 14px 14px 4px; color: white; background: var(--green); font-size: 23px; }
.steps h3 { margin-bottom: 10px; font-size: 17px; line-height: 1.35; }.steps p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.no-middleman { grid-column: 1/-1; margin-top: 8px; padding-top: 28px; border-top: 1px solid #cad5cc; text-align: center; color: var(--muted); }.no-middleman strong { color: var(--green); }.mini-leaf { margin-right: 8px; }
.producer-cta { position: relative; min-height: 450px; margin-top: 90px; margin-bottom: 90px; padding: 70px 10%; overflow: hidden; display: flex; align-items: center; color: white; background: var(--green-dark); border-radius: 28px 28px 8px 28px; }
.producer-cta:before { position: absolute; content: ""; width: 500px; height: 500px; top: -280px; right: -100px; border: 90px solid rgba(255,255,255,.035); border-radius: 50%; }
.producer-cta > div:first-child { position: relative; z-index: 2; max-width: 560px; }.eyebrow.light { color: #c1d0bf; }.eyebrow.light > span { background: #c1d0bf; }
.producer-cta h2 { margin-bottom: 18px; font-size: 44px; line-height: 1.12; }.producer-cta p { margin-bottom: 28px; color: #c5d1c8; line-height: 1.6; }
.phone-demo { position: absolute; width: 310px; height: 410px; right: 11%; bottom: -64px; padding: 28px 20px; color: var(--ink); background: #f7f6f1; border: 8px solid #d9d9d0; border-radius: 38px 38px 0 0; box-shadow: 0 30px 50px rgba(7,23,13,.38); }
.phone-top { display: flex; justify-content: space-between; font-size: 8px; }.phone-title { margin: 28px 4px 20px; }.phone-title small { display: block; color: #718077; font-size: 8px; letter-spacing: .1em; }.phone-title strong { font: 700 25px "Manrope",sans-serif; }
.phone-add { padding: 22px 18px; display: grid; grid-template-columns: 38px 1fr; align-items: center; border-radius: 15px; background: var(--green); color: white; }.phone-add:before { content: ""; }.phone-add > :first-child { grid-row: 1/3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); }.phone-add b { font-size: 13px; }.phone-add span:last-child { color: #c6d6cb; font-size: 9px; }
.phone-item { margin-top: 12px; padding: 12px; display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; border: 1px solid #e0e2dc; border-radius: 12px; background: white; }.phone-item > span { height: 42px; background: url('https://images.unsplash.com/photo-1592924357228-91a4daadcfea?auto=format&fit=crop&w=200&q=75') center/cover; border-radius: 8px; }.phone-item b { display: block; font-size: 10px; }.phone-item small { color: var(--muted); font-size: 8px; }.phone-item em { font-size: 10px; font-style: normal; font-weight: 700; }

.market-hero { padding: 66px 0 32px; text-align: center; }.market-hero h1 { margin-bottom: 10px; font-size: 52px; }.market-hero > p { color: var(--muted); font-size: 17px; }
.search-row { max-width: 760px; margin: 32px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; }.search-box { position: relative; display: flex; align-items: center; height: 58px; padding: 0 16px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 20px rgba(40,55,45,.05); }.search-box > span { color: var(--green); font-size: 24px; }.search-box input { width: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; font-size: 15px; }.search-clear { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.filter-button { min-width: 130px; border: 1px solid var(--line); border-radius: 14px; background: white; font-weight: 700; cursor: pointer; }.filter-button b { min-width: 20px; height: 20px; display: inline-grid; place-items: center; margin-left: 4px; border-radius: 50%; color: white; background: var(--green); font-size: 10px; }
.market-content { padding-bottom: 90px; }.category-tabs { padding: 18px 0; display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }.category-tabs button { min-width: max-content; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-weight: 600; cursor: pointer; }.category-tabs button.active { border-color: var(--green); color: white; background: var(--green); }
.filter-panel { display: none; grid-template-columns: 1fr 1fr auto; gap: 36px; padding: 24px; border-bottom: 1px solid var(--line); background: #eef0e9; }.filter-panel.open { display: grid; }.filter-panel label { font-size: 13px; font-weight: 600; }.filter-panel label strong { float: right; }.filter-panel input[type=range] { width: 100%; margin-top: 14px; accent-color: var(--green); }.check-row { display: flex; align-items: center; gap: 8px; white-space: nowrap; }.check-row input { width: 20px; height: 20px; accent-color: var(--green); }
.market-meta { padding: 24px 0 20px; display: flex; justify-content: space-between; align-items: center; }.market-meta p { margin: 0; color: var(--muted); }.market-meta p strong { color: var(--ink); }.market-meta label { color: var(--muted); font-size: 13px; }.market-meta select { border: 0; background: transparent; color: var(--ink); font-weight: 700; outline: 0; }

.dashboard-page, .simple-page { background: #f0f1eb; }.dashboard-shell { padding: 58px 0 90px; }.dashboard-head { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; }.dashboard-head h1, .page-title h1 { margin-bottom: 8px; font-size: 42px; }.dashboard-head p, .page-title p { margin: 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }.stats-grid article { min-height: 136px; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border: 1px solid #e1e2dc; border-radius: 16px; background: white; }.stats-grid article strong { display: block; font: 700 30px "Manrope", sans-serif; }.stats-grid article small { color: var(--muted); }.stats-grid article em { grid-column: 2; color: var(--green); font-size: 11px; font-style: normal; font-weight: 700; cursor: pointer; }.stat-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; }.stat-icon.green { color: var(--green); background: #e4eee6; }.stat-icon.orange { color: #a6542a; background: #f7e9df; }.stat-icon.gold { color: #9a7315; background: #f5eed8; }
.dashboard-columns { display: grid; grid-template-columns: 1.6fr .8fr; gap: 20px; }.listings-panel, .order-panel { padding: 26px; border: 1px solid #e1e2dc; border-radius: 18px; background: white; }.panel-head { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; }.panel-head h2 { margin-bottom: 5px; font-size: 20px; }.panel-head p { margin: 0; color: var(--muted); font-size: 12px; }
.producer-listing { padding: 14px 0; display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: center; border-top: 1px solid #edeee9; }.producer-listing img { width: 78px; height: 66px; object-fit: cover; border-radius: 10px; }.producer-listing h3 { margin-bottom: 4px; font-size: 14px; }.producer-listing p { margin: 0; color: var(--muted); font-size: 11px; }.stock-select { height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 11px; font-weight: 700; }
.mini-order { padding: 16px 0; border-top: 1px solid #edeee9; }.mini-order:first-child { border-top: 0; }.mini-order-head { display: flex; justify-content: space-between; }.mini-order h3 { margin: 0; font-size: 14px; }.mini-order small { color: var(--muted); }.mini-order p { margin: 8px 0 12px; color: var(--muted); font-size: 12px; }.mini-order-actions { display: flex; gap: 7px; }.mini-order-actions button { height: 34px; flex: 1; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 11px; font-weight: 700; cursor: pointer; }.mini-order-actions .accept { border-color: var(--green); color: white; background: var(--green); }
.narrow-page { padding: 64px 0 100px; }.page-title { margin-bottom: 34px; }.orders-list { display: grid; gap: 14px; }.order-row { padding: 18px; display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; border: 1px solid #e1e2dc; border-radius: 16px; background: white; }.order-row img { width: 72px; height: 62px; object-fit: cover; border-radius: 10px; }.order-row h3 { margin-bottom: 4px; font-size: 15px; }.order-row p { margin: 0; color: var(--muted); font-size: 12px; }.status-badge { padding: 7px 10px; border-radius: 99px; background: #fff1dd; color: #995d18; font-size: 10px; font-weight: 700; text-transform: capitalize; }.status-badge.accepted { color: var(--green); background: var(--green-soft); }
.producer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.producer-profile-card { padding: 28px; border-radius: 18px; background: white; border: 1px solid #e1e2dc; }.producer-profile-card .avatar { width: 54px; height: 54px; font-size: 14px; }.producer-profile-card h3 { margin: 18px 0 6px; }.producer-profile-card > p { min-height: 63px; color: var(--muted); font-size: 13px; line-height: 1.6; }.producer-profile-card small { color: var(--muted); }.producer-profile-card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }.producer-profile-card .tags span { padding: 6px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 700; }
.message-layout { height: 620px; display: grid; grid-template-columns: 350px 1fr; overflow: hidden; border: 1px solid #dee0d9; border-radius: 18px; background: white; }.conversation-list { border-right: 1px solid var(--line); }.conversation { width: 100%; padding: 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 11px; border: 0; border-bottom: 1px solid #ecece7; background: white; text-align: left; cursor: pointer; }.conversation.active { background: #edf2eb; }.avatar { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }.avatar.sage { color: #234831; background: #b9cdbd; }.avatar.tan { background: #e1c9ad; }.conversation strong, .conversation small { display: block; }.conversation small { margin: 3px 0 8px; color: var(--muted); font-size: 10px; }.conversation p { margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.conversation time { color: var(--muted); font-size: 9px; }
.chat-panel { display: grid; grid-template-rows: auto 1fr auto; }.chat-head { padding: 14px 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }.chat-head strong, .chat-head small { display: block; }.chat-head small { color: var(--muted); font-size: 10px; }.chat-body { padding: 28px; display: flex; flex-direction: column; background: #faf9f4; }.product-share { width: 320px; margin: 0 auto 36px; padding: 12px; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }.share-photo { width: 58px; border-radius: 8px; }.tomato-bg { background: url('https://images.unsplash.com/photo-1592924357228-91a4daadcfea?auto=format&fit=crop&w=200&q=75') center/cover; }.product-share small, .product-share strong, .product-share span { display: block; }.product-share small { color: var(--green); font-size: 8px; font-weight: 700; letter-spacing: .1em; }.product-share strong { margin: 4px 0; font-size: 12px; }.product-share span { color: var(--muted); font-size: 10px; }.bubble { max-width: 68%; margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; font-size: 13px; }.bubble time { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; }.bubble.theirs { align-self: flex-start; border-bottom-left-radius: 3px; background: white; }.bubble.ours { align-self: flex-end; border-bottom-right-radius: 3px; color: white; background: var(--green); }.bubble.ours time { color: #c7d7cc; text-align: right; }.chat-input { padding: 12px; display: flex; gap: 6px; border-top: 1px solid var(--line); }.chat-input input { flex: 1; border: 0; outline: 0; }.chat-input button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }.chat-input .send-message { color: white; background: var(--green); }

.mobile-nav { display: none; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 24px; display: none; place-items: center; background: rgba(19,31,23,.54); backdrop-filter: blur(5px); }.modal-backdrop.open { display: grid; }.modal-card { position: relative; width: min(100%, 940px); max-height: calc(100vh - 48px); overflow: auto; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); animation: modalIn .25s ease-out; }.modal-close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 24px; cursor: pointer; }.modal-close.static { position: static; background: #f0f1eb; }.back-step { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f0f1eb; cursor: pointer; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.product-modal { display: grid; grid-template-columns: .96fr 1.04fr; overflow: hidden; }.detail-photo-wrap { position: relative; min-height: 650px; }.detail-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }.detail-category { position: absolute; top: 18px; left: 18px; padding: 7px 10px; border-radius: 7px; color: var(--green); background: rgba(255,255,255,.92); font-size: 10px; font-weight: 700; text-transform: uppercase; }.save-button { position: absolute; top: 17px; right: 17px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 22px; cursor: pointer; }.detail-content { display: grid; grid-template-rows: 1fr auto; }.detail-main { padding: 56px 42px 28px; }.detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.status-line { color: var(--green); font-size: 11px; font-weight: 700; }.status-line i { width: 7px; height: 7px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #64a06e; }.detail-title h2 { margin: 8px 0 0; font-size: 31px; }.detail-price { text-align: right; }.detail-price strong, .detail-price small { display: block; white-space: nowrap; }.detail-price strong { font: 700 24px "Manrope",sans-serif; }.detail-price small { color: var(--muted); font-size: 11px; }
.farm-line { width: 100%; margin: 24px 0; padding: 15px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: solid var(--line); border-width: 1px 0; background: none; text-align: left; cursor: pointer; }.farm-line strong, .farm-line small { display: block; }.farm-line small { margin-top: 4px; color: var(--muted); font-size: 10px; }.farm-line em { font-size: 22px; font-style: normal; }.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 25px; }.detail-facts div { padding: 0 12px; border-left: 1px solid var(--line); }.detail-facts div:first-child { padding-left: 0; border-left: 0; }.detail-facts span { color: var(--green); }.detail-facts strong, .detail-facts small { display: block; }.detail-facts strong { margin: 8px 0 3px; font-size: 10px; }.detail-facts small { color: var(--muted); font-size: 10px; }.description-block h3 { margin-bottom: 8px; font-size: 14px; }.description-block p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.voice-player { width: 100%; margin-top: 18px; padding: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 0; border-radius: 12px; background: var(--green-soft); text-align: left; cursor: pointer; }.play-circle { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 10px; }.waveform { height: 22px; display: flex; align-items: center; gap: 3px; }.waveform i { width: 2px; height: 40%; border-radius: 2px; background: #829b88; }.waveform i:nth-child(2n) { height: 80%; }.waveform i:nth-child(3n) { height: 55%; }.voice-player strong, .voice-player small { display: block; }.voice-player strong { font-size: 10px; }.voice-player small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.detail-order { padding: 20px 42px 28px; border-top: 1px solid var(--line); background: #fbfaf5; }.detail-order > div { margin-bottom: 13px; display: flex; justify-content: space-between; font-size: 11px; }.detail-order > div span { color: var(--muted); }.detail-order > small { display: block; margin-top: 10px; color: var(--muted); text-align: center; font-size: 9px; }
.order-modal { width: min(100%, 510px); padding: 42px; }.order-modal h2 { margin: 8px 0; font-size: 30px; }.order-modal > div > p { color: var(--muted); font-size: 13px; }.order-product-mini { margin: 24px 0; padding: 11px; display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; border-radius: 12px; background: #f0f1eb; }.order-product-mini img { width: 58px; height: 50px; object-fit: cover; border-radius: 8px; }.order-product-mini strong, .order-product-mini small { display: block; }.order-product-mini strong { font-size: 12px; }.order-product-mini small { color: var(--muted); font-size: 9px; }
.order-modal form > label, .sell-step > label { display: block; margin-bottom: 20px; color: #48534c; font-size: 12px; font-weight: 700; }.order-modal textarea, .sell-step input, .sell-step select, .sell-step textarea { width: 100%; margin-top: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: white; outline: 0; }.order-modal textarea:focus, .sell-step input:focus, .sell-step textarea:focus { border-color: #7b9a82; box-shadow: 0 0 0 3px rgba(61,112,75,.1); }.quantity-input { height: 52px; margin-top: 8px; display: grid; grid-template-columns: 46px 1fr auto 46px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; }.quantity-input button { height: 100%; border: 0; background: transparent; font-size: 20px; cursor: pointer; }.quantity-input input { min-width: 0; border: 0; text-align: center; outline: 0; font-size: 16px; font-weight: 700; }.quantity-input span { padding-right: 4px; color: var(--muted); font-size: 12px; }
fieldset { margin: 0 0 20px; padding: 0; border: 0; } legend { margin-bottom: 9px; color: #48534c; font-size: 12px; font-weight: 700; }.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.choice-grid label input { position: absolute; opacity: 0; }.choice-grid label > span { padding: 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }.choice-grid label input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }.choice-grid b { grid-row: 1/3; }.choice-grid strong { font-size: 11px; }.choice-grid small { margin-top: 2px; color: var(--muted); font-size: 9px; }.order-summary { margin: 22px 0; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }.order-summary span { color: var(--muted); font-size: 12px; }.order-summary strong { font: 700 18px "Manrope",sans-serif; }.order-success, .publish-success { padding: 42px 12px 10px; text-align: center; }.success-check { width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 28px; }.order-success h2, .publish-success h2 { font-size: 30px; }.order-success p, .publish-success p { max-width: 350px; margin: 0 auto 24px; color: var(--muted); line-height: 1.6; }.order-success .text-button { margin-top: 16px; }

.sell-modal { width: min(100%, 580px); }.sell-top { padding: 16px 18px; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; border-bottom: 1px solid var(--line); }.sell-progress { text-align: center; }.sell-progress > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; }.sell-progress > div { display: flex; justify-content: center; gap: 5px; }.sell-progress i { width: 35px; height: 3px; border-radius: 3px; background: #dde1dc; }.sell-progress i.active { background: var(--green); }.sell-step { display: none; padding: 38px 54px 48px; }.sell-step.active { display: block; }.sell-step h2 { margin-bottom: 10px; font-size: 34px; line-height: 1.16; }.sell-step > p { margin-bottom: 26px; color: var(--muted); font-size: 13px; }.photo-upload { position: relative; height: 260px; margin-bottom: 22px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px dashed #aeb8af; border-radius: 18px; background: #f0f3ed; cursor: pointer; }.photo-upload input { position: absolute; opacity: 0; }.photo-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }.photo-upload.has-image img { opacity: 1; }.camera-circle { width: 56px; height: 56px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 22px; }.photo-upload strong { font-size: 13px; }.photo-upload small { margin-top: 4px; color: var(--muted); font-size: 10px; }.sell-categories { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }.sell-categories label input { position: absolute; opacity: 0; }.sell-categories label span { min-height: 70px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; font-size: 9px; cursor: pointer; }.sell-categories label span b { font-size: 20px; font-weight: 400; }.sell-categories label input:checked + span { border-color: var(--green); color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.form-two label { margin-bottom: 20px; color: #48534c; font-size: 12px; font-weight: 700; }.price-input { position: relative; }.price-input span { position: absolute; z-index: 1; left: 14px; top: 23px; color: var(--muted); }.price-input input { padding-left: 32px; }.description-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }.description-mode { min-height: 115px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; }.description-mode.active { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }.description-mode > span { margin-bottom: 7px; font-size: 24px; }.description-mode strong { font-size: 11px; }.description-mode small { margin-top: 4px; color: var(--muted); font-size: 9px; }.voice-description { min-height: 175px; margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: #eef2ec; }.record-button { width: 64px; height: 64px; margin-bottom: 10px; border: 0; border-radius: 50%; color: white; background: var(--green); font-size: 26px; cursor: pointer; }.record-button.recording { background: #b94f3d; box-shadow: 0 0 0 10px rgba(185,79,61,.12); }.voice-description strong { font-size: 12px; }.voice-description small { margin-top: 5px; color: var(--muted); font-size: 9px; }.record-timer { margin-top: 10px; color: #a84b3b; font-weight: 700; }.listing-preview { margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }.preview-image { aspect-ratio: 1.8; display: grid; place-items: center; background: #e5e8e1 center/cover; color: var(--muted); font-size: 11px; }.listing-preview > div:last-child { padding: 17px; }.listing-preview h3 { margin: 10px 0 5px; font-size: 17px; }.listing-preview p { margin: 0 0 8px; }.listing-preview small { color: var(--muted); }.listing-preview small i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #5f9b69; }.publish-note { margin-bottom: 18px; display: flex; gap: 10px; padding: 12px; border-radius: 10px; background: var(--green-soft); }.publish-note > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-size: 10px; }.publish-note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.publish-note strong { color: var(--ink); }.publish-success { padding: 72px 54px; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; border-radius: 12px; color: white; background: #173d29; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.toast span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: white; font-size: 11px; }.toast p { margin: 0; font-size: 12px; font-weight: 700; }
.empty-state { grid-column: 1/-1; padding: 70px 20px; text-align: center; border: 1px dashed #cdd2cb; border-radius: 16px; }.empty-state span { font-size: 32px; }.empty-state h3 { margin: 12px 0 5px; }.empty-state p { color: var(--muted); }

@media (max-width: 1050px) {
  .desktop-nav { gap: 20px; }.hero { grid-template-columns: .9fr 1.1fr; gap: 30px; }.category-rail { grid-template-columns: repeat(4,1fr); }.category-card:nth-child(n+5) { display: none; }.product-grid { grid-template-columns: repeat(3,1fr); }.how-section { grid-template-columns: 1fr; gap: 40px; }.phone-demo { right: 6%; }.dashboard-columns { grid-template-columns: 1fr; }.message-layout { grid-template-columns: 300px 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }.shell { width: calc(100% - 32px); max-width: 600px; }.site-header { height: 64px; padding: 0 16px; grid-template-columns: 1fr auto; }.brand { font-size: 17px; }.brand-mark { width: 30px; height: 30px; }.desktop-nav, .location-pill { display: none; }.avatar-button { width: 38px; height: 38px; }.page { min-height: calc(100vh - 64px); }
  .hero { min-height: 0; padding: 36px 0 50px; display: flex; flex-direction: column; gap: 32px; }.hero-copy { min-width: 0; width: 100%; }.hero h1 { font-size: clamp(40px, 12vw, 56px); }.hero-copy > p { max-width: 100%; font-size: 16px; line-height: 1.55; }.hero-actions { width: 100%; flex-direction: column; }.hero-actions .button { width: 100%; }.hero-trust { margin-top: 24px; }.hero-photo { min-height: 390px; background-position: 59% center; }.hero-float-card { top: 14px; right: 14px; }.hero-distance { left: 14px; bottom: 14px; }
  .category-section, .fresh-section { padding: 48px 0; }.section-head, .section-head.compact { align-items: flex-start; }.section-head .text-button { display: none; }.section-head h2 { font-size: 29px; }.category-rail { width: calc(100vw - 16px); display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }.category-card, .category-card:nth-child(n+5) { display: flex; min-width: 130px; height: 150px; }.product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 12px; }.product-image { aspect-ratio: 1.05; }.product-info h3 { font-size: 15px; }.product-bottom strong { font-size: 15px; }.product-bottom > small { font-size: 9px; }.producer-name { font-size: 10px; }.heart-button { width: 32px; height: 32px; }
  .section-head { flex-direction: column; }.segmented { width: 100%; }.segmented button { flex: 1; }.how-section { width: 100%; margin-top: 20px; padding: 52px 24px; border-radius: 0; }.how-intro h2 { font-size: 35px; }.steps { grid-template-columns: 1fr; gap: 24px; }.steps article { display: grid; grid-template-columns: 54px 1fr; column-gap: 15px; }.step-number { display: none; }.step-icon { grid-row: 1/3; margin: 0; }.steps h3 { margin: 2px 0 4px; }.steps p { margin: 0; }.producer-cta { width: 100%; min-height: 670px; margin: 0; padding: 55px 24px; align-items: flex-start; border-radius: 0; }.producer-cta h2 { font-size: 37px; }.phone-demo { width: 290px; height: 360px; right: 50%; bottom: -55px; transform: translateX(50%); }
  .mobile-nav { position: fixed; z-index: 50; inset: auto 0 0; height: calc(70px + env(safe-area-inset-bottom)); padding: 7px 10px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid #dedfd8; background: rgba(255,255,251,.96); backdrop-filter: blur(16px); }.mobile-nav button { position: relative; padding: 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #758079; font-size: 9px; font-weight: 700; }.mobile-nav button > span { font-size: 21px; line-height: 1; }.mobile-nav button.active { color: var(--green); }.mobile-nav .sell-nav > span { width: 46px; height: 40px; margin-top: -22px; display: grid; place-items: center; border-radius: 13px 13px 13px 4px; color: white; background: var(--green); box-shadow: 0 6px 18px rgba(29,78,49,.25); }.nav-badge { position: absolute; top: 2px; right: 22%; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: white; background: #c46036; font-size: 8px; font-style: normal; }
  .market-hero { padding: 40px 0 22px; text-align: left; }.market-hero h1 { font-size: 38px; }.market-hero > p { font-size: 14px; }.search-row { margin-top: 22px; grid-template-columns: 1fr auto; }.search-box { height: 52px; }.filter-button { min-width: 52px; width: 52px; font-size: 0; }.filter-button span { font-size: 18px; }.filter-button b { position: absolute; }.category-tabs { width: calc(100vw - 16px); }.filter-panel.open { grid-template-columns: 1fr; gap: 22px; }.market-meta { font-size: 12px; }.market-meta label { font-size: 0; }.market-meta select { font-size: 12px; }
  .dashboard-shell { padding: 38px 0 70px; }.dashboard-head { align-items: flex-start; flex-direction: column; gap: 22px; }.dashboard-head h1, .page-title h1 { font-size: 34px; }.dashboard-head .button { width: 100%; }.stats-grid { display: flex; width: calc(100vw - 16px); overflow-x: auto; gap: 10px; scrollbar-width: none; }.stats-grid article { min-width: 210px; min-height: 120px; }.listings-panel, .order-panel { padding: 18px 15px; }.producer-listing { grid-template-columns: 62px 1fr; }.producer-listing img { width: 62px; height: 56px; }.stock-select { grid-column: 2; width: 100%; }.narrow-page { padding: 40px 0 70px; }.order-row { grid-template-columns: 58px 1fr auto; }.order-row img { width: 58px; height: 54px; }.order-row .button { grid-column: 2/4; }.producer-grid { grid-template-columns: 1fr; }
  .message-layout { height: auto; display: block; }.conversation-list { display: none; }.chat-panel { min-height: 620px; }.chat-body { padding: 20px 13px; }.product-share { width: 100%; }.bubble { max-width: 84%; }
  .modal-backdrop { padding: 0; align-items: end; }.modal-card { max-height: 94dvh; border-radius: 24px 24px 0 0; }.product-modal { display: block; }.detail-photo-wrap { min-height: 330px; height: 42vh; }.detail-content { display: block; }.detail-main { padding: 28px 20px 20px; }.detail-title h2 { font-size: 26px; }.detail-facts div { padding-inline: 8px; }.detail-order { position: sticky; bottom: 0; padding: 15px 20px calc(18px + env(safe-area-inset-bottom)); }.modal-close { position: fixed; }.order-modal { padding: 35px 20px calc(28px + env(safe-area-inset-bottom)); }.sell-modal { height: 94dvh; }.sell-step { padding: 30px 20px 40px; }.sell-step h2 { font-size: 30px; }.photo-upload { height: 230px; }.sell-categories { grid-template-columns: repeat(3,1fr); }.publish-success { padding: 70px 24px; }.toast { bottom: 86px; width: calc(100% - 32px); justify-content: center; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }.product-image { aspect-ratio: 1.35; }.product-card:nth-child(n+7) { display: none; }.hero-photo { min-height: 340px; }.hero-float-card { display: none; }.detail-facts { font-size: 9px; }.choice-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
