/* ============================================================
   SALAD POINT — STOREFRONT APP SHELL v20
   Shared mobile/tablet header, hamburger drawer and app nav.
   ============================================================ */

.sp-menu-trigger{display:none}
.sp-menu-layer[hidden]{display:none!important}
.sp-menu-layer{position:fixed;z-index:100100;inset:0}
.sp-menu-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(20,16,13,.58);opacity:0;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:opacity .22s ease}
.sp-menu-drawer{position:absolute;top:0;right:0;width:min(440px,100%);height:100%;height:100dvh;padding:18px 18px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;border-left:1px solid rgba(255,255,255,.5);background:#f8f7f5;color:#1d1916;box-shadow:-24px 0 70px rgba(17,12,9,.22);outline:0;transform:translateX(102%);transition:transform .24s cubic-bezier(.22,.8,.24,1);scrollbar-width:thin}
.sp-menu-layer.is-open .sp-menu-backdrop{opacity:1}.sp-menu-layer.is-open .sp-menu-drawer{transform:translateX(0)}
body.sp-menu-open{overflow:hidden!important;touch-action:none}

.sp-menu-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.sp-menu-brand{display:flex;align-items:center;gap:10px;min-width:0;color:#1d1916;text-decoration:none}.sp-menu-brand img,.sp-menu-brand .sp-brand-mark{display:grid;width:43px;height:43px;place-items:center;object-fit:contain;border-radius:14px;background:#fff}.sp-menu-brand>span:last-child{display:flex;min-width:0;flex-direction:column}.sp-menu-brand small{color:#9a9189;font-size:7px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.sp-menu-brand strong{margin-top:2px;font:800 15px/1.1 Manrope,"DM Sans",sans-serif}
.sp-menu-close{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border:1px solid #e5e0db;border-radius:14px;background:#fff;color:#1d1916;font-size:15px;cursor:pointer}

.sp-menu-profile{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;margin-bottom:13px;padding:14px;border:1px solid #e8e3de;border-radius:19px;background:#fff;color:#1d1916;text-decoration:none;box-shadow:0 7px 24px rgba(31,25,20,.045)}
.sp-menu-avatar{display:grid;width:48px;height:48px;place-items:center;overflow:hidden;border-radius:15px;background:#fff1e7;color:#ef5f10;font-size:16px}.sp-menu-avatar img{width:100%;height:100%;object-fit:cover}.sp-menu-profile>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.sp-menu-profile small{color:#9b938c;font-size:7px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sp-menu-profile strong{overflow:hidden;margin-top:3px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sp-menu-profile em{overflow:hidden;margin-top:4px;color:#847c75;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.sp-menu-profile>i{color:#ef5f10;font-size:10px}

.sp-menu-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:13px}
.sp-menu-quick a{display:flex;min-width:0;min-height:78px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #e8e3de;border-radius:17px;background:#fff;color:#746c65;font-size:8px;font-weight:850;text-decoration:none}.sp-menu-quick a>span{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:#f4f2ef;color:#776e67;font-size:12px}.sp-menu-quick a.is-active{border-color:#ffc7a4;background:#fff8f3;color:#d95009}.sp-menu-quick a.is-active>span{background:#ffeadc;color:#ef5f10}

.sp-menu-affiliate{position:relative;display:grid;grid-template-columns:49px minmax(0,1fr) auto;gap:12px;align-items:center;overflow:hidden;margin-bottom:14px;padding:15px;border-radius:19px;background:#1d1916;color:#fff;text-decoration:none;box-shadow:0 13px 30px rgba(29,25,22,.15)}.sp-menu-affiliate:after{content:"";position:absolute;right:-40px;top:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(255,107,24,.48),transparent 68%)}.sp-menu-affiliate>span:first-child{display:grid;width:49px;height:49px;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:linear-gradient(145deg,#ff6b18,#e95000);font-size:17px}.sp-menu-affiliate>span:nth-child(2){position:relative;z-index:1;display:flex;min-width:0;flex-direction:column}.sp-menu-affiliate small{color:#ffb88b;font-size:7px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.sp-menu-affiliate strong{margin-top:4px;font:800 11px/1.3 Manrope,"DM Sans",sans-serif}.sp-menu-affiliate em{margin-top:3px;color:#aaa29c;font-size:7.5px;font-style:normal}.sp-menu-affiliate>i{position:relative;z-index:1;font-size:10px}

.sp-menu-groups{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sp-menu-groups section{padding:14px;border:1px solid #e8e3de;border-radius:18px;background:#fff}.sp-menu-groups section:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.sp-menu-groups h2{grid-column:1/-1;margin:0 0 10px;color:#9b938c;font:900 7px/1.2 "DM Sans",sans-serif;letter-spacing:.1em;text-transform:uppercase}.sp-menu-groups a{display:flex;align-items:center;gap:8px;min-height:33px;color:#4d4742;font-size:8.5px;font-weight:750;text-decoration:none}.sp-menu-groups a i{width:14px;color:#f1661b;text-align:center;font-size:9px}
.sp-menu-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 3px 0;color:#9b938c;font-size:7.5px}.sp-menu-foot a{color:#d9510b;font-weight:900;text-decoration:none}

@media(max-width:1024px){
  html body.shop-page{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important;background:#f5f4f2!important}
  html body.shop-page .sp-announcement,html body.shop-page .sp-desktop-nav{display:none!important}
  html body.shop-page .sp-header{position:sticky!important;z-index:99960!important;top:0!important;border-bottom:1px solid #eee8e3!important;background:rgba(255,253,251,.97)!important;box-shadow:0 7px 24px rgba(42,28,20,.065)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important}
  html body.shop-page .sp-mobile-head{display:grid!important;grid-template-columns:minmax(250px,1fr) minmax(300px,520px)!important;gap:18px!important;align-items:center!important;max-width:980px!important;margin:auto!important;padding:max(10px,env(safe-area-inset-top)) 16px 10px!important}
  html body.shop-page .sp-mobile-topline{display:flex!important;min-width:0!important;height:44px!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
  html body.shop-page .sp-mobile-brand{display:flex!important;min-width:0!important;align-items:center!important;gap:9px!important;color:#1d1916!important;text-decoration:none!important}.sp-mobile-brand img,.sp-mobile-brand .sp-brand-mark{width:38px!important;height:38px!important;object-fit:contain!important;border-radius:13px!important}.sp-mobile-brand>span{display:flex!important;min-width:0!important;flex-direction:column!important}.sp-mobile-brand strong{font:800 14px Manrope,"DM Sans",sans-serif!important;white-space:nowrap!important}.sp-mobile-brand small{overflow:hidden!important;max-width:165px!important;margin-top:2px!important;color:#837b75!important;font-size:8px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  html body.shop-page .sp-mobile-actions{display:flex!important;gap:6px!important}.sp-mobile-actions a,.sp-menu-trigger{display:grid!important;flex:0 0 38px!important;width:38px!important;height:38px!important;place-items:center!important;padding:0!important;border:1px solid #e7e1dc!important;border-radius:13px!important;background:#fff!important;color:#1d1916!important;font-size:13px!important;text-decoration:none!important;cursor:pointer!important}.sp-menu-trigger{background:#1d1916!important;color:#fff!important;border-color:#1d1916!important}
  html body.shop-page .sp-mobile-search{display:grid!important;height:45px!important;margin:0!important;padding:0 6px 0 13px!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;border:1px solid #e5dfda!important;border-radius:15px!important;background:#fff!important}.sp-mobile-search>i{color:#a0948d!important;font-size:12px!important}.sp-mobile-search input{width:100%!important;min-width:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font:500 12px "DM Sans",sans-serif!important}.sp-mobile-search button{height:34px!important;padding:0 12px!important;border:0!important;border-radius:11px!important;background:#ff6b18!important;color:#fff!important;font-size:9px!important;font-weight:800!important}
  html body.shop-page .sp-newsletter-band,html body.shop-page .sp-footer{display:none!important}
  html body.shop-page .sp-app-nav{position:fixed!important;z-index:99990!important;left:50%!important;right:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:min(720px,calc(100% - 18px))!important;height:72px!important;padding:6px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;border:1px solid rgba(49,31,21,.12)!important;border-radius:24px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 12px 38px rgba(40,25,17,.17)!important;transform:translateX(-50%)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important}
  html body.shop-page .sp-app-nav>a{display:flex!important;min-width:0!important;height:58px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border-radius:17px!important;color:#8d837c!important;font-size:8px!important;font-weight:800!important;text-decoration:none!important}.sp-app-nav>a>i{font-size:17px!important}.sp-app-nav>a.is-active{background:#fff0e5!important;color:#d9550b!important}.sp-app-nav .sp-app-cart{margin-top:0!important;background:transparent!important}.sp-app-cart-icon{position:relative!important;display:grid!important;width:46px!important;height:42px!important;place-items:center!important;border:0!important;border-radius:14px!important;background:#fff0e5!important;color:#e45a0c!important;box-shadow:none!important}.sp-app-cart-icon b{position:absolute!important;right:-5px!important;top:-5px!important;display:grid!important;min-width:18px!important;height:18px!important;place-items:center!important;padding:0 4px!important;border:2px solid #fff!important;border-radius:50%!important;background:#1d1916!important;color:#fff!important;font-size:7px!important}
  html body.shop-page-checkout .sp-app-nav{display:none!important}.shop-page-checkout{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  html body.shop-page .asc-launcher{bottom:calc(94px + env(safe-area-inset-bottom))!important}
}

@media(max-width:768px){
  html body.shop-page .sp-mobile-head{display:block!important;padding:max(9px,env(safe-area-inset-top)) 12px 10px!important}.sp-mobile-search{margin-top:9px!important}.sp-mobile-actions a,.sp-menu-trigger{flex-basis:36px!important;width:36px!important;height:36px!important;border-radius:12px!important}.sp-mobile-brand small{max-width:135px!important}
  .sp-menu-drawer{width:100%;padding:14px 13px calc(100px + env(safe-area-inset-bottom));border-left:0}.sp-menu-groups{gap:7px}.sp-menu-groups section{padding:12px}.sp-menu-affiliate{padding:13px}.sp-menu-profile{padding:12px}.sp-menu-quick a{min-height:73px}
}

@media(max-width:370px){.sp-menu-quick{grid-template-columns:repeat(2,1fr)}.sp-menu-quick a{min-height:65px}.sp-menu-groups{grid-template-columns:1fr}.sp-menu-groups section:last-child{grid-column:1}.sp-menu-profile em{display:none}}
@media(prefers-reduced-motion:reduce){.sp-menu-backdrop,.sp-menu-drawer{transition:none}}
.sp-menu-brand .sp-brand-mark{background:#ff6b18!important;color:#fff!important}
.sp-menu-affiliate strong{color:#fff!important}
.sp-menu-trigger:focus-visible,.sp-menu-close:focus-visible,.sp-menu-drawer a:focus-visible{outline:3px solid rgba(255,107,24,.32)!important;outline-offset:2px!important}
