/* Refinements shared by the real storefront and the owner's test catalog. */
/* Shared hierarchy. The product title is omitted visually from the compact mobile path. */
body[data-ui="marketplace"] .af-breadcrumbs{display:block;margin:0 0 16px;padding:0;color:#596b60;font-size:12px;font-weight:400;line-height:1.4;min-width:0;max-width:100%}
body[data-ui="marketplace"] .af-breadcrumbs ol{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;list-style:none;margin:0;padding:0;min-width:0}
body[data-ui="marketplace"] .af-breadcrumbs li{display:flex;align-items:center;gap:8px;margin:0;padding:0;min-width:0;max-width:100%;font:inherit}
body[data-ui="marketplace"] .af-breadcrumbs a{display:inline-flex;align-items:center;min-height:32px;color:#355946;font:inherit;text-decoration:none}
body[data-ui="marketplace"] .af-breadcrumbs a:hover{text-decoration:underline}
body[data-ui="marketplace"] .af-breadcrumbs a:focus-visible{outline:2px solid #547e38;outline-offset:2px;border-radius:2px}
body[data-ui="marketplace"] .af-breadcrumbs span{font:inherit;color:inherit}
body[data-ui="marketplace"] .af-breadcrumbs .af-breadcrumb-separator{color:#89978d;flex:none}
body[data-ui="marketplace"] .af-breadcrumbs [aria-current="page"]{display:block;max-width:64ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-ui="marketplace"] .af-breadcrumb-shell{padding-top:14px}
body[data-ui="marketplace"] .af-breadcrumb-shell+.ops-section{padding-top:8px}
@media(max-width:760px){body[data-ui="marketplace"] .af-breadcrumbs{font-size:11px;margin-bottom:10px}body[data-ui="marketplace"] .af-breadcrumbs ol{gap:0 6px}body[data-ui="marketplace"] .af-breadcrumbs li{gap:6px}body[data-ui="marketplace"] .af-breadcrumbs [aria-current="page"]{max-width:min(30ch,70vw)}}
body[data-ui="marketplace"] [hidden]{display:none!important}
body[data-ui="marketplace"] .store-header .store-sign-in>.fair-icon,
body[data-ui="marketplace"] .store-header .store-header-announce>.fair-icon,
body[data-ui="marketplace"] .store-header .store-wanted-nav>.fair-icon,
body[data-ui="marketplace"] .store-header .store-department-menu .fair-category-icon{display:inline-flex}
.store-favorites-label{font-size:12px;font-weight:400}
body[data-ui="marketplace"] .store-header .store-header-favorites{width:auto;gap:6px;min-width:40px}
body[data-ui="marketplace"] .store-header .store-account>summary{width:auto;max-width:145px;gap:7px}
body[data-ui="marketplace"] .store-header .store-account-copy{width:auto;max-width:105px;gap:0}
body[data-ui="marketplace"] .store-header .store-account-copy>strong{max-width:none;font-size:13px}
body[data-ui="marketplace"] .store-header .store-account-copy>span{font-size:11px}
.af-product-layout{align-items:start;gap:24px!important;grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr)!important}
.af-product-layout .store-product-media{grid-column:1;grid-row:1;min-width:0}
.af-product-layout .store-product-side{grid-column:2;grid-row:1/3;min-width:0}
/* The heart and share controls never determine which image is the main photo. */
body[data-ui="marketplace"] .af-product-layout .ops-gallery:not(.af-product-gallery){display:block;position:relative;width:100%;padding:0}
body[data-ui="marketplace"] .af-product-layout .ops-gallery:not(.af-product-gallery)>a{display:block;width:100%}
body[data-ui="marketplace"] .af-product-layout .ops-gallery:not(.af-product-gallery)>a:not(:first-of-type){display:none}
body[data-ui="marketplace"] .af-product-layout .ops-gallery:not(.af-product-gallery)>a>img{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:540px;object-fit:contain}
body[data-ui="marketplace"] .af-product-layout .af-product-gallery[data-gallery-count="1"]{grid-template-columns:minmax(0,1fr);gap:0}
body[data-ui="marketplace"] .af-product-layout .af-product-gallery[data-gallery-count="1"] .af-gallery-stage{grid-column:1;grid-row:1;aspect-ratio:4/3}
body[data-ui="marketplace"] .af-product-layout .af-product-gallery[data-gallery-count="1"] .af-gallery-bottom{grid-column:1}
body[data-ui="marketplace"] .af-product-layout .af-product-gallery[data-gallery-count="1"] .af-gallery-thumbs{display:none}
body[data-ui="marketplace"] .af-product-layout .af-product-gallery .af-gallery-stage>.af-gallery-photo>img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
/* Reserve a slim rail; inherited catalog gaps must not shrink the main photo. */
body[data-ui="marketplace"] .af-product-layout .af-product-gallery{gap:0;padding:0}
@media(min-width:960px){
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery:not([data-gallery-count="1"]){grid-template-columns:58px minmax(0,1fr)}
 body[data-ui="marketplace"] .af-product-layout .af-gallery-thumbs{padding:6px 4px;gap:6px}
 body[data-ui="marketplace"] .af-product-layout .af-gallery-thumbs button{width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;padding:2px}
}
@media(max-width:959px){
 body[data-ui="marketplace"] .af-product-layout .ops-gallery:not(.af-product-gallery)>a>img{aspect-ratio:1;max-height:none}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery:not([data-gallery-count="1"]){grid-template-columns:44px minmax(0,1fr)}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery .af-gallery-stage{aspect-ratio:1}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery[data-gallery-count="1"] .af-gallery-stage{aspect-ratio:1}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery .af-gallery-thumbs{width:44px;padding:2px 0;gap:2px}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery .af-gallery-thumbs button{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;padding:4px;border-color:transparent;background:transparent}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery .af-gallery-thumbs button[aria-pressed="true"]{padding:3px;border-color:#174d39}
 body[data-ui="marketplace"] .af-product-layout .af-product-gallery .af-gallery-thumbs button>small{font-size:8px}
}
body[data-ui="marketplace"] .store-header .store-site-menu-toggle>span{display:none}
body[data-ui="marketplace"] .store-header .store-navigation>.store-site-menu-toggle{flex:0 0 36px;min-width:36px;width:36px;min-height:44px;padding:6px}
@media(min-width:761px){
 body[data-ui="marketplace"] .store-header .store-navigation{gap:18px}
 body[data-ui="marketplace"] .store-header .store-navigation>.store-site-menu-toggle{flex:0 0 auto;min-width:76px;width:auto;gap:6px;padding-inline:6px}
 body[data-ui="marketplace"] .store-header .store-site-menu-toggle>span{display:inline;position:static;clip:auto;width:auto;height:auto;overflow:visible;white-space:nowrap;font-size:13px;font-weight:400}
}
body[data-ui="marketplace"] .af-product-layout .store-product-summary{padding:22px;background:white;border:1px solid #dde4d9;border-radius:8px;box-shadow:none}
body[data-ui="marketplace"] .af-product-layout .store-product-summary h1{font-size:24px;line-height:1.3;margin:5px 0 9px;font-weight:500;letter-spacing:-.02em}
body[data-ui="marketplace"] .af-product-layout .store-product-summary>.af-product-condition{font-size:12px;color:#71806e;margin:0}
body[data-ui="marketplace"] .af-product-layout .store-product-summary>.product-location{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.4;margin:0 0 12px;color:#6a7964}
.af-product-layout .product-location .fair-icon{width:14px;height:14px}
body[data-ui="marketplace"] .af-product-layout .store-product-summary>.ops-product-price{font-size:30px;line-height:1.15;font-weight:500;margin:12px 0 3px}
body[data-ui="marketplace"] .af-product-layout .store-product-summary>.af-product-unit{font-size:12px;margin:0;color:#74806e}
body[data-ui="marketplace"] .af-product-layout .ops-actions.af-purchase-actions{display:grid;grid-template-columns:1fr;gap:8px;margin:16px 0}
body[data-ui="marketplace"] .af-product-layout .af-purchase-actions>.button{width:100%;min-height:44px;justify-content:center;gap:8px;font-size:14px;border-radius:6px;padding:10px 16px}
body[data-ui="marketplace"] .af-product-layout .wa-button{background:#174d39;color:white;border:1px solid #174d39}
body[data-ui="marketplace"] .af-product-layout .af-purchase-actions .outline{background:white;color:#24553b;border-color:#b6c9ad}
.af-product-layout .af-purchase-actions .fair-icon{width:18px;height:18px}
body[data-ui="marketplace"] .af-product-layout .fair-product-tools{margin:8px 0 12px}
body[data-ui="marketplace"] .af-product-layout .fair-shipping{padding:14px;margin:14px 0 0;border-radius:6px}
body[data-ui="marketplace"] .af-product-layout .fair-shipping :is(h2,h3){font-size:14px;margin:0 0 6px}
body[data-ui="marketplace"] .af-product-layout .fair-shipping :is(p,label,small){font-size:12px;line-height:1.5}
body[data-ui="marketplace"] .af-product-layout .fair-safety-notice{margin-top:16px;padding:12px 0 0;border:0;border-top:1px solid #e5eadf;background:transparent}
body[data-ui="marketplace"] .af-product-layout .fair-safety-notice :is(strong,p){font-size:11px;line-height:1.55;margin-bottom:6px}
.af-product-information{grid-column:1;grid-row:2;margin:0!important;padding:24px!important;min-width:0}
body[data-ui="marketplace"] .af-product-information h2{display:flex;align-items:center;gap:8px;font-size:19px;line-height:1.3;margin:24px 0 14px}
.af-product-information h2:first-child{margin-top:0!important}
body[data-ui="marketplace"] .af-product-information>.fair-description{font-size:14px;line-height:1.7;white-space:pre-wrap}
body[data-ui="marketplace"] .af-product-information .fair-facts{margin-bottom:24px}
body[data-ui="marketplace"] .af-product-information .fair-facts>div{padding:9px 12px;border:0}
.af-product-information .fair-facts>div:nth-child(odd){background:#f3f5ee}
body[data-ui="marketplace"] .af-product-information .fair-facts :is(dt,dd){font-size:13px;line-height:1.5}
body[data-ui="marketplace"] .af-product-layout .fair-used-report{padding:16px;background:#eef2e6;border:0;border-radius:6px}
body[data-ui="marketplace"] .af-product-layout .fair-used-report .fair-facts>div{padding:8px 0;background:none}
.af-contact-panel{padding:16px;background:#f4f7ef;border:1px solid #d4dfc8;border-radius:6px;margin:14px 0}
.af-contact-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
body[data-ui="marketplace"] .af-contact-heading h2{font-size:16px;line-height:1.4;margin:0}
.af-contact-close{width:32px;height:32px;border:0;border-radius:4px;background:transparent;color:#62745c;font:400 24px/1 sans-serif;cursor:pointer}
body[data-ui="marketplace"] .af-contact-panel .af-contact-intro{font-size:12px;line-height:1.55;margin:6px 0 13px;color:#65765f}
.af-contact-intro a,.af-contact-signin a{text-decoration:underline;text-underline-offset:3px}
.af-contact-person{display:grid;grid-template-columns:1fr;gap:10px}
body[data-ui="marketplace"] .af-contact-panel label{display:grid;gap:6px;margin:0 0 12px;font-size:12px;line-height:1.45;font-weight:400}
body[data-ui="marketplace"] .af-contact-panel :is(input:not([type=checkbox]),textarea){width:100%;min-width:0;min-height:42px;padding:10px 11px;border:1px solid #c9d5bf;border-radius:4px;background:#fff;font-size:14px;line-height:1.45;color:#254b35}
body[data-ui="marketplace"] .af-contact-panel label.ops-check{display:flex;align-items:flex-start;gap:8px;font-size:12px}
.af-contact-panel input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0}
body[data-ui="marketplace"] .af-contact-panel .af-contact-registration-title{font-size:13px;font-weight:500;margin:8px 0}
body[data-ui="marketplace"] .af-contact-panel .af-contact-email{font-size:11px;overflow-wrap:anywhere;margin:0 0 12px;color:#718368}
body[data-ui="marketplace"] .af-contact-panel .af-contact-signin{font-size:12px;line-height:1.6;padding:12px;background:#e7eedf;border-radius:4px}
.af-contact-signin a{display:inline-block;font-weight:500;min-height:30px;align-content:center}
body[data-ui="marketplace"] .af-contact-panel .af-contact-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;gap:7px;font-size:13px}
body[data-ui="marketplace"] .af-contact-panel :is(.fair-contact-warning p,.fair-contact-ack){font-size:11px;line-height:1.55}
body[data-ui="marketplace"] .af-contact-panel .fair-contact-warning{background:transparent;border:0;padding:10px 0;margin:0}
body[data-ui="marketplace"] .af-contact-panel .fair-contact-warning h3{font-size:12px;line-height:1.4;margin:0 0 6px}
.af-contact-panel .ops-status:empty{display:none}
.af-contact-test-number{margin-bottom:12px;font-size:12px}
.af-contact-panel [data-contact-receipt] small{display:block;font-size:10px;overflow-wrap:anywhere}
.af-contact-page .af-contact-panel{padding:24px}
.af-contact-page .af-contact-person{grid-template-columns:1fr 1fr}
body[data-ui="marketplace"] .af-product-layout .seller-product-card{margin:16px 0 0;padding:16px 0 0;border:0;border-top:1px solid #e1e8d9;border-radius:0;background:none}
.af-product-layout .seller-product-card .seller-caption{font-size:11px;margin:0 0 8px;color:#718268}
.af-product-layout .seller-product-identity{gap:10px}
.af-product-layout .seller-avatar-small{width:42px;height:42px;min-width:42px;font-size:14px}
body[data-ui="marketplace"] .af-product-layout .seller-product-identity strong{font-size:14px;line-height:1.4}
.af-product-layout .seller-product-identity small{font-size:11px}
.af-product-layout .seller-product-proof{font-size:10px;margin:6px 0 10px}
.af-product-layout .seller-view-link{font-size:11px}
.af-product-layout .fair-follow{margin:0 8px 0 0;display:inline-flex;align-items:center;gap:6px}
.af-product-layout .fair-follow button{font-size:11px;min-height:32px;padding:6px 13px}
body[data-ui="marketplace"] .agro-carousel-track{width:100%;min-width:0;max-width:100%;touch-action:pan-x pan-y;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;user-select:none}
.agro-carousel-slide{scroll-snap-stop:always}
.agro-carousel-slide img{-webkit-user-drag:none;pointer-events:none}
.agro-carousel [data-carousel-track]{cursor:grab}
.agro-carousel [data-carousel-dragging]{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.agro-carousel-swipe-hint{display:none}
@media(min-width:1100px){body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:156px}}
@media(min-width:1100px){.af-product-layout .af-contact-person{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 30px 74px 72px;gap:8px 6px;align-items:center;padding-block:10px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster{grid-column:1;grid-row:1;min-width:0;gap:6px}
 body[data-ui="marketplace"] .store-header .store-navigation>.store-site-menu-toggle{flex:0 0 auto;min-width:56px;width:auto;gap:5px;padding:4px 0;font-size:12px;font-weight:400}
 body[data-ui="marketplace"] .store-header .store-navigation>.store-site-menu-toggle>.fair-icon{width:18px;height:18px}
 body[data-ui="marketplace"] .store-header .store-navigation>.store-site-menu-toggle>span{display:inline;position:static;clip:auto;width:auto;height:auto;overflow:visible;white-space:nowrap;font:inherit}
 body[data-ui="marketplace"] .store-header .store-departments>summary>.fair-icon,
 body[data-ui="marketplace"] .store-header .store-wanted-nav>.fair-icon{display:none}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:132px;max-width:100%}
 body[data-ui="marketplace"] #product-breadcrumb ol{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none}
 body[data-ui="marketplace"] #product-breadcrumb ol::-webkit-scrollbar{display:none}
 body[data-ui="marketplace"] #product-breadcrumb li{flex-shrink:0;white-space:nowrap}
 body[data-ui="marketplace"] #product-breadcrumb li:last-child{display:none}
 body[data-ui="marketplace"] .store-header .header-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}
 body[data-ui="marketplace"] .store-header .ops-header-actions{display:contents}
 body[data-ui="marketplace"] .store-header .store-header-favorites{grid-column:2;grid-row:1;min-width:30px;width:30px;padding:0;justify-self:center}
 .store-favorites-label{display:none}
 body[data-ui="marketplace"] .store-header :is(.store-account,.store-sign-in){grid-column:3;grid-row:1;justify-self:stretch;min-width:0;width:100%;max-width:100%}
 body[data-ui="marketplace"] .store-header .store-account>summary{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;min-height:44px;min-width:0;width:100%;max-width:100%;gap:4px;padding:0;overflow:hidden}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-copy{width:100%;min-width:0;max-width:100%;overflow:hidden}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{display:block;min-width:0;width:100%;max-width:100%;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
 body[data-ui="marketplace"] .store-header .store-account-copy>span{display:block;font-size:10px;line-height:1.2}
 body[data-ui="marketplace"] .store-header .store-sign-in{display:flex;width:74px;gap:5px;font-size:12px}
 body[data-ui="marketplace"] .store-header .store-sign-in>span{display:inline;position:static;clip:auto;width:auto;height:auto;white-space:nowrap;overflow:visible}
 body[data-ui="marketplace"] .store-header .store-sign-in>.fair-icon{width:18px;height:18px}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:4;grid-row:1;justify-self:stretch;justify-content:center;width:100%;max-width:100%;min-width:0;padding:8px 5px;min-height:44px;gap:4px;font-size:11px;white-space:nowrap}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce>.fair-icon{width:12px;height:12px;flex:0 0 12px}
 body[data-ui="marketplace"] .af-product-layout{display:flex;flex-direction:column;gap:14px!important}
 body[data-ui="marketplace"] .store-product-grid.af-product-layout>.store-product-media{display:block;order:1;width:100%}
 body[data-ui="marketplace"] .store-product-grid.af-product-layout>.store-product-side{display:block;order:2;width:100%}
 .af-product-layout>.af-product-information{order:3;width:100%;padding:18px!important}
 body[data-ui="marketplace"] .af-product-layout .store-product-summary{padding:16px;border-radius:6px}
 body[data-ui="marketplace"] .af-product-layout .store-product-summary h1{font-size:20px;line-height:1.3;margin:4px 0 6px}
 body[data-ui="marketplace"] .af-product-layout .store-product-summary>.ops-product-price{font-size:28px;margin:9px 0 3px}
 body[data-ui="marketplace"] .af-product-layout .store-product-summary>.product-location{margin-bottom:6px}
 .af-contact-page .af-contact-person{grid-template-columns:1fr}
 body[data-ui="marketplace"] .af-contact-panel :is(input:not([type=checkbox]),textarea){font-size:16px}
 .agro-carousel-swipe-hint{display:inline-block;color:#dce8d4;font-size:10px;white-space:nowrap}
 .agro-carousel .agro-carousel-controls{padding-inline:12px}
}
@media(max-width:359px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 28px 64px 62px;column-gap:4px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:88px}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{font-size:10px;padding-inline:5px}
 body[data-ui="marketplace"] .store-header .store-header-announce>.fair-icon{display:none}
 body[data-ui="marketplace"] .store-header :is(.store-sign-in,.store-account>summary){width:100%;max-width:100%}
}
@media(prefers-reduced-motion:reduce){body[data-ui="marketplace"] .agro-carousel-track{scroll-behavior:auto}}

/* The live homepage keeps its category rail above the existing banner. */
/* Spacious desktop chrome; the established mobile header remains independent. */
@media(min-width:761px){
 body[data-ui="marketplace"] .store-header .header-inner{display:grid;grid-template-columns:148px minmax(0,1fr) auto;gap:24px;min-height:80px;padding-block:14px;align-items:center}
 body[data-ui="marketplace"] .store-header .store-brand-cluster{min-width:0}
 body[data-ui="marketplace"] .store-header .header-search{width:100%;max-width:none;min-width:0;height:46px;margin:0;flex:none}
 body[data-ui="marketplace"] .store-header .header-search input{padding:11px 14px;font-size:14px}
 body[data-ui="marketplace"] .store-header .header-search button{height:44px;width:46px;border-radius:0 5px 5px 0}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:18px;min-width:0;margin:0;flex-shrink:0}
 body[data-ui="marketplace"] .store-header .store-account>summary{min-width:96px;max-width:156px;min-height:44px;padding:4px 2px;gap:8px}
 body[data-ui="marketplace"] .store-header .store-account-copy{min-width:0;max-width:124px}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{min-width:100px;min-height:44px;padding:10px 14px;font-size:13px;gap:7px}
 body[data-ui="marketplace"] .store-header .store-navigation-extra{display:none}
 body[data-ui="marketplace"] .store-header .store-account-menu{top:calc(100% + 8px)}
}
@media(min-width:761px) and (max-width:1099px){
 body[data-ui="marketplace"] .store-header .store-favorites-label{display:none}
 body[data-ui="marketplace"] .store-header .store-header-favorites{width:36px;min-width:36px}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:12px}
 body[data-ui="marketplace"] .store-header .store-account>summary{min-width:84px;max-width:110px}
}
@media(min-width:1100px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:180px minmax(0,1fr) auto;gap:36px;min-height:88px;padding-block:16px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:180px}
 body[data-ui="marketplace"] .store-header .ops-header-actions{gap:24px}
 body[data-ui="marketplace"] .store-header .store-navigation{min-height:50px;gap:36px}
 body[data-ui="marketplace"] .store-header .store-navigation>.store-site-menu-toggle{min-width:82px;gap:8px;padding-inline:6px}
 body[data-ui="marketplace"] .store-header .store-departments>summary{min-height:48px;padding-inline:6px}
 body[data-ui="marketplace"] .store-header .store-browse-links{justify-content:space-between;gap:36px;padding-inline:0}
 body[data-ui="marketplace"] .store-header .store-browse-links>a{min-height:48px}
}
body[data-ui="marketplace"] .store-header .store-departments>summary>.fair-icon{display:none}
@media(min-width:761px){
 body[data-ui="marketplace"] .store-header .store-navigation{gap:28px}
 body[data-ui="marketplace"] .store-header .store-browse-links{gap:30px;padding-inline:4px}
 body[data-ui="marketplace"] .store-category-index{position:relative;padding-block:16px 8px}
 body[data-ui="marketplace"] .store-category-index>.store-category-strip{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:space-between;gap:12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;padding:2px 0 6px}
 body[data-ui="marketplace"] .store-category-strip::-webkit-scrollbar{display:none}
 body[data-ui="marketplace"] .store-category-index :is(.store-shelf-item,.store-shelf-all){display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:84px;width:84px;flex:0 0 84px;min-height:80px;padding:0;scroll-snap-align:start}
 body[data-ui="marketplace"] .store-category-index :is(.fair-category-icon,.store-shelf-icon){display:grid;place-items:center;width:40px;height:40px;min-height:40px;border-radius:10px;background:#edf2e8;color:#3c6548}
 body[data-ui="marketplace"] .store-category-index :is(.fair-category-icon svg,.store-shelf-icon svg){width:25px;height:25px}
 body[data-ui="marketplace"] .store-category-index .store-shelf-label{font-size:11px;font-weight:400;line-height:1.3;white-space:normal;text-align:center;min-height:28px;color:#425b49}
 body[data-ui="marketplace"] .store-category-scroll{position:absolute;top:16px;bottom:25px;z-index:2;display:grid;place-items:center;width:28px;min-width:28px;padding:0;border:0;background:#f7f8f4ed;color:#31513b;font:400 24px/1 sans-serif;cursor:pointer}
 body[data-ui="marketplace"] .store-category-prev{left:0;box-shadow:6px 0 9px #f7f8f4}
 body[data-ui="marketplace"] .store-category-next{right:0;box-shadow:-6px 0 9px #f7f8f4}
}
@media(min-width:1280px){
 body[data-ui="marketplace"] .store-header .store-navigation{gap:36px}
 body[data-ui="marketplace"] .store-header .store-browse-links{gap:40px}
}

/* Shared page geometry: children shrink within their own column. */
/* Counts and saved-search tools share one row instead of adding separate lines. */
body[data-ui="marketplace"] .store-home-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:0 0 16px;min-width:0}
body[data-ui="marketplace"] .store-home-tools>.store-filter-disclosure{flex:0 0 auto;margin:0}
body[data-ui="marketplace"] .store-home-tools>.store-filter-disclosure[open]{flex:1 0 100%;width:100%}
body[data-ui="marketplace"] .store-result-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;min-width:0;margin:0 0 16px}
body[data-ui="marketplace"] .store-home-tools>.store-result-toolbar{flex:1 1 280px;min-width:min(100%,280px);min-height:46px;margin:0}
body[data-ui="marketplace"] .store-result-toolbar>#catalog-status{flex:1 1 100px;min-width:0;margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
body[data-ui="marketplace"] .store-save-search-tools{display:flex;flex:0 0 auto;align-items:center;margin-left:auto;max-width:100%}
body[data-ui="marketplace"] .store-save-search-tools:empty{display:none}
body[data-ui="marketplace"] .store-save-search-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;margin:0;padding:6px 2px;border:0;border-radius:4px;background:transparent;color:#365d47;font:400 12px/1.4 var(--af-font-family);text-decoration:none;white-space:nowrap;cursor:pointer}
body[data-ui="marketplace"] .store-save-search-button:hover{color:#174d39;background:#edf2e9}
body[data-ui="marketplace"] .store-save-search-button:focus-visible{outline:2px solid #52783d;outline-offset:3px}
body[data-ui="marketplace"] .store-save-search-button>.fair-icon{width:16px;height:16px;flex-shrink:0}
body[data-ui="marketplace"] .store-save-search-feedback{flex:1 0 100%;min-width:0;width:100%}
body[data-ui="marketplace"] .store-save-search-feedback>.ops-status{margin:0;font-size:12px;line-height:1.5}
body[data-ui="marketplace"] .store-save-search-feedback .notice{margin:0;padding:10px 12px}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-home-tools{gap:2px 12px;margin-bottom:12px}
 body[data-ui="marketplace"] .store-result-toolbar{gap:4px 12px;margin-bottom:12px}
 body[data-ui="marketplace"] .store-save-search-button{min-height:44px}
}
body[data-ui="marketplace"] :is(.store-catalog-shell,.fair-hub-shopping,.ops-two-col,.seller-showcase-layout,.fair-space-layout)>*{min-width:0}
body[data-ui="marketplace"] :is(.ops-section-head,.fair-hub-results-heading,.seller-vitrine-heading,.seller-directory-heading)>*{min-width:0}
body[data-ui="marketplace"] :is(.ops-section-head,.fair-hub-results-heading) h2{line-height:1.35}
body[data-ui="marketplace"] :is(.store-catalog,.fair-shopping-hub,.seller-showcase) .product-card{min-width:0;height:100%}
body[data-ui="marketplace"] .product-card .product-price{overflow-wrap:anywhere}
body[data-ui="marketplace"] .product-card .product-location{min-width:0;overflow-wrap:anywhere}
@media(min-width:761px) and (max-width:1199px){
 body[data-ui="marketplace"] .store-catalog:not(.store-home-catalog) .store-catalog-main>#catalog-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:761px){
 body[data-ui="marketplace"] .store-catalog:not(.store-home-catalog) .store-filter-disclosure{align-self:start}
 body[data-ui="marketplace"] .fair-directory-card{min-width:0}
 body[data-ui="marketplace"] .fair-directory-card>[data-category-matches]{gap:0 20px}
}
@media(max-width:760px){
 body[data-ui="marketplace"] :is(.ops-section-head,.fair-hub-results-heading){gap:12px}
 body[data-ui="marketplace"] :is(.ops-section-head,.fair-hub-results-heading)>.text-link{flex-shrink:0;max-width:40%;font-size:12px}
 body[data-ui="marketplace"] .footer-links{gap:24px;flex-wrap:wrap}
 body[data-ui="marketplace"] .footer-links>div{flex:1 1 130px;min-width:0}
}

body[data-ui="marketplace"] .af-listing-reference{font-size:11px;line-height:1.5;color:#6a756d;margin:5px 0 10px;font-weight:400;letter-spacing:0}
.af-listing-reference span{font-variant-numeric:tabular-nums;white-space:nowrap}

/* Desktop shortcuts have centered labels within their own click areas. */
@media(min-width:1100px){
 body[data-ui="marketplace"] .store-header .store-browse-links{gap:32px;padding-inline:0}
 body[data-ui="marketplace"] .store-header .store-browse-links>a{flex:1 0 auto;justify-content:center;text-align:center;padding-inline:8px}
}

/* Approved leaf-bar identity and the leaf-green announce action share every header. */
body[data-ui="marketplace"] .store-header .store-header-announce{background:#8faa5b;border-color:#8faa5b;color:#103823;font-weight:500}
body[data-ui="marketplace"] .store-header .store-header-announce:hover{background:#a3bd71;border-color:#a3bd71}
body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:170px;height:auto}
@media(max-width:760px){body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:130px;max-width:100%}}
@media(max-width:359px){body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:105px}}

@media(min-width:1280px){body[data-ui="marketplace"] .store-header .store-browse-links{gap:36px}}

/* Shared internal-page backdrop, matching the approved news opening. */
body[data-ui="marketplace"]>main#conteudo{background-color:#fff;background-image:linear-gradient(180deg,#e6eee0 0,#fff 290px);background-size:100% 290px;background-repeat:no-repeat}
body[data-ui="marketplace"]>main#conteudo:has([data-campaign-surface="home"]),body[data-ui="marketplace"]>main#conteudo:has([data-video-feed]){background-image:none}
body[data-ui="marketplace"]>main#conteudo>.news-index-surface{background:transparent}

.store-catalog-heading-links{display:flex;align-items:center;gap:20px;font-size:13px}
.store-collection-links{display:flex;gap:8px;margin:0 0 20px;font-size:13px;flex-wrap:wrap}
.store-collection-links a{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border:1px solid #cbd7c2;border-radius:4px;background:#fff;color:#34543e}
.store-collection-links a[aria-current]{background:#eaf0e4;border-color:#a4bb8c;color:#174d39;font-weight:500}
@media(max-width:760px){
 body[data-ui="marketplace"] .fair-campaign-arrow,body[data-ui="marketplace"] .agro-carousel [data-carousel-prev],body[data-ui="marketplace"] .agro-carousel [data-carousel-next]{display:none}
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 40px 68px 72px;column-gap:10px}
 body[data-ui="marketplace"] .store-header .store-header-favorites{min-width:40px;width:40px;min-height:44px}
 body[data-ui="marketplace"] .store-header .store-header-favorites>.fair-icon{width:21px;height:21px}
 body[data-ui="marketplace"] .store-header .store-sign-in{width:100%}
 .store-catalog-heading-links{gap:15px;font-size:12px}
 .store-home-catalog>.ops-section-head{flex-wrap:wrap;gap:8px 16px}
 .store-catalog-heading-links a{display:inline-flex;align-items:center;min-height:32px}
 .store-collection-links{font-size:12px;margin-bottom:16px}
}
@media(max-width:359px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 36px 60px 62px;column-gap:8px}
 body[data-ui="marketplace"] .store-header .store-header-favorites{min-width:36px;width:36px}
 body[data-ui="marketplace"] .store-header .store-account>summary{grid-template-columns:16px minmax(0,1fr)}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{font-size:11px}
 body[data-ui="marketplace"] .store-header .store-account-panel>.fair-icon{width:16px;height:16px}
}

/* Compact labels keep favorite and account actions distinct on phones. */
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 64px 78px 72px;column-gap:8px}
 body[data-ui="marketplace"] .store-header .store-header-favorites{width:64px;min-width:64px;justify-self:start;justify-content:flex-start;gap:4px}
 body[data-ui="marketplace"] .store-header .store-header-favorites>.fair-icon{width:14px;height:14px;flex:0 0 14px}
 body[data-ui="marketplace"] .store-header .store-favorites-label{display:inline;font-size:10px;font-weight:400;line-height:1.3;white-space:nowrap}
 body[data-ui="marketplace"] .store-header .store-header-favorites>[data-af-favorite-count]{left:7px;right:auto;top:2px;min-width:12px;height:12px;padding:0 2px;font-size:8px;line-height:12px}
 body[data-ui="marketplace"] .store-header .store-account>summary{grid-template-columns:14px minmax(0,1fr);gap:4px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-panel{width:14px;height:14px}
 body[data-ui="marketplace"] .store-header .store-account-panel>.fair-icon,body[data-ui="marketplace"] .store-header .store-sign-in>.fair-icon{width:14px;height:14px}
 body[data-ui="marketplace"] .store-header .store-account-copy{display:flex;align-items:center;gap:3px;white-space:nowrap}
 body[data-ui="marketplace"] .store-header .store-account-copy>span{display:inline;flex:0 0 auto;font-size:10px;line-height:1.3}
 body[data-ui="marketplace"] .store-header .store-account-copy>strong{width:auto;flex:0 1 auto;font-size:10px;line-height:1.3}
 body[data-ui="marketplace"] .store-header .store-sign-in{justify-content:flex-start;gap:4px;font-size:10px}
}
@media(max-width:359px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:minmax(0,1fr) 56px 70px 62px;column-gap:6px}
 body[data-ui="marketplace"] .store-header .store-header-favorites{width:56px;min-width:56px;gap:3px}
 body[data-ui="marketplace"] .store-header .store-favorites-label{font-size:9px}
 body[data-ui="marketplace"] .store-header .store-account>summary{grid-template-columns:12px minmax(0,1fr);gap:3px}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-panel{width:12px;height:12px}
 body[data-ui="marketplace"] .store-header .store-account-panel>.fair-icon{width:12px;height:12px}
 body[data-ui="marketplace"] .store-header .store-account-copy{gap:2px}
 body[data-ui="marketplace"] .store-header .store-account-copy>span,body[data-ui="marketplace"] .store-header .store-account-copy>strong{font-size:9.5px}
}

/* Each consent remains explicit; supporting text expands only when requested. */
.af-contact-panel .af-consent-terms{padding:12px 0;border-top:1px solid #e3e8e1}
.af-contact-panel .af-consent-terms .ops-check,.af-contact-panel .af-consent-direct .ops-check{display:flex;align-items:flex-start;gap:9px;margin:0;font-size:13px;line-height:1.45}
.af-contact-panel .af-consent-terms .ops-check input,.af-contact-panel .af-consent-direct .ops-check input{flex:0 0 20px;width:20px;height:20px;margin:0}
.af-contact-panel .af-consent-terms details{margin:5px 0 0 29px;font-size:12px}
.af-contact-panel .af-consent-terms summary{color:#245b43;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:24px}
.af-contact-panel .af-consent-direct{padding:12px;margin:8px 0 12px;background:#f1f5eb;border:1px solid #dce5d5;border-radius:8px}
.af-contact-panel .af-consent-direct>p{margin:5px 0 5px 29px;font-size:12px;line-height:1.45}
.af-contact-panel .af-consent-direct details{margin-left:29px;font-size:12px}
.af-contact-panel .af-consent-direct summary{display:list-item;font-weight:500;cursor:pointer;min-height:24px;color:#174d39}
.af-contact-panel :is(.af-consent-direct,.af-consent-terms) details p{font-size:12px;line-height:1.55;margin-block:8px}
.fair-draft-tools{margin:0 0 20px;padding:14px 18px;border:1px solid #dce5d5;border-radius:8px;background:#f7f9f3}
.fair-draft-tools>p{margin-block:0 9px}
.fair-draft-tools .ops-status{margin-top:8px;font-size:12px}
@media(max-width:760px){
 body[data-ui="marketplace"] .store-header .header-inner{grid-template-columns:44px minmax(0,1fr) 44px;column-gap:12px;padding-block:10px}
 body[data-ui="marketplace"] .store-header .store-brand-cluster{grid-column:2;grid-row:1;justify-self:center;justify-content:center;width:auto;min-width:0}
 body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:142px;max-width:100%;height:auto}
 body[data-ui="marketplace"] .store-header .store-header-favorites{display:none}
 body[data-ui="marketplace"] .store-header :is(.store-account,.store-sign-in){grid-column:3;grid-row:1;width:44px;max-width:44px;justify-self:end;justify-content:center}
 body[data-ui="marketplace"] .store-header .store-account>summary{display:flex;justify-content:center;width:44px;max-width:44px;min-height:44px;padding:0}
 body[data-ui="marketplace"] .store-header .store-account>summary>.store-account-panel{width:22px;height:22px;flex-basis:22px;display:grid}
 body[data-ui="marketplace"] .store-header :is(.store-account-panel>.fair-icon,.store-sign-in>.fair-icon){display:block;width:22px;height:22px}
 body[data-ui="marketplace"] .store-header :is(.store-account-copy,.store-sign-in>span){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 body[data-ui="marketplace"] .store-header .ops-header-actions .store-header-announce{grid-column:1;grid-row:1;min-width:44px;width:44px;max-width:44px;height:44px;overflow:hidden;font-size:0;gap:0;padding:0}
 body[data-ui="marketplace"] .store-header .store-header-announce>.fair-icon{display:block;width:22px;height:22px;flex-basis:22px}
 body[data-ui="marketplace"] .store-header .header-search{grid-column:1/-1;grid-row:2}
}
@media(max-width:359px){body[data-ui="marketplace"] .store-header .store-brand-cluster .brand img.brand-lockup{width:132px}}
