/* Mobile buyer application shell, matching the approved personal-home reference. */
@media screen and (max-width:700px){
 html{scroll-padding-top:100px;background:#14211b}
 html body{--buyer-surface:#1d2d24;--buyer-soft:#294230;--buyer-ink:#f1f4ef;background:#14211b!important;color:#f1f4ef!important;min-height:100dvh;overscroll-behavior-y:contain;font-family:'Segoe UI',sans-serif!important;padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
 body :is(.footer,footer,.topbar,.header,.buyer-store-brand,.closing,.tijarah-bottom-promo,.tijarah-promo-trigger,.benefits,.featured-products){display:none!important}
 html body .buyer-home{width:calc(100% - 36px);margin:0 auto 20px!important}
 html body .buyer-header{padding:24px 2px 20px;min-height:94px;gap:16px;background:#14211b}
 html body .buyer-identity{gap:12px}html body .buyer-avatar{width:44px;height:44px;border-radius:16px;background:#3b5740;color:#e7f2e1;font-size:20px;font-weight:600}
 html body .buyer-identity small{font-size:12px;color:#b6c6b7;line-height:1.4;margin-bottom:4px}html body .buyer-identity strong{font-size:19px;line-height:1.35;letter-spacing:-.3px;font-weight:600}
 html body .buyer-header [data-buyer-bell]{margin-left:auto}html body .buyer-header :is(.order-alert-bell,.buyer-guest-bell){width:44px;height:44px;min-height:44px;background:#1f3026;border:1px solid #354a39;border-radius:16px;color:#e4eee2;margin:0}
 html body .buyer-address{padding:0 2px 20px;gap:11px}html body .buyer-address small{font-size:11px;color:#bbd0ba;line-height:1.5}html body .buyer-address span span{font-size:12px;color:#ebf2e7;line-height:1.5}html body .buyer-address>svg{width:19px;height:19px;color:#a8bca8}
 html body .buyer-search{height:48px;min-height:48px;padding:12px 14px;background:#1f3026;border:1px solid #344b38;border-radius:15px;color:#afc0af;gap:13px;font-size:13px!important}html body .buyer-search:after{color:#afc0af;border-left-color:#3a503d;min-width:30px;text-align:right}
 html body .buyer-member{margin-top:18px;padding:20px 18px;border:0;border-radius:21px;background:linear-gradient(115deg,#204d39,#38634a);box-shadow:none;overflow:hidden}html body .buyer-member:after{display:none}
 html body .buyer-member-head{padding-bottom:18px;border-color:#ffffff24}html body .buyer-member-head>span{font-size:10px;letter-spacing:1.3px}html body .buyer-member-head button{font-size:11px;min-height:24px}
 html body .buyer-member-values{padding-top:18px;gap:16px;align-items:center}html body .buyer-member-values small{font-size:12px;color:#d1dfce;margin-bottom:6px}html body .buyer-member-values strong{font-size:25px;line-height:1.35;letter-spacing:-.6px}html body .buyer-member-values strong>small{font-size:12px;letter-spacing:0}html body .buyer-member-values>button:last-child{min-height:54px;padding-left:16px;border-color:#ffffff24}html body .buyer-member-values>button:last-child strong{font-size:14px;letter-spacing:0}
 html body .buyer-welcome{margin-top:18px;padding:20px;border:1px solid #344b38;border-radius:21px;background:#203729}html body .buyer-welcome h2{font-size:18px;max-width:100%}html body .buyer-welcome p{font-size:12px;line-height:1.55;max-width:100%;color:#bacfba;margin:10px 0 16px}html body .buyer-welcome :is(button,a){min-height:42px;border-radius:12px;font-size:12px}
 html body .buyer-orders{margin-top:20px;padding:15px 14px 13px;background:#1e2e24;border:1px solid #354c39;border-radius:21px}
 html body .buyer-heading{margin-bottom:20px}html body .buyer-heading h2{font-size:16px}html body .buyer-heading button{font-size:11px;color:#8ad0a8;min-height:32px}
 html body .buyer-shortcuts{gap:6px;margin:6px 0 20px}html body .buyer-shortcuts button{min-height:59px;gap:10px;padding:5px 0}html body .buyer-shortcuts span{font-size:11px}html body .buyer-shortcuts svg{width:21px;height:21px;color:#78b892;stroke-width:1.5}
 html body .buyer-recent{padding:13px 10px;border:0;border-radius:14px;background:#2a4330;gap:11px}html body .buyer-recent strong{font-size:12px;line-height:1.45}html body .buyer-recent small{font-size:10px;line-height:1.5;color:#b6cdb8;margin-top:4px}html body .buyer-order-status{font-size:11px;line-height:1.5;color:#b7cbb7}
 html body .store-hero{width:calc(100% - 36px)!important;margin:20px auto 24px!important;min-height:174px!important;background:#2a402b!important;border:0!important;border-radius:21px!important}
 html:not([data-store-template="minimal"]) body .store-hero .hero-copy{min-height:174px!important;width:70%!important;padding:22px 20px!important;background:linear-gradient(90deg,#2a402b,#2a402bd4,transparent)!important}
 html body .store-hero .hero-copy .eyebrow{font-size:9px!important;letter-spacing:1px!important;color:#bdcfb7!important}html body .store-hero .hero-copy h1{font-size:25px!important;line-height:1.17!important;margin:12px 0!important;letter-spacing:-.6px!important;font-weight:600!important}html body .store-hero .hero-copy .hero-profile{font-size:11px!important;line-height:1.5!important;color:#bed1b9!important}html body .store-hero .primary-link{font-size:11px!important;color:#b4e4b9!important;margin-top:10px!important}
 html body .store-hero .hero-visual{width:43%!important;opacity:.65!important}html body .store-hero .hero-visual img{object-fit:contain!important;mix-blend-mode:luminosity;filter:saturate(.4)}
 html body .catalog-promo-layout{padding-bottom:0!important;width:calc(100% - 36px)!important;margin:0 auto!important}html body .catalog .section-heading{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;padding:0!important;margin:0 0 14px!important;border:0!important}html body .catalog .section-heading h2{font-size:17px!important;line-height:1.35!important;margin:0!important;font-family:'Segoe UI',sans-serif!important;font-weight:600!important;letter-spacing:-.3px!important}
 .buyer-collection-note{font-size:11px;color:#b9ccba;margin:3px 0 0}.buyer-show-all{border:0;background:transparent;color:#95d1a6;min-height:40px;padding:6px 0 6px 8px;font:12px 'Segoe UI',sans-serif;white-space:nowrap}
 body:not(.buyer-catalog-expanded) .catalog .category-scroll{display:none!important}body:not(.buyer-catalog-expanded) .catalog-more-button{display:none!important}body.buyer-catalog-expanded .buyer-show-all{display:none!important}
 html body .product-grid{gap:12px!important}html body .product-card{border:1px solid #354e3a!important;border-radius:18px!important;background:#1e3025!important;padding:10px!important;box-shadow:none!important}html body .product-media{height:122px!important;border-radius:13px!important;background:#294632!important;overflow:hidden;border:0!important}html body .product-media .product-image-button{background:#294632!important}html body .product-media img{padding:10px!important;border-radius:0!important;filter:saturate(.75)}html body .product-media :is(.badge,.promo-badge){display:none!important}
 html body .product-info{padding:13px 0 0!important}html body .product-category{font:9px 'Segoe UI',sans-serif!important;color:#b4c9b4!important;letter-spacing:.7px!important}html body .product-name{font:600 12px/1.5 'Segoe UI',sans-serif!important;color:#f1f5ed!important;margin:8px 0 12px!important}html body :is(.product-price,.promo-price){font:600 14px/1.5 'Segoe UI',sans-serif!important;color:#a4dcad!important}html body .product-wholesale,html body .product-member-points{font:10px/1.5 'Segoe UI',sans-serif!important;color:#b4cdb6!important}html body .product-info .buyer-card-add{margin-top:14px!important;min-height:36px!important;background:#2b4e38!important;border-radius:11px!important;color:#d6efda!important;font:12px 'Segoe UI',sans-serif!important;text-align:left;padding:9px 10px!important}.buyer-card-add:after{content:'+';float:right}
 html body .buyer-help{width:calc(100% - 36px);margin:20px auto 8px;padding:0!important}html body .buyer-help button{font:12px/1.5 'Segoe UI',sans-serif!important;color:#c1d4bd;min-height:48px}
 html body .buyer-mobile-nav{left:0!important;right:0!important;bottom:0!important;width:100%!important;border-radius:0!important;border-width:1px 0 0!important;border-color:#354b39!important;background:#1e3025f5!important;box-shadow:none!important;backdrop-filter:blur(16px);padding:9px max(12px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom))!important;z-index:50!important;gap:6px!important}
 html body .buyer-mobile-nav :is(a,button){min-height:48px!important;border-radius:13px!important;padding:6px 3px!important;gap:5px!important;background:transparent!important;color:#c2d2c1!important;display:flex;flex-direction:column;align-items:center;justify-content:center}html body .buyer-mobile-nav .active{background:#2c5038!important;color:#b0ecc1!important}html body .buyer-mobile-nav b{font:10px 'Segoe UI',sans-serif!important}html body .buyer-mobile-nav svg{width:21px;height:21px}html body .buyer-mobile-nav .active:after{display:none!important}
 body .buyer-profile-dialog{position:fixed;inset:auto 0 0!important;width:100vw!important;max-width:100vw!important;max-height:85dvh!important;margin:0!important;border-radius:24px 24px 0 0!important;background:#1e3025!important;border:1px solid #3a513c!important;padding:20px 20px calc(24px + env(safe-area-inset-bottom))!important}body .buyer-profile-dialog header{background:#1e3025!important}body .buyer-profile-dialog strong{color:#f0f4ec!important}body .buyer-profile-dialog p,body .buyer-profile-dialog small{color:#bbcfb9!important}
 @media(prefers-reduced-motion:no-preference){.buyer-profile-dialog[open]{animation:buyer-sheet-in .22s ease-out}.buyer-mobile-nav :is(a,button){transition:background .18s,color .18s}}
}
@keyframes buyer-sheet-in{from{transform:translateY(20px);opacity:.5}to{transform:translateY(0);opacity:1}}
/* Never let mobile-only SVG/navigation escape into the wider website layout. */
.buyer-mobile-nav svg{width:21px;height:21px;flex-shrink:0}
@media screen and (min-width:701px){
 html body .store-mobile-nav.buyer-mobile-nav{display:none!important}
 html.buyer-fullscreen:fullscreen{height:100%;overflow-y:auto}
}

@media screen and (max-width:700px){html body .catalog{padding-bottom:12px!important}html body .catalog .section-heading>div:first-child{min-width:0;flex:1}html body .buyer-help{margin-top:10px!important;margin-bottom:0!important}html body .buyer-help button{padding:12px 2px!important}.buyer-search,.buyer-address,.buyer-recent,.buyer-show-all{-webkit-tap-highlight-color:transparent}}

@media screen and (max-width:700px){html body main#beranda .store-hero{display:none!important}html body .buyer-home{margin-bottom:24px!important}html body .catalog-promo-layout{margin-top:0!important}}

.buyer-fullscreen-toggle{display:none}
@media screen and (max-width:700px){
 html,html:fullscreen{background:#14211b!important;width:100%;min-height:100%;border:0!important;border-radius:0!important}
 html body,html body main#beranda{background:#14211b!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;max-width:none!important;width:100%!important;margin:0!important}
 html body{min-height:100dvh!important;padding-top:env(safe-area-inset-top)!important}
 html body .buyer-home,html body .buyer-header,html body .buyer-identity{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;outline-offset:3px}
 html body .buyer-header{position:relative;min-height:94px;padding:24px 0 20px!important;gap:10px}
 html body .buyer-identity{flex:1;min-width:0}html body .buyer-header [data-buyer-bell]{margin-left:0;flex-shrink:0}
 html body .buyer-fullscreen-toggle{display:grid;place-items:center;flex:0 0 32px;width:32px;height:44px;border:0;background:transparent;color:#adc7b2;border-radius:10px;padding:5px}
 html body .buyer-fullscreen-toggle[hidden]{display:none!important}.buyer-fullscreen-toggle svg{width:19px;height:19px}
 html body main#beranda{padding-left:max(0px,env(safe-area-inset-left))!important;padding-right:max(0px,env(safe-area-inset-right))!important}
 html body .buyer-help{padding-bottom:12px!important}html body .buyer-mobile-nav{padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
 html body .catalog-promo-layout,html body .catalog,html body .catalog .section-heading,html body .catalog .product-grid{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
}

@media screen and (max-width:700px){
 html{overflow-x:clip;overflow-y:auto!important;scrollbar-width:none}
 html::-webkit-scrollbar{display:none}
 html body{height:auto!important;min-height:100dvh!important;touch-action:pan-y pinch-zoom}
 html.buyer-fullscreen:fullscreen{height:100dvh!important;overflow-y:auto!important;overflow-x:clip!important;overscroll-behavior-y:contain}
 html.buyer-fullscreen:fullscreen body{height:auto!important;min-height:100dvh!important}
 html body main#beranda{height:auto!important;overflow:visible!important}
 html body .buyer-help{margin-bottom:8px!important}
}
/* Android fullscreen needs a real content scroller, rather than root scrolling. */
@media screen and (max-width:700px){
 html,html.buyer-fullscreen:fullscreen{height:100%!important;overflow:hidden!important;overscroll-behavior:none}
 html body,html.buyer-fullscreen:fullscreen body{height:100dvh!important;min-height:0!important;overflow:hidden!important;padding:0!important;touch-action:auto}
 html body main#beranda{display:block;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y pinch-zoom;scrollbar-width:none;padding-top:env(safe-area-inset-top)!important;padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;scroll-padding-top:16px;scroll-padding-bottom:100px}
 html body main#beranda::-webkit-scrollbar{display:none}
 html body:has(#cartDrawer:not([hidden])) main#beranda,html body:has(dialog[open]) main#beranda{overflow-y:hidden!important}
}

@media screen and (max-width:700px){
 html body .buyer-home .buyer-header{position:fixed!important;inset:0 0 auto!important;z-index:45;min-height:calc(94px + env(safe-area-inset-top));height:calc(94px + env(safe-area-inset-top));width:100%;margin:0;padding:calc(24px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 20px max(18px,env(safe-area-inset-left))!important;background:#14211b!important;background-image:none!important;border:0!important;border-bottom:1px solid #334b3633!important;border-radius:0!important;box-shadow:none!important}
 html body .buyer-home{padding-top:94px!important}
 html body main#beranda{scroll-padding-top:calc(110px + env(safe-area-inset-top))!important}
}
