.shop-menu{position:relative;white-space:nowrap}
.shop-menu>summary,.shop-tree summary{cursor:pointer;font-weight:700}
.shop-menu>summary{color:inherit;padding:9px 0}
.shop-tree{position:absolute;z-index:40;top:100%;left:0;width:min(370px,85vw);max-height:68vh;overflow:auto;background:#fff;color:var(--navy);border:1px solid #dce2eb;border-radius:10px;padding:12px;box-shadow:0 12px 30px #0c23402b;white-space:normal}
.shop-tree a,.shop-tree summary{display:block;padding:7px 8px;color:var(--navy)!important;white-space:normal}
.shop-tree details div{margin-left:12px;border-left:1px solid #e0e5ec}
.shop-tree details>summary::before{content:'› ';color:#82601b}
.shop-tree details[open]>summary::before{content:'⌄ '}
.shop-wrap{padding-block:46px 70px;min-height:50vh}
.shop-wrap h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.14;margin:0 0 18px}
.shop-wrap a:not(.shop-button){color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.shop-card{display:flex;flex-direction:column;padding:15px;background:#fff;border:1px solid #e0e5ec;border-radius:12px;color:var(--ink)}
.shop-card>a{display:block;color:inherit;text-decoration:none!important}
.shop-card>a:hover h3{text-decoration:underline}
.shop-card h3{font-size:16px;line-height:1.45;margin:13px 0 0;font-family:inherit}
.shop-card p{font-weight:700;margin:auto 0 12px;padding-top:12px}
.shop-card small,.shop-price small{font-weight:400;color:#536174;font-size:.8rem}
.shop-photo{height:185px;display:grid;place-items:center;background:#fff;border-radius:8px;color:#526174}
.shop-photo img{width:100%;height:100%;max-height:185px;object-fit:contain}
.shop-photo [hidden]{display:none!important}
.shop-button{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff!important;border:1px solid var(--navy);border-radius:7px;min-height:43px;padding:8px 15px;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}
.shop-button:hover{background:#24416a}
.shop-button:disabled{opacity:.6;cursor:wait}
.shop-muted,.shop-crumbs{color:#526174}
.shop-crumbs{margin-bottom:20px;font-size:.9rem;overflow-wrap:anywhere}
.shop-search{max-width:620px;margin:0 0 18px}
.shop-search div,.shop-add-form div,.shop-actions,.shop-pagination{display:flex;gap:12px;align-items:center}
.shop-wrap input,.shop-wrap textarea{width:100%;border:1px solid #b8c3d0;padding:10px;border-radius:6px;background:#fff;color:#14223a;font:inherit;min-width:0}
.shop-wrap label{display:block;font-weight:650;margin-bottom:5px}
.shop-filters{display:flex;flex-wrap:wrap;gap:8px}
.shop-filters a{border:1px solid #dce2eb;border-radius:20px;padding:6px 12px;text-decoration:none!important}
.shop-pagination{justify-content:center;margin-top:24px}
.shop-detail,.shop-checkout{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:22px 0 34px}
.shop-detail .shop-photo,.shop-detail .shop-photo img{height:340px;max-height:340px}
.shop-price{font-size:1.45rem;font-weight:700}
.shop-add-form input{width:95px}
.shop-description{white-space:pre-line;max-width:78ch;overflow-wrap:anywhere}
.shop-lines{padding:0;list-style:none}
.shop-lines li{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #dfe5ed}
.shop-lines li>div{flex:1;min-width:0;overflow-wrap:anywhere}
.shop-lines p{margin:4px 0}
.shop-lines input{width:85px}
.shop-link{background:none;border:0;color:var(--navy);text-decoration:underline;cursor:pointer;font:inherit;padding:4px}
.shop-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.shop-form textarea{display:block;margin-top:4px}
.shop-preview-note{background:#fff7df;padding:12px;border-radius:6px}
.shop-error{color:#a12626}
.shop-toast:not(:empty){position:fixed;z-index:110;bottom:85px;right:24px;padding:12px 18px;background:#102347;color:white;border-radius:8px}
.shop-toast:empty{display:none}
@media(max-width:950px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-card{padding:10px}.shop-photo,.shop-photo img{height:135px;max-height:135px}.shop-detail,.shop-checkout{grid-template-columns:1fr;gap:22px}.shop-tree{position:relative}.shop-lines li{flex-wrap:wrap}.shop-lines li>div{flex-basis:55%}}
@media(min-width:651px) and (max-width:1100px){#navigation.nav{overflow:visible;flex-wrap:wrap;height:auto;min-height:53px;padding-block:8px;column-gap:15px;row-gap:4px}}
@media(max-width:650px){#navigation.nav.open{max-height:calc(100dvh - 120px);overflow:auto}}

#navigation .shop-nav-cart{display:inline-flex;align-items:center;gap:.3em;white-space:nowrap}
