/* Shared scale for both storefronts, account pages and merchant profiles. */
:root{
 --sm-font:Arial,Helvetica,sans-serif;--sm-text:14px;--sm-small:12px;
 --sm-title:22px;--sm-section:16px;--sm-price:20px;--sm-shelf-price:18px;
 --sm-radius:10px;--sm-control-radius:8px;--sm-gap:12px;--sm-page:1180px;
 --sm-brand:#174c38;--sm-ink:#183c2e;--sm-muted:#607568;
 --sm-border:#dce5dd;--sm-paper:#f1f4f0;--sm-panel:#fff;--sm-soft:#edf4ed;
 --brand:var(--sm-brand);--green:var(--sm-brand);--ink:var(--sm-ink);--line:var(--sm-border);
}
html[data-theme=dark]{--sm-brand:#72dab0;--sm-ink:#edf5ef;--sm-muted:#c0cec5;--sm-border:#405349;--sm-paper:#12201a;--sm-panel:#1b2c23;--sm-soft:#223b2e}
html:root body{font-family:var(--sm-font)!important;font-size:var(--sm-text)!important;line-height:1.45;color:var(--sm-ink);background:var(--sm-paper)}
html:root body :is(button,input,select,textarea){font-family:var(--sm-font)!important}
html:root body h1{font-size:var(--sm-title)!important;line-height:1.25!important;letter-spacing:-.3px!important}
html:root body h2{font-size:18px!important;line-height:1.3!important}
html:root body h3{font-size:16px!important;line-height:1.4!important}
html:root body :is(h1,h2,h3,.product-price){font-family:var(--sm-font)!important}
html:root body :is(.home-welcome,.retail-promo-banner,.promo-banner,.home-section-head,.shelf-heading) :is(h1,h2,strong){font-family:var(--sm-font)!important}
html:root body.auth-compact>header img{width:200px;height:auto;max-width:100%;object-fit:contain}
html:root body :is(.home-section-head,.shelf-heading,.catalog-heading,.section-head) :is(h1,h2){font-size:var(--sm-section)!important}
html:root body :is(.account-main,.info-main,.panel-main,.channel-orders){max-width:var(--sm-page);font-size:var(--sm-text)}
html:root body :is(.account-card,.info-card,.seller-tile,.supplier-public-info,.seller-document-card,.seller-home-next,.seller-home-welcome,.seller-home-stats a,.panel-main .panel-section){
 box-sizing:border-box;border:1px solid var(--sm-border);border-radius:var(--sm-radius)!important;
 padding:16px!important;background:var(--sm-panel);box-shadow:none!important;font-size:var(--sm-text)!important;
}
html:root body :is(.member-heading,.seller-account-header,.seller-profile){border-radius:var(--sm-radius)!important;padding:16px!important;font-size:var(--sm-text)!important}
html:root body :is(.member-heading,.seller-account-header,.seller-profile) h2{font-size:18px!important}
html:root body :is(.account-card,.supplier-public-info,.seller-document-card) p{font-size:13px!important;line-height:1.5!important}
html:root body :is(.profile-tabs,.seller-mobile-nav){font-size:13px!important}
html:root body :is(.summary-grid,.seller-home-stats) strong{font-size:24px!important;line-height:1.2!important}
html:root body :is(.button,.btn,.primary,.secondary,.add,.add-button,.profile-tabs button){
 box-sizing:border-box;min-height:40px!important;padding:9px 12px!important;
 border-radius:var(--sm-control-radius)!important;font-size:13px!important;font-weight:600;line-height:1.35!important;
}
html:root body :is(.primary,.add,.add-button){background:var(--sm-brand)!important;color:#fff!important;border-color:var(--sm-brand)!important}
html:root body .secondary{background:var(--sm-panel)!important;color:var(--sm-brand)!important;border-color:var(--sm-border)!important}
html:root body .profile-tabs button[aria-selected=true]{background:var(--sm-brand)!important;color:#fff!important;border-color:var(--sm-brand)!important}
html:root body input:not([type=checkbox]):not([type=radio]):not([type=file]),html:root body select,html:root body textarea{
 box-sizing:border-box;max-width:100%;min-height:42px;border-radius:var(--sm-control-radius)!important;font-size:14px!important;
}
html:root body :is(.header,.app-header) :is(.brand img,.app-brand img){width:200px!important;max-width:100%!important;height:auto!important;object-fit:contain}
html:root body :is(.retail-location-button,.location-button){font-size:11px!important;min-height:44px}
html:root body :is(.retail-location-button,.location-button) strong{font-size:13px!important}
html:root body .retail-location-button{flex:none;border:0;background:transparent;color:var(--sm-brand);text-align:left;line-height:1.4;padding:0 4px}
html:root body .retail-location-button strong{display:block}
#retail-location-dialog{width:calc(100% - 24px);max-width:440px;padding:18px;border:1px solid var(--sm-border);background:var(--sm-panel);color:var(--sm-ink)}
.retail-location-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.retail-location-heading button{min-height:40px;padding:8px 12px;border:1px solid var(--sm-border);border-radius:8px;background:var(--sm-panel);color:var(--sm-ink)}
#retail-location-dialog #delivery-location{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important;padding:0!important;background:transparent!important}
#retail-location-dialog #delivery-postcode{width:100%;padding:12px}
#retail-location-dialog :is(p,small){font-size:12px;line-height:1.5}
html:root body .product-price{font-size:var(--sm-price)!important;line-height:1.25!important;font-weight:750!important}
html:root body #products .product{border-radius:var(--sm-radius)!important;padding:12px!important;gap:6px!important}
html:root body #products .product h3{font-size:13px!important;line-height:1.4!important;min-height:36px!important}
html:root body #products .product .product-price{font-size:var(--sm-price)!important;line-height:1.25!important}
html:root body #products .product .product-image{height:110px!important;min-height:110px!important}
html:root body #products .product .product-image img{height:100px!important;max-height:100px!important}
html:root body.home-shop .home-product-grid,.shelf-items{gap:var(--sm-gap)!important;grid-auto-columns:180px!important}
html:root body.home-shop .home-product-grid .product,html:root body .shelf-items .product-row{
 box-sizing:border-box;padding:10px!important;gap:5px!important;border-radius:var(--sm-radius)!important;
}
html:root body.home-shop .home-product-grid .product h3,html:root body .shelf-items .product-name{
 font-size:13px!important;line-height:1.4!important;min-height:36px!important;height:36px!important;
 display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
html:root body.home-shop .home-product-grid .product .product-price,html:root body .shelf-items .product-row .product-price{font-size:var(--sm-shelf-price)!important;line-height:1.25!important}
html:root body.home-shop .home-product-grid .product>.add,html:root body #products .product>.add,html:root body .shelf-items .product-row .add-button{min-height:40px!important;padding:9px 12px!important;font-size:13px!important;line-height:1.35!important;background:var(--sm-brand)!important;color:#fff!important;border-color:var(--sm-brand)!important}
html:root body.home-shop #main>section#inicio.home-welcome{min-height:156px!important;padding:16px!important;border-radius:var(--sm-radius)!important}
html:root body.home-shop #main>section#inicio.home-welcome h1{font-size:24px!important;line-height:1.15!important}
html:root body.home-shop .home-product-grid .product .product-image,html:root body .shelf-items .product-image{height:96px!important;min-height:96px!important}
html:root body.home-shop .home-product-grid .product .product-image img{height:90px!important;max-height:90px!important}
html:root body :is(.product-reference,.price-note,.pack-label,.product-supplier){font-size:11px!important;line-height:1.4!important}
html:root body :is(.retail-promo-banner,.promo-banner){min-height:156px!important;padding:16px!important;border-radius:var(--sm-radius)!important}
html:root body :is(.retail-promo-banner,.promo-banner) strong{font-size:22px!important;line-height:1.15!important}
html:root body :is(.home-category>span,.category-strip button>span){width:44px!important;height:44px!important;min-width:44px!important}
html:root body :is(.home-category strong,.category-strip button){font-size:11px!important;line-height:1.3!important}
html:root body :is(dialog,.ux-modal,.store-menu-sheet){box-sizing:border-box;border-radius:14px!important;font-size:var(--sm-text)!important}
html:root body dialog h2{font-size:18px!important}
html:root body .supplier-branches article{padding:12px;border:1px solid var(--sm-border);border-radius:var(--sm-control-radius)}
@media(min-width:1000px){
 html:root body.has-shop-tabs>.header{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:12px!important;max-width:var(--sm-page)!important;margin-inline:auto!important;padding:12px 20px 0!important;height:auto!important;min-height:80px!important;background:var(--sm-panel)}
 html:root body.has-shop-tabs>.header>nav[aria-label=Principal]{display:none!important}
 html:root body.has-shop-tabs>.header>.brand{flex:0 0 200px!important;width:200px!important;max-width:200px!important;height:auto!important}
 html:root body.has-shop-tabs>.header :is(.home-search,.search){order:2!important;flex:1 1 230px!important;width:auto!important;min-width:180px!important;margin:0!important}
 html:root body.has-shop-tabs>.header .retail-location-button{order:3}
 html:root body.has-shop-tabs>.header #account-link{order:4}
 html:root body.has-shop-tabs>.header #cart-open{order:5}
 html:root body.has-shop-tabs>.header :is(.menu-toggle,.shop-help,.notice-bell){display:none!important}
 html:root body.has-shop-tabs>.header>.desktop-store-navigation{order:20;display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1 0 calc(100% + 40px);margin:0 -20px;padding:0 20px;border-top:1px solid var(--sm-border);border-bottom:1px solid var(--sm-border);background:var(--sm-panel)}
 html:root body .desktop-store-navigation>.store-channel-navigation{display:flex!important;position:static!important;flex:none;gap:4px;width:auto;max-width:none;margin:0!important;padding:0;border:0;background:transparent}
 html:root body .desktop-store-navigation>.store-channel-navigation a{display:block;min-height:44px;padding:14px 12px;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--sm-muted);white-space:nowrap}
 html:root body .desktop-store-navigation>.store-channel-navigation a[aria-current=page]{color:var(--sm-brand);border-bottom-color:var(--sm-brand)}
 html:root body .desktop-store-navigation>.store-channel-navigation span{display:none}
 html:root body .desktop-store-navigation>.store-channel-navigation strong{font-size:13px}
 html:root body .desktop-store-navigation>.shop-tabs{position:static!important;inset:auto!important;display:flex!important;flex:1;align-items:center;justify-content:flex-end;gap:5px;width:auto!important;height:auto!important;min-height:48px;margin:0!important;padding:0!important;border:0;background:transparent;box-shadow:none;transform:none!important}
 html:root body .desktop-store-navigation>.shop-tabs :is(a,button){display:flex;align-items:center;justify-content:center;flex-direction:row;gap:7px;min-height:38px;padding:9px 12px;font:600 13px var(--sm-font);color:var(--sm-muted);border:0;border-radius:8px;background:transparent;text-decoration:none}
 html:root body .desktop-store-navigation>.shop-tabs svg{width:19px;height:19px}
}
@media(max-width:799px){
 html:root body{font-size:14px!important}
 html:root body :is(.button,.btn,.primary,.secondary,.add,.add-button,.profile-tabs button){min-height:44px!important}
 html:root body.home-shop .home-product-grid .product>.add,html:root body #products .product>.add,html:root body .shelf-items .product-row .add-button{min-height:44px!important}
 html:root body input:not([type=checkbox]):not([type=radio]):not([type=file]),html:root body select,html:root body textarea{font-size:16px!important;min-height:44px}
 html:root body :is(.header,.app-header) :is(.brand img,.app-brand img){width:180px!important}
 html:root body :is(.retail-promo-banner,.promo-banner){min-height:136px!important;padding:14px!important}
 html:root body :is(.retail-promo-banner,.promo-banner) strong{font-size:20px!important}
 html:root body #products .product{padding:10px!important}
 html:root body #products .product .product-price{font-size:18px!important}
 html:root body :is(.account-card,.info-card,.supplier-public-info,.seller-document-card){padding:14px!important}
}
@media(max-width:999px){
 html:root body.home-shop .home-search button{width:72px!important;min-width:72px!important;flex:0 0 72px!important;padding:0 10px!important}
}
/* Both desktop home pages use the same header and compact first content row. */
@media(min-width:1000px){
 html:root body.has-shop-tabs>.header{
  display:grid!important;grid-template-columns:200px minmax(180px,1fr) auto auto auto;
  grid-template-rows:80px 52px;gap:0 12px!important;padding:0 20px!important;min-height:0!important;
 }
 html:root body.has-shop-tabs>.header>.brand{grid-column:1;grid-row:1}
 html:root body.has-shop-tabs>.header :is(.home-search,.search){grid-column:2;grid-row:1;display:flex!important;align-items:center;gap:8px!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;height:44px!important}
 html:root body.has-shop-tabs>.header .search>div{display:flex;align-items:center;gap:8px;padding:0!important;border:0!important;background:transparent!important;width:100%}
 html:root body.has-shop-tabs>.header :is(.home-search,.search) input{flex:1;min-width:0;border:1px solid var(--sm-border)!important;border-radius:24px!important;background:var(--sm-soft)!important;height:44px!important;padding:10px 16px!important;font-size:14px!important}
 html:root body.has-shop-tabs>.header :is(.home-search,.search) button{flex:none;height:42px!important;min-height:42px!important;padding:10px 16px!important;border:0!important;border-radius:24px!important;background:var(--sm-brand)!important;color:#fff!important;font-size:13px!important;font-weight:600!important}
 html:root body.has-shop-tabs>.header .retail-location-button{grid-column:3;grid-row:1}
 html:root body.has-shop-tabs>.header #account-link{grid-column:4;grid-row:1;font-size:13px!important;font-weight:400!important;min-height:44px!important;display:flex;align-items:center}
 html:root body.has-shop-tabs>.header #cart-open{grid-column:5;grid-row:1;box-sizing:border-box;min-height:44px!important;height:44px!important;padding:4px 10px!important;font-size:13px!important;line-height:1.3!important}
 html:root body.has-shop-tabs>.header #cart-open small{font-size:10px!important;line-height:1.2!important}
 html:root body.has-shop-tabs>.header>.desktop-store-navigation{grid-column:1/-1;grid-row:2}
 html:root body .app-header .app-top{height:80px;min-height:80px;gap:12px}
 html:root body .app-header .app-brand{flex-basis:200px;max-width:200px}
 html:root body #product-search{height:44px!important}
 html:root body #product-search input{height:44px!important;border-radius:24px!important;padding:10px 16px!important}
 html:root body #product-search button{height:42px!important;min-height:42px!important;border-radius:24px!important;padding:10px 16px!important}
 html:root body .desktop-store-navigation{box-sizing:border-box;height:52px!important;min-height:52px!important;gap:12px!important}
 html:root body .desktop-store-navigation :is(.store-channel-navigation,.channel-navigation) a{display:flex!important;align-items:center;height:50px!important;min-height:50px!important;padding:0 12px!important;font-size:13px!important;font-weight:500!important}
 html:root body .desktop-store-navigation :is(.store-channel-navigation,.channel-navigation) strong{font-family:var(--sm-font)!important;font-size:13px!important;font-weight:600!important}
 html:root body .desktop-store-navigation :is(.shop-tabs,.bottom-nav) :is(a,button){font-family:var(--sm-font)!important;font-size:13px!important;font-weight:500!important}
 html:root body.home-shop #main.home-main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0 20px 24px!important}
 html:root body.home-shop #main.home-main>*{grid-column:1/-1;order:0!important;min-width:0}
 html:root body.home-shop #main>section#rubros.home-departments{grid-row:1;box-sizing:border-box;margin:0!important;padding:8px 0 7px!important;min-height:85px!important}
 html:root body.home-shop #home-categories{gap:16px!important;padding:0!important;margin:0!important}
 html:root body .category-strip{box-sizing:border-box;gap:16px!important;padding:8px 20px 7px!important;min-height:85px!important}
 html:root body :is(.home-category,.category-strip button){box-sizing:border-box;flex:0 0 64px!important;min-width:64px!important;width:64px!important;gap:4px!important;padding:0!important;margin:0!important}
 html:root body :is(.home-category>span,.category-strip button>span){width:40px!important;height:40px!important;min-width:40px!important}
 html:root body .home-category strong{font-size:11px!important;line-height:13px!important;min-height:26px!important;height:26px!important}
 html:root body .category-strip button{font-size:11px!important;line-height:13px!important;min-height:70px!important}
 html:root body.home-shop #main>section#inicio.home-welcome{grid-column:1;grid-row:2;box-sizing:border-box;margin:8px 0 0!important;min-height:156px!important;padding:16px!important;align-items:center!important}
 html:root body.home-shop #main>section#inicio.home-welcome::before,html:root body.home-shop #main>section#inicio.home-welcome::after{content:none!important;display:none!important}
 html:root body.home-shop #main>section#inicio.home-welcome h1{font-family:var(--sm-font)!important;font-size:22px!important;font-weight:700!important;line-height:1.15!important;margin:0 0 6px!important}
 html:root body.home-shop #main>section#inicio.home-welcome>div:first-child>p:not(.home-kicker){font-family:var(--sm-font)!important;font-size:12px!important;line-height:1.4!important;margin:0 0 8px!important}
 html:root body.home-shop #main>section#inicio.home-welcome .home-hero-link{display:inline-flex;align-items:center;min-height:36px!important;padding:8px 12px!important;font-size:12px!important;line-height:1.4!important}
 html:root body.home-shop #main>section#inicio.home-welcome .home-hero-images{height:124px!important;min-height:0!important;max-height:124px!important;flex:none}
 html:root body.home-shop #main>section#retail-promotions{grid-column:2;grid-row:2;min-width:0;padding:0!important;margin:8px 0 0!important}
 html:root body.home-shop #retail-promotions .retail-promo-banner{flex-basis:100%!important;min-height:156px!important}
 html:root body.home-shop #retail-promotions .retail-promo-0{background:#f3d442;color:var(--sm-ink)}
 html:root body.home-shop #main>.home-service-strip{grid-row:3;margin:0!important;padding:7px 0!important;font-size:11px!important;line-height:1.4!important}
 html:root body.home-shop #main>.home-shopping-section{padding:16px 0!important}
 html:root body.home-shop #main>.home-shopping-section .home-section-head{margin:0 0 8px!important}
}

/* The administrator assistant is a separate section, never part of a promo. */
html:root body.home-shop #main>section#home-assistant{order:4!important;padding:12px 0!important;margin:0!important;min-width:0}
html:root body.home-shop #home-assistant .home-assistant-entry{box-sizing:border-box;max-width:none;margin:0;padding:14px;background:var(--sm-soft);border:1px solid var(--sm-border);border-radius:var(--sm-radius);color:var(--sm-ink);text-align:left}
html:root body.home-shop #home-assistant .home-assistant-entry>label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin-bottom:8px}
html:root body.home-shop #home-assistant .home-assistant-entry>div{display:flex;gap:8px;min-width:0}
html:root body.home-shop #home-assistant .home-assistant-entry input{flex:1;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--sm-border);border-radius:8px;background:var(--sm-panel);font:inherit;color:var(--sm-ink)}
html:root body.home-shop #home-assistant .home-assistant-entry button{flex:none;min-height:44px;padding:10px 14px;border:0;border-radius:8px;background:var(--sm-brand);color:#fff;font:600 13px/1.4 var(--sm-font)}
html:root body.home-shop #home-assistant .home-assistant-entry>a{display:inline-block;font-size:12px;margin-top:8px;color:var(--sm-brand)}
#storefront-cart-open{display:none}
@media(max-width:599px){
 html:root body.home-shop #home-assistant .home-assistant-entry>div{flex-direction:column}
 html:root body.home-shop #home-assistant .home-assistant-entry input{font-size:16px}
}
@media(min-width:1000px){
 html:root body .app-header{border-bottom:1px solid var(--sm-border)}
 html:root body .app-header .app-top{display:grid;grid-template-columns:200px minmax(180px,1fr) auto auto auto;gap:0 12px;padding:0 20px;border:0}
 html:root body .app-header .app-brand{grid-column:1;grid-row:1;width:200px}
 html:root body .app-header #product-search{display:flex!important;grid-column:2;grid-row:1;width:auto;min-width:0}
 html:root body .app-header #location-open{grid-column:3;grid-row:1}
 html:root body .app-header #account-link{grid-column:4;grid-row:1}
 html:root body .app-header #storefront-cart-open{grid-column:5;grid-row:1}
 html:root body.has-shop-tabs>.header #account-link,html:root body .app-header #account-link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;padding:10px 12px;border:1px solid var(--sm-border);border-radius:8px;background:var(--sm-panel);font:400 13px/1.4 var(--sm-font)!important;color:var(--sm-brand);text-decoration:none;white-space:nowrap;box-shadow:none}
 html:root body :is(.header,.app-header) :is(.retail-location-button,#location-open){box-sizing:border-box;min-width:88px;min-height:44px;padding:4px 0!important;font:400 12px/1.4 var(--sm-font)!important;white-space:nowrap;text-align:left;background:none;border:0}
 html:root body :is(.header,.app-header) :is(.retail-location-button,#location-open) strong{font-size:14px!important;line-height:1.4!important}
 html:root body .app-header #location-open>span{display:block}
 html:root body .app-header #location-open strong{display:block}
 html:root body.has-shop-tabs>.header #cart-open,html:root body .app-header #storefront-cart-open{display:flex!important;flex-direction:column;align-items:stretch;justify-content:center;gap:2px;box-sizing:border-box;height:52px!important;min-height:52px!important;padding:6px 10px!important;border:1px solid #d2e1c9;border-radius:12px!important;background:var(--sm-soft)!important;color:var(--sm-ink);text-align:left;font:600 13px/1.3 var(--sm-font)!important;white-space:nowrap;overflow:visible;box-shadow:none}
 html:root body :is(#cart-open,#storefront-cart-open) .cart-label{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:24px}
 html:root body :is(#cart-count,#storefront-cart-count){display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;border-radius:50%;background:var(--sm-brand);color:#fff;font:600 13px/24px var(--sm-font)}
 html:root body.has-shop-tabs>.header #cart-open small,html:root body .app-header #storefront-cart-open small{display:block;margin:0!important;font:400 10px/12px var(--sm-font)!important;color:var(--sm-muted)}
 html:root body .desktop-store-navigation :is(.shop-tabs,.bottom-nav){gap:8px!important}
 html:root body .desktop-store-navigation :is(.shop-tabs,.bottom-nav) :is(a,button){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 10px!important;border-radius:8px}
 html:root body.home-shop #main>section#inicio.home-welcome .home-hero-images{position:relative!important;display:flex!important;justify-content:center;align-items:center;overflow:hidden;min-width:0!important;width:140px!important;flex:0 0 140px!important;background:none!important;border-radius:0!important}
 html:root body.home-shop #main>section#inicio.home-welcome .home-hero-images img{position:static!important;transform:none!important;max-width:100%!important;width:120px!important;height:120px!important;object-fit:contain!important;box-shadow:none!important;margin:0!important}
 html:root body.home-shop #main>section#inicio.home-welcome .home-hero-images img~img{display:none!important}
 html:root body.home-shop #main>section#home-assistant{order:0!important;grid-row:5}
 html:root body.has-shop-tabs>.header #cart-open,html:root body .app-header #storefront-cart-open{width:120px!important}
 html:root body #product-search button{font:600 13px/1.4 var(--sm-font)!important}
 html:root body .app-header #product-search{margin:0!important}
 html:root body.has-shop-tabs>.header #account-link,html:root body .app-header #account-link{padding:10px 12px!important;letter-spacing:normal!important;margin:0!important}
 html:root body :is(.header,.app-header) :is(.retail-location-button,#location-open){height:44px!important;padding:3px 0!important;margin:0!important}
}
