/* Editorial storefront */
.editorial-shop{
 --ink:#2d3127;--muted:#5c6050;--accent:#43553b;--line:#e6dfd1;
 color:var(--ink);background:#f9f6ef;
}
.shop-wordmark{
 display:inline-flex;flex-direction:column;align-items:flex-start;line-height:.99;color:#303e2b;text-decoration:none;
 white-space:nowrap;font-family:Georgia,"Times New Roman",serif;font-size:1.85rem;letter-spacing:.04em;
}
.shop-wordmark small{font:600 .64rem/1.35 system-ui,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#505d46;margin-top:5px}
.editorial-shop .shop-header{background:#fcfaf4;border-color:#e6dece}
.editorial-shop .shop-header-inner,.editorial-shop .shop-content,.shop-footer{max-width:1360px;padding-inline:clamp(16px,4.5vw,55px)}
.editorial-shop .shop-header-inner{display:grid;grid-template-columns:1fr auto 1fr;min-height:78px}
.editorial-shop .shop-header-inner>.shop-wordmark{justify-self:start}
.shop-nav,.shop-header-actions{display:flex;align-items:center;gap:clamp(10px,2vw,24px)}
.shop-header-actions{justify-content:flex-end;gap:12px}
.shop-nav a,.shop-admin-link,.shop-footer>a{font-size:.83rem;font-weight:650;text-decoration:none;white-space:nowrap}
.shop-nav a:hover,.shop-admin-link:hover,.shop-footer>a:hover{text-decoration:underline}
.shop-admin-link{background:none;border:0;padding:6px 0;color:inherit}
.editorial-shop .shop-cart-button{border-color:#d5d9c9;border-radius:7px;background:#f0f2e8;white-space:nowrap}
#cartCount{border-radius:50%;display:grid;place-items:center;min-width:22px;min-height:22px;padding:0 3px;background:#45563e;color:white;font-size:.74rem}
.editorial-shop .shop-content{padding-block:23px 42px}
.shop-editorial-hero{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr);min-height:375px;
 border:1px solid #e2dacb;border-radius:8px;overflow:hidden;background:#eae5d7;
}
.shop-editorial-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(25px,5vw,65px)}
.shop-editorial-copy h1,.editorial-shop h2{
 font-family:Georgia,"Times New Roman",serif;letter-spacing:-.045em;font-weight:500;line-height:.99;
}
.shop-editorial-copy h1{font-size:clamp(2.6rem,5.5vw,5.45rem);color:#303e2b}
.shop-editorial-copy p{max-width:36ch;margin:15px 0 23px;color:#42483a}
.editorial-shop .primary{border-radius:5px;background:#43553b}
.editorial-shop .primary:hover{background:#303f2b}
.shop-editorial-photo,.category-photo{display:grid;place-items:center;background-color:var(--photo,#ebe2d5)}
.shop-editorial-photo .pack{transform:scale(2.15)}
.shop-collections{margin:30px 0 34px;scroll-margin-top:95px}
.editorial-shop h2{font-size:clamp(1.6rem,3vw,2.5rem)}
.shop-collections h2{margin-bottom:14px}
.shop-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.shop-category{border:1px solid #e8e0d3;border-radius:7px;padding:0;text-align:left;background:#f2eee3;color:#2c3826;overflow:hidden}
.shop-category:hover,.shop-category[aria-pressed=true]{border-color:#687857}
.category-photo{height:clamp(105px,11vw,153px)}
.category-photo .pack{transform:scale(.72)}
.shop-category>span:last-child{padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:7px;font-weight:700;font-size:.89rem}
.editorial-shop .shop-catalog{scroll-margin-top:94px}
.editorial-shop .shop-catalog .panel-head{align-items:baseline}
.editorial-shop .toolbar{border-top:1px solid var(--line);padding-top:11px}
.editorial-shop .toolbar :is(input,select){border-color:#dfd9ca;background:#fffdf8}
.editorial-shop .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.editorial-shop .shop-item{border-radius:7px;border-color:#e6dfd2;background:#fffdf8}
.editorial-shop .shop-photo{height:auto;aspect-ratio:1.42;background-color:var(--photo,#ebe2d5)}
.editorial-shop .shop-info{padding:14px;gap:8px}
.editorial-shop .shop-info h3{font-size:1rem}
.editorial-shop .shop-info .price{color:#35452e}
.editorial-shop .shop-info .primary{width:auto;align-self:stretch}
.editorial-shop .s-green{background:#e6efdf;color:#365634}
.shop-footer{margin:auto;padding-block:22px;border-top:1px solid #e6dfd1;display:flex;justify-content:space-between;align-items:center;gap:16px}
.shop-footer p{margin-top:8px;color:var(--muted);font-size:.78rem}
#cartDialog{--accent:#43553b}
#cartDialog .notice{background:#eef0e6;color:#43553b}
@media(max-width:970px){
 .dashboard-analysis{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:730px){
 .editorial-shop .shop-header-inner{grid-template-columns:1fr auto}
 .editorial-shop .shop-nav{display:none}
 .shop-editorial-hero{min-height:255px}
 .shop-editorial-copy{padding:20px}
 .shop-editorial-copy h1{font-size:clamp(2rem,6.9vw,3.2rem)}
 .shop-editorial-copy p{font-size:.85rem;margin-block:9px 14px}
 .editorial-shop .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
}
@media(max-width:520px){
 .dashboard-hero{align-items:flex-start}
 .chart-days{gap:3px}
 .shop-editorial-hero{grid-template-columns:1fr}
 .shop-editorial-photo{min-height:194px}
 .shop-editorial-photo .pack{transform:scale(1.3)}
 .shop-category-grid{gap:7px}
 .category-photo{height:88px}
 .shop-category>span:last-child{padding:7px;font-size:.75rem}
 .editorial-shop .shop-info{padding:9px}
 .editorial-shop .shop-info .primary{min-height:42px;font-size:.76rem}
 .shop-footer{align-items:flex-start}
 .shop-header-actions{gap:8px}
}

.chart-day.is-alternate .chart-date{visibility:hidden}

.editorial-shop .art-1,.product-image.art-1{--catalog-photo:url("../images/catalog-1.webp")}

.editorial-shop .art-2,.product-image.art-2{--catalog-photo:url("../images/catalog-2.webp")}

.editorial-shop .art-3,.product-image.art-3{--catalog-photo:url("../images/catalog-3.webp")}

.editorial-shop .art-4,.product-image.art-4{--catalog-photo:url("../images/catalog-4.webp")}

.editorial-shop :is(.shop-editorial-photo,.category-photo,.shop-photo.has-photo){
 background-image:var(--catalog-photo);background-position:center;background-size:cover;background-repeat:no-repeat;
}
.editorial-shop :is(.shop-editorial-photo,.category-photo,.shop-photo.has-photo) .pack{display:none}

