/* Shop, department and brand pages, style C (owner's pick, 2026-10-30). Only the product column scrolls. */
body.elathi-shop{overflow:hidden}
body.elathi-shop .wp-site-blocks{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
body.elathi-shop .wp-site-blocks>header{flex:none}
body.elathi-shop .wp-site-blocks>:not(header):not(footer){flex:1;min-height:0;display:flex;flex-direction:column;margin:0}
body.elathi-shop .gl-shop{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;background:var(--pns-surface,#F6F7F4)}
/* the rail and the title stand in for the store band and the department icons */
body.elathi-shop .gl-header .gl-band,body.elathi-shop .gl-header .gl-stage,body.elathi-shop .gl-header .gl-mini{display:none!important}
/* slim: the store tabs fold away while the products scroll */
html.esh-slim body.elathi-shop .gl-header .gl-tabs{display:none}

.esh{--x-ink:var(--pns-ink,#14210F);--x-muted:var(--pns-muted,#4A5546);--x-faint:var(--pns-faint,#6B7166);--x-line:var(--pns-line,#E3E8DE);--x-line2:var(--pns-line-strong,#CFD8C8);--x-green:var(--pns-green,#318616);--x-gdark:var(--pns-green-dark,#1F6B2E);--x-gdeep:#134A1E;--x-tint:#F4FAEE;
	flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:var(--pns-max,1216px);margin:0 auto;color:var(--x-ink)}
.esh *{box-sizing:border-box}
.esh .i,.esh svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.esh-top{flex:none;padding:8px 12px 0}
.esh-crumbs{font-size:11.5px;color:var(--x-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.esh-crumbs a{color:var(--x-muted);text-decoration:none}
.esh-ttl{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;padding:2px 0 8px}
.esh-ttl h1{margin:0;font-size:20px;line-height:1.2;font-weight:800;letter-spacing:-.01em}
.esh-ttl small{font-size:12px;font-weight:600;color:var(--x-faint)}
.esh-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -12px;padding:0 12px 10px}
.esh-chips::-webkit-scrollbar{display:none}
.esh-fc{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1.5px solid var(--x-line2);background:#FFFFFF;font:inherit;font-size:12.5px;font-weight:700;color:var(--x-ink);text-decoration:none;white-space:nowrap;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,transform .15s ease}
.esh-fc:active{transform:scale(.96)}
.esh-fc svg{width:14px;height:14px}
.esh-fc.on{border-color:var(--x-gdark);background:var(--x-tint);color:var(--x-gdeep)}
.esh-fc em{font-style:normal;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--x-gdeep);color:#FFFFFF;font-size:10.5px;display:inline-flex;align-items:center;justify-content:center}
.esh-fc:focus-visible{outline:2px solid var(--x-gdark);outline-offset:2px}
/* rail + products */
.esh-body{flex:1;min-height:0;display:grid;grid-template-columns:76px minmax(0,1fr);border-top:1px solid var(--x-line)}
.esh-rail{min-height:0;overflow-y:auto;scrollbar-width:none;background:#FFFFFF;border-right:1px solid var(--x-line);padding-bottom:140px}
.esh-rail::-webkit-scrollbar{display:none}
.esh-rail>*{display:grid;justify-items:center;gap:5px;width:100%;padding:10px 4px;border:0;background:none;font:inherit;font-size:10.5px;font-weight:700;line-height:1.2;text-align:center;color:var(--x-muted);text-decoration:none;cursor:pointer;transition:background-color .25s ease,color .25s ease}
.esh-rail .ph2{width:48px;height:48px;border-radius:14px;background:var(--pns-surface,#F6F7F4);display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--x-gdark);transition:transform .3s ease,box-shadow .3s ease}
.esh-rail .ph2 img{width:100%;height:100%;object-fit:cover}
.esh-rail .ph2 svg{width:20px;height:20px}
.esh-rail .cnt{display:none}
.esh-rail [aria-current="true"]{background:var(--x-tint);color:var(--x-gdeep)}
.esh-rail [aria-current="true"] .ph2{background:#FFFFFF;box-shadow:0 0 0 2px var(--x-gdark);transform:scale(1.04)}
.esh-rail>*:focus-visible{outline:2px solid var(--x-gdark);outline-offset:-2px}
.esh-main{position:relative;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 10px 150px;outline:none;scrollbar-width:thin;scrollbar-color:#CFD8C8 transparent}
.esh-main:focus-visible{box-shadow:inset 0 0 0 2px var(--x-gdark)}
.esh-foot:empty{display:none}
.esh-foot{margin:24px -10px 0}
.esh-foot .site-footer{margin:0}
/* offer banner */
.esh-ban{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:0 0 12px;padding:10px 12px;border-radius:16px;background:var(--x-gdeep);color:#FFFFFF;text-decoration:none;transition:transform .15s ease}
.esh-ban:active{transform:scale(.99)}
.esh-ban small{display:block;font-size:9.5px;font-weight:800;letter-spacing:.1em;color:#C6E89A}
.esh-ban b{display:block;font-size:16px;line-height:1.2}
.esh-ban>span>span{display:block;font-size:11.5px;color:#D6E6CC}
.esh-ban .pics{display:flex;gap:6px}
.esh-ban .pics i{width:44px;height:44px;border-radius:10px;background:#FFFFFF;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--x-faint)}
.esh-ban .pics img{width:100%;height:100%;object-fit:cover}
/* groups */
.esh-grp+.esh-grp{margin-top:6px}
.esh-gh{position:sticky;top:-10px;z-index:2;margin:0 -10px 8px;padding:8px 10px;background:rgba(246,247,244,.96);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--x-muted)}
.esh-gh span{font-weight:700;color:var(--x-faint)}
.esh-grp[data-one] .esh-gh{display:none}
.esh-grid+.esh-grid{margin-top:8px}
.esh-grid .ef-skel{grid-column:1/-1;min-height:calc(var(--n,12) / 2 * 230px);border-radius:16px;background:linear-gradient(90deg,#EEF1EB 0,#F6F7F4 40%,#EEF1EB 80%) 0 0/200% 100%;color:transparent;animation:esh-sk 1.4s linear infinite}
@keyframes esh-sk{to{background-position:-200% 0}}
/* an empty grid keeps its place until the cards draw (no jump) */
.esh-grid:empty{min-height:calc(var(--n,12) / 2 * 236px)}
@media (min-width:960px){.esh-grid:empty{min-height:calc(var(--n,12) / 4 * 330px)}}
@media (min-width:1280px){.esh-grid:empty{min-height:calc(var(--n,12) / 5 * 320px)}}
@media (max-width:959px){.esh-cards-b .esh-grid:empty{min-height:calc(var(--n,12) * 96px)}}
.esh-plain{margin:0;padding-left:18px;font-size:13px;line-height:1.8}
.esh-none{display:grid;justify-items:center;gap:8px;padding:40px 16px;text-align:center;color:var(--x-muted)}
.esh-none svg{width:28px;height:28px}
.esh-none b{color:var(--x-ink);font-size:16px}
.esh-end{margin:16px 0 0;padding:14px;border-radius:16px;background:#FFFFFF;border:1px dashed var(--x-line2);font-size:12.5px;color:var(--x-muted);text-align:center}
.esh-end b{display:block;color:var(--x-ink);font-size:13.5px}
.esh-end a{color:var(--x-gdark);font-weight:800;text-decoration:none}
.esh-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 16px;border-radius:13px;border:1.5px solid var(--x-line2);background:#FFFFFF;font:inherit;font-size:14px;font-weight:800;color:var(--x-ink);text-decoration:none;cursor:pointer}
.esh-btn.pri{background:var(--x-green);border-color:var(--x-green);color:#FFFFFF}

/* cards, A (grid): the photo a full square, edge to edge; also the computer look */
.esh .esh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.esh .ef-card{position:relative;gap:0;border-radius:16px;border:1px solid var(--x-line);background:#FFFFFF;overflow:hidden}
.esh .ef-card .im{aspect-ratio:1;border:0;border-radius:0;background:#FFFFFF}
.esh .ef-card .im img{width:100%;height:100%;object-fit:cover}
.esh .ef-card .rb{border-radius:0 0 10px 0;padding:4px 7px 5px}
.esh .ef-card>:not(.im):not(.ft){margin-left:8px;margin-right:8px}
.esh .ef-card>.im+*{margin-top:8px}
.esh .ef-card h3{margin-top:6px;font-size:12px}
.esh .ef-card .ft{padding:6px 8px 8px;flex-wrap:wrap}
.esh .ef-card .ft .pp{display:grid;line-height:1.15}
.esh .ef-card .ft .pp s{margin-left:0;font-size:10.5px}
.esh .ef-card .ad{height:32px;padding:0 13px}
.esh .ef-card .st{width:90px;height:32px}
.esh .ef-card .st button{height:32px;width:28px}

/* cards, B (list) on phones: the photo a full square on the row's left edge */
@media (max-width:959px){
	.esh-cards-b .esh .esh-grid{grid-template-columns:1fr}
	.esh-cards-b .esh .ef-card{display:grid;grid-template-columns:88px minmax(0,1fr) auto;column-gap:10px;align-content:center;min-height:88px}
	.esh-cards-b .esh .ef-card>.im{grid-column:1;grid-row:1/span 6;width:88px;height:100%;min-height:88px;aspect-ratio:auto;border-right:1px solid #F0F2EE}
	.esh-cards-b .esh .ef-card>:not(.im):not(.ft){grid-column:2;margin:0}
	.esh-cards-b .esh .ef-card>.im+*{margin-top:8px}
	.esh-cards-b .esh .ef-card h3{margin:2px 0 8px;height:auto;max-height:2.6em}
	.esh-cards-b .esh .ef-card>.ft{grid-column:3;grid-row:1/span 6;display:grid;justify-items:end;align-content:center;gap:6px;padding:8px 10px 8px 0;margin:0}
	.esh-cards-b .esh .ef-card .ft .pp{justify-items:end}
}

/* filter sheet */
.esh-dlg{position:fixed;inset:0;z-index:99980;display:flex;align-items:flex-end;background:rgba(20,33,15,.38);opacity:0;transition:opacity .22s ease}
.esh-dlg[hidden]{display:none}
.esh-dlg.on{opacity:1}
.esh-sheet{width:100%;max-height:86vh;display:flex;flex-direction:column;border-radius:24px 24px 0 0;background:#FFFFFF;transform:translateY(24px);transition:transform .28s cubic-bezier(.65,0,.35,1);color:var(--x-ink)}
.esh-dlg.on .esh-sheet{transform:none}
.esh-sheet form{display:flex;flex-direction:column;min-height:0;flex:1}
.esh-sh{display:flex;align-items:center;gap:12px;padding:14px 16px 12px;border-bottom:1px solid var(--x-line)}
.esh-sh b{font-size:17px;margin-right:auto}
.esh-clear{font-size:13px;font-weight:800;color:var(--x-gdark);text-decoration:none}
.esh-x{width:38px;height:38px;border-radius:12px;border:1px solid var(--x-line);background:#FFFFFF;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--x-ink)}
.esh-sb{display:grid;grid-template-columns:116px minmax(0,1fr);min-height:0;flex:1}
.esh-tabs{display:grid;align-content:start;background:var(--pns-surface,#F6F7F4)}
.esh-tabs button{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:14px 12px;border:0;background:none;font:inherit;font-size:13px;font-weight:700;color:var(--x-muted);text-align:left;cursor:pointer;transition:background-color .2s ease,color .2s ease}
.esh-tabs button[aria-selected="true"]{background:#FFFFFF;color:var(--x-gdeep)}
.esh-tabs button:focus-visible{outline:2px solid var(--x-gdark);outline-offset:-2px}
.esh-tabs em{width:7px;height:7px;border-radius:50%;background:var(--x-green)}
.esh-panes{min-height:0;overflow-y:auto;padding:8px 14px}
.esh-pane{display:grid;align-content:start}
.esh-pane[hidden]{display:none}
.esh-opt{position:relative;display:flex;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px solid #F0F2EE;font-size:14px;cursor:pointer}
.esh-opt input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.esh-opt .bx{width:20px;height:20px;flex:none;border-radius:50%;border:2px solid var(--x-line2);transition:border-width .15s ease,border-color .15s ease}
.esh-opt input:checked+.bx{border:6px solid var(--x-gdark)}
.esh-opt .bx.ck{border-radius:6px;position:relative}
.esh-opt input:checked+.bx.ck{border:2px solid var(--x-green);background:var(--x-green)}
.esh-opt input:checked+.bx.ck::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border-right:2.5px solid #FFFFFF;border-bottom:2.5px solid #FFFFFF;transform:rotate(45deg)}
.esh-opt input:focus-visible+.bx{outline:2px solid var(--x-gdark);outline-offset:2px}
.esh-opt small{margin-left:auto;font-size:12px;color:var(--x-faint)}
.esh-pq{display:flex;flex-wrap:wrap;gap:8px;padding:6px 0 14px}
.esh-pqb{height:36px;padding:0 12px;border-radius:999px;border:1.5px solid var(--x-line2);background:#FFFFFF;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.esh-pqb[aria-pressed="true"]{border-color:var(--x-gdark);background:var(--x-tint);color:var(--x-gdeep)}
.esh-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.esh .et-l{position:relative;display:block}
.esh .et-l input{width:100%;height:50px;padding:0 12px;border:1.5px solid var(--x-line2);border-radius:13px;background:#FFFFFF;font:inherit;font-size:15px;font-weight:600;color:inherit;outline:none;box-shadow:none}
.esh .et-l input:focus{border-color:var(--x-gdark);border-width:2px;padding-left:11.5px}
.esh .et-l span{position:absolute;left:10px;top:0;padding:0 5px;background:#FFFFFF;font-size:14px;line-height:20px;color:var(--x-faint);pointer-events:none;transform:translateY(15px);transition:transform .25s ease,font-size .2s ease}
.esh .et-l input:focus+span,.esh .et-l.has-v span,.esh .et-l input:not(:placeholder-shown)+span{transform:translateY(-10px);font-size:11.5px;font-weight:700;color:var(--x-muted)}
.esh-hint{font-size:13px;color:var(--x-muted)}
.esh-sf{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;padding:10px 14px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--x-line)}

/* computers: a wider rail with names and counts, four cards a row, the filters as a panel under the chips */
@media (min-width:960px){
	.esh-top{padding:12px 20px 0}
	.esh-ttl h1{font-size:24px}
	.esh-chips{margin:0;padding:0 0 12px}
	.esh-body{grid-template-columns:220px minmax(0,1fr);gap:0;border-top:1px solid var(--x-line)}
	.esh-rail{padding:10px 10px 40px;border-right:1px solid var(--x-line)}
	.esh-rail>*{display:flex;align-items:center;gap:10px;padding:8px;border-radius:14px;font-size:13px;text-align:left}
	.esh-rail .ph2{width:40px;height:40px;border-radius:12px;flex:none}
	.esh-rail .nm{flex:1;min-width:0}
	.esh-rail .cnt{display:block;font-size:11px;color:var(--x-faint)}
	.esh-main{padding:14px 20px 0}
	.esh-gh{top:-14px;margin:0 -20px 10px;padding:8px 20px}
	.esh .esh-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
	.esh-foot{margin:28px -20px 0}
	.esh-ban{padding:14px 18px}
	.esh-ban b{font-size:20px}
	.esh-ban .pics i{width:60px;height:60px}
	.esh-dlg{align-items:flex-start;justify-content:center;background:rgba(20,33,15,.18)}
	.esh-sheet{width:620px;max-height:min(560px,70vh);margin-top:var(--esh-at,180px);border-radius:20px;border:1px solid var(--x-line)}
	@media (hover:hover){.esh-fc:hover{border-color:var(--x-gdark)}.esh-rail>*:not([aria-current="true"]):hover{background:#F8FBF5}}
}
@media (min-width:1280px){.esh .esh-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.esh *,.esh-dlg,.esh-sheet{transition:none!important;animation:none!important}}

/* search results: no rail, the products take the width */
.esh-body.esh-norail{grid-template-columns:minmax(0,1fr)}
.esh-norail .esh .esh-grid,.esh .esh-norail .esh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:960px){.esh .esh-norail .esh-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (min-width:1280px){.esh .esh-norail .esh-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (max-width:959px){.esh-cards-b .esh .esh-norail .esh-grid{grid-template-columns:1fr}}
.esh-none>span{font-size:13.5px}
.esh-deps{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:6px 0 4px}
.esh-end a,.esh-none a:not(.esh-btn):not(.esh-fc){text-decoration:underline;text-underline-offset:2px}
.esh-crumbs a{text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--x-line2)}
/* the product photos are shot edge to edge: a little white room inside the square shows the whole product
   without a frame (owner, 2026-10-30: it looked zoomed in) */
.esh .ef-card .im img{width:100%;height:100%;object-fit:contain;padding:7%;box-sizing:border-box}
@media (max-width:959px){.esh-cards-b .esh .ef-card>.im img{padding:6%}}
/* list rows: the photo is a fixed square in the middle of the row (it looked small when it stretched with the row) */
@media (max-width:959px){
	.esh-cards-b .esh .ef-card>.im{height:88px;min-height:0;aspect-ratio:1;align-self:center;border-right:0}
	.esh-cards-b .esh .ef-card>.im img{padding:4%}
}
@media (max-width:959px){
	.esh-cards-b .esh .ef-card{grid-template-rows:1fr auto auto auto 1fr;min-height:88px;align-content:stretch}
	.esh-cards-b .esh .ef-card>.im,.esh-cards-b .esh .ef-card>.ft{grid-row:1/-1}
	.esh-cards-b .esh .ef-card>:not(.im):not(.ft){grid-row:auto}
	.esh-cards-b .esh .ef-card>h3{grid-row:3;margin:0}
	.esh-cards-b .esh .ef-card>.im+*:not(h3){grid-row:2;margin:0 0 4px}
}
/* rail and banner photos: the whole product, a little white room, no zoom (owner, 2026-10-30) */
.esh-rail .ph2{background:#FFFFFF;border:1px solid var(--x-line)}
.esh-rail .ph2 img,.esh-ban .pics img{object-fit:contain;padding:8%;box-sizing:border-box;background:#FFFFFF}
.esh-rail [aria-current="true"] .ph2{border-color:transparent}
/* until the script moves it into the product column, the footer takes no room (a slow phone once painted it first: layout shift 0.22) */
body.elathi-shop .wp-site-blocks>footer.site-footer{position:absolute;left:-9999px;top:0;visibility:hidden}
/* empty grids hold whole rows (a group of 1 or 3 products held half a row and grew when the cards came: shift 0.07),
   and without the rail (search results) the phone cards are wider and taller */
@media (max-width:959px){
 .esh-grid:empty{min-height:calc(round(up, var(--n,12) / 2, 1) * 236px)}
 .esh-norail .esh-grid:empty{min-height:calc(round(up, var(--n,12) / 2, 1) * 278px)}
 .esh-cards-b .esh-grid:empty{min-height:calc(var(--n,12) * 96px)}
}
