/* ONIVA home v40: product-first. Scoped to this homepage only. */
body:has(.home40) .catnav{display:none}
body:has(.home40) .catnav.is-mobile-open{display:block}
body:has(.home40) #ovMain{padding-top:0}
.home40{--h40-green:#005840;--h40-gold:#e7b328;--h40-ink:#122c24;max-width:1440px;margin:auto;padding:12px 24px 24px;color:var(--h40-ink);font-size:16px}
.home40 *{box-sizing:border-box}
.home40 [hidden]{display:none!important}
.home40 a{color:inherit;text-decoration:none}
.home40 button,.home40 select{font:inherit}
.home40 :is(a,button,select,summary):focus-visible{outline:3px solid #b77600;outline-offset:3px}
.h40-season{position:relative;display:flex;align-items:center;gap:20px;min-height:76px;padding:14px 20px;background:linear-gradient(110deg,#003d2e,#006348);color:white;border-radius:14px;border-bottom:3px solid var(--campaign-accent,#e7b328);box-shadow:0 7px 20px #00533a14}
.h40-season-title{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;flex-shrink:0}
.h40-season-title svg{width:28px;height:28px;color:#ffda74}
.h40-messages{flex:1;min-width:0}
.h40-messages p{margin:0;font-size:16px;line-height:1.5;animation:h40-message .35s ease-out}
.h40-pause{min-height:44px;border:1px solid #ffffff70;border-radius:10px;background:transparent;color:white;padding:0 12px;font-size:14px!important}
.h40-taxonomy{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;scrollbar-width:thin;scroll-padding:6px;padding:15px 0 12px;scroll-margin-top:125px}
.h40-rail{position:relative;min-width:0}.h40-rail-controls{display:flex;justify-content:flex-end;gap:8px;margin:-5px 0 5px}.h40-rail-controls button{width:44px;height:44px;border:1px solid #b9cdc2;border-radius:50%;background:white;color:#00543a;font-size:24px;cursor:pointer}.h40-rail-controls button:disabled{opacity:.4;cursor:default}
.h40-message-controls{display:flex;gap:2px;align-items:center}.h40-message-controls button{width:30px;height:36px;border:0;border-radius:8px;background:transparent;cursor:pointer}.h40-message-controls button::before{content:'';display:block;width:7px;height:7px;border-radius:50%;background:#ffffff70;margin:auto}.h40-message-controls button[aria-current=true]::before{background:#ffdc73;width:18px;border-radius:4px}
.h40-tip{position:absolute;z-index:20;bottom:calc(100% + 6px);left:6px;right:6px;padding:10px 12px;border-radius:12px;background:#003e2e;color:white;font-size:14px;line-height:1.45;box-shadow:0 6px 20px #00302025;pointer-events:none;display:none}.h40-card{position:relative}.h40-card:focus-within .h40-tip{display:block}.h40-card:hover .h40-tip{display:block}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.h40-card{transition:box-shadow .18s,transform .18s}.h40-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #0a3c2218}}
.h40-taxon{flex:0 0 110px;display:grid;justify-items:center;gap:7px;text-align:center;padding:5px 6px 9px;border-bottom:3px solid transparent}
.h40-taxon>span{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#eef5f2;color:#065740;transition:background .15s,transform .15s}
.h40-taxon svg{width:27px;height:27px}
.h40-taxon strong{font-size:14px;line-height:1.25;font-weight:650;overflow-wrap:anywhere}
.h40-taxon:hover>span{background:#e0eee7;transform:translateY(-2px)}
.h40-taxon[aria-current]{border-color:#c18b00;color:var(--h40-green)}
.h40-taxon[aria-current]>span{color:white;background:var(--h40-green)}
.h40-breadcrumb{display:flex;gap:9px;flex-wrap:wrap;font-size:14px;margin:6px 0 12px;line-height:1.5}
.h40-breadcrumb>a{text-decoration:underline;text-underline-offset:4px}
.h40-level{display:flex;gap:12px;align-items:center;margin-bottom:8px;font-size:14px}
.h40-level>span{min-width:112px;color:#52655c}
.h40-children{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:5px 2px}
.h40-children a{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #cddcd4;border-radius:12px;white-space:nowrap;background:white}
.h40-children svg{width:22px;height:22px;flex-shrink:0}
.h40-children [aria-current]{background:#005840;color:white;border-color:#005840}
.h40-catalogue{scroll-margin-top:120px}
.h40-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0 18px}
.h40-toolbar h1{font-size:clamp(20px,2.2vw,28px);line-height:1.2;letter-spacing:-.025em;margin:0 0 5px;font-weight:800}
.h40-toolbar p{margin:0;font-size:14px;color:#52655c}
.h40-toolbar form{display:flex;align-items:center;gap:8px;font-size:14px;flex-shrink:0}
.h40-toolbar select{max-width:190px;min-height:44px;border:1px solid #b9cec3;background:white;padding:7px 10px;border-radius:10px;color:#183c2c}
.h40-toolbar button{min-width:44px;min-height:44px;background:#005840;color:white;border:0;border-radius:10px;padding:8px}
.h40-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 14px;align-items:stretch}
.h40-card{min-width:0;border:1px solid #e3ebe6;border-radius:14px;overflow:hidden;background:white;display:flex;flex-direction:column}
.home40 .h40-favorite{position:absolute;z-index:2;top:7px;right:7px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #d4e2da;border-radius:50%;background:#ffffffed;color:#005840;cursor:pointer;font-size:23px}.h40-favorite svg{width:23px;height:23px}.h40-favorite.on svg{fill:currentColor}
.h40-photo{display:grid;place-items:center;position:relative;aspect-ratio:1;background:#f4f6f4;overflow:hidden;border-bottom:1px solid #eef1ee}
.h40-photo img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s ease}
.h40-photo:hover img{transform:scale(1.025)}
.h40-photo>span:not(.h40-discount){font-size:14px;color:#597567}
.h40-photo .h40-discount{position:absolute;left:8px;top:8px;padding:4px 7px;background:#ffdc73;color:#253326;border-radius:6px;font-size:14px;font-weight:800}
.h40-card-body{display:flex;flex-direction:column;gap:7px;padding:12px;flex:1}
.h40-badge{font-size:14px;color:#075a3f;font-weight:650}
.h40-name{font-size:16px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:4.2em}
.h40-price{display:flex;gap:3px 8px;flex-wrap:wrap;align-items:baseline;margin-top:auto;padding-top:3px}
.h40-price strong{font-size:18px;color:#00543a;line-height:1.4;white-space:nowrap}
.h40-price s{font-size:14px;color:#657168;white-space:nowrap}
.home40 .h40-add{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #b9cdc2;border-radius:10px;background:white;color:#005840;font-size:14px;font-weight:750;min-height:44px;padding:8px;width:100%;cursor:pointer}
.h40-add svg{height:20px;width:20px}
.home40 .h40-add:hover{background:#eff6f2;border-color:#005840}
.h40-out{display:grid;place-items:center;min-height:44px;color:#626d67;font-size:14px}
.h40-pagination{text-align:center;padding:26px 0 22px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.h40-pagination p{width:100%;margin:0 0 5px;font-size:14px;color:#52655c}
.h40-more{display:inline-flex;justify-content:center;align-items:center;min-height:48px;min-width:230px;padding:10px 22px;border:1px solid #005840;border-radius:12px;font-weight:750}
.h40-more[aria-disabled]{opacity:.65;cursor:wait}
.h40-empty{background:#f0f5f1;padding:28px;border-radius:14px;margin:10px 0}
.h40-empty h2{font-size:20px;margin:0 0 10px}.h40-empty a{text-decoration:underline;font-weight:700}
.h40-delivery{border-block:1px solid #dce7df;padding:14px 0;margin-top:10px}
.h40-delivery summary{cursor:pointer;min-height:44px;align-content:center;font-size:16px}
.h40-links{display:flex;gap:22px;flex-wrap:wrap;padding:20px 0;font-size:14px}
.h40-links a{display:flex;align-items:center;gap:8px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.h40-links svg{width:22px;height:22px}
.h40-photo .h40-tip{bottom:8px;color:white;font-size:14px}.h40-tooltip-off .h40-tip{display:none!important}
.h40-rail:has(.h40-rail-controls:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:4px;align-items:center}
.h40-rail-controls{flex-direction:column;margin:0;align-items:center}.h40-rail-controls button{width:38px;height:38px}
.h40-level .h40-rail:has(.h40-rail-controls:not([hidden])){grid-template-columns:minmax(0,1fr) 84px}
.h40-level .h40-rail-controls{flex-direction:row}
.h40-level .h40-rail{flex:1;min-width:0}
@keyframes h40-message{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){.h40-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.h40-season-title{font-size:16px}.h40-season{gap:12px}}
@media(max-width:760px){
 .home40{padding:8px 12px 16px}.h40-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 9px}
 .h40-season{display:grid;grid-template-columns:1fr auto;padding:10px 12px;gap:4px 8px;min-height:72px;border-radius:12px}
 .h40-season-title{gap:7px;font-size:16px}.h40-season-title svg{height:22px;width:22px}
 .h40-messages{grid-column:1;grid-row:2}.h40-messages p{font-size:14px;line-height:1.4}
 .h40-pause{grid-column:2;grid-row:1/3;padding:5px 8px}
 .h40-taxonomy{padding:10px 0 8px;gap:2px}.h40-taxon{flex-basis:92px;padding:3px 4px 7px;gap:5px}.h40-taxon>span{width:43px;height:43px;border-radius:14px}.h40-taxon svg{width:24px;height:24px}
 .h40-toolbar{align-items:flex-start;flex-wrap:wrap;gap:9px;padding:8px 0 12px}.h40-toolbar>div{flex:1;min-width:170px}.h40-toolbar h1{font-size:21px}.h40-toolbar form{max-width:100%}.h40-toolbar select{flex:1;max-width:165px}.h40-toolbar p{font-size:14px}
 .h40-ready .h40-toolbar button{display:none}.h40-ready .h40-toolbar label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .h40-card-body{padding:9px;gap:6px}.h40-name{font-size:14px}.h40-price strong{font-size:16px}.h40-price s{font-size:13px}
 .h40-level{display:block;margin-bottom:6px}.h40-level>span{display:block;margin:5px 0 0;font-size:14px}
 .h40-links{gap:8px 16px}.h40-catalogue{scroll-margin-top:120px}
 .h40-message-controls{grid-column:2;grid-row:1}.h40-message-controls button{width:22px;height:30px}.h40-season:has(.h40-message-controls) .h40-pause{grid-row:2;grid-column:2}
 .h40-rail-controls{margin:0 0 5px}.h40-rail-controls button{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.home40 *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
