/* AgroFair storefront: clear navigation, agricultural photography and compact commerce. */
body[data-ui="marketplace"]{--ink:#202923;--green:#124b36;--paper:#f7f8f6;--muted:#626e65;--line:#e0e5df;--radius:8px;color:var(--ink);background:var(--paper);font-family:var(--af-font-family)}
body[data-ui="marketplace"] .container{width:min(1260px,calc(100% - 64px))}
body[data-ui="marketplace"] :is(h1,h2,h3){font-weight:500}
body[data-ui="marketplace"] :is(.button,.buy-button,.wa-button,.question-button){border-radius:6px;font-size:var(--af-type-ui);gap:8px;box-shadow:none;min-height:44px}
body[data-ui="marketplace"] :is(.button,.buy-button,.wa-button,.question-button):hover{box-shadow:none;transform:none}
body[data-ui="marketplace"] .eyebrow{letter-spacing:var(--af-tracking-body);font-size:var(--af-type-micro);margin-bottom:12px;color:var(--muted)}
body[data-ui="marketplace"] .eyebrow:before{display:none}
body[data-ui="marketplace"] .ops-heading{margin-bottom:24px}
body[data-ui="marketplace"] .ops-heading h1{font-size:var(--af-type-page);line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-body);margin-bottom:12px}
body[data-ui="marketplace"] .ops-heading>p:last-child{font-size:var(--af-type-ui);line-height:var(--af-leading-body)}
body[data-ui="marketplace"] .ops-section{padding-top:28px;padding-bottom:40px}
body[data-ui="marketplace"] .ops-panel{border-radius:8px;padding:24px;box-shadow:none}
body[data-ui="marketplace"] .ops-panel h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body);line-height:var(--af-leading-heading)}
body[data-ui="marketplace"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){border-radius:5px}

