/* La portada comercial usa el mismo carrito y precios del catálogo. */
html body.home-shop{background:#fafbf8;color:#153c30}
html body.home-shop #main.home-main{max-width:1280px;margin:auto;padding:0 16px 24px}
html body.home-shop[data-page=inicio] #main>section[id]{display:block;opacity:1;transform:none;max-width:none;border:0;border-radius:0;box-shadow:none;background:transparent;padding:24px 0!important;margin:0!important;scroll-margin-top:145px}
.home-shop .notice{display:none}.home-shop .header{position:sticky;top:0;z-index:35;display:flex!important;flex-wrap:wrap;gap:10px!important;padding:10px 16px!important;background:#fff!important;min-height:0!important}
.home-shop .brand{width:76px!important;height:45px!important;margin:0!important;flex-shrink:0}.home-shop .brand img{width:76px!important;height:45px!important;object-fit:contain}
.home-search{display:flex;align-items:center;order:6;width:100%;border:1px solid #c4d3c8;background:#f5f7f2;border-radius:12px;overflow:hidden;height:46px;margin:0}
.home-search input{width:100%;min-width:0;border:0;background:transparent;padding:12px;font:16px system-ui;color:#153c30;outline-offset:-3px}
.home-search button{border:0;background:#00583f;color:#fff;align-self:stretch;min-width:48px;display:grid;place-items:center;cursor:pointer}.home-search svg{width:21px;height:21px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html body.home-shop[data-page=inicio] #main>section.home-welcome[id]{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:22px 0 16px!important;min-height:175px}
.home-welcome>div:first-child{position:relative;z-index:1;flex:1}.home-kicker{font:700 10px/1.4 system-ui;letter-spacing:.1em;color:#587161;margin:0 0 8px}
.home-welcome h1{font:800 clamp(29px,7.5vw,40px)/1.06 system-ui;letter-spacing:-1.3px;margin:0 0 10px;max-width:550px}.home-welcome h1 em{font-style:normal;color:#00583f}
.home-welcome>div>p:not(.home-kicker){font:13px/1.5 system-ui;margin:8px 0;max-width:320px;color:#4e655a}.home-hero-link{font-size:12px;font-weight:700;display:inline-flex;gap:8px;align-items:center;min-height:36px}
.home-hero-images{width:88px;min-height:130px;flex:none;display:flex;align-items:center;justify-content:center;position:relative;background:#eaf0d9;border-radius:70px 70px 20px 20px}
.home-hero-images img{position:absolute;object-fit:contain;width:65px;height:100px;filter:drop-shadow(0 5px 4px #14352018)}.home-hero-images img:nth-child(1){transform:translate(-18px,17px) rotate(-12deg);z-index:2}.home-hero-images img:nth-child(2){transform:translate(18px,-15px) rotate(10deg);z-index:1}.home-hero-images img:nth-child(3){display:none}
.home-service-strip{display:flex;gap:7px 16px;flex-wrap:wrap;border-block:1px solid #e0e7da;padding:10px 0;font-size:10px;color:#4e655a}.home-service-strip strong{color:#244b3a}.home-service-strip>a{font-weight:600;text-decoration:underline}
.home-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px}.home-section-head h2,.home-shop #main .home-faq>h2{font:750 21px/1.15 system-ui;letter-spacing:-.65px;margin:0}.home-section-head .home-kicker{margin-bottom:6px}.home-section-head>a{white-space:nowrap;font-size:11px;font-weight:700;padding-block:5px}
.home-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px}.home-category{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:10px;line-height:1.25;min-width:0}.home-category>span{width:62px;height:62px;display:grid;place-items:center;background:#f0f3e7;border:1px solid #e3e8d9;border-radius:50%}.home-category:nth-child(2n)>span{background:#f6eee1}.home-category img{object-fit:contain;width:44px;height:48px;mix-blend-mode:multiply}.home-category strong{font-weight:600;max-width:100px}.home-category:hover>span{border-color:#699575;background:#e5edd8}
.home-intro,.home-status{font-size:12px;line-height:1.5;color:#5d6d62;margin:0 0 12px}.home-status{font-size:10px}.home-status button,.home-status a{font:inherit;color:#00583f;text-decoration:underline;border:0;background:transparent;cursor:pointer}
.home-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-product-grid[aria-busy=true]:empty{min-height:180px;background:#f0f3ea;border-radius:12px}
html body.home-shop .home-product-grid .product{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:12px!important;border:1px solid #e0e6da!important;border-radius:13px!important;box-shadow:none!important;background:white;overflow:hidden}
html body.home-shop .home-product-grid .product .product-image{position:relative;display:grid;place-items:center;height:135px!important;min-height:135px!important;width:100%!important;background:white;border:0;padding:12px 0 0;cursor:pointer}
html body.home-shop .home-product-grid .product .product-image img{object-fit:contain;width:100%!important;height:115px!important;max-height:115px!important;display:block}
html body.home-shop .home-product-grid .product h3{font:600 13px/1.4 system-ui!important;min-height:55px!important;margin:2px 0 0!important;overflow-wrap:anywhere;color:#253b30}
html body.home-shop .home-product-grid .product .product-price{font:800 21px/1.1 system-ui!important;color:#00583f;margin:0!important;letter-spacing:-.5px}
html body.home-shop .home-product-grid .product-reference{font-size:10px!important;color:#66756a;min-height:28px}.home-product-grid .product-comparison{font-size:10px;margin-bottom:0}.home-product-grid .product-comparison summary{font-size:10px!important;min-height:28px;display:flex;align-items:center;color:#49695a}.home-product-grid .price-note{font-size:10px;margin:0;min-height:28px}
html body.home-shop .home-product-grid .product .discount{position:absolute;right:0;top:0;max-width:100%;border-radius:5px;background:#f5df8a;color:#294435;padding:4px 6px;font:700 10px system-ui!important}
html body.home-shop .home-product-grid .product>.add{font:700 13px system-ui!important;min-height:44px!important;width:100%;border:0;background:#00583f;color:#fff;border-radius:8px!important;margin-top:auto!important;cursor:pointer}
.home-product-grid .product-quantity{margin-top:auto;min-height:44px;border:1px solid #00583f;border-radius:8px}.home-product-grid .product-quantity button{min-width:44px;min-height:44px;font-size:20px}
html body.home-shop[data-page=inicio] #main>section.home-baskets[id]{display:grid;gap:12px;padding-top:10px!important}.home-basket{display:block;padding:24px;border-radius:16px;color:#153c30;background:#e9efd9}.home-basket-clean{background:#f4eada}.home-basket h2{font:750 25px/1.12 system-ui;letter-spacing:-.7px;margin:8px 0 12px}.home-basket p{font-size:13px;max-width:300px;line-height:1.5;margin:0 0 18px}.home-basket>strong{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}
html body.home-shop[data-page=inicio] #main>section.home-costs[id]{display:flex;align-items:start;gap:18px;flex-direction:column;padding:22px!important;background:#f0f4ea;border:1px solid #dbe4d3;border-radius:14px;margin:16px 0!important}.home-costs h2{font-size:22px;line-height:1.2;letter-spacing:-.5px;margin:0 0 10px}.home-costs p:not(.home-kicker){font-size:12px;line-height:1.65;margin:0}.home-costs .button{font-size:12px;min-height:44px}
.home-about h2,.home-contact h2{font-size:21px;letter-spacing:-.5px;margin:0 0 10px}.home-about p:not(.home-kicker),.home-contact p{font-size:12px;line-height:1.6;color:#5d6d62;max-width:480px}.home-about>div+div{display:flex;flex-direction:column;align-items:start;gap:14px;margin-top:20px;font-size:12px}.home-about button.text-link{font-size:12px}.home-contact{display:flex!important;align-items:start;flex-direction:column;gap:12px;border-top:1px solid #e0e7da!important}.home-contact .button,.home-contact>a{font-size:12px}.home-faq .faq-list{margin-top:16px}
.home-shop .scroll-assist,.home-shop .section-rail{display:none!important}
@media(min-width:600px){.home-categories{grid-template-columns:repeat(8,minmax(0,1fr))}.home-category>span{width:68px;height:68px}.home-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-hero-images{width:180px;height:150px}.home-hero-images img{width:100px;height:130px}.home-hero-images img:nth-child(1){transform:translate(-35px,10px) rotate(-10deg)}.home-hero-images img:nth-child(2){transform:translate(35px,-10px) rotate(10deg)}.home-shop #main>.home-baskets{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){html body.home-shop #main.home-main{padding:0 36px 36px}.home-shop .header{padding:12px 36px!important;gap:22px!important;flex-wrap:nowrap;max-width:none}.home-shop .brand,.home-shop .brand img{width:92px!important;height:55px!important}.home-shop .header nav{display:flex!important;gap:18px!important;order:3;flex:none}.home-shop .header nav a{font-size:12px}.home-search{order:2;flex:1;min-width:220px;max-width:500px;height:46px}.home-shop #account-link{order:4;white-space:nowrap;font-size:11px!important}.home-shop #cart-open{order:5;min-width:100px}.home-shop .notice-bell{order:6}.home-shop .header .menu-toggle{display:none!important}html body.home-shop[data-page=inicio] #main>section[id]{scroll-margin-top:100px}html body.home-shop[data-page=inicio] #main>section.home-welcome[id]{min-height:235px;padding:30px 36px!important;margin:22px 0 0!important;border-radius:18px;background:#eef2df}.home-welcome h1{font-size:48px;letter-spacing:-1.8px}.home-welcome>div>p:not(.home-kicker){font-size:15px;max-width:460px}.home-hero-link{font-size:13px}.home-hero-images{width:350px;min-height:185px;background:transparent}.home-hero-images img{width:125px;height:180px}.home-hero-images img:nth-child(1){transform:translate(-100px,10px) rotate(-10deg)}.home-hero-images img:nth-child(2){transform:translate(0,-5px);z-index:3}.home-hero-images img:nth-child(3){display:block;transform:translate(100px,10px) rotate(10deg)}.home-service-strip{font-size:11px;justify-content:center;gap:32px;padding:12px}.home-section-head h2{font-size:27px}.home-section-head>a{font-size:12px}.home-intro{font-size:13px}.home-categories{gap:20px}.home-category{font-size:12px}.home-category>span{width:86px;height:86px}.home-category img{width:64px;height:66px}.home-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}html body.home-shop .home-product-grid .product{padding:18px!important}html body.home-shop .home-product-grid .product .product-image{height:170px!important;min-height:170px!important}html body.home-shop .home-product-grid .product .product-image img{height:150px!important;max-height:150px!important}html body.home-shop .home-product-grid .product h3{font-size:14px!important;min-height:40px!important}html body.home-shop .home-product-grid .product .product-price{font-size:25px!important}.home-product-grid .product-reference{min-height:15px!important}.home-basket{padding:30px}.home-basket h2{font-size:31px}html body.home-shop[data-page=inicio] #main>section.home-costs[id]{flex-direction:row;align-items:center;justify-content:space-between;padding:28px!important}.home-costs>div{max-width:750px}.home-costs .button{flex:none}.home-about{display:grid!important;grid-template-columns:1fr 1fr;gap:48px}.home-about>div+div{margin-top:0}.home-contact{flex-direction:row;align-items:center;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.home-shop *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.home-shop .header .brand,.home-shop .header .brand img{width:112px!important;height:40px!important}
.home-shop .header .brand{position:static!important;display:flex;align-items:center;overflow:visible!important;flex:none}.home-shop .header .brand img{position:static!important;inset:auto!important;transform:none!important}
@media(max-width:599px){.home-categories{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 0 10px;scrollbar-width:thin}.home-category{flex:0 0 74px;scroll-snap-align:start}.home-hero-images{width:80px}.home-hero-images img{width:58px}.home-hero-images img:nth-child(1){transform:translate(-10px,17px) rotate(-10deg)}.home-hero-images img:nth-child(2){transform:translate(12px,-15px) rotate(10deg)}}
@media(max-width:599px){html body.home-shop[data-page=inicio] #main>section.home-welcome[id]{min-height:140px;padding:14px 0!important}.home-welcome .home-kicker{display:none}.home-welcome h1{font-size:27px;letter-spacing:-1px}.home-welcome>div>p:not(.home-kicker){font-size:12px;max-width:240px}.home-hero-link{min-height:28px}.home-hero-images{min-height:115px}.home-service-strip{padding:9px 0;font-size:10px;justify-content:space-between;gap:8px}.home-service-strip>span:first-child{display:none}html body.home-shop[data-page=inicio] #main>section.home-departments[id]{padding:20px 0 10px!important}.home-section-head h2{font-size:20px}.home-shopping-section .home-section-head .home-kicker{display:none}.home-shopping-section .home-intro{font-size:11px;margin-bottom:12px}.home-product-grid .home-image-unavailable{font-size:12px;color:#66756a}.home-category img{max-width:100%}}
.home-shop .header nav a[href='/historico-precios.html']{display:none!important}
html body.home-shop .home-product-grid .product h3{height:40px!important;min-height:40px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:599px){html body.home-shop .home-product-grid .product .product-image{height:115px!important;min-height:115px!important}html body.home-shop .home-product-grid .product .product-image img{height:100px!important;max-height:100px!important}}
.home-product-grid+.home-status{margin:12px 0 0}
@media(min-width:1000px) and (max-width:1199px){.home-shop .header{gap:12px!important;padding-inline:20px!important}.home-shop .header .brand,.home-shop .header .brand img{width:94px!important}.home-shop .header nav{gap:12px!important}.home-shop .header nav a{font-size:11px}.home-search{min-width:180px}.home-shop #account-link{max-width:110px;white-space:normal;font-size:10px!important;text-align:center;padding:8px!important}.home-shop #cart-open{min-width:90px;padding:8px!important}}
/* Cards compactas: la imagen conserva su tamaño y la comparación queda a mano. */
html body.home-shop .home-product-grid .product{min-height:0!important;gap:5px!important}
html body.home-shop .home-product-grid .product-reference{margin:0!important;min-height:15px!important;line-height:1.4}
html body.home-shop .home-product-grid .product-comparison{padding:0!important;margin:0!important;border:0;min-height:32px}
html body.home-shop .home-product-grid .product-comparison summary{min-height:32px;padding:3px 0!important;font-size:11px!important;font-weight:700;color:#00583f;text-decoration:underline;text-underline-offset:3px}
html body.home-shop .home-product-grid .product .price-note{min-height:32px;margin:0!important;line-height:1.4}
@media(min-width:1000px){html body.home-shop .home-product-grid .product{padding:10px!important;gap:4px!important}html body.home-shop .home-product-grid .product .product-price{font-size:23px!important}html body.home-shop .home-product-grid .product>.add{min-height:36px!important}.home-product-grid{gap:12px}}
@media(min-width:1200px){.home-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:999px){html body.home-shop .header nav[aria-label=Principal]{display:flex!important;order:7;width:100%;gap:20px!important;overflow-x:auto;scrollbar-width:thin}html body.home-shop .header nav[aria-label=Principal] a{flex:none;font-size:12px;white-space:nowrap;min-height:36px;display:flex;align-items:center}}
@media(min-width:1000px) and (max-width:1199px){html body.home-shop .header{flex-wrap:wrap!important}html body.home-shop .header nav[aria-label=Principal]{order:7;flex-basis:100%;justify-content:center;gap:24px!important}.home-shop .home-search{max-width:none}}
.home-scan-link{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#e3f291;border:1px solid #d2e483;color:#144b34;border-radius:12px;padding:14px 18px;margin:16px 0;font-size:13px}.home-scan-link span{text-decoration:underline;text-underline-offset:3px}@media(max-width:599px){.home-scan-link{align-items:start;flex-direction:column;padding:12px;font-size:12px}}
