:root{--sm-accent:#00583f;--sm-surface:#f4f7f3;--sm-border:#d9e4dc;--sm-tab-height:64px}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a.button{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #79b98e;outline-offset:3px}
button,.button{transition:background-color .16s ease,transform .16s ease,border-color .16s ease}button:active,.button:active{transform:scale(.98)}dialog[open]{animation:sm-dialog-in .2s ease-out}dialog::backdrop{background:#092a2459;backdrop-filter:blur(3px)}@keyframes sm-dialog-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%2300583f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 7 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px;border:1px solid var(--sm-border);border-radius:12px;min-height:44px;padding:10px 38px 10px 12px;color:#193f33;font:inherit;max-width:100%;text-overflow:ellipsis;cursor:pointer}body select:disabled{background-color:#f1f3f0;opacity:.65;cursor:default}
.shop-tabs{display:none}.filter-chips{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.filter-chips[hidden]{display:none}.filter-chips button{border:1px solid var(--sm-border);background:#eaf3e6;border-radius:20px;color:var(--sm-accent);font:inherit;font-size:12px;padding:7px 12px;min-height:36px}
.product-quantity{display:flex;align-items:center;justify-content:space-between;gap:4px;border:1px solid var(--sm-border);border-radius:12px;background:#edf5e9;margin-top:auto;min-height:40px}.product-quantity[hidden]{display:none}.product-quantity button{border:0;background:var(--sm-accent);color:#fff;border-radius:10px;min-width:40px;min-height:40px;font:inherit;font-size:23px}.product-quantity output{font-size:15px;font-weight:750;color:var(--sm-accent)}body .product>.add[hidden]{display:none!important}
#toast button{margin-left:12px;color:inherit;background:transparent;border:0;text-decoration:underline;font:inherit;font-weight:700;padding:8px}
body #cart .payment-summary-title{font-size:15px}body .payment-methods legend{font-size:16px}body .mobile-cart-scroll{scroll-behavior:smooth}.cart-shopping-link{display:block;margin:12px auto;text-align:center;color:var(--sm-accent);font-weight:700}
@media(min-width:800px){body .catalog-controls{display:flex;align-items:end;gap:12px}body .catalog-controls .category-dropdown{flex:1;min-width:0}body .catalog-controls .catalog-facets{display:flex;flex:3;gap:12px;margin:0}body .catalog-controls label{flex:1;min-width:0;display:grid;gap:5px}body .catalog-controls select{width:100%;min-width:0}body .catalog-controls .category-label{width:100%}body .catalog-controls #filters-open{display:none}body .account-main{max-width:1160px;margin-inline:auto}body .profile-tabs{gap:6px}body .profile-tabs button{border-radius:12px;padding:10px 16px}}
@media(max-width:799px){
 body.has-shop-tabs{padding-bottom:calc(var(--sm-tab-height) + env(safe-area-inset-bottom) + 16px)!important}body .header{position:sticky!important;top:0;z-index:40;padding:6px 12px!important;gap:8px!important;min-height:60px!important;grid-template-columns:60px 1fr 44px!important}body .header .brand,body .header .brand img{width:58px!important;height:58px!important;padding:0!important;object-fit:contain}body .header #account-link,body .header #cart-open{display:none!important}body .header .menu-toggle{min-height:44px;min-width:44px;margin-left:auto}body .header .search{grid-column:1/-1;width:100%!important;margin:0!important}body .header .search input{height:44px!important;border-radius:12px!important}body .header .search button{min-height:36px!important}
 .shop-tabs{position:fixed;inset:auto 0 0;z-index:45;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(var(--sm-tab-height) + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);box-sizing:border-box;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--sm-border)}.shop-tabs a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:12px;font-size:11px;font-weight:600;text-decoration:none;color:#62756c}.shop-tabs svg{width:23px;height:23px}.shop-tabs a[aria-current=page]{background:#edf5e9;color:var(--sm-accent)}.shop-count{position:absolute;top:1px;left:55%;background:var(--sm-accent);color:white;font-size:10px;border:2px solid white;border-radius:20px;padding:1px 5px}
 body:has(dialog[open]) .shop-tabs,.keyboard-open .shop-tabs{display:none}body .assistant-bubble{bottom:calc(76px + env(safe-area-inset-bottom))!important;width:48px!important;height:48px!important;padding:5px!important;right:12px!important}body .assistant-bubble span{display:none!important}body .assistant-bubble img{width:36px!important;height:36px!important}body .assistant-panel{bottom:calc(132px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 210px)!important;width:calc(100% - 24px)!important;right:12px!important;overflow:auto}body .mobile-cart-bar{display:none!important}body #toast{bottom:calc(78px + env(safe-area-inset-bottom))!important;max-width:calc(100% - 100px);left:12px;right:auto;font-size:13px}body.has-mobile-cart #site-footer{margin-bottom:0}
 body[data-page=catalogo],body[data-page=catalogo] #main,body #catalogo{height:auto!important;max-height:none!important;overflow:visible!important}body #catalogo{padding:12px!important}body .catalog-scroll{height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important}body #products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:0!important;width:100%!important;margin:0!important;max-width:none!important;scroll-snap-type:none!important}body .product{width:auto!important;min-width:0!important;height:auto!important;max-height:none!important;padding:10px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;gap:5px!important;overflow:hidden}body .product .product-image{height:115px!important;min-height:115px!important;width:100%!important}body .product .product-image img{height:105px!important;max-height:105px!important;width:100%!important;object-fit:contain!important}body .product h3{font-size:13px!important;line-height:1.4!important;min-height:37px!important;margin:0!important}body .product .product-price{font-size:19px!important;margin:0!important}body .product-reference{font-size:10px!important}body .product-comparison summary{font-size:11px!important;min-height:32px;display:flex;align-items:center}body .product>.add{min-height:42px!important;border-radius:12px!important;font-size:14px!important;margin-top:auto!important}body .product .discount{font-size:10px!important;padding:4px 6px!important}body .catalog-row-controls{display:none!important}body #more{position:static!important;width:100%!important;min-height:46px!important;margin:16px 0!important}body .results-line{font-size:12px;margin:8px 0}body .results-line #checked{display:none}body #filters-open{min-height:44px;width:100%;text-align:left;border-radius:12px;display:flex;justify-content:space-between}body #filters-open:after{content:'⌄';font-size:20px}
 body #catalog-filters-dialog,body #store-menu-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:85dvh;border-radius:22px 22px 0 0;padding:20px 18px max(20px,env(safe-area-inset-bottom));box-sizing:border-box}body #catalog-filters-dialog .ux-modal-content{display:grid;gap:16px}body #catalog-filters-dialog .catalog-facets{display:grid;gap:14px}body #catalog-filters-dialog label{display:grid;gap:6px;font-size:13px}body #catalog-filters-dialog select{width:100%;min-height:48px}body #catalog-filters-dialog .ux-modal-content>.primary{position:sticky;bottom:0;width:100%;min-height:48px}
 body #cart .mobile-cart-progress{display:none}body #cart .cart-footer{padding-top:20px}body #cart .mobile-cart-dock{padding-top:10px}body #cart .mobile-cart-saving{margin-bottom:8px}body #cart .payment-option{min-height:64px;padding:12px}body #cart .cart-line{padding:12px 0}body #cart .cart-line-saving{font-size:11px}body #cart .cart-footer .checkout-savings{display:none}body #cart .mobile-cart-back{display:none!important}
 body .account-main{padding:14px!important;width:100%!important;box-sizing:border-box;height:auto!important;overflow:visible!important}body .account-main h1{font-size:24px}body .profile-tabs{position:sticky;top:var(--site-header,72px);z-index:10;display:flex;overflow-x:auto;gap:7px;background:#fff;padding:8px 0;scrollbar-width:none}body .profile-tabs button{flex:none;min-height:44px;border-radius:24px;padding:10px 15px;white-space:nowrap}body .profile-panel{overflow:visible!important;height:auto!important;max-height:none!important}body .account-card{padding:16px;border-radius:16px}body .form-grid{grid-template-columns:1fr!important}body .account-main input,body .account-main select{min-height:46px}body .member-heading{flex-wrap:wrap;gap:10px}body .summary-grid{gap:8px}body .summary-grid .account-card{padding:12px}body .summary-grid h3{font-size:12px}
 body .delivery-step-pane{grid-template-columns:1fr!important}body .delivery-step-pane>label{grid-column:1/-1!important}body .delivery-step-pane:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .delivery-step-pane:first-of-type>label:has(input[id$="-number"]),body .delivery-step-pane:first-of-type>label:has(input[id$="-postalCode"]){grid-column:auto!important}body .delivery-step-pane details{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.choice-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)}.choice-trigger{font:inherit;color:#193f33;background:#fff;border:1px solid var(--sm-border);border-radius:12px;min-height:46px;padding:10px 38px 10px 12px;text-align:left;position:relative;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.choice-trigger:after{content:'⌄';position:absolute;right:14px;top:9px;font-size:20px;color:var(--sm-accent)}.choice-trigger:disabled{opacity:.6}.choice-invalid{border-color:#b43838}.choice-sheet{width:min(460px,calc(100% - 32px));max-height:80dvh;padding:20px;border:1px solid var(--sm-border);border-radius:20px;box-sizing:border-box;overflow:hidden}.choice-sheet[open]{display:flex;flex-direction:column;gap:12px}.choice-sheet .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;flex:none}.choice-sheet h2{font-size:20px;margin:0}.choice-sheet .close{position:static;width:44px;height:44px}.choice-search{display:grid;gap:6px;font-size:12px}.choice-search input{width:100%;min-height:46px;border:1px solid var(--sm-border);border-radius:12px;padding:12px;font:inherit;font-size:16px;box-sizing:border-box}.choice-status{font-size:12px;color:#62756c;margin:0}.choice-options{overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:5px;min-height:0}.choice-option{position:relative;background:#fff;color:#193f33;border:1px solid transparent;border-radius:10px;min-height:46px;padding:12px 38px 12px 12px;text-align:left;font:inherit;flex-shrink:0}.choice-option:hover{background:#f4f7f3}.choice-option[aria-pressed=true]{background:#eaf3e6;border-color:#bdd5bf;font-weight:700}.choice-option[aria-pressed=true]:after{content:'✓';position:absolute;right:14px}.choice-option:disabled{opacity:.5}
@media(min-width:1000px){body[data-page=catalogo] .catalog-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important}body[data-page=catalogo] .catalog-controls label{font-size:12px!important}}
@media(max-width:799px){.choice-sheet{inset:auto 0 0;position:fixed;width:100%;max-width:none;max-height:82dvh;margin:0;border-radius:22px 22px 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom))}body #catalog-filters-dialog .category-dropdown #category-select,body #catalog-filters-dialog #catalog-facets select{min-height:48px!important;height:48px!important}body .mobile-delivery-flow:not([data-delivery-step="1"])>p.muted{display:none}}
body .product .card-details{display:none!important}
@media(max-width:799px){.dispatch-button{min-height:46px;font-size:14px}.dispatch-stop{padding:16px}.dispatch-stop strong{font-size:15px}.dispatch-stop small{font-size:12px}.dispatch-card{animation:sm-dialog-in .2s ease-out}.topbar{flex-wrap:wrap;gap:10px}.topbar h1{font-size:23px}.topbar-actions{flex-wrap:wrap;gap:8px}.content .btn{min-height:44px}.content input,.content select{min-height:44px;font-size:16px}.content .card{border-radius:14px}.sidebar nav a{min-height:44px;display:flex;align-items:center}.content table{font-size:13px}.content .table-wrap{overflow-x:auto;overscroll-behavior-x:contain}}
/* One page scroll avoids clipped rows and competing scroll areas on desktop. */
body[data-page=catalogo]{height:auto!important;overflow:auto!important}body[data-page=catalogo] #main{position:static!important;height:auto!important;max-height:none!important;overflow:visible!important}body[data-page=catalogo] #main>.catalog{height:auto!important;max-height:none!important;overflow:visible!important}body[data-page=catalogo] .catalog-scroll{height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important}body[data-page=catalogo] #products{padding-block:0!important}body[data-page=catalogo] .catalog-row-controls{display:none!important}body[data-page=catalogo] #more{position:static!important;margin:20px auto!important}body[data-page=catalogo] #site-footer{position:static!important}
@media(min-width:1000px){body[data-page=catalogo] .catalog-controls #categories{min-width:0!important;max-width:none!important;width:100%!important}body[data-page=catalogo] #catalog-facets select{width:100%!important;max-width:none!important;min-height:46px!important;height:46px!important;font-size:13px!important}body[data-page=catalogo] .catalog-controls label{align-self:end!important}body[data-page=catalogo] .product{height:auto!important;min-height:260px!important;display:flex!important;flex-direction:column!important}body[data-page=catalogo] .product .product-image{height:90px!important;min-height:90px!important}body[data-page=catalogo] .product .product-image img{max-height:82px!important;height:82px!important;width:100%!important;object-fit:contain!important}body[data-page=catalogo] .product>.add{margin-top:auto!important}}
body[data-page=catalogo] .catalog-controls #categories .category-label{width:100%!important;min-width:0!important;max-width:none!important}body[data-page=catalogo] .catalog-controls #category-select{width:100%!important;max-width:none!important;height:46px!important;min-height:46px!important}#products[aria-busy=true]:empty:before{content:'Preparando tus productos…';grid-column:1/-1;display:grid;place-items:center;min-height:180px;background:#eff4ed;border-radius:16px;color:#62756c;font-size:14px}#products[aria-busy=true]:not(:empty){opacity:.6;transition:opacity .15s ease}
html body select.choice-native{position:fixed!important;inset:0 auto auto 0!important;visibility:hidden!important;contain:strict!important}

@media(max-width:799px){body.has-shop-tabs .menu-toggle,body.has-shop-tabs .header nav{display:none!important}.shop-extra-links{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0}}
@media(min-width:800px){.shop-extra-links{display:none}}

.shop-help{display:none}.shop-help-sheet{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:0;border-radius:22px;padding:20px;color:#193f33}.shop-help-sheet>a{display:block;margin:12px 0}.shop-help-sheet details{border-bottom:1px solid #d9e4dc;padding:14px 0}.shop-help-sheet summary{cursor:pointer;font-weight:600}.shop-help-sheet p{line-height:1.5}
@media(max-width:799px){html body.has-shop-tabs .header .menu-toggle,html body.has-shop-tabs .mobile-nav{display:none!important}.shop-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important;padding-inline:4px}.shop-tabs a{font-size:10px;gap:3px}.shop-help{display:grid;place-items:center;flex:none;border:1px solid #cbdccd;background:#edf5e9;color:#00583f;border-radius:50%;width:36px;height:36px;min-height:36px;font:bold 20px system-ui;margin-left:auto}.shop-help-sheet{margin:auto auto 0;width:100%;max-width:none;border-radius:22px 22px 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom))}}

.notice-bell{position:relative;display:grid;place-items:center;flex:none;border:1px solid #cbdccd;background:#fff;color:#00583f;border-radius:50%;width:36px;height:36px;padding:7px}.notice-bell svg{width:22px;height:22px}.notice-bell b{position:absolute;right:-4px;top:-5px;background:#00583f;color:white;border-radius:12px;padding:1px 4px;font:11px system-ui}.notice-item{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #d9e4dc;color:#193f33;text-decoration:none}.notice-item span{font-size:13px}

@media(max-width:799px){body .shop-tabs{grid-template-columns:repeat(6,minmax(0,1fr))!important}}

@media(max-width:799px){body .shop-tabs{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
.summary-estimate{font-weight:700;border-top:1px solid #d9e4dc;margin-top:6px;padding-top:10px!important;color:#00583f}
/* Comparaciones contenidas en la pantalla, incluso con nombres o importes largos. */
html body #product-comparison-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 24px));min-width:0;max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:16px;overflow-x:hidden;overflow-y:auto}
html body #product-comparison-dialog .dialog-head{display:flex;align-items:center;gap:12px;min-width:0;width:100%;margin-bottom:12px}
html body #product-comparison-dialog .dialog-head h2{min-width:0;overflow-wrap:anywhere;white-space:normal;font-size:20px}
html body #product-comparison-dialog .close{flex:none;width:44px;height:44px;min-width:44px}
html body #product-comparison-dialog .ux-modal-content{box-sizing:border-box;width:100%;min-width:0;max-width:100%;max-height:calc(100dvh - 126px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
html body #product-comparison-dialog .ux-modal-content>p{overflow-wrap:anywhere;white-space:normal;line-height:1.5;font-size:14px;margin:0 0 14px}
html body #product-comparison-dialog ul{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;gap:8px;padding:0;margin:0}
html body #product-comparison-dialog li{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:center;gap:8px;min-width:0;width:100%;max-width:100%;padding:12px;font-size:14px}
html body #product-comparison-dialog li a{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;line-height:1.4}
html body #product-comparison-dialog li strong{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;text-align:right;font-variant-numeric:tabular-nums;line-height:1.4}
@media(max-width:399px){html body #product-comparison-dialog li{grid-template-columns:minmax(0,1fr);gap:4px}html body #product-comparison-dialog li strong{text-align:left}}

.product-comparison li>span{min-width:0}.product-comparison li small{display:block;font-size:11px;line-height:1.35;color:#5a6a62}
html body #product-comparison-dialog li>span{min-width:0}html body #product-comparison-dialog li small{display:block;font-size:12px;line-height:1.4;color:#5a6a62;margin-top:3px}
@media(max-width:799px){html body.has-shop-tabs>.header button.retail-location-button{display:block!important;box-sizing:border-box;flex:0 1 auto;min-width:110px;max-width:calc(100% - 186px);min-height:44px;margin-left:auto;padding:5px 8px;border:1px solid #d9e4dc;border-radius:10px;background:#edf5e9;font-size:11px}html body.has-shop-tabs>.header button.retail-location-button strong{font-size:13px}}
