/* One type system for public, owner, demo and administration pages.
   Font files are hosted locally. Values use rem so browser text preferences work. */
@font-face{font-family:"AgroFair Sans";font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-regular.woff2') format('woff2')}
@font-face{font-family:"AgroFair Sans";font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-medium.woff2') format('woff2')}
@font-face{font-family:"AgroFair Sans";font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/roboto-bold.woff2') format('woff2')}
@font-face{font-family:"AgroFair Sans";font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-italic.woff2') format('woff2')}
:root{
 --af-font-family:"AgroFair Sans",Arial,Helvetica,sans-serif;
 --af-font-mono:ui-monospace,SFMono-Regular,Consolas,monospace;
 --af-type-micro:.75rem;
 --af-type-caption:.8125rem;
 --af-type-ui:.875rem;
 --af-type-card:.9375rem;
 --af-type-body:1rem;
 --af-type-subheading:1.125rem;
 --af-type-section:1.375rem;
 --af-type-title:1.5rem;
 --af-type-page:2rem;
 --af-type-price:2rem;
 --af-type-card-price:1.375rem;
 --af-type-metric:1.75rem;
 --af-leading-heading:1.25;
 --af-leading-compact:1.4;
 --af-leading-body:1.6;
 --af-tracking-body:0;
 --af-tracking-heading:-.015em;
}
html{font-size:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body[data-ui="marketplace"]{font-family:var(--af-font-family);font-size:var(--af-type-body);font-weight:400;line-height:var(--af-leading-body);letter-spacing:var(--af-tracking-body);font-synthesis:none}
body[data-ui="marketplace"] :is(button,input,select,textarea){font-family:var(--af-font-family);font-weight:400;letter-spacing:var(--af-tracking-body)}
body[data-ui="marketplace"] :is(strong,b){font-weight:500}
body[data-ui="marketplace"] :is(h1,h2,h3,h4){font-family:var(--af-font-family);font-weight:500;letter-spacing:var(--af-tracking-heading);overflow-wrap:break-word;text-wrap:pretty}
body[data-ui="marketplace"] h1{font-size:var(--af-type-page);line-height:var(--af-leading-heading);margin-bottom:1rem}
body[data-ui="marketplace"] h2{font-size:var(--af-type-section);line-height:1.3;margin-bottom:1rem}
body[data-ui="marketplace"] h3{font-size:var(--af-type-subheading);line-height:var(--af-leading-compact);margin-bottom:.75rem}
body[data-ui="marketplace"] h4{font-size:var(--af-type-body);line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] p{font-weight:400;line-height:var(--af-leading-body)}

/* Page, section and product headings have distinct, predictable roles. */
body[data-ui="marketplace"] :is(.ops-heading,.page-intro,.fair-admin-heading,.advertiser-heading,.catalog-intro,.seller-heading) h1,
body[data-ui="marketplace"] .fair-admin-entry h1{font-size:var(--af-type-page);font-weight:500;line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-heading)}
body[data-ui="marketplace"] :is(.ops-panel,.ops-section-head,.market-section-head,.product-information,.seller-content-panel,.seller-profile-aside,.wizard-panel,.profile-copy,.fair-growth-page,.fair-prospect-grid,.fair-admin-overview,.fair-admin-notes,.fair-admin-attention,.fair-demo-guide,.form-card,.trade-guide-card,.advertiser-faq,.cost-simulator) h2{font-size:var(--af-type-section);font-weight:500;line-height:1.3;letter-spacing:var(--af-tracking-heading)}
body[data-ui="marketplace"] :is(.store-product-summary,.detail-overview) h1,
body[data-ui="marketplace"] #local-ad-title{font-size:var(--af-type-title);font-weight:500;line-height:1.3;letter-spacing:var(--af-tracking-heading);margin:0 0 .75rem}
body[data-ui="marketplace"] :is(.fair-subcategory-card,.taxonomy-card-head,.fair-category-title) h2{font-size:var(--af-type-subheading);font-weight:500;line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] :is(.store-demand,.fair-wanted-cta) h2{font-size:var(--af-type-section);font-weight:500;line-height:1.3}
body[data-ui="marketplace"] :is(.ops-empty,.empty-catalog) h2{font-size:var(--af-type-section);font-weight:500;letter-spacing:var(--af-tracking-heading);line-height:1.3}

/* Continuous reading stays regular weight, with room for Portuguese accents. */
body[data-ui="marketplace"] :is(.ops-prose,.page-intro,.story-copy,.product-information,.product-question-section,.trade-guide-card,.profile-copy,.feature,.info-line,.question-form-card,.seller-content-panel,.form-card,.fair-growth-page,.fair-admin-entry) :is(p,li),
body[data-ui="marketplace"] :is(.fair-description,.review-description,.story-copy){font-size:var(--af-type-body);font-weight:400;line-height:1.65;letter-spacing:0}
body[data-ui="marketplace"] :is(.ops-prose,.product-information,.store-product-description,.seller-content-panel) p{max-width:75ch}
body[data-ui="marketplace"] :is(.ops-panel,.store-product-description) :is(p,li){font-size:var(--af-type-body);font-weight:400;line-height:var(--af-leading-body)}
body[data-ui="marketplace"] :is(.ops-panel,.ops-prose,.product-information) :is(strong,b){font-weight:500}
body[data-ui="marketplace"] :is(.ops-prose,.product-information,.store-product-description) :is(h2,h3){margin-top:1.5rem}
body[data-ui="marketplace"] :is(.ops-prose,.product-information,.store-product-description) :is(h2,h3):first-child{margin-top:0}

/* Cards and money: readable compact titles, consistent figures, no heavy bold. */
body[data-ui="marketplace"] .product-info h3{font-size:var(--af-type-card);font-weight:400;line-height:1.45;letter-spacing:0;min-height:2.9em;margin-bottom:.5rem}
body[data-ui="marketplace"] :is(.product-price,.my-ad-info>strong){font-size:var(--af-type-card-price);font-weight:500;line-height:1.25;letter-spacing:var(--af-tracking-heading);font-variant-numeric:tabular-nums}
body[data-ui="marketplace"] :is(.detail-price,.ops-product-price),
body[data-ui="marketplace"] .store-product-summary>.ops-product-price,
body[data-ui="marketplace"] #local-ad-price{font-size:var(--af-type-price);font-weight:500;line-height:1.2;letter-spacing:var(--af-tracking-heading);font-variant-numeric:tabular-nums}
body[data-ui="marketplace"] .store-product-summary>.ops-product-price{font-size:var(--af-type-price);font-weight:500;line-height:1.2;letter-spacing:var(--af-tracking-heading)}
body[data-ui="marketplace"] :is(.side-price,.ad-plan-price,.ops-quote strong){font-size:var(--af-type-title);font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums;letter-spacing:var(--af-tracking-heading)}
body[data-ui="marketplace"] :is(.product-category,.product-meta,.product-location,.detail-location,.detail-subtitle,.photo-note,.card-seller,.card-seller small){font-size:var(--af-type-caption);font-weight:400;line-height:var(--af-leading-compact);letter-spacing:0}
body[data-ui="marketplace"] .product-card .card-seller{font-size:var(--af-type-caption);font-weight:400}
body[data-ui="marketplace"] :is(.product-category,.condition-badge,.ops-badge,.demo-tag,.plan-badge,.plan-badge span){font-size:var(--af-type-micro);font-weight:500;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] :is(.fair-facts,.spec-table,.cost-lines){font-size:var(--af-type-ui);line-height:1.5}
body[data-ui="marketplace"] :is(.fair-facts,.spec-table)>div,
body[data-ui="marketplace"] :is(.fair-facts,.spec-table) :is(dt,dd){font-size:var(--af-type-ui);line-height:1.5}
body[data-ui="marketplace"] :is(.fair-facts,.spec-table,.cost-lines) dt{font-weight:500}
body[data-ui="marketplace"] :is(.fair-facts,.spec-table) dd{font-weight:400;line-height:1.5}

/* A label, field or button looks the same in every form and step. */
body[data-ui="marketplace"] :is(.button,.button.small,.buy-button,.wa-button,.question-button,.link-button,.text-link){font-size:var(--af-type-ui);font-weight:500;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] :is(.ops-panel,.ops-filters,.field,.fair-admin-filters,.fair-finance-filters,.fair-prospect-team-form,.form-card,.wizard-panel,.my-ad-filters) label,
body[data-ui="marketplace"] :is(.fair-range-filter,.ops-panel) legend{font-size:var(--af-type-ui);font-weight:500;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] :is(.ops-panel,.ops-filters,.field,.fair-admin-filters,.fair-finance-filters,.form-card,.wizard-panel,.header-search,.fair-hub-toolbar,.ops-toolbar,.my-ad-filters) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
body[data-ui="marketplace"] .store-header .header-search input,
body[data-ui="marketplace"] .store-filter-disclosure .ops-filters :is(input,select){font-size:var(--af-type-body);font-weight:400;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] .store-filter-disclosure .ops-filters input,
body[data-ui="marketplace"] .store-filter-disclosure .ops-filters select{font-size:var(--af-type-body);font-weight:400;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] :is(.ops-panel,.ops-filters,.field,.fair-admin-filters,.fair-finance-filters,.wizard-panel,.form-card) :is(input:not([type="checkbox"]):not([type="radio"]),select){min-height:46px;height:auto}
body[data-ui="marketplace"] :is(.ops-check,.checkbox),
body[data-ui="marketplace"] .ops-panel .ops-check,
body[data-ui="marketplace"] :is(.fair-contact-ack,.fair-contact-warning) label{font-size:var(--af-type-ui);font-weight:400;line-height:1.6}
body[data-ui="marketplace"] :is(.ops-panel label small,.field small,.ops-status,.status,.quiet-note,.note,.ops-owner-note p,.ops-record small,.ops-message small,.footer-bottom,.footer-links,.store-assisted span){font-size:var(--af-type-caption);font-weight:400;line-height:1.6}
body[data-ui="marketplace"] .ops-muted{font-size:var(--af-type-caption)!important;font-weight:400;line-height:1.6}
body[data-ui="marketplace"] .proposal-note{font-size:var(--af-type-caption)!important;font-weight:400}
body[data-ui="marketplace"] :is(.eyebrow,.wizard-step-kicker,.wizard-step-label){font-size:var(--af-type-micro);font-weight:500;line-height:1.5;letter-spacing:.06em}
body[data-ui="marketplace"] :is(.breadcrumb,.fair-breadcrumb,.fair-classification,.fair-leaf-navigation,.ops-subline,.fair-back-link){font-size:var(--af-type-caption);font-weight:400;line-height:1.5;letter-spacing:0}

/* Delivery, contact notices and seller details remain readable beside prices. */
body[data-ui="marketplace"] .store-product-summary>p:not(.ops-product-price){font-size:var(--af-type-ui);font-weight:400;line-height:1.5}
body[data-ui="marketplace"] .store-product-summary>.text-link{font-size:var(--af-type-ui);font-weight:500}
body[data-ui="marketplace"] .store-product-description p{font-size:var(--af-type-body);font-weight:400;line-height:1.65}
body[data-ui="marketplace"] :is(.seller-box-title strong,.local-ad-seller h3){font-size:var(--af-type-body);font-weight:500;line-height:1.4}
body[data-ui="marketplace"] :is(.seller-box,.seller-profile-aside,.seller-reputation-mini,.local-ad-seller) :is(p,small){font-size:var(--af-type-caption);font-weight:400;line-height:1.5}
body[data-ui="marketplace"] .fair-shipping-heading h2{font-size:var(--af-type-body);font-weight:500;letter-spacing:0;line-height:1.4}
body[data-ui="marketplace"] :is(.fair-shipping,.fair-contact-warning,.fair-safety-notice) :is(p,small){font-size:var(--af-type-caption);font-weight:400;line-height:1.6}
body[data-ui="marketplace"] :is(.fair-shipping .fair-shipping-method,.fair-contact-warning h3,.fair-safety-notice>strong){font-size:var(--af-type-ui);font-weight:500;line-height:1.5}
body[data-ui="marketplace"] :is(.fair-shipping-form label,.fair-shipping-option,.fair-shipping-option strong,.fair-shipping-totals){font-size:var(--af-type-ui);font-weight:400;line-height:1.5}
body[data-ui="marketplace"] .fair-shipping-totals dd{font-weight:500;font-variant-numeric:tabular-nums}
body[data-ui="marketplace"] .fair-shipping-total{font-size:var(--af-type-body);font-weight:500;line-height:1.5}
body[data-ui="marketplace"] .fair-shipping-total dd{font-weight:500}
body[data-ui="marketplace"] .fair-product-tool-buttons .fair-utility-action{font-size:.75rem;font-weight:400}

/* Navigation and dashboards follow the same scale as the shop. */
body[data-ui="marketplace"] :is(.store-navigation,.store-sign-in,.store-account>summary,.store-account-menu a,.store-department-menu a,.ops-tabs button,.fair-admin-filters label,.fair-finance-filters label){font-size:var(--af-type-ui);font-weight:500;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] .ops-tabs button{font-size:var(--af-type-ui);font-weight:500;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] :is(.store-department-shelf,.store-shelf-item,.store-shelf-all){font-size:var(--af-type-ui);font-weight:500;line-height:1.4}
body[data-ui="marketplace"] .store-owner-switch{font-size:var(--af-type-caption);line-height:1.4}
body[data-ui="marketplace"] .store-owner-switch .container>span{font-size:var(--af-type-micro);font-weight:500}
body[data-ui="marketplace"] .store-owner-switch nav{font-size:var(--af-type-caption)}
body[data-ui="marketplace"] .store-launch strong{font-size:var(--af-type-ui);font-weight:500}
body[data-ui="marketplace"] .store-launch a{font-size:var(--af-type-caption)}
body[data-ui="marketplace"] :is(.ops-metric strong,.fair-finance-kpis strong,.fair-finance-mini strong,.ad-dashboard-stats strong){font-size:var(--af-type-metric);font-weight:500;line-height:1.25;letter-spacing:var(--af-tracking-heading);font-variant-numeric:tabular-nums}
body[data-ui="marketplace"] :is(.ops-metric span,.ops-metric small,.fair-admin-metrics small,.fair-finance-kpis small,.fair-finance-mini small,.fair-finance-statuses small){font-size:var(--af-type-caption);font-weight:400;line-height:1.5}
body[data-ui="marketplace"] .ops-metric .ops-metric-text{font-size:var(--af-type-body);font-weight:500;line-height:1.4;letter-spacing:0}
body[data-ui="marketplace"] table{font-size:var(--af-type-ui);line-height:1.5}
body[data-ui="marketplace"] th{font-size:var(--af-type-caption);font-weight:500;letter-spacing:0}
body[data-ui="marketplace"] td{font-size:var(--af-type-ui);font-weight:400;font-variant-numeric:tabular-nums}
body[data-ui="marketplace"] :is(.store-demo-banner,.ops-test-banner,.ops-toast,.result-panel pre){font-family:var(--af-font-family);font-size:var(--af-type-caption);font-weight:400;line-height:1.5}
body[data-ui="marketplace"] :is(code,.ops-code,pre code){font-family:var(--af-font-mono);font-size:var(--af-type-caption);line-height:1.6}

/* The wordmark keeps its established lettering as part of the logo. */
body[data-ui="marketplace"] .brand{font-family:Arial,Helvetica,sans-serif;font-size:1.8125rem;font-weight:700;letter-spacing:-1.3px;line-height:1.1}
body[data-ui="marketplace"] .brand span span{font-weight:400}
@media(max-width:760px){
 :root{--af-type-page:1.75rem;--af-type-section:1.25rem;--af-type-title:1.375rem;--af-type-price:1.875rem;--af-type-card-price:1.25rem;--af-type-metric:1.5rem;--af-type-card:.875rem}
 body[data-ui="marketplace"] .product-info h3{font-size:var(--af-type-card);line-height:1.45;min-height:2.9em}
 body[data-ui="marketplace"] :is(.product-location,.product-card .card-seller){font-size:var(--af-type-micro)}
 body[data-ui="marketplace"] :is(.store-shelf-item,.store-shelf-all){font-size:var(--af-type-micro)}
 body[data-ui="marketplace"] .store-header .brand{font-size:1.625rem;letter-spacing:-1.2px}
 body[data-ui="marketplace"] .store-launch .container>a{line-height:1.5}
 body[data-ui="marketplace"] .fair-technical-fields{gap:0 12px}
 body[data-ui="marketplace"] .fair-range-filter label{font-size:var(--af-type-caption)}
}
@media(max-width:360px){
 body[data-ui="marketplace"] .store-header .brand{font-size:1.5rem}
 body[data-ui="marketplace"] .store-owner-switch nav>a{padding-inline:6px}
 body[data-ui="marketplace"] .store-navigation{font-size:var(--af-type-caption)}
}

/* Official 2026.10 outlined lockup: no font substitution or square stretching. */
body[data-ui="marketplace"] .store-header{background:#174d39}
.brand img.brand-lockup,
body[data-ui="marketplace"] .brand img.brand-lockup{display:block;width:180px;height:auto;max-width:100%;object-fit:contain;flex-shrink:0}
body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:144px;height:auto}
body[data-ui="marketplace"] .brand:has(.brand-lockup){gap:0;letter-spacing:0;line-height:1}
.store-promotion-brand>img{display:block;width:88px;height:auto;max-width:100%;object-fit:contain}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:120px;height:auto}
 body[data-ui="marketplace"] .site-footer .brand img.brand-lockup{width:160px;height:auto}
 .store-promotion-brand>img{width:80px}
}
@media(max-width:379px){
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:96px;height:auto}
}
