/* /public/assets/littoral/menu-compact.css */
body.ls-app .ls-navigation-wrap .sf-category-menu:not([open])>.sf-category-panel,
body.ls-app .ls-navigation-wrap .sf-menu-compact [hidden]{display:none!important}
body.ls-app .ls-navigation-wrap .sf-category-menu>.sf-menu-compact{width:min(1120px,calc(100vw - 32px));min-width:0;max-width:1120px;left:0;right:auto;top:calc(100% + 2px);padding:14px 18px 18px;max-height:calc(100dvh - 220px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
body.ls-app .sf-menu-heading{display:flex;align-items:center;gap:10px;min-height:40px;margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:8px}
body.ls-app .sf-menu-heading .sf-all-products{font-size:14px;margin:0;padding:0;min-height:0;font-weight:600;flex:1}
body.ls-app .sf-menu-heading .sf-menu-close{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);font-size:25px;line-height:1;box-shadow:none}
body.ls-app .sf-menu-compact .sf-category-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;columns:auto;margin:0;min-width:0}
body.ls-app .sf-menu-compact .sf-category-tile{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:86px;box-sizing:border-box;text-align:left;text-decoration:none;margin:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:14px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
body.ls-app .sf-menu-category-name{min-width:0}
body.ls-app .sf-menu-photo{display:flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:58px;box-sizing:border-box;padding:3px;background:#fff;border-radius:5px;overflow:hidden;color:#7b8593}
body.ls-app .sf-menu-photo img{display:block;width:100%;height:100%;object-fit:contain}
body.ls-app .sf-menu-photo svg{display:block;width:32px;height:32px}
body.ls-app .sf-menu-compact .sf-category-tile:hover,body.ls-app .sf-menu-compact .sf-category-tile:focus-visible{border-color:var(--red);color:var(--red)}
body.ls-app .sf-menu-compact a:focus-visible,body.ls-app .sf-menu-compact button:focus-visible{outline:2px solid var(--red);outline-offset:3px}
body.ls-app .sf-menu-compact .sf-menu-support,body.ls-app .sf-menu-backdrop{display:none}
@media(min-width:768px) and (max-width:1099px){body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 body.ls-app.ls-category-menu-open{overflow:hidden}
 body.ls-app .ls-navigation-wrap .sf-category-menu[open]>.sf-menu-compact{position:fixed;left:10px;right:10px;top:var(--ls-menu-top,106px);bottom:auto;width:auto;max-width:none;max-height:calc(100dvh - var(--ls-menu-top,106px) - var(--ls-menu-bottom,70px) - 8px);padding:10px 12px 12px;z-index:1100;border-radius:10px;box-shadow:0 12px 32px #0003}
 body.ls-app .sf-menu-heading{position:sticky;top:-10px;z-index:1;background:var(--surface);margin-bottom:10px;padding:0 0 8px;min-height:40px}
 body.ls-app .sf-menu-heading .sf-all-products{font-size:13px}
 body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 body.ls-app .sf-menu-compact .sf-category-tile{min-height:44px;padding:8px 10px;font-size:13px;line-height:1.25;border-radius:7px}
 body.ls-app .sf-menu-compact .sf-menu-photo{display:none}
 body.ls-app .sf-menu-compact .sf-menu-support{display:flex;justify-content:center;font-weight:400}
 body.ls-app .sf-category-menu[open]>.sf-menu-backdrop{display:block;position:fixed;top:var(--ls-menu-top,106px);right:0;bottom:var(--ls-menu-bottom,70px);left:0;background:#0003;z-index:1099}
}

/* Boutons et miniatures réduits, sans masquer de catégorie. */
body.ls-app .ls-navigation-wrap .sf-category-menu>.sf-menu-compact{padding:10px 12px 12px}
body.ls-app .sf-menu-heading{min-height:32px;margin-bottom:4px;padding-bottom:4px}
body.ls-app .sf-menu-heading .sf-menu-close{flex-basis:32px;width:32px;min-width:32px;height:32px;min-height:32px;font-size:22px}
body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.ls-app .sf-menu-compact .sf-category-tile{min-height:56px;padding:8px;gap:8px;font-size:13px;line-height:1.25;border-radius:6px}
body.ls-app .sf-menu-photo{flex-basis:48px;width:48px;height:38px;padding:2px}
body.ls-app .sf-menu-photo svg{width:26px;height:26px}
@media(min-width:1200px){body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1099px){body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 body.ls-app .ls-navigation-wrap .sf-category-menu[open]>.sf-menu-compact{padding:8px}
 body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 body.ls-app .sf-menu-compact .sf-category-tile{min-height:38px;padding:6px 8px;font-size:12.5px}
}
@media(max-width:767px) and (max-height:560px){
 body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.ls-app .sf-menu-compact .sf-category-tile{min-height:36px;padding:5px 6px;font-size:12px}
}
@media(min-width:480px) and (max-width:767px) and (max-height:500px){
 body.ls-app .ls-navigation-wrap .sf-category-menu[open]>.sf-menu-compact{padding:6px}
 body.ls-app .sf-menu-compact .sf-category-columns{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
 body.ls-app .sf-menu-compact .sf-category-tile{min-height:32px;padding:4px 6px}
 body.ls-app .sf-menu-heading{min-height:28px;padding-bottom:2px}
 body.ls-app .sf-menu-heading .sf-menu-close{flex-basis:28px;width:28px;min-width:28px;height:28px;min-height:28px}
}

/* Miniatures également visibles sur mobile. */
@media(max-width:767px){
 body.ls-app .sf-menu-compact .sf-category-tile{min-height:40px;gap:5px}
 body.ls-app .sf-menu-compact .sf-menu-photo{display:flex;flex-basis:30px;width:30px;height:26px;padding:1px;border-radius:3px}
 body.ls-app .sf-menu-compact .sf-menu-photo svg{width:22px;height:22px}
}
@media(max-width:767px) and (max-height:560px){
 body.ls-app .sf-menu-compact .sf-category-tile{min-height:36px;gap:4px}
 body.ls-app .sf-menu-compact .sf-menu-photo{flex-basis:22px;width:22px;height:22px}
}
@media(min-width:480px) and (max-width:767px) and (max-height:500px){body.ls-app .sf-menu-compact .sf-category-tile{min-height:32px}}

@media(min-width:480px) and (max-width:767px) and (max-height:500px){
 body.ls-app .ls-navigation-wrap .sf-category-menu[open]>.sf-menu-compact{padding:4px}
 body.ls-app .sf-menu-heading{margin-bottom:2px;padding-bottom:1px}
}