/* One shared header across the public site and private demonstration. */
.store-owner-switch{background:#edf2f5;border-bottom:1px solid #d8e1e7;color:#294551;font-size:var(--af-type-caption)}
.store-owner-switch>.container{display:flex;align-items:center;justify-content:space-between;gap:14px}
.store-owner-switch .container>span{font-size:var(--af-type-micro);font-weight:500}
.store-owner-switch nav{display:flex;gap:4px;align-items:center;min-width:0}
.store-owner-switch nav>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border-bottom:3px solid transparent;white-space:nowrap;font-weight:500}
.store-owner-switch nav>a[aria-current="page"]{background:#fff;border-color:#456a7c;color:#203f4b}
.store-owner-switch nav>a:hover{background:#e0e9ee}
@media(max-width:760px){
 .store-owner-switch>.container{display:block}
 .store-owner-switch .container>span{display:block;padding-top:6px;font-size:var(--af-type-micro)}
 .store-owner-switch nav{justify-content:space-between;font-size:var(--af-type-micro)}
 .store-owner-switch nav>a{padding-inline:8px}
 .store-owner-switch .store-owner-admin{margin-left:auto}
}
body[data-ui="marketplace"] .store-header{background:#fff;border-bottom:1px solid var(--line);z-index:20}
body[data-ui="marketplace"] .store-header .header-inner{position:relative;min-height:82px;gap:28px;padding-block:15px}
body[data-ui="marketplace"] .store-header .brand{font-size:var(--af-type-title);letter-spacing:-1.5px;color:var(--green);gap:7px}
body[data-ui="marketplace"] .store-header .brand span span{font-weight:500}
body[data-ui="marketplace"] .store-header .brand img{width:39px;height:39px}
body[data-ui="marketplace"] .store-header .header-search{height:46px;background:#f8f9f7;border:1px solid #d8ded7;border-radius:6px;max-width:660px;overflow:hidden}
body[data-ui="marketplace"] .store-header .header-search input{padding:12px 15px;font-size:var(--af-type-card);color:var(--ink);background:transparent;min-width:0;border:0;width:100%}
body[data-ui="marketplace"] .store-header .header-search button{border:0;background:var(--green);color:#fff;border-radius:0;width:48px;height:46px;flex-shrink:0;display:grid;place-items:center}
body[data-ui="marketplace"] .store-header .header-search button:hover{background:#093c29}
body[data-ui="marketplace"] .store-header .header-search .fair-icon{width:22px;height:22px}
body[data-ui="marketplace"] .store-header .ops-header-actions{display:flex;align-items:center;gap:18px;margin-left:auto;flex-shrink:0;font-size:var(--af-type-caption)}
.store-sign-in,.store-account>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-weight:500;cursor:pointer;white-space:nowrap}
.store-sign-in>.fair-icon,.store-account>summary>.fair-icon{width:22px;height:22px}
.store-menu>summary{list-style:none}
.store-menu>summary::-webkit-details-marker{display:none}
.store-menu[open]>summary{color:var(--green)}
.store-account-menu{position:absolute;right:0;top:calc(100% - 4px);width:260px;max-width:100%;padding:8px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 10px 24px #1c302014;z-index:50}
.store-account-menu a{display:block;padding:12px;font-size:var(--af-type-ui);border-radius:3px}
.store-account-menu a:hover{background:#f0f4ed}
.store-navigation{display:flex;align-items:center;gap:30px;position:relative;min-height:44px;font-size:var(--af-type-caption)}
.store-navigation>a,.store-departments>summary{display:flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.store-navigation>a:hover,.store-navigation-extra>a:hover{text-decoration:underline;text-underline-offset:5px}
.store-departments>summary{font-weight:500;cursor:pointer}
.store-departments>summary .fair-icon{width:18px;height:18px}
.store-navigation-extra{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:var(--af-type-caption);color:#526157}
.store-navigation-extra>a{display:flex;align-items:center;min-height:44px;white-space:nowrap}
.store-wanted-nav{font-weight:500;color:var(--green)}
.store-department-menu{position:absolute;left:0;top:100%;width:min(880px,100%);background:#fff;padding:20px;border:1px solid var(--line);border-radius:0 0 6px 6px;box-shadow:0 10px 24px #1c302014;z-index:40;max-height:70vh;overflow:auto;overscroll-behavior:contain}
.store-department-all{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px;color:var(--green);font-weight:500;text-decoration:underline;text-underline-offset:4px}
.store-department-menu>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.store-department-menu>div>a{display:flex;align-items:center;gap:10px;padding:10px 8px;font-size:var(--af-type-caption);min-height:54px;border-radius:4px}
.store-department-menu>div>a:hover{background:#f1f5ee}
.store-department-menu .fair-category-icon{width:30px;height:30px;background:none;border-radius:0}
.store-department-menu .fair-category-icon svg{width:24px;height:24px}
.store-launch{background:#f8f4e8;border-bottom:1px solid #eee7d6}
.store-launch>.container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;padding-block:8px;font-size:var(--af-type-caption);color:#4f594f}
.store-launch .container>span{display:flex;align-items:center;gap:10px}
.store-launch strong{font-size:var(--af-type-caption);color:#243f2c}
.store-launch .fair-icon{color:#a37b17;width:19px;height:19px}
.store-launch a{text-underline-offset:3px}
.store-launch a:hover{text-decoration:underline}

/* Shared category pictograms keep department navigation easy to scan. */
.store-department-shelf{padding-top:22px;padding-bottom:18px}
.store-department-shelf>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;align-items:start}
.store-shelf-item,.store-shelf-all{display:grid;justify-items:center;align-content:start;gap:9px;text-align:center;color:var(--green);font-size:var(--af-type-caption);font-weight:500;min-width:0;line-height:var(--af-leading-compact)}
.store-shelf-item .fair-category-icon,.store-shelf-icon{display:grid;place-items:center;width:56px;height:56px;border:1px solid #dce5d8;border-radius:12px;background:#edf3e8;color:#396246}
.store-shelf-item .fair-category-icon svg,.store-shelf-icon .fair-icon{width:32px;height:32px}
.store-shelf-label{display:flex;align-items:center;justify-content:center;min-height:36px}
:is(.store-shelf-item,.store-shelf-all):hover :is(.fair-category-icon,.store-shelf-icon){background:#dfeadb;border-color:#b8cbb0}

/* One unobtrusive campaign placement, occupied by AgroFair's original field creative. */
.store-promotion{margin-top:32px;border-radius:8px;overflow:hidden;background:#123e2e}
.store-promotion>a{position:relative;display:flex;align-items:center;min-height:200px;color:#fff;isolation:isolate}
.store-promotion>a>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 57%;z-index:-2}
.store-promotion>a:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#082e24f2 0%,#123f31cc 32%,#123f3140 64%,#123f3100 100%);z-index:-1}
.store-promotion-copy{display:grid;justify-items:start;gap:6px;padding:26px 32px;max-width:540px}
.store-promotion-brand{font-size:var(--af-type-caption);font-weight:500;color:#d6e4be}
.store-promotion-title{font-size:var(--af-type-title);font-weight:500;line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-heading)}
.store-promotion-message{font-size:var(--af-type-ui);line-height:var(--af-leading-body);color:#edf2e8}
.store-promotion-link{margin-top:6px;display:inline-flex;align-items:center;min-height:36px;padding:7px 14px;border:1px solid #f6f7f3b3;border-radius:5px;font-size:var(--af-type-caption);font-weight:500;background:#123e2e40}
.store-promotion>a:hover .store-promotion-link{background:#f6f7f3;color:#123e2e;border-color:#f6f7f3}
.store-promotion:focus-within{outline:3px solid #819b36;outline-offset:3px}
.store-promotion>a:focus-visible{outline:none}
.store-promotion-home{margin-top:4px;margin-bottom:16px}

/* Catalog: compact filters on mobile, a proper sidebar on wide screens. */
body[data-ui="marketplace"] .store-catalog{padding-top:24px}
body[data-ui="marketplace"] .store-home-catalog{padding-top:8px}
body[data-ui="marketplace"] .store-catalog .ops-section-head{align-items:center;margin:0 0 16px;gap:16px}
body[data-ui="marketplace"] .store-catalog .ops-section-head h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body);margin:0;line-height:var(--af-leading-heading)}
body[data-ui="marketplace"] .store-catalog .ops-section-head>a{font-size:var(--af-type-caption);text-decoration:none;color:var(--green)}
.store-catalog-main{min-width:0}
.store-filter-disclosure{border:1px solid #dce3d9;border-radius:6px;background:#fff;align-self:start;margin-bottom:16px;min-width:0}
.store-filter-disclosure>summary{display:flex;align-items:center;gap:9px;list-style:none;padding:12px 14px;font-size:var(--af-type-caption);font-weight:500;cursor:pointer;min-height:46px}
.store-filter-disclosure>summary::-webkit-details-marker{display:none}
.store-filter-disclosure>summary>span{margin-left:auto;font-size:var(--af-type-subheading);font-weight:400;line-height:var(--af-leading-heading)}
.store-filter-disclosure[open]>summary{border-bottom:1px solid var(--line)}
.store-filter-disclosure[open]>summary>span{transform:rotate(45deg)}
.store-home-catalog .store-filter-disclosure:not([open]){width:fit-content;min-width:208px}
body[data-ui="marketplace"] .store-filter-disclosure .ops-filters{margin:0;padding:16px;border:0;border-radius:0;gap:0 14px}
body[data-ui="marketplace"] .store-filter-disclosure .ops-filters label{font-size:var(--af-type-caption);margin-bottom:14px}
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-ui);min-height:44px;padding:10px;border-radius:5px}
body[data-ui="marketplace"] .store-filter-disclosure .ops-filters .button{margin-bottom:8px}
.store-filter-disclosure .fair-technical{padding-top:16px;margin-top:0}
.store-filter-disclosure .fair-technical h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body)}
.store-filter-disclosure .fair-technical>p{font-size:var(--af-type-caption);line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] .store-catalog .ops-subline{font-size:var(--af-type-caption);margin:0 0 12px}
body[data-ui="marketplace"] .store-catalog .product-grid{gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-ui="marketplace"] .product-card{border:1px solid #e1e5df;border-radius:6px;box-shadow:none;background:#fff;overflow:hidden;min-width:0}
body[data-ui="marketplace"] .product-card:hover{border-color:#9aac99;box-shadow:none}
body[data-ui="marketplace"] .product-image{aspect-ratio:1.3;background:#ecefe9}
body[data-ui="marketplace"] .product-image img{transition:none;object-fit:cover}
body[data-ui="marketplace"] .product-info{padding:13px 14px 0;min-width:0}
body[data-ui="marketplace"] .product-info h3{font-size:var(--af-type-subheading);line-height:var(--af-leading-compact);letter-spacing:var(--af-tracking-body);font-weight:500;min-height:42px;margin:0 0 8px;overflow-wrap:anywhere}
body[data-ui="marketplace"] .product-price{font-size:var(--af-type-section);font-weight:500;letter-spacing:var(--af-tracking-body);color:#173e2b;margin:0 0 7px;line-height:var(--af-leading-heading);overflow-wrap:anywhere}
body[data-ui="marketplace"] .product-category{font-size:var(--af-type-micro);color:#707a71;letter-spacing:var(--af-tracking-body);text-transform:none;margin:0 0 7px;line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] .product-location{font-size:var(--af-type-caption);color:#687269;margin:0 0 10px;line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] .product-location .fair-icon{width:14px;height:14px}
body[data-ui="marketplace"] .product-meta{font-size:var(--af-type-micro);margin-bottom:8px}
body[data-ui="marketplace"] .product-card .card-seller{margin-top:auto;min-height:44px;font-size:var(--af-type-micro);border-top:1px solid #eff1ed;padding:9px 0;color:#687269;overflow-wrap:anywhere}
body[data-ui="marketplace"] .product-card .card-seller>span[aria-hidden]{display:none}
body[data-ui="marketplace"] .condition-badge{font-size:var(--af-type-micro);padding:4px 7px;border-radius:4px;background:#fffffff2;color:#354637;left:10px;top:10px}
body[data-ui="marketplace"] .store-empty{display:flex;align-items:flex-start;gap:18px;text-align:left;padding:26px;border:1px solid var(--line);border-radius:6px;background:#fff}
.store-empty-mark{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;background:#edf2e7;border-radius:6px;color:var(--green)}
.store-empty-mark .fair-icon{width:24px;height:24px}
body[data-ui="marketplace"] .store-empty h2{font-size:var(--af-type-section);line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-body);margin:0 0 8px}
body[data-ui="marketplace"] .store-empty p{font-size:var(--af-type-caption);line-height:var(--af-leading-body);margin:0 0 10px;max-width:620px}
body[data-ui="marketplace"] .store-empty .ops-actions{justify-content:flex-start;gap:22px;margin:0;flex-wrap:wrap}
.store-needs{border-top:1px solid var(--line);margin-top:22px;padding-top:8px}
.store-needs>summary{font-size:var(--af-type-caption);color:var(--muted);cursor:pointer;min-height:44px;padding-block:12px}
body[data-ui="marketplace"] .ops-owner-note{margin-top:20px;padding:16px;border-radius:6px;background:#f0f3eb;font-size:var(--af-type-caption)}
body[data-ui="marketplace"] .ops-owner-note p{font-size:var(--af-type-caption)}

/* Demand is a compact service in the shopping journey. */
.store-home-help{margin-top:24px}
body[data-ui="marketplace"] .store-demand{display:flex;align-items:center;gap:20px;padding:24px;border:1px solid #dde5d8;border-top:3px solid var(--green);border-radius:5px;background:#edf2e8;color:var(--ink);margin:28px 0 0}
.store-demand-mark{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;color:var(--green)}
.store-demand-mark .fair-icon{width:40px;height:40px;stroke-width:1.5}
.store-demand>div:first-of-type{flex:1;min-width:0}
body[data-ui="marketplace"] .store-demand h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body);line-height:var(--af-leading-heading);margin:0 0 5px}
body[data-ui="marketplace"] .store-demand p{font-size:var(--af-type-caption);line-height:var(--af-leading-body);margin:0;color:#586858}
.store-demand>.button,.store-demand .button{flex-shrink:0;font-size:var(--af-type-caption);white-space:nowrap}
.store-demand .fair-wanted-action{display:grid;gap:7px;justify-items:center;flex-shrink:0}
.store-demand .fair-wanted-action small{font-size:var(--af-type-micro);color:#60705f;margin:0}
.store-assisted{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 2px;border-bottom:1px solid var(--line);font-size:var(--af-type-caption)}
.store-assisted>div{display:grid;gap:4px}
.store-assisted strong{font-weight:500}
.store-assisted span{font-size:var(--af-type-caption);color:var(--muted)}
body[data-ui="marketplace"] .store-assisted .text-link{font-size:var(--af-type-caption);min-height:44px;white-space:nowrap}

/* Product pages share one information hierarchy before and after hydration. */
body[data-ui="marketplace"] .store-product-grid{gap:28px;grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);align-items:start}
.store-product-media,.store-product-side{min-width:0}
body[data-ui="marketplace"] .store-product-grid .ops-gallery{gap:8px;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}
body[data-ui="marketplace"] .store-product-grid .ops-gallery img{border:0;border-radius:0;height:120px;object-fit:contain}
body[data-ui="marketplace"] .store-product-grid .ops-gallery img:first-child,
body[data-ui="marketplace"] .store-product-grid .ops-gallery>a:first-child img{height:460px}
body[data-ui="marketplace"] .store-product-grid .ops-gallery>a:not(:first-child) img{height:120px}
body[data-ui="marketplace"] .store-product-description{margin-top:18px}
body[data-ui="marketplace"] .store-product-grid .store-product-summary{padding:24px}
body[data-ui="marketplace"] .store-product-summary h1{font-size:var(--af-type-page);line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-body);margin:0 0 12px}
body[data-ui="marketplace"] .store-product-summary>.eyebrow{font-size:var(--af-type-micro);margin-bottom:10px}
body[data-ui="marketplace"] .store-product-summary>p{margin-bottom:10px;font-size:var(--af-type-caption);line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] .store-product-summary>.ops-product-price{font-size:var(--af-type-page);line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-body);font-weight:500;margin:12px 0 10px;color:#143f2c}
body[data-ui="marketplace"] .store-product-summary>.text-link{font-size:var(--af-type-caption)}
body[data-ui="marketplace"] .fair-product-tools{gap:8px;margin:8px 0}
body[data-ui="marketplace"] .store-product-summary .ops-actions{gap:8px;margin:14px 0 10px;display:grid;grid-template-columns:1fr}
body[data-ui="marketplace"] .fair-shipping-calculator{padding:14px;margin:16px 0;border-radius:6px;border-color:#dde4d9;background:#fafbf8}
body[data-ui="marketplace"] .fair-shipping-heading{margin-bottom:10px}
body[data-ui="marketplace"] .fair-shipping-heading h2{font-size:var(--af-type-section)}
body[data-ui="marketplace"] .fair-shipping .fair-shipping-description{font-size:var(--af-type-caption);line-height:var(--af-leading-compact)}
body[data-ui="marketplace"] .fair-shipping-form{gap:8px}
body[data-ui="marketplace"] .fair-shipping-form input{padding:10px;font-size:var(--af-type-body);border-radius:5px}
body[data-ui="marketplace"] .fair-shipping-form .button{min-height:44px;font-size:var(--af-type-caption);padding-inline:13px}
body[data-ui="marketplace"] .fair-shipping-option{padding:10px;gap:8px;border-radius:5px;font-size:var(--af-type-caption)}
body[data-ui="marketplace"] .fair-shipping-totals{font-size:var(--af-type-caption);gap:8px;margin-top:12px}
body[data-ui="marketplace"] .fair-shipping-total{font-size:var(--af-type-body);padding-top:10px}
body[data-ui="marketplace"] .fair-safety-notice{margin-top:16px;padding-top:14px}
body[data-ui="marketplace"] .fair-safety-notice p{font-size:var(--af-type-caption);line-height:var(--af-leading-body)}
body[data-ui="marketplace"] .store-product-description p{font-size:var(--af-type-ui);line-height:var(--af-leading-body)}
body[data-ui="marketplace"] #perguntar h2{font-size:var(--af-type-section);margin-bottom:16px}
body[data-ui="marketplace"] #perguntar textarea{font-size:var(--af-type-body);min-height:108px}

/* Existing private product and seller previews receive the same treatment. */
body[data-ui="marketplace"] .product-detail{padding-top:22px}
body[data-ui="marketplace"] .detail-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.85fr);gap:28px}
body[data-ui="marketplace"] .detail-photo{border-radius:6px;aspect-ratio:1.15;background:#fff}
body[data-ui="marketplace"] .detail-photo img{object-fit:contain}
body[data-ui="marketplace"] .detail-overview{background:#fff;border:1px solid var(--line);border-radius:6px;padding:22px;min-width:0}
body[data-ui="marketplace"] .detail-overview h1{font-size:var(--af-type-page);font-weight:500;letter-spacing:var(--af-tracking-body);line-height:var(--af-leading-heading);margin:10px 0}
body[data-ui="marketplace"] .detail-subtitle{font-size:var(--af-type-caption);line-height:var(--af-leading-compact);margin-bottom:10px}
body[data-ui="marketplace"] .detail-location{font-size:var(--af-type-caption);line-height:var(--af-leading-body);margin-bottom:14px}
body[data-ui="marketplace"] .detail-price{font-size:var(--af-type-page);line-height:var(--af-leading-heading);font-weight:500;letter-spacing:var(--af-tracking-body);margin:12px 0 8px;color:#143f2c}
body[data-ui="marketplace"] .detail-transaction{gap:10px;margin-top:16px}
body[data-ui="marketplace"] .detail-transaction :is(.question-button,.buy-button,.wa-button){font-size:var(--af-type-ui);min-height:46px}
body[data-ui="marketplace"] .seller-box{padding:16px;border-radius:5px;margin-top:18px}
body[data-ui="marketplace"] .purchase-note{font-size:var(--af-type-micro);line-height:var(--af-leading-body);margin-top:12px}
body[data-ui="marketplace"] .photo-note{font-size:var(--af-type-micro);margin-top:8px}
body[data-ui="marketplace"] .product-information{gap:30px;margin-top:26px;padding-top:24px}
body[data-ui="marketplace"] .product-information h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body);margin-bottom:16px}
body[data-ui="marketplace"] .product-information p{font-size:var(--af-type-ui);line-height:var(--af-leading-body)}
body[data-ui="marketplace"] .spec-table div{padding:11px 0;font-size:var(--af-type-caption)}
body[data-ui="marketplace"] .demo-tag{font-size:var(--af-type-micro);border-radius:4px;padding:4px 7px}
body[data-ui="marketplace"] .catalog-intro h1{font-size:var(--af-type-page);font-weight:500;letter-spacing:var(--af-tracking-body)}
body[data-ui="marketplace"] .market-section-head h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body)}
body[data-ui="marketplace"] .market-products{padding-top:30px;padding-bottom:35px}
.store-demo-banner{padding:10px 16px;text-align:center;background:#fff2cf;font:inherit;line-height:var(--af-leading-body);font-size:var(--af-type-caption);font-family:var(--af-font-family);color:#5b4924}
.store-demo-banner a{margin-left:12px;text-decoration:underline;text-underline-offset:3px}
body[data-ui="marketplace"] .fair-demo-notice{margin-top:16px;font-size:var(--af-type-caption)}

/* Calm, readable supporting pages rather than a new style for every feature. */
body[data-ui="marketplace"] .fair-category-branch,
body[data-ui="marketplace"] .fair-subcategory-card{border-radius:6px}
body[data-ui="marketplace"] .fair-subcategory-card{min-height:130px;padding:20px}
body[data-ui="marketplace"] .fair-subcategory-card h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body)}
.fair-hub-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}
.fair-hub-title{display:flex;align-items:center;gap:16px;min-width:0}
.fair-hub-title>.fair-category-icon{width:48px;height:48px;border-radius:10px}
.fair-hub-title>.fair-category-icon svg{width:30px;height:30px}
body[data-ui="marketplace"] .fair-hub-heading .ops-heading{margin:0}
body[data-ui="marketplace"] .fair-hub-heading h1{margin:0 0 5px}
body[data-ui="marketplace"] .fair-hub-heading .ops-heading p{margin:0;font-size:var(--af-type-ui);line-height:var(--af-leading-body);color:var(--muted)}
.fair-category-hub .fair-hub-toolbar{display:block;margin:22px 0 16px}
.fair-category-hub .fair-hub-toolbar>label{display:grid;gap:8px;margin-bottom:8px;max-width:840px;font-size:var(--af-type-ui);font-weight:500}
.fair-hub-search-field{display:flex;max-width:840px;align-items:center;gap:6px;padding:5px;border:1px solid #bccbbd;border-radius:6px;background:#fff}
.fair-category-hub .fair-hub-search-field input{min-width:0;flex:1;width:100%;border:0;background:none;padding:10px 12px;border-radius:3px}
.fair-hub-search-field>.button{flex-shrink:0}
.fair-hub-section-label{font-size:var(--af-type-body);font-weight:500;margin:22px 0 0}
body[data-ui="marketplace"] .fair-category-hub .fair-subcategory-card{min-height:132px;padding:18px;gap:8px}
body[data-ui="marketplace"] .fair-category-hub .fair-subcategory-card h2{margin:0;font-size:var(--af-type-subheading)}
.fair-subcategory-examples{font-size:var(--af-type-caption);font-weight:400;line-height:var(--af-leading-body);color:var(--muted)}
.fair-category-hub .fair-card-caption{padding-top:8px;font-size:var(--af-type-caption)}
.fair-hub-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.fair-hub-footer .text-link{margin:0}
.fair-category-suggestions{margin:16px 0 24px}
.fair-search-reading{font-size:var(--af-type-ui);color:var(--muted);margin:0 0 12px}
.fair-search-matches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fair-search-match{background:#fff;border:1px solid #d7e1d4;border-radius:6px;overflow:hidden;min-width:0}
.fair-search-match-main{display:flex;flex-direction:column;gap:5px;padding:17px 18px;min-height:84px}
.fair-search-match-main strong{font-size:var(--af-type-subheading);font-weight:500;line-height:var(--af-leading-compact)}
.fair-search-match-main>span{font-size:var(--af-type-caption);color:var(--muted)}
.fair-search-match-main:hover{background:#edf3e8}
.fair-search-all-type{display:flex;align-items:center;min-height:44px;padding:8px 18px;border-top:1px solid var(--line);font-size:var(--af-type-caption);text-decoration:underline;text-underline-offset:3px}
.fair-search-all-type:hover{background:#f4f7f0}
.fair-search-options{display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap;margin-top:14px}
body[data-ui="marketplace"] .fair-search-options :is(.text-link,.link-button){font-size:var(--af-type-ui);min-height:44px;overflow-wrap:anywhere}
.store-active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px;font-size:var(--af-type-caption)}
.store-active-filters>a{display:inline-flex;align-items:center;gap:12px;min-height:40px;padding:7px 12px;background:#e8f0e3;border:1px solid #c8d9be;border-radius:5px;overflow-wrap:anywhere}
.store-active-filters>a:hover{background:#dce9d4}
.store-active-filters .store-clear-selection{background:none;border-color:transparent;text-decoration:underline;text-underline-offset:3px}
.fair-demo-test-destination{padding:12px 14px;border:1px solid var(--line);border-radius:6px;margin-bottom:20px;background:#f5f7f1}
.fair-demo-test-destination summary{font-size:var(--af-type-ui);font-weight:500;cursor:pointer}
.fair-demo-test-destination label{margin-top:14px}
.fair-demo-test-destination .ops-muted{font-size:var(--af-type-caption);margin-bottom:0}
body[data-ui="marketplace"] .site-footer{background:#fff;padding-top:34px}
body[data-ui="marketplace"] .site-footer .brand{color:var(--green)}
body[data-ui="marketplace"] .site-footer .footer-top{padding-bottom:28px}
body[data-ui="marketplace"] .site-footer p{font-size:var(--af-type-caption);color:var(--muted);margin-top:10px}

@media(min-width:960px){
 /* Wide pages use a steady reading rhythm rather than oversized introductions. */
 body[data-ui="marketplace"] .page-intro{padding-top:36px;padding-bottom:28px}
 body[data-ui="marketplace"] .section{padding-top:48px;padding-bottom:48px}
 body[data-ui="marketplace"] .section-top{margin-bottom:28px;gap:32px}
 body[data-ui="marketplace"] .market-section-head{margin-bottom:20px;align-items:center}
 body[data-ui="marketplace"] .product-information{gap:28px;margin-top:24px;padding-top:24px}
 body[data-ui="marketplace"] .store-product-grid,
 body[data-ui="marketplace"] .detail-layout{grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);gap:28px}
 body[data-ui="marketplace"] .store-product-summary,
 body[data-ui="marketplace"] .detail-overview{padding:24px}
 body[data-ui="marketplace"] .profile-card{padding:28px;gap:36px}
 body[data-ui="marketplace"] .fair-subcategory-card{min-height:116px}
 .store-catalog:not(.store-home-catalog) .store-catalog-shell{display:grid;grid-template-columns:248px minmax(0,1fr);gap:24px}
 body[data-ui="marketplace"] .store-catalog:not(.store-home-catalog) .ops-filters{grid-template-columns:1fr}
 .store-catalog:not(.store-home-catalog) .fair-technical-fields{grid-template-columns:1fr}
 body[data-ui="marketplace"] .store-catalog:not(.store-home-catalog) .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .store-catalog:not(.store-home-catalog) .fair-range-filter>div{grid-template-columns:1fr 1fr}
}
@media(max-width:1100px){
 .store-navigation-extra{gap:16px}
 .store-navigation-extra>a:last-child{display:none}
 body[data-ui="marketplace"] .store-header .header-inner{gap:20px}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:12px}
 .store-account>summary>span{display:none}
 body[data-ui="marketplace"] .store-catalog .product-grid{gap:14px}
}
@media(min-width:761px) and (max-width:959px){
 body[data-ui="marketplace"] .store-catalog .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-ui="marketplace"] .store-product-grid,
 body[data-ui="marketplace"] .detail-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:20px}
}
@media(max-width:760px){
 body[data-ui="marketplace"] .container{width:calc(100% - 32px)}
 body[data-ui="marketplace"] .store-header .header-inner{display:flex;flex-wrap:wrap;gap:12px;min-height:0;padding:13px 0 12px}
 body[data-ui="marketplace"] .store-header .brand{font-size:var(--af-type-title);gap:5px;letter-spacing:-1.3px}
 body[data-ui="marketplace"] .store-header .brand img{width:34px;height:34px}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:12px;margin-left:auto}
 body[data-ui="marketplace"] .store-header .ops-header-actions .button{padding:10px 12px;min-height:44px;font-size:var(--af-type-caption)}
 .store-sign-in,.store-account>summary{width:38px;min-height:44px}
 .store-sign-in>span,.store-account>summary>span{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
 .store-account-menu{top:65px;width:260px}
 body[data-ui="marketplace"] .store-header .header-search{display:flex;order:3;flex:1 0 100%;height:46px;max-width:none;border-radius:5px}
 body[data-ui="marketplace"] .store-header .header-search input{font-size:var(--af-type-body);padding:11px 12px}
 body[data-ui="marketplace"] .store-header .header-search button{height:46px;width:46px}
 .store-navigation{gap:0;justify-content:space-between;min-height:44px;font-size:var(--af-type-caption)}
 .store-navigation>a,.store-departments>summary{min-height:44px;gap:6px}
 .store-navigation-extra{display:none}
 .store-department-menu{padding:12px;width:100%;max-height:65vh}
 .store-department-menu>div{grid-template-columns:1fr 1fr;gap:2px}
 .store-department-menu>div>a{font-size:var(--af-type-caption);padding:8px 4px;gap:7px}
 .store-department-all{font-size:var(--af-type-caption)}
 .store-launch>.container{display:block;padding-block:8px;font-size:var(--af-type-micro);line-height:var(--af-leading-compact)}
 .store-launch strong{font-size:var(--af-type-caption)}
 .store-launch .fair-icon{width:17px;height:17px}
 .store-launch .container>a{display:block;margin-left:27px;min-height:20px;line-height:20px}
 .store-department-shelf{padding-top:16px;padding-bottom:12px}
 .store-department-shelf>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
 .store-shelf-item,.store-shelf-all{gap:5px;font-size:var(--af-type-micro);line-height:var(--af-leading-heading)}
 .store-shelf-item .fair-category-icon,.store-shelf-icon{width:48px;height:48px;border-radius:10px}
 .store-shelf-item .fair-category-icon svg,.store-shelf-icon .fair-icon{width:28px;height:28px}
 .store-shelf-label{min-height:34px}
 .store-shelf-secondary{display:none}
 .store-promotion{margin-top:24px}
 .store-promotion>a{min-height:180px}
 .store-promotion>a:before{background:linear-gradient(90deg,#082e24ed,#123f31ae 70%,#123f3173)}
 .store-promotion-copy{padding:20px;gap:5px;max-width:340px}
 .store-promotion-home{margin-top:2px;margin-bottom:12px}
 body[data-ui="marketplace"] .ops-section{padding-top:22px;padding-bottom:30px}
 body[data-ui="marketplace"] .store-home-catalog{padding-top:5px}
 body[data-ui="marketplace"] .store-catalog .ops-section-head{margin-bottom:12px}
 body[data-ui="marketplace"] .store-catalog .ops-section-head h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body)}
 body[data-ui="marketplace"] .store-catalog .ops-section-head>a{font-size:var(--af-type-caption);min-height:44px}
 body[data-ui="marketplace"] .ops-heading h1{font-size:var(--af-type-page);letter-spacing:var(--af-tracking-body)}
 body[data-ui="marketplace"] .ops-heading{margin-bottom:18px}
 .store-filter-disclosure{margin-bottom:12px}
 .store-filter-disclosure>summary{padding:10px 12px;font-size:var(--af-type-caption);min-height:44px}
 .store-home-catalog .store-filter-disclosure:not([open]){min-width:190px}
 body[data-ui="marketplace"] .store-filter-disclosure .ops-filters{padding:14px;gap:0 10px;grid-template-columns:1fr 1fr}
 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)}
 body[data-ui="marketplace"] .store-catalog .product-grid,
 body[data-ui="marketplace"] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body[data-ui="marketplace"] .product-info{padding:10px 10px 0}
 body[data-ui="marketplace"] .product-info h3{font-size:var(--af-type-subheading);line-height:var(--af-leading-compact);min-height:37px;margin-bottom:7px}
 body[data-ui="marketplace"] .product-price{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body);line-height:var(--af-leading-heading)}
 body[data-ui="marketplace"] .product-location{font-size:var(--af-type-micro);margin-bottom:8px}
 body[data-ui="marketplace"] .product-card .card-seller{font-size:var(--af-type-micro);line-height:var(--af-leading-compact);min-height:44px;padding-top:7px;padding-bottom:7px}
 body[data-ui="marketplace"] .condition-badge{font-size:var(--af-type-micro);left:7px;top:7px;padding:4px 6px;max-width:calc(100% - 14px)}
 body[data-ui="marketplace"] .store-empty{padding:18px;gap:12px}
 .store-empty-mark{width:32px;height:32px}
 .store-empty-mark .fair-icon{width:20px;height:20px}
 body[data-ui="marketplace"] .store-empty h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body)}
 body[data-ui="marketplace"] .store-empty .ops-actions{gap:6px 18px}
 body[data-ui="marketplace"] .store-empty .ops-actions a{font-size:var(--af-type-caption);min-height:44px;align-items:center}
 .store-home-help{margin-top:18px}
 body[data-ui="marketplace"] .store-demand{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:18px 16px;margin-top:22px}
 .store-demand-mark{width:32px;height:38px}
 .store-demand-mark .fair-icon{width:30px;height:30px}
 body[data-ui="marketplace"] .store-demand h2{font-size:var(--af-type-section);letter-spacing:var(--af-tracking-body)}
 body[data-ui="marketplace"] .store-demand p{font-size:var(--af-type-caption);line-height:var(--af-leading-body)}
 .store-demand>.button,.store-demand>.fair-wanted-action{grid-column:2;justify-self:start}
 .store-demand .fair-wanted-action{justify-items:start}
 .store-assisted{align-items:start;gap:6px;flex-direction:column;padding:16px 0}
 body[data-ui="marketplace"] .store-assisted .text-link{min-height:36px}
 body[data-ui="marketplace"] .ops-panel{padding:18px;border-radius:6px}
 body[data-ui="marketplace"] .store-product-grid{display:flex;flex-direction:column;gap:16px}
 .store-product-grid>.store-product-media,.store-product-grid>.store-product-side{display:contents}
 .store-product-grid .ops-gallery{order:1;width:100%}
 .store-product-grid .store-product-summary{order:2;width:100%;margin:0}
 .store-product-grid .store-product-description{order:3;width:100%;margin:0}
 .store-product-grid #perguntar{order:4;width:100%;margin:0}
 body[data-ui="marketplace"] .store-product-grid .store-product-summary{padding:18px}
 body[data-ui="marketplace"] .store-product-summary h1{font-size:var(--af-type-page);line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-body)}
 body[data-ui="marketplace"] .store-product-summary>.ops-product-price{font-size:var(--af-type-title)}
 body[data-ui="marketplace"] .store-product-grid .ops-gallery img:first-child,
 body[data-ui="marketplace"] .store-product-grid .ops-gallery>a:first-child img{height:auto;aspect-ratio:1.15;max-height:340px;object-fit:contain}
 body[data-ui="marketplace"] .store-product-grid .ops-gallery>a:not(:first-child) img{height:100px}
 body[data-ui="marketplace"] .detail-layout{grid-template-columns:1fr;gap:14px}
 body[data-ui="marketplace"] .product-detail{padding-top:14px}
 body[data-ui="marketplace"] .detail-photo{aspect-ratio:1.15;max-height:340px}
 body[data-ui="marketplace"] .detail-overview{padding:18px}
 body[data-ui="marketplace"] .detail-overview h1{font-size:var(--af-type-page);line-height:var(--af-leading-heading);letter-spacing:var(--af-tracking-body)}
 body[data-ui="marketplace"] .detail-price{font-size:var(--af-type-title)}
 body[data-ui="marketplace"] .product-information{grid-template-columns:1fr;gap:18px;margin-top:22px;padding-top:18px}
 body[data-ui="marketplace"] .product-information h2{font-size:var(--af-type-section)}
 body[data-ui="marketplace"] .market-section-head h2{font-size:var(--af-type-section)}
 body[data-ui="marketplace"] .fair-subcategory-card{min-height:120px;padding:16px}
 body[data-ui="marketplace"] .fair-subcategory-card h2{font-size:var(--af-type-section)}
 body[data-ui="marketplace"] .site-footer .footer-links{gap:30px;font-size:var(--af-type-caption)}
 body[data-ui="marketplace"] .site-footer .footer-links>div{min-width:0}
 body[data-ui="marketplace"] .site-footer .footer-links a{line-height:var(--af-leading-body)}
}
@media(max-width:360px){
 body[data-ui="marketplace"] .container{width:calc(100% - 24px)}
 body[data-ui="marketplace"] .store-header .brand{font-size:var(--af-type-title)}
 body[data-ui="marketplace"] .store-header .brand img{width:31px;height:31px}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:6px}
 body[data-ui="marketplace"] .product-price{font-size:var(--af-type-subheading)}
 .store-navigation{font-size:var(--af-type-micro)}
 .store-department-shelf>div{gap:6px}
 .store-shelf-item{font-size:var(--af-type-micro)}
 .store-shelf-all{font-size:var(--af-type-micro)}
}

@media(max-width:760px){
 .fair-hub-heading{align-items:start;flex-direction:column;gap:14px}
 .fair-hub-title{gap:12px}
 .fair-hub-title>.fair-category-icon{width:42px;height:42px}
 .fair-category-hub .fair-breadcrumb{margin-bottom:18px}
 .fair-category-hub .fair-hub-toolbar{margin-top:20px}
 .fair-category-hub .fair-hub-toolbar>label{font-size:var(--af-type-ui)}
 .fair-category-hub .fair-hub-search-field input{padding:10px 7px}
 .fair-hub-search-field .button{padding:10px 12px}
 .fair-hub-search-field .button .fair-icon{display:none}
 body[data-ui="marketplace"] .fair-category-hub .fair-subcategory-card{padding:15px;min-height:132px}
 .fair-search-matches{grid-template-columns:1fr}
 .fair-search-match-main{min-height:76px;padding:14px 16px}
 .fair-search-all-type{padding:9px 16px}
 .fair-search-options{align-items:start;flex-direction:column;gap:4px}
 .fair-hub-footer{align-items:start;flex-direction:column;gap:14px}
 .store-active-filters{gap:8px;margin-bottom:16px}
}

/* Independent scrolling for mobile links keeps the department menu outside clipping. */
.store-browse-links{display:flex;flex:1 1 auto;min-width:0;gap:24px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b8c9b1 transparent;padding:2px 4px;scroll-padding-inline:8px}
.store-navigation>.store-departments,.store-navigation-extra{flex:0 0 auto}
.store-browse-links>a{flex-shrink:0}
.store-browse-links>a{display:flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.store-browse-links>a:hover{text-decoration:underline;text-underline-offset:5px}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-navigation{gap:18px;justify-content:flex-start;min-height:52px;overflow:visible}
 .store-navigation>.store-departments{flex:0 0 auto}
 body[data-ui="marketplace"] .store-departments>summary{font-size:14px;min-height:48px;gap:7px}
 .store-browse-links{display:flex;flex:1 1 auto;min-width:0;gap:24px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b8c9b1 transparent;padding:2px 8px 5px 0;scroll-padding-inline:8px}
 body[data-ui="marketplace"] .store-browse-links>a{flex:0 0 auto;min-height:48px;font-size:14px;line-height:1.4;padding:4px 0;white-space:nowrap}
 .store-browse-links:focus-visible{outline:2px solid #7e9c51;outline-offset:3px;border-radius:3px}
}

/* One shared, complete menu; departments remain a separate category shortcut. */
.store-brand-cluster{display:flex;align-items:center;gap:16px;flex:0 0 auto;min-width:0}
body[data-ui="marketplace"] .store-site-menu-toggle,body[data-ui="marketplace"] .store-drawer-close{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px;border:0;border-radius:5px;background:transparent;color:#174d39;font:500 14px/1.4 'AgroFair Sans',sans-serif;cursor:pointer}
.store-site-menu-toggle .fair-icon,.store-drawer-close .fair-icon{width:24px;height:24px;flex-shrink:0}
body[data-ui="marketplace"] :is(.store-site-menu-toggle,.store-drawer-close):hover{background:#eef3eb}
body[data-ui="marketplace"] :is(.store-site-menu-toggle,.store-drawer-close,.store-drawer-group>a):focus-visible{outline:2px solid #7e9c51;outline-offset:2px}
body[data-ui="marketplace"] dialog.store-site-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(400px,calc(100vw - 24px));height:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-right:1px solid #dce3d9;border-radius:0;background:#fff;color:#183d2e;box-shadow:12px 0 48px #102c261f;overflow:auto;overscroll-behavior:contain}
.store-site-drawer:not([open]){display:none}
.store-site-drawer::backdrop{background:#10251dcc}
.store-drawer-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:22px 24px 18px;border-bottom:1px solid #e3e8df;z-index:1}
.store-drawer-head>div>span{display:block;font:500 13px/1.4 'AgroFair Sans',sans-serif;color:#617063;margin-bottom:4px}
body[data-ui="marketplace"] .store-drawer-head h2{margin:0;font:600 24px/1.2 'AgroFair Sans',sans-serif;letter-spacing:-.4px}
.store-drawer-content{padding:4px 16px 12px}
.store-drawer-group{padding:18px 0 14px;border-bottom:1px solid #e6eae3}
body[data-ui="marketplace"] .store-drawer-group h3{margin:0 8px 8px;font:600 12px/1.5 'AgroFair Sans',sans-serif;letter-spacing:.6px;text-transform:uppercase;color:#6a7768}
body[data-ui="marketplace"] .store-drawer-group>a{display:flex;align-items:center;min-height:44px;padding:10px 8px;border-radius:4px;font:400 15px/1.5 'AgroFair Sans',sans-serif;color:#183d2e;text-decoration:none}
.store-drawer-group>a:hover{background:#f1f5ee}
body[data-ui="marketplace"] .store-drawer-foot{margin:0;padding:16px 24px 24px;font:400 12px/1.5 'AgroFair Sans',sans-serif;color:#6a7768}
@media(max-width:1100px){.store-brand-cluster{gap:8px}.store-site-menu-toggle>span{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{gap:8px}
 .store-brand-cluster{gap:5px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{font-size:23px;gap:4px}
 body[data-ui="marketplace"] .store-header .brand img{width:29px;height:29px}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:6px}
 body[data-ui="marketplace"] .store-header .ops-header-actions .button{padding:10px;font-size:13px;gap:4px}
 .store-drawer-head{padding:18px 20px 16px}
}
@media(max-width:359px){
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{font-size:19px;letter-spacing:-1px}
 body[data-ui="marketplace"] .store-header .brand img{width:25px;height:25px}
 body[data-ui="marketplace"] .store-header .ops-header-actions .button>.fair-icon{display:none}
}

/* Signed-in visitors can see their account state, including on small screens. */
.store-account>summary{max-width:190px;justify-content:flex-start}
.store-account-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#e8f0e1;color:#24523c;font:500 12px/1 'AgroFair Sans',sans-serif}
body[data-ui="marketplace"] .store-account-copy{display:flex;flex-direction:column;min-width:0;gap:1px;line-height:1.3}
.store-account-copy>span{font-size:11px;color:#6a7768}
body[data-ui="marketplace"] .store-account-copy>strong{font-size:14px;font-weight:500;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-account-identity{padding:12px 12px 14px;margin-bottom:5px;border-bottom:1px solid #e1e7dc;overflow-wrap:anywhere}
.store-account-identity>span{display:block;color:#687565;font-size:12px;margin-bottom:5px}
.store-account-identity>strong{font-size:15px;font-weight:500}
.store-account-menu .store-account-signout{margin-top:6px;border-top:1px solid #e1e7dc;padding-top:14px}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:10px 12px;align-items:center}
 .store-brand-cluster{grid-column:1;grid-row:1}
 body[data-ui="marketplace"] .store-header .ops-header-actions{display:contents}
 body[data-ui="marketplace"] .store-header .store-account,body[data-ui="marketplace"] .store-header .store-sign-in{grid-column:2;grid-row:1;justify-self:end}
 body[data-ui="marketplace"] .store-account>summary{width:auto;max-width:108px;min-height:44px;gap:6px}
 body[data-ui="marketplace"] .store-account>summary>.store-account-avatar{position:static;clip:auto;width:30px;height:30px;overflow:visible}
 body[data-ui="marketplace"] .store-account>summary>.store-account-copy,body[data-ui="marketplace"] .store-sign-in>span{position:static;clip:auto;width:auto;height:auto;overflow:visible;white-space:normal}
 body[data-ui="marketplace"] .store-account-copy>strong{max-width:72px;font-size:13px}
 body[data-ui="marketplace"] .store-header .header-search{grid-column:1;grid-row:2;order:initial;min-width:0;width:100%;max-width:none}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:2;grid-row:2;width:100%;padding:10px 8px;justify-content:center}
 .store-sign-in{width:auto;gap:6px}
 .store-account-menu{top:64px;max-height:calc(100dvh - 85px);overflow:auto;overscroll-behavior:contain}
}
@media(max-width:359px){body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 100px;column-gap:8px}body[data-ui="marketplace"] .store-account-copy>strong{max-width:64px}}

/* Assistance uses a conversation icon and a task label, separate from catalog search. */
.store-wanted-nav{display:inline-flex;align-items:center;gap:7px}.store-wanted-nav .fair-icon{width:17px;height:17px;flex-shrink:0}
.finding-search-handoff{display:flex;align-items:center;gap:14px;margin:0 0 28px;padding:16px 0;border-top:1px solid #dbe3d4;border-bottom:1px solid #dbe3d4}.finding-search-handoff>.fair-icon{flex:0 0 22px;width:22px;height:22px;color:#637e50}.finding-search-handoff>p{margin:0;flex:1;font-size:14px;color:#5d705b}.finding-search-handoff>.button{flex-shrink:0;min-height:44px}
@media(max-width:600px){.finding-search-handoff{flex-wrap:wrap;gap:12px}.finding-search-handoff>p{flex-basis:calc(100% - 40px)}.finding-search-handoff>.button{margin-left:36px}}

/* Mobile header: full-width search, legible account, and comfortable controls. */
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 54px auto;column-gap:8px;row-gap:12px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster{grid-column:1;grid-row:1;min-width:0;gap:4px}
 body[data-ui="marketplace"] .store-header .store-account,body[data-ui="marketplace"] .store-header .store-sign-in{grid-column:2;grid-row:1;justify-self:center}
 body[data-ui="marketplace"] .store-header .store-account>summary{width:54px;max-width:54px;min-height:44px;gap:0}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-avatar{display:none}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{position:static;clip:auto;width:54px;height:auto;overflow:hidden;text-align:left;white-space:normal;display:flex;flex-direction:column;gap:2px;line-height:1.2}
 body[data-ui="marketplace"] .store-header .store-account-copy>span{font-size:11px}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{display:block;max-width:54px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body[data-ui="marketplace"] .store-header .header-search{grid-column:1/-1;grid-row:2;width:100%;min-width:0;margin:0;max-width:none}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:3;grid-row:1;width:auto;min-height:44px;justify-content:center;padding:10px;font-size:14px;gap:5px}
 body[data-ui="marketplace"] .store-header .store-header-announce .fair-icon{width:17px;height:17px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{font-size:22px;gap:3px;letter-spacing:-1px}
 body[data-ui="marketplace"] .store-header .brand img{width:28px;height:28px}
 .store-header .store-site-menu-toggle{min-width:44px;width:44px;min-height:44px;padding:8px}
 .store-header .store-site-menu-toggle .fair-icon{width:22px;height:22px}
}
@media(max-width:379px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) auto;row-gap:9px}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:2;grid-row:1}
 body[data-ui="marketplace"] .store-header .store-account,body[data-ui="marketplace"] .store-header .store-sign-in{grid-column:1/-1;grid-row:3;justify-self:start}
 body[data-ui="marketplace"] .store-header .store-account>summary{width:auto;max-width:none;min-height:34px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{width:auto;max-width:220px;flex-direction:row;gap:4px;align-items:center}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{max-width:170px}
 body[data-ui="marketplace"] .store-header .store-sign-in{min-height:34px;font-size:13px}
}

/* Department pages show inventory immediately; product types are compact navigation. */
.fair-hub-shopping{display:grid;grid-template-columns:222px minmax(0,1fr);gap:28px;align-items:start;margin-top:22px}
.fair-hub-types,.fair-hub-products{min-width:0}
.fair-shopping-hub .fair-hub-section-label{font-size:14px;margin:0 0 12px;color:#596d5a}
.fair-shopping-hub .fair-subcategory-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;border:1px solid #dce3d8;border-radius:6px;background:white;overflow:hidden}
body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 14px;border:0;border-bottom:1px solid #edf0e8;border-radius:0;background:transparent}
body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card:last-child{border-bottom:0}
body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card:hover{background:#edf3e7}
body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card h2{font-size:14px;line-height:1.45;margin:0;font-weight:400}
.fair-shopping-hub .fair-subcategory-card>.fair-icon{width:15px;height:15px;flex-shrink:0;color:#7b8a70}
.fair-shopping-hub .fair-hub-toolbar{max-width:none;margin:22px 0 0}
.fair-shopping-hub .fair-hub-search-field{max-width:none}
.fair-hub-results-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
body[data-ui="marketplace"] .fair-hub-results-heading h2{font-size:20px;line-height:1.4;margin:0}
.fair-hub-results-heading .text-link{font-size:13px;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
.fair-hub-result-count{font-size:13px;margin:4px 0 16px}
body[data-ui="marketplace"] .fair-hub-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fair-hub-product-grid>.ops-empty{grid-column:1/-1}
.fair-hub-see-all{margin-top:20px}
.fair-shopping-hub .fair-hub-footer{margin-top:26px}
.fair-shopping-hub .fair-category-suggestions:not([hidden]){margin-top:16px}
.fair-shopping-hub .fair-hub-types:has(.fair-subcategory-cards[hidden])>#subcategory-count{display:none}

@media(max-width:1050px){
 .fair-hub-shopping{grid-template-columns:195px minmax(0,1fr);gap:20px}
 body[data-ui="marketplace"] .fair-hub-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .fair-hub-shopping{display:flex;flex-direction:column;gap:22px;margin-top:18px}
 .fair-hub-types,.fair-hub-products{width:100%}
 .fair-shopping-hub .fair-hub-section-label{font-size:13px;margin-bottom:10px}
 .fair-shopping-hub .fair-subcategory-cards{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:max-content;gap:8px;overflow-x:auto;border:0;border-radius:0;background:none;padding:0 0 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b7c6ad transparent}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card{padding:10px 12px;min-height:44px;max-width:240px;border:1px solid #d9e2d2;border-radius:5px;background:#fff;scroll-snap-align:start}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card:last-child{border-bottom:1px solid #d9e2d2}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card h2{font-size:13px;white-space:normal}
 .fair-shopping-hub .fair-subcategory-card>.fair-icon{display:none}
 body[data-ui="marketplace"] .fair-hub-results-heading h2{font-size:18px}
 .fair-hub-results-heading{gap:12px}
 body[data-ui="marketplace"] .fair-hub-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body[data-ui="marketplace"] .fair-hub-product-grid .product-info{padding:11px 10px 0}
 body[data-ui="marketplace"] .fair-hub-product-grid .product-info h3{font-size:14px}
 body[data-ui="marketplace"] .fair-hub-product-grid .product-price{font-size:19px}
 .fair-shopping-hub .fair-hub-heading{margin-bottom:0}
 .fair-shopping-hub .fair-hub-toolbar{margin-top:18px}
}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .store-sign-in{gap:4px;font-size:12px;min-width:44px}
 body[data-ui="marketplace"] .store-header .store-sign-in>.fair-icon{width:18px;height:18px}
}
@media(max-width:379px){.store-header .store-account-menu{top:100%;max-height:calc(100dvh - 220px)}}

/* Compact commerce chrome: the search leads, secondary navigation stays quiet. */
body[data-ui="marketplace"] .store-header{background:#124b36;color:#fff;border-color:#ffffff24}
body[data-ui="marketplace"] .store-header .header-inner{min-height:68px;padding-block:10px;gap:22px}
body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{color:#fff;font-size:1.5rem;letter-spacing:-1px;gap:6px}
body[data-ui="marketplace"] .store-header .brand img{width:32px;height:32px}
body[data-ui="marketplace"] .store-header .store-site-menu-toggle{color:#fff}
body[data-ui="marketplace"] .store-header .store-site-menu-toggle:hover{background:#ffffff14}
body[data-ui="marketplace"] .store-header .header-search{height:42px;background:#fff;border-color:#fff;border-radius:5px}
body[data-ui="marketplace"] .store-header .header-search input{padding:9px 12px;font-size:.875rem;line-height:1.4;color:#202923}
body[data-ui="marketplace"] .store-header .header-search input::placeholder{color:#737d76;opacity:1}
body[data-ui="marketplace"] .store-header .header-search button{width:44px;height:42px;color:#124b36;background:#fff;border-left:1px solid #e3e8e1}
body[data-ui="marketplace"] .store-header .header-search button:hover{background:#edf3ec}
body[data-ui="marketplace"] .store-header .header-search .fair-icon{width:19px;height:19px}
body[data-ui="marketplace"] .store-header .ops-header-actions{gap:16px}
body[data-ui="marketplace"] .store-header .store-header-announce{border:1px solid #ffffff70;background:transparent;color:#fff;padding:7px 13px;min-height:38px;font-size:.8125rem;font-weight:500}
body[data-ui="marketplace"] .store-header .store-header-announce:hover{background:#ffffff14;border-color:#fff}
body[data-ui="marketplace"] .store-header .store-sign-in,body[data-ui="marketplace"] .store-header .store-account>summary{color:#fff;font-size:.8125rem;font-weight:400}
body[data-ui="marketplace"] .store-header .store-account-copy>span{color:#d1e0d7}
body[data-ui="marketplace"] .store-header .store-account-copy>strong{font-size:.8125rem;font-weight:500}
body[data-ui="marketplace"] .store-header .store-menu[open]>summary{color:#fff}
.store-header :is(.store-account-menu,.store-department-menu){color:#202923}
body[data-ui="marketplace"] .store-header .store-navigation{min-height:40px;gap:22px;border-top:1px solid #ffffff17;font-size:.8125rem}
body[data-ui="marketplace"] .store-header .store-navigation-extra{color:#d3e1d9;font-size:.75rem}
body[data-ui="marketplace"] .store-header .store-departments>summary{font-size:.8125rem;min-height:40px;font-weight:400}
.store-header .store-browse-links{gap:22px;scrollbar-color:#ffffff55 transparent;padding-block:0}
body[data-ui="marketplace"] .store-header .store-browse-links>a{font-size:.8125rem;font-weight:400;min-height:40px;color:#f4f8f5}
body[data-ui="marketplace"] .store-header .store-wanted-nav{color:#f4f8f5}
.store-header :is(a,button,summary):focus-visible{outline:2px solid #d1e7ae;outline-offset:3px}
.store-header :is(.store-account-menu,.store-department-menu) :is(a,button):focus-visible{outline-color:#52783d}
body[data-ui="marketplace"] .store-header .header-search:focus-within{outline:2px solid #bed391;outline-offset:2px}
.store-header .header-search input:focus-visible{outline:none}

/* Shares are utilities, visually below the title, price and purchase controls. */
body[data-ui="marketplace"] :is(.fair-product-tools,.radar-share){margin:4px 0 10px}
.fair-product-tool-buttons{gap:2px;justify-content:flex-end}
body[data-ui="marketplace"] .fair-utility-action,body[data-ui="marketplace"] .fair-product-tool-buttons .fair-utility-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;min-height:34px;min-width:34px;border:0;border-radius:4px;background:transparent;color:#626e65;font-size:.75rem;font-weight:400;line-height:1.3;text-decoration:none;cursor:pointer;box-shadow:none}
body[data-ui="marketplace"] .fair-utility-action:hover{color:#124b36;background:#edf2e9}
body[data-ui="marketplace"] .fair-utility-action:focus-visible{outline:2px solid #52783d;outline-offset:2px}
.fair-utility-action .fair-icon{width:16px;height:16px;flex-shrink:0}
body[data-ui="marketplace"] .fair-utility-icon{padding-inline:8px;width:34px}
body[data-ui="marketplace"] .fair-share-status{font-size:.75rem;line-height:1.4;margin:4px 0 0;text-align:right}
body[data-ui="marketplace"] .fair-share-status:empty{display:none}

/* The Giro slide has a recognizable video cue and a buyer-oriented destination. */
.agro-carousel-slide-video{isolation:isolate}
.store-promotion-video-mark{position:absolute;right:14%;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:86px;height:86px;border:1px solid #ffffff70;border-radius:50%;background:#ffffff16;color:#fff;box-shadow:0 0 0 14px #ffffff0a;pointer-events:none}
.store-promotion-video-mark>svg{width:34px;height:34px;margin-left:5px}
@media(min-width:761px){
 .store-header .store-account-avatar,.store-header .store-sign-in>.fair-icon,.store-header .store-header-announce>.fair-icon,.store-header .store-departments>summary>.fair-icon,.store-header .store-wanted-nav>.fair-icon,.store-header .store-department-menu .fair-category-icon{display:none}
 .store-department-menu>div>a{min-height:44px}
 .store-department-shelf{padding-top:5px;padding-bottom:5px}
 .store-department-shelf>div{display:flex;justify-content:space-between;gap:20px;overflow-x:auto}
 .store-shelf-item,.store-shelf-all{display:flex;min-height:36px;flex-shrink:0;align-items:center}
 .store-department-shelf :is(.fair-category-icon,.store-shelf-icon){display:none}
 .store-department-shelf .store-shelf-label{min-height:0;font-size:.8125rem;font-weight:400;color:#59675d}
 .store-department-shelf a:hover .store-shelf-label{color:#124b36;text-decoration:underline;text-underline-offset:4px}
}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{min-height:0;padding-block:6px 8px;gap:6px 8px;grid-template-columns:minmax(0,1fr) 48px auto}
 body[data-ui="marketplace"] .store-header .store-brand-cluster{gap:2px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{font-size:1.375rem;letter-spacing:-.8px;gap:4px}
 body[data-ui="marketplace"] .store-header .brand img{width:27px;height:27px}
 body[data-ui="marketplace"] .store-header .store-site-menu-toggle{width:36px;min-width:36px;min-height:44px;padding:6px}
 body[data-ui="marketplace"] .store-header .store-account>summary{width:48px;max-width:48px;min-height:44px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{width:48px;max-width:48px;flex-direction:column;gap:1px}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{font-size:.75rem;max-width:48px}
 body[data-ui="marketplace"] .store-header .store-account-copy>span{font-size:.625rem}
 body[data-ui="marketplace"] .store-header .store-sign-in{font-size:.75rem}
 body[data-ui="marketplace"] .store-header .store-sign-in>.fair-icon{display:none}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:3;grid-row:1;font-size:.75rem;padding:8px 9px;min-height:44px;gap:3px}
 body[data-ui="marketplace"] .store-header .store-header-announce>.fair-icon{display:none}
 body[data-ui="marketplace"] .store-header .header-search{height:42px;grid-column:1/-1;grid-row:2}
 body[data-ui="marketplace"] .store-header .header-search input{font-size:1rem;padding:9px 10px}
 body[data-ui="marketplace"] .store-header .header-search button{height:42px;width:44px}
 body[data-ui="marketplace"] .store-header .store-navigation{gap:14px;min-height:44px}
 body[data-ui="marketplace"] .store-header .store-departments>summary{font-size:.75rem;min-height:44px;gap:5px}
 .store-header .store-departments>summary>.fair-icon{width:15px;height:15px}
 .store-header .store-browse-links{gap:17px;padding-block:0;scrollbar-width:none}
 body[data-ui="marketplace"] .store-header .store-browse-links>a{font-size:.75rem;min-height:44px;padding-block:0}
 .store-header .store-wanted-nav>.fair-icon{display:none}
 .store-owner-switch .container>span{display:none}
 .store-department-shelf{padding-top:10px;padding-bottom:8px}
 .store-shelf-item,.store-shelf-all{gap:3px}
 .store-shelf-item .fair-category-icon,.store-shelf-icon{width:36px;height:36px;border-radius:9px}
 .store-shelf-item .fair-category-icon svg,.store-shelf-icon .fair-icon{width:23px;height:23px}
 .store-department-shelf .store-shelf-label{min-height:28px;font-size:.6875rem;line-height:1.25;font-weight:400}
 body[data-ui="marketplace"] .ops-section{padding-top:16px;padding-bottom:28px}
 body[data-ui="marketplace"] .ops-heading{margin-bottom:14px}
 body[data-ui="marketplace"] .ops-heading h1{margin-bottom:8px}
 body[data-ui="marketplace"] .ops-heading>p:last-child{font-size:.8125rem;line-height:1.5}
 body[data-ui="marketplace"] .fair-utility-action,body[data-ui="marketplace"] .fair-product-tool-buttons .fair-utility-action{min-width:44px;min-height:44px;padding:7px;font-size:.75rem}
 body[data-ui="marketplace"] .fair-utility-icon{width:44px}
 body[data-ui="marketplace"] .fair-product-tools{margin:0 0 6px}
 .store-promotion-video-mark{right:20px;width:54px;height:54px;box-shadow:0 0 0 9px #ffffff0a;opacity:.8}
 .store-promotion-video-mark>svg{width:24px;height:24px;margin-left:3px}
 .agro-carousel-slide-video .store-promotion-copy{padding-right:82px}
}
@media(max-width:379px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 44px auto;column-gap:4px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{font-size:1.1875rem;gap:3px}
 body[data-ui="marketplace"] .store-header .brand img{width:24px;height:24px}
 body[data-ui="marketplace"] .store-header .store-site-menu-toggle{width:32px;min-width:32px;padding-inline:4px}
 body[data-ui="marketplace"] .store-header .store-account,body[data-ui="marketplace"] .store-header .store-sign-in{grid-column:2;grid-row:1;justify-self:center}
 body[data-ui="marketplace"] .store-header .store-account>summary{width:44px;max-width:44px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{width:44px}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{max-width:44px;font-size:.6875rem}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{font-size:.75rem;padding-inline:6px}
 .store-promotion-video-mark{right:15px;width:44px;height:44px}
 .agro-carousel-slide-video .store-promotion-copy{padding-right:68px}
}

/* Full text category index: four columns on phones, three when space is tight. */
.store-category-index .store-shelf-label{overflow-wrap:normal;word-break:normal}
.store-category-index .store-shelf-item:focus-visible,.store-category-index .store-shelf-all:focus-visible{outline:2px solid #52783d;outline-offset:2px;border-radius:3px}
@media(min-width:761px){
 .store-category-index .store-shelf-item:not(.store-shelf-featured){display:none}
}
@media(max-width:760px){
 .store-category-index{padding-top:7px;padding-bottom:7px}
 .store-category-index>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 8px;overflow:visible}
 .store-category-index .store-shelf-item{display:flex;align-items:center;justify-content:center;min-width:0;min-height:36px;padding:3px 1px;color:#35513f;border-radius:3px}
 .store-category-index .store-shelf-item .store-shelf-label{display:block;min-height:0;font-size:.75rem;line-height:1.25;font-weight:400;text-align:center}
 .store-category-index .store-shelf-item:hover{background:#edf2e8;color:#124b36}
 .store-category-index .store-shelf-all{display:none}
}
@media(max-width:379px){
 .store-category-index>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 8px}
 .store-category-index .store-shelf-item{min-height:36px}
}

/* Keep information services visible; indicate overflow only where it exists. */
.store-browse-wrap{position:relative;display:flex;flex:1 1 auto;min-width:0;align-items:center}
body[data-ui="marketplace"] .store-header .store-nav-scroll-button{position:absolute;inset-block:0;display:grid;place-items:center;width:32px;min-width:32px;min-height:40px;padding:5px;border:0;border-radius:0;background:#124b36;color:#fff;cursor:pointer;z-index:2}
.store-nav-scroll-button .fair-icon{width:18px;height:18px}
.store-nav-scroll-prev{left:0;box-shadow:10px 0 14px #124b36}
.store-nav-scroll-next{right:0;box-shadow:-10px 0 14px #124b36}
body[data-ui="marketplace"] .store-header .store-nav-scroll-button:hover{background:#225d44}
body[data-ui="marketplace"] .store-header .store-nav-scroll-button[hidden]{display:none}
.store-mobile-services{display:none}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .store-browse-links>.store-service-link{display:none}
 .store-mobile-services{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:20px;align-items:center;min-height:36px;border-top:1px solid #ffffff17;padding-block:0}
 body[data-ui="marketplace"] .store-header .store-mobile-services>a{display:flex;align-items:center;min-height:36px;font-size:.75rem;line-height:1.3;font-weight:400;color:#e1ece4;white-space:nowrap}
 .store-mobile-services>a:last-child{justify-self:end}
 .store-mobile-services>a:hover{text-decoration:underline;text-underline-offset:4px}
}

/* Favorites stay beside the account; panel access has its own recognizable icon. */
body[data-ui="marketplace"] .store-header .store-header-favorites{position:relative;display:flex;align-items:center;justify-content:center;width:40px;min-width:40px;min-height:44px;color:#fff;border-radius:4px}
.store-header-favorites>.fair-icon{width:21px;height:21px}
.store-header-favorites>[data-af-favorite-count]{position:absolute;right:0;top:2px;min-width:15px;height:15px;padding:1px 3px;border-radius:9px;background:#edf4df;color:#124b36;font-size:10px;line-height:13px;text-align:center}
body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-panel{display:grid;place-items:center;position:static;clip:auto;flex:0 0 20px;width:20px;height:20px;overflow:visible}
.store-account-panel>.fair-icon{width:20px;height:20px}
body[data-ui="marketplace"] .store-header .store-account>summary{gap:7px}
body[data-ui="marketplace"] .favorite-button{width:40px;height:40px;min-width:40px;min-height:40px;background:#fffffff2;color:#426050;z-index:3;cursor:pointer;box-shadow:0 1px 5px #10251d14}
.favorite-button>.fair-icon{width:21px;height:21px}
body[data-ui="marketplace"] .favorite-button[aria-pressed="true"]{background:#fff;color:#124b36}
.favorite-button[aria-pressed="true"]>.fair-icon{fill:currentColor}
body[data-ui="marketplace"] .favorite-button:hover{background:#edf3e8;color:#124b36}
.favorite-button:focus-visible{outline:2px solid #52783d;outline-offset:3px}
.store-product-media .ops-gallery{position:relative}
.favorite-notice{position:fixed;z-index:110;left:50%;bottom:20px;transform:translateX(-50%);max-width:min(460px,calc(100vw - 32px));padding:12px 16px;border-radius:6px;background:#173e2e;color:#fff;font-size:13px;line-height:1.5;box-shadow:0 3px 20px #10251d28}
.favorite-unavailable{position:relative;min-height:200px;padding:24px 18px;background:#fff;border:1px solid #e0e5df;border-radius:6px}
body[data-ui="marketplace"] .favorite-unavailable h2{font-size:16px;line-height:1.4;padding-right:30px}
.favorite-unavailable p{font-size:13px;line-height:1.5;color:#69746b}
[data-favorites-page] [data-favorites-more]{margin-top:22px}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 36px 72px auto;column-gap:6px}
 body[data-ui="marketplace"] .store-header .store-header-favorites{grid-column:2;grid-row:1;width:36px;min-width:36px;min-height:44px}
 body[data-ui="marketplace"] .store-header .store-account,body[data-ui="marketplace"] .store-header .store-sign-in{grid-column:3;grid-row:1;justify-self:center}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:4;grid-row:1}
 body[data-ui="marketplace"] .store-header .store-account>summary{width:72px;max-width:72px;gap:5px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-panel{flex-basis:18px;width:18px;height:18px}
 .store-account-panel>.fair-icon{width:18px;height:18px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{width:48px;max-width:48px}
 body[data-ui="marketplace"] .favorite-button{width:40px;height:40px;min-width:40px;min-height:40px;top:7px;right:7px}
}
@media(max-width:379px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 32px 62px auto;column-gap:4px}
 body[data-ui="marketplace"] .store-header .store-header-favorites{width:32px;min-width:32px}
 body[data-ui="marketplace"] .store-header .store-account>summary{width:62px;max-width:62px;gap:4px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{width:40px;max-width:40px}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{max-width:40px}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{font-size:11px;padding-inline:4px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand{font-size:18px}
}

/* Product utilities use the photo corner rather than a separate line in the summary. */
.af-product-media-frame{position:relative;min-width:0}
body[data-ui="marketplace"] .af-product-media-frame>.fair-product-tools{position:absolute;top:6px;right:54px;z-index:4;margin:0;max-width:calc(100% - 112px)}
.af-product-media-frame .fair-product-tool-buttons{flex-wrap:nowrap;gap:0;border:1px solid #e0e5df;border-radius:6px;background:#fffffff2;box-shadow:0 1px 4px #10251d0c}
body[data-ui="marketplace"] .af-product-media-frame .fair-utility-action{width:44px;min-width:44px;height:44px;min-height:44px;padding:12px}
.af-product-media-frame [data-share-native]>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body[data-ui="marketplace"] .af-product-media-frame .fair-share-status:not(:empty),body[data-ui="marketplace"] .af-product-media-frame .fair-share-fallback:not([hidden]){position:absolute;right:0;top:48px;width:min(260px,calc(100vw - 100px));padding:10px 12px;margin:0;background:#fff;border:1px solid #dce3d9;border-radius:6px;box-shadow:0 3px 12px #10251d1a;text-align:left;font-size:12px;line-height:1.45}
body[data-ui="marketplace"] .af-product-media-frame:has(.fair-share-fallback:not([hidden])) .fair-share-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:760px){
 body[data-ui="marketplace"] .detail-layout{gap:10px}
 body[data-ui="marketplace"] .detail-overview{padding-top:0}
 body[data-ui="marketplace"] .detail-overview .demo-tag{margin-bottom:10px}
 body[data-ui="marketplace"] .detail-overview .product-category{margin-bottom:6px}
 body[data-ui="marketplace"] :is(.detail-overview,.store-product-summary) h1{margin-bottom:7px;font-size:20px;line-height:1.3}
 body[data-ui="marketplace"] .detail-overview :is(.detail-subtitle,.detail-location){margin-block:6px;font-size:12px;line-height:1.4}
 body[data-ui="marketplace"] .detail-overview .detail-price{margin-block:8px;font-size:26px;line-height:1.2}
 body[data-ui="marketplace"] .photo-note{margin:5px 0 0;font-size:11px;line-height:1.35}
}

/* One browsing row; categories have their own short, horizontal visual rail. */
.store-shortcut-mobile{display:none}
body[data-ui="marketplace"] .store-header [data-shortcut="videos"]>.fair-icon{display:block;width:18px;height:18px;flex:0 0 18px}
body[data-ui="marketplace"] .store-drawer-group>a[href$="/videos/"]{display:flex;align-items:center;gap:8px}
body[data-ui="marketplace"] .store-drawer-group>a[href$="/videos/"]>.fair-icon{width:18px;height:18px;flex:0 0 18px}
.store-category-scroll{display:none}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .store-navigation{gap:9px;min-height:44px}
 body[data-ui="marketplace"] .store-header .store-departments>summary{font-size:12px;gap:0}
 .store-header .store-departments>summary>.fair-icon{display:none}
 body[data-ui="marketplace"] .store-header .store-browse-links{gap:10px;padding-right:22px}
 body[data-ui="marketplace"] .store-header .store-browse-links>.store-service-link{display:flex}
 body[data-ui="marketplace"] .store-header .store-browse-links>a{font-size:12px;min-height:44px;white-space:nowrap}
 body[data-ui="marketplace"] .store-header .store-shortcut-full{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .store-shortcut-mobile{display:inline}
 body[data-ui="marketplace"] .store-header [data-shortcut="videos"]{gap:5px}
 body[data-ui="marketplace"] .store-header [data-shortcut="videos"]>.fair-icon{width:16px;height:16px;flex-basis:16px}
 .store-header .store-wanted-nav>.fair-icon{display:none}
 body[data-ui="marketplace"] .store-header .store-nav-scroll-button{width:22px;min-width:22px;padding:2px}
 .store-category-index{position:relative;padding-block:10px 8px}
 .store-category-index>.store-category-strip{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;padding:2px 24px 4px 1px}
 .store-category-strip::-webkit-scrollbar{display:none}
 .store-category-index .store-shelf-item,.store-category-index .store-shelf-all{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:5px;width:76px;min-width:76px;flex:0 0 76px;min-height:82px;padding:2px 0;scroll-snap-align:start}
 .store-category-index .store-shelf-item .store-shelf-label,.store-category-index .store-shelf-all .store-shelf-label{font-size:11px;line-height:1.2;font-weight:400;min-height:26px;text-align:center;white-space:normal;color:#35513f}
 .store-category-index :is(.fair-category-icon,.store-shelf-icon){display:grid;width:42px;height:42px;min-height:42px;border-radius:10px}
 .store-category-index :is(.fair-category-icon svg,.store-shelf-icon .fair-icon){width:25px;height:25px}
 body[data-ui="marketplace"] .store-category-scroll{position:absolute;top:12px;bottom:10px;display:grid;place-items:center;width:24px;min-width:24px;padding:0;border:0;border-radius:0;background:#f7f8f4e8;color:#31513b;font:400 26px/1 sans-serif;z-index:2;cursor:pointer}
 .store-category-prev{left:8px;box-shadow:7px 0 10px #f7f8f4}
 .store-category-next{right:8px;box-shadow:-7px 0 10px #f7f8f4}
 body[data-ui="marketplace"] .store-category-scroll[hidden]{display:none}
 .store-category-scroll:focus-visible{outline:2px solid #52783d;outline-offset:2px}
}

/* Category browsing is for finding products; one announcement entry stays in the header. */
body[data-ui="marketplace"] .fair-directory-card .fair-category-title{justify-content:flex-start;gap:10px}
.fair-directory-card .fair-category-title>.fair-category-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:8px;background:#eef3e9;color:#396246}
.fair-directory-card .fair-category-title svg{width:23px;height:23px}
body[data-ui="marketplace"] .fair-directory-card>[data-category-matches]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:14px}
body[data-ui="marketplace"] .fair-directory-card [data-subcategory]{display:block;min-width:0;padding:0;border:0}
body[data-ui="marketplace"] .fair-directory-card [data-subcategory][hidden]{display:none}
body[data-ui="marketplace"] .fair-directory-card [data-subcategory]>a{display:flex;align-items:center;min-height:44px;padding:9px 0;border-bottom:1px solid #e8ece5;font-size:13px;line-height:1.35;font-weight:400;overflow-wrap:anywhere}
.fair-directory-activity{min-width:0}
.fair-directory-activity>summary{cursor:pointer;color:#526b57;font-size:13px;line-height:1.4;min-height:44px;align-content:center}
body[data-ui="marketplace"] .fair-directory-activity label{display:grid;gap:7px;margin:6px 0 0}
@media(max-width:760px){
 body[data-ui="marketplace"] .fair-directory>.ops-heading{margin-bottom:16px}
 body[data-ui="marketplace"] .fair-directory-tools{margin:16px 0;padding:14px;gap:4px}
 body[data-ui="marketplace"] .fair-directory-tools>p{margin:0;font-size:11px;line-height:1.4}
 body[data-ui="marketplace"] .fair-category-tree{gap:12px}
 body[data-ui="marketplace"] .fair-directory-card{padding:15px}
 body[data-ui="marketplace"] .fair-directory-card .fair-category-title h2{font-size:17px;line-height:1.3}
 .fair-directory-card>.fair-directory-description{display:none}
 body[data-ui="marketplace"] .fair-directory-card>.text-link{font-size:12px;margin-top:12px;min-height:36px;display:inline-flex;align-items:center}
 .fair-directory-card>[data-category-matches]{column-gap:12px}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;grid-auto-columns:auto;gap:6px;overflow:visible;padding-bottom:8px}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card{width:auto;min-width:0;min-height:44px;padding:10px 11px;gap:5px}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card h2{white-space:normal;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
 body[data-ui="marketplace"] .fair-shopping-hub .fair-subcategory-card>.fair-icon{width:13px;height:13px;flex-shrink:0}
 body[data-ui="marketplace"] .fair-category-hub .fair-hub-toolbar{margin-top:15px;margin-bottom:12px}
}
