/* Clear shopping hierarchy, with categories first on every screen. */
.simple-store footer .footer-links{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px;min-width:0}
.simple-store footer .social-link{width:auto;min-width:0;box-sizing:border-box}
.simple-store .footer-contact-title{flex:0 0 100%;margin:0 0 2px;font-size:16px;font-weight:700;color:#252525;text-align:left}
@media(min-width:1024px){
 .simple-store{background:#f6f7f9;color:#25282d}
 .simple-store header{max-width:1264px;margin:0 auto;padding:20px 32px;height:96px;gap:28px}
 .simple-store .store-search{border-radius:12px;background:#f7f7f8;min-height:48px}
 .simple-store .desktop-service-bar{max-width:1264px;padding-inline:32px}
 .simple-store[data-catalog-view=home]>.desktop-category-nav{display:none}
 .simple-store[data-catalog-view=home] main>.catalog{display:block;max-width:1200px;width:calc(100% - 64px);margin:24px auto;padding:24px;border:1px solid #e7e9ed;border-radius:20px;background:#fff;box-shadow:0 5px 20px #20263003}
 .simple-store[data-catalog-view=home] .catalog>.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;padding:0}
 .simple-store[data-catalog-view=home] .catalog>.section-head .eyebrow{display:none}
 .simple-store[data-catalog-view=home] #products-title{font-size:23px;line-height:1.3;font-weight:750;letter-spacing:-.4px;margin:0}
 .simple-store[data-catalog-view=home] #count{display:none}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0;padding:0;overflow:visible;white-space:normal}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter:has(>img){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:164px;height:auto;width:100%;padding:20px 12px;border:1px solid #e8e9ed;border-radius:14px;background:#fff;box-shadow:none;transition:border-color .18s,background .18s,transform .18s}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter>img{width:88px;height:88px;border:0;padding:4px;border-radius:14px;background:#faf7f2;object-fit:contain}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter>span{font-size:14px;font-weight:650;line-height:1.4;letter-spacing:0;color:#303238;text-align:center;white-space:normal}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter:hover{border-color:#edaa85;background:#fffbf7;transform:translateY(-2px)}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter:focus-visible{outline:2px solid #ed692c;outline-offset:3px}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.info-filters{display:none}
 .simple-store[data-catalog-view=home] .category-home-empty{display:none}
 .simple-store[data-catalog-view=home] .home-return{display:none}
 .simple-store .home-category-showcase{max-width:1200px;width:calc(100% - 64px);margin:24px auto;padding:20px;border:1px solid #e7e9ed;border-radius:20px;background:#fff;box-sizing:border-box}
 .simple-store .home-category-showcase .mobile-window-heading{padding:0 2px 12px;margin:0;gap:14px}
 .simple-store .home-category-showcase .mobile-window-heading h2{font-size:19px;font-weight:700;line-height:1.4;color:#303238}
 .simple-store .home-category-showcase .mobile-window-track{gap:16px;padding:0;border:0;border-radius:12px;background:#fff}
 .simple-store .home-category-showcase .vitrine-window-card{flex:0 0 calc((100% - 16px)/2);max-width:none;min-width:0;border:1px solid #eaebee;border-radius:14px;background:#fff}
 .simple-store .home-category-showcase .vitrine-panel{height:300px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);padding:22px;gap:18px;background:#fff}
 .simple-store .home-category-showcase .vitrine-copy h3{font-size:24px;line-height:1.3;font-weight:700;letter-spacing:-.5px;color:#25282d;margin-bottom:14px}
 .simple-store .home-category-showcase .vitrine-copy li{font-size:13px;line-height:1.7;color:#72757d}
 .simple-store .home-category-showcase .vitrine-art{gap:10px}
 .simple-store .home-category-showcase .vitrine-product{border:1px solid #f2f2f3;border-radius:9px;padding:5px;background:#fff}
 .simple-store :is(.home-offers,.customer-reviews,.app-download-banner,.order-policy){max-width:1200px;width:calc(100% - 64px);margin:24px auto;box-sizing:border-box;border-radius:18px}
 .simple-store .home-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0}
 .simple-store footer{max-width:none;width:100%;margin:36px 0 0;padding:36px 32px 22px;background:#fff;border-top:1px solid #e7e9ed;display:block}
 .simple-store footer .footer-main{max-width:1200px;margin:auto;display:grid;grid-template-columns:160px minmax(0,1fr);align-items:start;gap:28px}
 .simple-store footer .footer-main>.brand{margin:12px 0 0;font-size:30px;min-width:0;display:block;line-height:1}
 .simple-store footer .footer-links{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:12px;width:100%;min-width:0}
 .simple-store footer .footer-contact-title{grid-column:1/-1;font-size:17px;margin:0 0 4px}
 .simple-store footer .social-link{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:48px;width:100%;padding:10px 12px;border:1px solid #e8eaee;border-radius:12px;font-size:13px;line-height:1.4;background:#fff;box-sizing:border-box}
 .simple-store footer .social-link span{overflow-wrap:anywhere;min-width:0}
 .simple-store footer .social-link svg{flex:0 0 22px;width:22px;height:22px}
 .simple-store footer .footer-copyright{max-width:1200px;margin:26px auto 0;padding:18px 0 0;border-top:1px solid #eef0f2;font-size:12px;color:#858891;text-align:left;line-height:1.6}
}
@media(min-width:1024px) and (max-width:1199px){
 body.simple-store[data-catalog-view=home] #top>.catalog .filters{grid-template-columns:repeat(4,minmax(0,1fr))}
 .simple-store footer .footer-main{grid-template-columns:130px minmax(0,1fr);gap:20px}
}
@media(prefers-reduced-motion:reduce){body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter{transition:none}}

/* Framed desktop categories with a restrained KarShop accent. */
@media(min-width:1024px){
 .simple-store[data-catalog-view=home] main>.catalog{border:1px solid #dfd8d1;box-shadow:0 8px 28px #32241606}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters{gap:18px}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter:has(>img){border:1.5px solid #ded5cd;border-bottom:3px solid #efc6b0;border-radius:16px;background:#fff;box-shadow:0 5px 14px #33231907;padding:20px 12px;transition:border-color .18s,box-shadow .18s,transform .18s}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter>img{border:1px solid #f0dfd3;border-radius:16px;background:#fff9f3;padding:7px}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter>span{font-weight:700;color:#34312e}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter:hover,body.simple-store[data-catalog-view=home] #top>.catalog .filters>.filter:focus-visible{border-color:#e9783f;background:#fffdfb;box-shadow:0 9px 22px #d66b2020;transform:translateY(-2px)}
 .simple-store .desktop-category-nav>div{gap:10px;padding-block:10px}
 .simple-store .desktop-category-nav button{border:1px solid #e6ddd5;border-radius:10px;padding:11px 10px;background:#fff;font-size:12px;transition:border-color .18s,background .18s}
 .simple-store .desktop-category-nav button:hover,.simple-store .desktop-category-nav button[aria-pressed=true]{border-color:#e9783f;background:#fff5eb;color:#bc4b19}
 .simple-store .catalog-side-category{border:1px solid #ece4dd;border-radius:10px;background:#fff;margin-bottom:8px;overflow:hidden}
 .simple-store .catalog-side-category>summary{padding:11px 12px}
 .simple-store .catalog-side-category[open]{border-color:#e8bea3}
}

/* The older filter rules use several :not() selectors. Scope the home tiles
   to the catalogue ID so their frames and vertical layout win consistently. */
@media(min-width:1024px){
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>button.filter{display:flex;flex-direction:column;align-items:center;justify-content:center;grid-template-columns:none;gap:14px;height:184px;min-height:184px;padding:18px 12px;border:2px solid #cfae97;border-bottom:4px solid #e86830;border-radius:16px;background:#fff;color:#303238;box-shadow:0 5px 15px #4933240c;text-align:center;position:relative;isolation:auto}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>button.filter>img{position:static;inset:auto;display:block;order:0;flex:0 0 88px;width:88px;height:88px;max-width:88px;transform:none;object-fit:contain;border:1px solid #edddcf;border-radius:15px;padding:6px;background:#fff9f3;margin:0}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>button.filter>span{position:static;order:1;display:block;width:100%;padding:0;margin:0;font-size:14px;font-weight:700;line-height:1.4;text-align:center;color:#303238}
 body.simple-store[data-catalog-view=home] #top>.catalog .filters>button.filter:hover,body.simple-store[data-catalog-view=home] #top>.catalog .filters>button.filter:focus-visible{border-color:#de632d;background:#fffaf5;box-shadow:0 9px 24px #b96c2720}
}

/* Keep all four contact methods on one row in tablet desktop mode too. */
@media(min-width:900px) and (max-width:1023px){
 .simple-store footer .footer-main{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:start;gap:20px}
 .simple-store footer .footer-links{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:8px}
 .simple-store footer .footer-contact-title{grid-column:1/-1}
 .simple-store footer .social-link{width:100%;min-height:44px;padding:8px;gap:6px;font-size:11px}
 .simple-store footer .social-link svg{flex:0 0 18px;width:18px;height:18px}
}

/* Stack contact methods consistently on phones and smaller tablets. */
@media(max-width:899px){
 .simple-store footer .footer-links{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-content:stretch;gap:12px;width:100%;min-width:0}
 .simple-store footer .footer-contact-title{grid-column:1;margin:0 0 4px}
 .simple-store footer .social-link{width:100%;min-height:48px;justify-content:flex-start;padding:12px 16px;box-sizing:border-box}
}
