:root {
  --forest: #04341e;
  --forest-dark: #002815;
  --forest-mid: #0b5032;
  --orange: #fe6301;
  --mint: #dcf4de;
  --cream: #f6f2e9;
  --ink: #082b1b;
  --olive: #a8bd33;
  --line: rgba(4,52,30,.15);
  --ease-out: cubic-bezier(.23,1,.32,1);
}
* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter,"Aptos","Segoe UI",Arial,sans-serif; -webkit-font-smoothing: antialiased; }
button,input,select { font: inherit; }
button,a,select { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.market-header { height: 82px; background: var(--forest-dark); color: var(--cream); display: grid; grid-template-columns: 290px minmax(220px,1fr) 222px 92px 118px; gap: 14px; align-items: center; padding: 0 24px; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cream); white-space: nowrap; }
.brand img { width: 48px; height: 42px; object-fit: contain; }
.brand strong { font-size: 32px; line-height: 1; letter-spacing: -.055em; font-weight: 850; }
.brand em { color: var(--orange); font-style: normal; }
.header-search { height: 44px; position: relative; }
.header-search .icon { position: absolute; top: 11px; left: 15px; color: var(--forest-dark); }
.header-search input { width: 100%; height: 44px; border: 0; border-radius: 999px; background: var(--cream); color: var(--ink); padding: 0 15px 0 46px; font-size: 14px; }
.market-town { width: 100%; height: 44px; border: 0; border-radius: 999px; background-color: var(--mint); color: var(--ink); padding: 0 30px 0 37px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z' fill='none' stroke='%2304341e' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%2304341e' stroke-width='2'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23082b1b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 12px center,right 12px center; font-size: 13px; font-weight: 750; text-align: left; text-overflow: ellipsis; }
.market-currency { height: 44px; width: 92px; border: 0; border-radius: 999px; padding: 0 10px; background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 800; }
.header-icons { display: flex; justify-content: flex-end; align-items: center; gap: 11px; }
.header-icons button { color: var(--cream); background: transparent; border: 0; padding: 5px; display: grid; place-items: center; }
.mobile-market-head,.mobile-controls,.mobile-search,.mobile-bottom { display: none; }
.market-main { width: min(100% - 40px, 1420px); margin: 0 auto; }
.crumb { padding: 17px 2px 12px; color: #5d6b61; font-size: 12px; }
.crumb a { color: inherit; text-decoration: none; }
.shop-hero { min-height: 280px; border-radius: 28px; overflow: hidden; padding: 34px 42px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 28px; color: var(--cream); background: var(--forest); position: relative; isolation: isolate; }
.shop-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 43%; background: url("assets/edge-right.jpg") center/cover no-repeat; opacity: .35; }
.shop-hero-copy { max-width: 520px; }
.eyebrow { color: var(--mint); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.shop-hero h1 { margin: 12px 0 10px; max-width: 580px; font-size: clamp(38px,4.2vw,58px); line-height: .98; letter-spacing: -.06em; color: var(--cream); }
.shop-hero h1 span { color: var(--orange); }
.shop-hero p { margin: 0; max-width: 390px; color: var(--mint); font-size: 15px; line-height: 1.45; }
.shop-hero-art { width: 100%; max-width: 565px; height: 220px; justify-self: end; background: url("assets/market-hero.jpg") center 45%/cover no-repeat; border-radius: 18px; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.browse-bar { display: grid; grid-template-columns: 1fr 190px 180px; gap: 11px; margin: 20px 0 19px; }
.browse-search { height: 48px; border: 1px solid var(--line); border-radius: 15px; background: white; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.browse-search .icon { color: var(--forest); }
.browse-search input { border: 0; outline: 0; min-width: 0; width: 100%; color: var(--ink); background: transparent; font-size: 14px; }
.field-select { height: 48px; border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--ink); padding: 0 13px; font-size: 13px; font-weight: 700; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 25px 0 13px; }
.section-head h2 { margin: 0; color: var(--forest); font-size: 24px; letter-spacing: -.04em; }
.section-head p { margin: 4px 0 0; color: #56645a; font-size: 13px; }
.category-pills { display: flex; gap: 8px; overflow-x: auto; padding: 1px 2px 7px; scrollbar-width: thin; }
.category-filter { min-height: 36px; border: 1px solid rgba(4,52,30,.22); border-radius: 999px; background: transparent; color: var(--forest); padding: 0 14px; white-space: nowrap; font-size: 12px; font-weight: 750; transition: background-color 140ms ease,color 140ms ease,transform 140ms var(--ease-out); }
.category-filter:hover { transform: translateY(-1px); }
.category-filter.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.catalog-heading { margin: 17px 0 11px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.catalog-heading h2 { margin: 0; color: var(--forest); font-size: 22px; letter-spacing: -.04em; }
.catalog-note { color: #5c685e; font-size: 11px; }
.listing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.listing-card { overflow: hidden; min-width: 0; border-radius: 18px; border: 1px solid rgba(4,52,30,.13); background: white; color: var(--ink); transition: transform 180ms var(--ease-out),box-shadow 180ms ease; }
.listing-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,34,18,.12); }
.listing-card[hidden] { display: none; }
.listing-photo-wrap { height: 206px; position: relative; overflow: hidden; background: var(--mint); }
.listing-photo { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 250ms var(--ease-out); }
.listing-card:hover .listing-photo { transform: scale(1.025); }
.sample-badge { position: absolute; top: 11px; left: 11px; background: var(--cream); color: var(--forest); border-radius: 999px; padding: 6px 9px; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.listing-body { padding: 13px 14px 14px; }
.listing-category { color: #536357; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.listing-body h3 { margin: 6px 0 5px; color: var(--forest); font-size: 17px; line-height: 1.12; letter-spacing: -.03em; }
.listing-copy { margin: 0; color: #58675d; font-size: 12px; line-height: 1.4; min-height: 32px; }
.listing-meta { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 11px; font-weight: 700; }
.price-note { color: #56645a; }
.listing-arrow { color: #b84408; font-size: 18px; }
.market-close { margin: 25px 0 28px; min-height: 92px; border-radius: 20px; background: var(--mint); padding: 19px 23px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.market-close h2 { margin: 0 0 4px; color: var(--forest); font-size: 21px; letter-spacing: -.04em; }
.market-close p { margin: 0; color: #4f5f53; font-size: 13px; }
.enroll-link { flex: none; border-radius: 999px; background: var(--orange); color: var(--forest-dark); padding: 13px 19px; font-size: 13px; font-weight: 850; text-decoration: none; transition: transform 140ms var(--ease-out); }
.enroll-link:hover { transform: translateY(-2px); }
.page-footer { padding: 14px 0 20px; color: #667168; font-size: 11px; display: flex; justify-content: space-between; gap: 12px; }

/* Vendor onboarding */
.enroll-page { min-height: 100vh; background: var(--cream); }
.enroll-top { height: 72px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: var(--forest-dark); color: var(--cream); }
.enroll-top .brand img { width: 44px; height: 39px; }
.enroll-top .brand strong { font-size: 29px; }
.back-shop { color: var(--mint); text-decoration: none; font-size: 13px; font-weight: 750; }
.enroll-shell { width: min(100% - 32px, 1160px); margin: 34px auto 54px; display: grid; grid-template-columns: 310px minmax(0,1fr); gap: 22px; align-items: start; }
.enroll-intro { background: var(--forest); color: var(--cream); border-radius: 24px; padding: 27px 24px 24px; position: sticky; top: 18px; }
.enroll-intro .eyebrow { color: var(--mint); }
.enroll-intro h1 { margin: 12px 0 9px; font-size: 38px; letter-spacing: -.06em; line-height: .98; }
.enroll-intro h1 span { color: var(--orange); }
.enroll-intro p { margin: 0; color: var(--mint); font-size: 14px; line-height: 1.5; }
.step-rail { list-style: none; padding: 22px 0 0; margin: 24px 0 0; border-top: 1px solid rgba(220,244,222,.2); display: grid; gap: 10px; }
.step-rail li { display: flex; align-items: center; gap: 10px; color: rgba(220,244,222,.65); font-size: 12px; font-weight: 700; }
.step-rail .step-dot { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(220,244,222,.36); font-size: 10px; }
.step-rail li.current { color: var(--cream); }
.step-rail li.current .step-dot,.step-rail li.done .step-dot { background: var(--orange); color: var(--forest-dark); border-color: var(--orange); }
.enroll-card { border-radius: 24px; background: white; border: 1px solid rgba(4,52,30,.1); box-shadow: 0 12px 35px rgba(0,30,15,.07); overflow: hidden; }
.enroll-card-head { padding: 21px 27px 17px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.enroll-card-head small { display: block; color: #5b695e; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: 10px; }
.enroll-card-head h2 { margin: 6px 0 0; font-size: 25px; color: var(--forest); letter-spacing: -.04em; }
.step-count { color: #59665b; font-size: 11px; font-weight: 750; white-space: nowrap; }
.progress-track { height: 4px; background: #e7eee7; }
.progress-value { height: 100%; width: 25%; background: var(--orange); transition: width 220ms var(--ease-out); }
.enroll-form { padding: 22px 27px 26px; }
.step-panel[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 13px; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1/-1; }
.form-field label,.field-legend { color: var(--forest); font-size: 12px; font-weight: 800; }
.form-field input,.form-field select,.form-field textarea { width: 100%; min-height: 45px; border: 1px solid rgba(4,52,30,.2); border-radius: 12px; background: #fffefa; color: var(--ink); padding: 10px 12px; font-size: 13px; }
.form-field small,.helper-copy { color: #637066; font-size: 11px; line-height: 1.4; }
.field-legend { margin: 0 0 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.choice-card { position: relative; display: flex; align-items: center; gap: 10px; min-height: 59px; padding: 10px 12px; border: 1px solid rgba(4,52,30,.16); border-radius: 14px; background: #fffefa; cursor: pointer; transition: border-color 140ms ease,background-color 140ms ease,transform 140ms var(--ease-out); }
.choice-card:hover { border-color: var(--forest); transform: translateY(-1px); }
.choice-card:has(input:checked) { background: var(--mint); border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.choice-card input { accent-color: var(--forest); width: 16px; height: 16px; margin: 0; flex: none; }
.choice-card strong { display: block; color: var(--forest); font-size: 13px; line-height: 1.15; }
.choice-card small { display: block; margin-top: 3px; color: #637066; font-size: 10px; line-height: 1.25; }
.type-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 16px; }
.type-card { position: relative; padding: 12px; border: 1px solid rgba(4,52,30,.16); border-radius: 14px; background: #fffefa; display: flex; gap: 9px; align-items: start; cursor: pointer; }
.type-card:has(input:checked) { background: #f2f8ed; border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.type-card input { accent-color: var(--forest); margin: 2px 0 0; }
.type-card strong { display: block; font-size: 12px; }
.type-card small { display: block; margin-top: 3px; color: #637066; font-size: 10px; line-height: 1.3; }
.transaction-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.review-list { margin: 0; display: grid; gap: 9px; }
.review-row { padding: 12px 14px; display: grid; grid-template-columns: 150px 1fr; gap: 10px; background: #f3f7ef; border-radius: 12px; font-size: 12px; }
.review-row dt { color: #59665b; font-weight: 750; }
.review-row dd { margin: 0; color: var(--forest); font-weight: 750; overflow-wrap: anywhere; }
.privacy-note { margin: 15px 0 0; color: #637066; font-size: 11px; line-height: 1.4; }
.form-actions { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-action { min-height: 44px; border: 0; border-radius: 999px; padding: 0 18px; font-weight: 800; font-size: 13px; }
.form-action.secondary { background: transparent; color: var(--forest); border: 1px solid rgba(4,52,30,.24); }
.form-action.primary { margin-left: auto; background: var(--orange); color: var(--forest-dark); }
.form-action:hover { transform: translateY(-1px); }
.form-action:active { transform: scale(.98); }
.enroll-confirm { display: none; padding: 30px; text-align: center; }
.enroll-confirm.show { display: block; }
.confirm-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 27px; }
.enroll-confirm h2 { color: var(--forest); margin: 0 0 8px; font-size: 27px; letter-spacing: -.04em; }
.enroll-confirm p { color: #59665b; font-size: 14px; line-height: 1.5; max-width: 440px; margin: 0 auto 17px; }
.enroll-confirm button { border: 0; border-radius: 999px; padding: 12px 18px; background: var(--orange); color: var(--forest-dark); font-weight: 800; }
.form-message { min-height: 18px; color: #9b3100; font-size: 12px; font-weight: 700; margin-top: 7px; }
.confirm-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.confirm-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.confirm-actions button,.success-actions button { border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; background: white; color: var(--forest); font-weight: 800; }

/* First vendor listing */
.listing-setup-page { min-height: 100vh; }
.listing-setup-shell { width: min(100% - 36px, 1180px); margin: 38px auto 60px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 24px; }
.listing-setup-intro { position: sticky; top: 22px; padding: 32px 28px; border-radius: 26px; background: var(--forest); color: var(--cream); }
.listing-setup-intro .eyebrow { color: var(--mint); }
.listing-setup-intro h1 { margin: 14px 0 12px; max-width: 360px; font-size: clamp(36px,4vw,52px); line-height: .96; letter-spacing: -.06em; }
.listing-setup-intro h1 span { color: var(--orange); }
.listing-setup-intro p { color: var(--mint); font-size: 14px; line-height: 1.5; }
.setup-note { display: flex; gap: 12px; align-items: start; margin: 30px 0 22px; padding: 16px; border: 1px solid rgba(220,244,222,.22); border-radius: 16px; background: rgba(220,244,222,.08); }
.setup-note span { color: var(--orange); font-size: 20px; }
.setup-note p { margin: 0; font-size: 12px; }
.listing-setup-intro > a { color: var(--mint); font-size: 12px; font-weight: 750; text-decoration: none; }
.listing-setup-card { overflow: hidden; border: 1px solid rgba(4,52,30,.12); border-radius: 24px; background: white; box-shadow: 0 12px 35px rgba(0,30,15,.07); }
.setup-card-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; padding: 22px 27px 18px; border-bottom: 1px solid var(--line); }
.setup-card-head small { color: #5b695e; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.setup-card-head h2 { margin: 6px 0 0; color: var(--forest); font-size: 24px; letter-spacing: -.04em; }
.setup-card-head > span { color: #59665b; font-size: 11px; font-weight: 750; }
.setup-form { padding: 22px 27px 26px; }
.offer-types { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
.offer-types legend { margin-bottom: 9px; color: var(--forest); font-size: 12px; font-weight: 800; }
.offer-types label { display: flex; min-height: 91px; align-items: start; gap: 7px; padding: 11px 9px; border: 1px solid var(--line); border-radius: 13px; background: #fffefa; cursor: pointer; }
.offer-types label:has(input:checked) { border-color: var(--orange); background: #fff6ec; box-shadow: inset 0 0 0 1px var(--orange); }
.offer-types input { margin: 3px 0 0; accent-color: var(--forest); }
.offer-types b { display: block; color: var(--forest); font-size: 12px; line-height: 1.2; }
.offer-types small { display: block; margin-top: 5px; color: #637066; font-size: 9px; line-height: 1.3; }
.setup-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 13px; }
.setup-fields .field-span { grid-column: 1/-1; }
.setup-fields .form-field > span { color: var(--forest); font-size: 12px; font-weight: 800; }
.setup-fields .form-field input,.setup-fields .form-field select,.setup-fields .form-field textarea { width: 100%; min-height: 45px; border: 1px solid rgba(4,52,30,.2); border-radius: 12px; background: #fffefa; color: var(--ink); padding: 10px 12px; font-size: 13px; }
.setup-fields .form-field textarea { resize: vertical; }
.setup-fields .form-field small,.photo-status { color: #637066; font-size: 10px; line-height: 1.4; }
.price-input { display: flex; align-items: center; border: 1px solid rgba(4,52,30,.2); border-radius: 12px; background: #fffefa; }
.price-input > span { padding-left: 13px; color: #637066; font-size: 13px; }
.setup-fields .price-input input { border: 0; background: transparent; }
.photo-drop { position: relative; min-height: 82px; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px dashed rgba(4,52,30,.35); border-radius: 14px; background: #f8faf5; cursor: pointer; }
.photo-add { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--forest); font-size: 21px; }
.photo-drop b,.photo-drop small { display: block; }
.photo-drop b { color: var(--forest); font-size: 12px; }
.photo-drop small { margin-top: 3px; color: #637066; font-size: 10px; }
.photo-drop input { position: absolute; width: 1px!important; height: 1px!important; opacity: 0; }
.setup-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.setup-actions > a { color: #5b695e; font-size: 12px; font-weight: 750; text-decoration: none; }
.setup-actions .form-action { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.listing-success { padding: 42px 26px; text-align: center; }
.listing-success h2 { margin: 9px 0; color: var(--forest); font-size: 26px; letter-spacing: -.04em; }
.listing-success p { max-width: 430px; margin: 0 auto 20px; color: #59665b; font-size: 13px; line-height: 1.5; }
.success-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.success-actions a { padding: 12px 17px; border-radius: 999px; background: var(--orange); color: var(--forest-dark); font-size: 12px; font-weight: 850; text-decoration: none; }
.listing-success[hidden] { display: none; }

/* Vendor storefront */
.store-hero { overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 390px; border-radius: 27px; background: var(--forest); color: var(--cream); }
.store-cover { grid-column: 2; grid-row: 1; min-height: 390px; background: url("assets/fashion.jpg") center/cover no-repeat; }
.store-profile { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: start; justify-content: center; padding: 34px; }
.store-profile > .sample-badge { position: static; margin-bottom: 25px; }
.store-name-line { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.store-name-line .eyebrow { color: var(--mint); }
.store-name-line h1 { margin: 9px 0 0; color: var(--cream); font-size: clamp(42px,5vw,63px); line-height: .93; letter-spacing: -.065em; }
.store-name-line h1 span { color: var(--orange); }
.save-store { width: 46px; height: 46px; flex: none; border: 1px solid rgba(220,244,222,.45); border-radius: 50%; background: transparent; color: var(--cream); font-size: 25px; cursor: pointer; }
.save-store[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--forest-dark); }
.store-summary { max-width: 385px; margin: 15px 0 20px; color: var(--mint); font-size: 14px; line-height: 1.5; }
.store-facts { display: grid; gap: 8px; color: var(--cream); font-size: 12px; }
.store-facts b { display: inline-grid; width: 23px; color: var(--orange); font-size: 16px; }
.store-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.store-contact { min-height: 43px; padding: 0 17px; border: 0; border-radius: 999px; background: var(--orange); color: var(--forest-dark); font-size: 12px; font-weight: 850; cursor: pointer; }
.store-contact span { margin-left: 8px; }
.concept-disclaimer { color: rgba(220,244,222,.7); font-size: 10px; }
.store-about { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 29px 6px 25px; border-bottom: 1px solid var(--line); }
.store-about .eyebrow { color: #5d6b61; }
.store-about h2 { margin: 8px 0 0; color: var(--forest); font-size: 28px; letter-spacing: -.05em; }
.store-about p { max-width: 520px; margin: 0; color: #58675d; font-size: 13px; line-height: 1.5; }
.store-listings { padding-top: 21px; }
.store-listings .catalog-heading { align-items: end; }
.store-listings .catalog-heading p { margin: 5px 0 0; color: #5c685e; font-size: 11px; }
.store-listings .catalog-heading > a { color: #9b3b09; font-size: 12px; font-weight: 800; text-decoration: none; }
.store-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.store-product { overflow: hidden; border: 1px solid rgba(4,52,30,.13); border-radius: 18px; background: white; }
.store-product-image { position: relative; height: 215px; overflow: hidden; background: var(--mint); }
.store-product-image img { width: 100%; height: 100%; object-fit: cover; }
.store-product > div:last-child { padding: 14px; }
.store-product small { color: #5e6b61; font-size: 9px; font-weight: 850; letter-spacing: .09em; }
.store-product h3 { margin: 6px 0; color: var(--forest); font-size: 18px; letter-spacing: -.035em; }
.store-product p { min-height: 34px; margin: 0; color: #58675d; font-size: 11px; line-height: 1.4; }
.store-product footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: #56645a; font-size: 10px; font-weight: 750; }
.store-product footer button { border: 0; background: transparent; color: #963807; font-size: 11px; font-weight: 850; cursor: pointer; }
.store-note { display: flex; align-items: start; gap: 12px; margin: 22px 0 12px; padding: 17px; border-radius: 16px; background: var(--mint); }
.store-note > span { color: #a5420b; font-size: 20px; }
.store-note p { margin: 0; color: #4f5f53; font-size: 11px; line-height: 1.45; }
.store-note b { color: var(--forest); }
.store-page .toast { position: fixed; z-index: 30; left: 50%; bottom: 25px; transform: translate(-50%,15px); opacity: 0; pointer-events: none; padding: 12px 17px; border-radius: 999px; background: var(--forest-dark); color: var(--cream); font-size: 12px; box-shadow: 0 8px 25px rgba(0,20,10,.25); transition: opacity 150ms ease,transform 150ms ease; }
.store-page .toast.visible { transform: translate(-50%,0); opacity: 1; }

.featured-shop { display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 18px; margin: 23px 0 24px; padding: 13px; border: 1px solid var(--line); border-radius: 19px; background: white; }
.featured-shop img { width: 145px; height: 105px; object-fit: cover; border-radius: 13px; }
.featured-shop small { color: #5e6b61; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.featured-shop h3 { margin: 5px 0; color: var(--forest); font-size: 20px; letter-spacing: -.04em; }
.featured-shop p { margin: 0; color: #58675d; font-size: 12px; }
.featured-shop a { padding: 12px 15px; border-radius: 999px; background: var(--orange); color: var(--forest-dark); font-size: 11px; font-weight: 850; text-decoration: none; white-space: nowrap; }

@media (max-width: 1120px) {
  .market-header { grid-template-columns: 235px minmax(180px,1fr) 190px 80px 100px; gap: 9px; padding: 0 16px; }
  .brand strong { font-size: 28px; }
  .market-main { width: min(100% - 28px,1420px); }
  .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .store-hero,.store-cover { min-height: 330px; }
  .store-profile { padding: 24px; }
  .store-about { gap: 22px; }
  .store-product-grid { gap: 10px; }
  .store-product-image { height: 175px; }
  .market-header .header-icons { gap: 4px; }
}
@media (max-width: 900px) {
  .market-header { display: none; }
  .mobile-market-head { display: flex; height: 60px; background: var(--forest-dark); color: var(--cream); justify-content: space-between; align-items: center; padding: 0 15px; }
  .mobile-market-head .brand img { width: 40px; height: 36px; }
  .mobile-market-head .brand strong { font-size: 25px; }
  .mobile-icons { display: flex; gap: 12px; }
  .mobile-icons button { color: var(--cream); background: transparent; border: 0; padding: 4px; }
  .mobile-controls { display: grid; grid-template-columns: 1fr 86px; gap: 8px; padding: 10px 14px 0; background: var(--forest); }
  .mobile-controls .market-town,.mobile-controls .market-currency { height: 41px; }
  .mobile-search { display: block; padding: 8px 14px 12px; background: var(--forest); }
  .mobile-search input { width: 100%; height: 42px; border: 0; border-radius: 999px; padding: 0 14px; background: var(--cream); color: var(--ink); }
  .market-main { width: min(100% - 24px, 700px); }
  .crumb { padding-top: 12px; }
  .shop-hero { min-height: 225px; grid-template-columns: 1fr .85fr; padding: 22px; gap: 14px; }
  .shop-hero h1 { font-size: clamp(35px,6vw,48px); }
  .shop-hero p { font-size: 12px; }
  .shop-hero-art { height: 170px; }
  .browse-bar { grid-template-columns: 1fr 160px; }
  .browse-bar .field-select:last-child { grid-column: 1/-1; }
  .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .listing-photo-wrap { height: 180px; }
  .enroll-shell { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .enroll-intro { position: static; padding: 20px; }
  .enroll-intro h1 { font-size: 32px; max-width: 450px; }
  .step-rail { display: flex; overflow-x: auto; gap: 8px; padding-top: 13px; margin-top: 14px; }
  .step-rail li { flex: 0 0 auto; }
  .step-rail li span:last-child { display: none; }
}
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .market-main { width: calc(100% - 20px); }
  .crumb { font-size: 11px; padding: 10px 1px; }
  .shop-hero { display: block; min-height: 0; padding: 21px 17px 0; border-radius: 20px; }
  .shop-hero::before { width: 35%; opacity: .28; }
  .shop-hero h1 { max-width: 350px; font-size: 37px; }
  .shop-hero p { max-width: 315px; font-size: 13px; }
  .shop-hero-art { height: auto; width: calc(100% + 34px); max-width: none; margin: 13px -17px 0; aspect-ratio: 2.2; border-radius: 0; box-shadow: none; }
  .browse-bar { grid-template-columns: 1fr 94px; gap: 7px; margin: 12px 0 16px; }
  .browse-search,.field-select { height: 43px; border-radius: 13px; font-size: 12px; }
  .browse-bar .field-select:last-child { grid-column: auto; }
  .section-head { margin: 20px 0 11px; }
  .section-head h2,.catalog-heading h2 { font-size: 19px; }
  .section-head p { font-size: 11px; }
  .category-pills { margin-right: -10px; }
  .category-filter { min-height: 33px; font-size: 11px; padding-inline: 11px; }
  .catalog-heading { margin-top: 15px; align-items: start; flex-direction: column; gap: 3px; }
  .catalog-note { font-size: 10px; }
  .listing-grid { gap: 8px; }
  .listing-card { border-radius: 14px; }
  .listing-photo-wrap { height: 142px; }
  .sample-badge { top: 7px; left: 7px; padding: 5px 7px; font-size: 8px; }
  .listing-body { padding: 10px 9px 11px; }
  .listing-category { font-size: 9px; }
  .listing-body h3 { font-size: 14px; }
  .listing-copy { font-size: 10px; min-height: 28px; }
  .listing-meta { margin-top: 8px; padding-top: 7px; font-size: 9px; }
  .market-close { margin: 18px 0 14px; padding: 14px; display: block; border-radius: 16px; }
  .market-close h2 { font-size: 17px; }
  .market-close p { font-size: 11px; margin-bottom: 12px; }
  .enroll-link { display: inline-flex; padding: 11px 14px; font-size: 12px; }
  .page-footer { font-size: 10px; padding-bottom: 14px; }
  .store-hero { display: flex; flex-direction: column; border-radius: 20px; }
  .store-cover { min-height: 0; aspect-ratio: 2.1; order: 0; }
  .store-profile { order: 1; padding: 19px 17px 21px; }
  .store-profile > .sample-badge { margin-bottom: 15px; }
  .store-name-line h1 { font-size: 43px; }
  .store-summary { margin: 10px 0 15px; font-size: 12px; }
  .store-facts { gap: 6px; font-size: 11px; }
  .store-actions { margin-top: 17px; }
  .store-about { display: block; padding: 21px 2px; }
  .store-about h2 { font-size: 23px; }
  .store-about p { margin-top: 10px; font-size: 12px; }
  .store-listings .catalog-heading { flex-direction: row; align-items: end; }
  .store-listings .catalog-heading > a { font-size: 10px; white-space: nowrap; }
  .store-product-grid { grid-template-columns: 1fr; gap: 10px; }
  .store-product { display: grid; grid-template-columns: 115px minmax(0,1fr); border-radius: 14px; }
  .store-product-image { height: 100%; min-height: 154px; }
  .store-product > div:last-child { padding: 11px; }
  .store-product h3 { font-size: 15px; }
  .store-product p { min-height: 0; font-size: 10px; }
  .store-product footer { font-size: 9px; }
  .store-note { padding: 13px; }
  .featured-shop { grid-template-columns: 95px 1fr; gap: 11px; padding: 9px; }
  .featured-shop img { width: 95px; height: 88px; }
  .featured-shop h3 { font-size: 16px; }
  .featured-shop p { font-size: 10px; }
  .featured-shop a { grid-column: 1/-1; text-align: center; padding: 10px; }
  .mobile-bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; min-height: 62px; padding: 6px 8px; display: grid; grid-template-columns: repeat(4,1fr); background: var(--forest-dark); border-top: 1px solid rgba(220,244,222,.13); }
  .mobile-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: rgba(220,244,222,.7); font-size: 9px; font-weight: 750; text-decoration: none; }
  .mobile-bottom a.active { color: var(--orange); }
  .mobile-bottom .icon { width: 20px; height: 20px; }
  .enroll-top { height: 60px; padding: 0 14px; }
  .enroll-top .brand img { width: 37px; height: 33px; }
  .enroll-top .brand strong { font-size: 24px; }
  .back-shop { font-size: 11px; }
  .enroll-shell { width: calc(100% - 20px); margin: 13px auto 28px; }
  .enroll-intro { border-radius: 18px; padding: 16px; }
  .enroll-intro h1 { font-size: 29px; margin-top: 8px; }
  .enroll-intro p { font-size: 12px; }
  .step-rail { gap: 6px; }
  .step-rail .step-dot { width: 22px; height: 22px; }
  .enroll-card { border-radius: 18px; }
  .enroll-card-head { padding: 16px 16px 13px; }
  .enroll-card-head h2 { font-size: 21px; }
  .step-count { font-size: 10px; }
  .enroll-form { padding: 16px; }
  .form-grid,.choice-grid,.type-grid,.transaction-grid { grid-template-columns: 1fr; gap: 9px; }
  .form-field.full { grid-column: auto; }
  .choice-card { min-height: 53px; }
  .form-actions { margin-top: 16px; padding-top: 13px; }
  .form-action { min-height: 41px; padding-inline: 14px; font-size: 12px; }
  .review-row { grid-template-columns: 112px 1fr; padding: 10px; font-size: 11px; }
  .enroll-confirm { padding: 25px 17px; }
  .listing-setup-shell { width: calc(100% - 20px); margin: 13px auto 30px; grid-template-columns: 1fr; gap: 13px; }
  .listing-setup-intro { position: static; padding: 20px; border-radius: 18px; }
  .listing-setup-intro h1 { max-width: 460px; font-size: 33px; }
  .setup-note { margin: 17px 0 13px; padding: 12px; }
  .listing-setup-card { border-radius: 18px; }
  .setup-card-head { padding: 16px; }
  .setup-card-head h2 { font-size: 21px; }
  .setup-form { padding: 16px; }
  .offer-types { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-types label { min-height: 70px; }
  .setup-fields { grid-template-columns: 1fr; gap: 11px; }
  .setup-fields .field-span { grid-column: auto; }
  .setup-actions { align-items: stretch; flex-direction: column-reverse; }
  .setup-actions .form-action { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
