/* Mobile structure remains app-like; all colors inherit each store's settings. */
.buyer-collection-note,.buyer-show-all{display:none}
.buyer-admin-entry{display:none}
@media screen and (max-width:700px){
 html body .buyer-identity strong{display:flex!important;align-items:center;gap:9px}
 html body .buyer-identity strong:after{content:'';display:block;flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-4px 0 0 0;opacity:.65;align-self:center}
 html body form.buyer-search{margin:0;gap:10px}
 html body form.buyer-search:after{display:none!important}
 html body form.buyer-search input,html body form.buyer-search input:is(:focus,:focus-visible,:active){min-width:0;width:100%;flex:1;height:100%;min-height:0;border:0!important;outline:0!important;outline-offset:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--theme-font);font:16px var(--theme-font-family,system-ui);padding:0;-webkit-appearance:none;appearance:none}
 html body form.buyer-search input::placeholder{color:color-mix(in srgb,var(--theme-font) 60%,var(--theme-background));font-size:13px;opacity:1}
 html body form.buyer-search>button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:36px;padding:5px;border:0;border-left:1px solid var(--buyer-border);border-radius:0;background:transparent;color:var(--theme-primary);touch-action:manipulation}
 html body form.buyer-search>button svg{width:17px;height:17px}
 html body form.buyer-search:focus-within{border-color:color-mix(in srgb,var(--buyer-key) 45%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--buyer-key) 7%,transparent)}
 html body .buyer-home{padding-top:114px!important}
 html body .buyer-mobile-nav{bottom:calc(36px + env(safe-area-inset-bottom))!important;padding-bottom:9px!important}
 html body .buyer-admin-entry{position:fixed;display:flex;align-items:center;justify-content:center;left:0;right:0;bottom:0;z-index:50;height:calc(36px + env(safe-area-inset-bottom));padding:4px 16px calc(4px + env(safe-area-inset-bottom));background:var(--theme-background,#fffdf5);color:var(--theme-font,#3b352a);font:600 13px var(--theme-font-family,system-ui);letter-spacing:.02em;text-decoration:none;border:0;border-top:1px solid color-mix(in srgb,var(--theme-font,#3b352a) 22%,transparent);touch-action:manipulation}
 html body .buyer-admin-entry:focus-visible{outline:2px solid var(--theme-primary);outline-offset:-3px}
 html body .buyer-admin-entry{left:50%;right:auto;transform:translateX(-50%);bottom:calc(3px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 40px);height:30px;padding:6px 14px;gap:8px;border:1px solid color-mix(in srgb,var(--theme-font) 8%,transparent);border-radius:999px;background:color-mix(in srgb,var(--theme-button) 5%,var(--theme-background));color:color-mix(in srgb,var(--theme-font) 82%,var(--theme-background));font:500 12px var(--theme-font-family,system-ui);letter-spacing:0;box-shadow:none}
 html body .buyer-admin-entry svg{width:13px;height:13px;opacity:.75;flex-shrink:0}
 html body main#beranda{padding-bottom:calc(140px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:140px}
 .buyer-collection-note{display:block}.buyer-show-all{display:inline-flex;align-items:center}
 html body{--buyer-page:var(--theme-background,#fffdf5);--buyer-text:var(--theme-font,#3b352a);--buyer-key:var(--theme-button,#c88700);--buyer-key-text:var(--theme-button-text,#fff);--buyer-tint:color-mix(in srgb,var(--buyer-key) 9%,var(--buyer-page));--buyer-border:color-mix(in srgb,var(--buyer-text) 16%,transparent);--buyer-muted:color-mix(in srgb,var(--buyer-text) 72%,var(--buyer-page));--buyer-surface:var(--buyer-page);--buyer-soft:var(--buyer-tint);--buyer-ink:var(--buyer-text);background:var(--buyer-page)!important;color:var(--buyer-text)!important;font-family:var(--theme-font-family,system-ui)!important;color-scheme:normal}
 html,html:fullscreen,html body main#beranda{background:var(--theme-background,#fffdf5)!important}
 html body .buyer-home .buyer-header{background:var(--buyer-page)!important;border-bottom-color:var(--buyer-border)!important}
 html body .buyer-home,html body .buyer-home :is(h2,strong),html body .buyer-mobile-nav :is(button,a,b),html body .catalog .section-heading h2{color:var(--buyer-text)!important}
 html body .buyer-home :is(small,p),html body .buyer-identity small,html body .buyer-address small,html body .buyer-address span span,html body .buyer-collection-note,html body .buyer-order-status{color:var(--buyer-muted)!important}
 html body .buyer-avatar{background:var(--buyer-tint)!important;color:var(--theme-primary,var(--buyer-text))!important}
 html body .buyer-home :is(.buyer-search,.buyer-orders,.buyer-welcome),html body .product-card{background:var(--buyer-tint)!important;border-color:var(--buyer-border)!important;color:var(--buyer-text)!important}
 html body .buyer-home :is(.buyer-search,.buyer-address,.buyer-recent){color:var(--buyer-text)!important}
 html body .buyer-home .buyer-search:after{color:var(--buyer-muted)!important;border-left-color:var(--buyer-border)!important}
 html body .buyer-home :is(.buyer-fullscreen-toggle,.buyer-guest-bell,.order-alert-bell){background:transparent!important;color:var(--buyer-text)!important;border-color:var(--buyer-border)!important}
 html body .buyer-member{background:linear-gradient(120deg,var(--buyer-key),color-mix(in srgb,var(--buyer-key) 80%,var(--theme-primary,#222)))!important;color:var(--buyer-key-text)!important}
 html body .buyer-member :is(button,span,strong,small){color:var(--buyer-key-text)!important}
 html body .buyer-welcome button{background:var(--buyer-key)!important;color:var(--buyer-key-text)!important}
 html body .buyer-welcome a{background:var(--buyer-page)!important;color:var(--buyer-text)!important;border-color:var(--buyer-border)!important}
 html body .buyer-shortcuts svg,html body .buyer-heading button,html body .buyer-show-all{color:var(--theme-primary,var(--buyer-text))!important}
 html body .buyer-home .buyer-shortcuts button,html body .buyer-home .buyer-shortcuts button>span{color:var(--buyer-text)!important}
 html body .buyer-recent{background:color-mix(in srgb,var(--buyer-key) 14%,var(--buyer-page))!important;border-color:var(--buyer-border)!important}
 html body .product-media,html body .product-media .product-image-button{background:color-mix(in srgb,var(--buyer-key) 12%,var(--buyer-page))!important}
 html body .product-info,html body .product-info :is(.product-name,.product-category){color:var(--buyer-text)!important}
 html body .product-info :is(.product-price,.promo-price){color:var(--theme-primary,var(--buyer-text))!important}
 html body .product-info :is(.product-wholesale,.product-member-points){color:var(--buyer-muted)!important}
 html body .product-info .buyer-card-add{background:var(--buyer-key)!important;color:var(--buyer-key-text)!important}
 html body .product-grid>.product-card{display:flex!important;flex-direction:column!important;align-self:stretch;min-width:0}
 html body .product-grid>.product-card>.product-media{flex:0 0 122px;width:100%!important;max-width:100%;margin:0!important;align-self:center;box-sizing:border-box}
 html body .product-grid>.product-card>.product-info{display:flex!important;flex-direction:column!important;flex:1 1 auto;align-items:stretch;min-height:0}
 html body .product-grid>.product-card .buyer-card-add{margin-top:auto!important;flex-shrink:0}
 html body .product-grid>.product-card .product-info{padding-bottom:0!important;gap:0}
 html body .product-grid>.product-card .product-info>:is(.product-price,.promo-price,.product-promotion,.product-member-prices,.product-member-points,.product-wholesale){margin-bottom:12px!important}
 html body .product-grid>.product-card .product-info>.buyer-card-add{transform:translateY(0);margin-bottom:0!important}
 html body .product-promotion{background:var(--buyer-tint)!important;color:var(--buyer-text)!important;border-color:var(--buyer-border)!important}
 html body .buyer-mobile-nav{background:var(--buyer-page)!important;border-color:var(--buyer-border)!important}
 html body .buyer-mobile-nav{isolation:isolate;backdrop-filter:none!important}
 html body .buyer-mobile-nav:before{content:'';position:absolute;inset:0 0 calc(-36px - env(safe-area-inset-bottom));background:var(--theme-background,#fffdf5);z-index:-1;pointer-events:none}
 html body .buyer-mobile-nav :is(a,button){color:var(--buyer-muted)!important}
 html body .buyer-mobile-nav .active{background:var(--buyer-tint)!important;color:var(--theme-primary,var(--buyer-text))!important}
 html body .buyer-mobile-nav em{background:var(--buyer-key)!important;color:var(--buyer-key-text)!important}
 html body .buyer-help button{color:var(--buyer-muted)!important}
 html body .buyer-profile-dialog,html body .buyer-profile-dialog header{background:var(--buyer-page)!important;color:var(--buyer-text)!important;border-color:var(--buyer-border)!important}
 html body .buyer-profile-dialog :is(strong,p,small){color:var(--buyer-text)!important}
 html body dialog,html body dialog header,html body dialog .catalog-order-head{background:var(--buyer-page)!important;color:var(--buyer-text)!important;border-color:var(--buyer-border)!important}
 html body dialog :is(input,select,textarea){background:var(--buyer-page)!important;color:var(--buyer-text)!important;border-color:var(--buyer-border)!important}
 html body .buyer-profile-link{color:var(--theme-primary,var(--buyer-text))!important}
 html body .catalog-more-button,html body #pagination{display:none!important}
 html body .catalog .section-heading{display:none!important}
 html body:not(.buyer-catalog-expanded) .catalog .category-scroll,html body .catalog .category-scroll{display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px;margin:0 0 16px!important;padding:2px 0;width:100%;min-width:0}
 html body .catalog .category-scroll .filters{display:flex!important;flex-wrap:nowrap;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;justify-self:stretch;flex:none!important;overflow-x:auto;scrollbar-width:none;padding:4px 0!important;margin:0!important;scroll-behavior:smooth}
 html body .catalog .category-scroll .filters::-webkit-scrollbar{display:none}
 html body .catalog .category-scroll .filters .filter{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;min-height:36px!important;padding:8px 14px!important;border:1px solid color-mix(in srgb,var(--buyer-text) 10%,transparent)!important;border-radius:999px!important;background:color-mix(in srgb,var(--buyer-key) 4%,var(--buyer-page))!important;color:var(--buyer-text)!important;font:500 12px/1.4 var(--theme-font-family,system-ui)!important;box-shadow:none!important;white-space:nowrap}
 html body .catalog .category-scroll .filters .filter.active{background:color-mix(in srgb,var(--buyer-key) 14%,var(--buyer-page))!important;border-color:color-mix(in srgb,var(--buyer-key) 30%,transparent)!important;color:var(--theme-primary,var(--buyer-text))!important;font-weight:600!important;box-shadow:none!important}
 html body .catalog .category-scroll-button{width:32px!important;min-width:32px!important;height:36px!important;min-height:36px!important;padding:0!important;display:grid;place-items:center;border:0!important;border-radius:12px!important;background:var(--buyer-tint)!important;color:var(--buyer-text)!important;box-shadow:none!important;font-size:23px!important}
 html body .catalog .category-scroll-button:disabled{opacity:.35}
 .buyer-scroll-status{display:flex;align-items:center;justify-content:center;gap:10px;min-height:60px;padding:18px 8px;font-size:12px;color:var(--buyer-muted);text-align:center}.buyer-scroll-status[hidden]{display:none}
 .buyer-scroll-status button{background:transparent;border:1px solid var(--buyer-border);color:var(--buyer-text);border-radius:12px;padding:10px 14px;font:inherit}
 .buyer-scroll-spinner{width:18px;height:18px;flex:0 0 18px;border:2px solid color-mix(in srgb,var(--buyer-key) 22%,transparent);border-top-color:var(--buyer-key);border-radius:50%;animation:buyer-load-spin .75s linear infinite}
 .buyer-product-enter{animation:buyer-product-enter .28s ease-out both}
 @media(prefers-reduced-motion:reduce){.buyer-product-enter{animation:none}.buyer-scroll-spinner{animation-duration:1.8s}}
}
@media screen and (min-width:701px){.buyer-scroll-status{display:none!important}}
@keyframes buyer-load-spin{to{transform:rotate(360deg)}}
@keyframes buyer-product-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.buyer-search-results{display:none}
@media screen and (max-width:700px){
 html body .buyer-search-results:not([hidden]){display:block;margin:10px 0 20px;padding:8px 14px;background:var(--buyer-page);border:1px solid var(--buyer-border);border-radius:18px;box-shadow:0 6px 20px color-mix(in srgb,var(--buyer-text) 4%,transparent)}
 html body .buyer-search-results>p{font-size:12px;margin:8px 2px 10px;color:var(--buyer-muted)}
 .buyer-search-result-list{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 html body .buyer-search-result-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 2px;border:0;border-bottom:1px solid var(--buyer-border);border-radius:0;background:transparent;color:var(--buyer-text);text-align:left}
 .buyer-search-result-list button:last-child{border-bottom:0}.buyer-search-result-list button>span{display:grid;gap:4px;min-width:0}.buyer-search-result-list strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.buyer-search-result-list small{font-size:11px;color:var(--buyer-muted)}
 html body .buyer-admin-entry{bottom:calc(11px + env(safe-area-inset-bottom))!important}
 html body .buyer-mobile-nav{bottom:calc(48px + env(safe-area-inset-bottom))!important}
 html body .buyer-mobile-nav:before{bottom:calc(-48px - env(safe-area-inset-bottom))!important}
 html body main#beranda{padding-bottom:calc(152px + env(safe-area-inset-bottom))!important}
}

@media screen and (max-width:700px){
html body dialog.buyer-profile-dialog[open]{position:fixed!important;inset:0!important;margin:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;padding:calc(18px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom))!important;background:var(--buyer-page,var(--theme-background,#f5f7fb))!important;color:var(--buyer-text,var(--theme-font))!important;overflow-y:auto!important;opacity:1!important;transform:none!important;animation:none!important;pointer-events:auto!important}
html body dialog.buyer-profile-dialog:not([open]){display:none!important}
html body dialog.buyer-profile-dialog[open]>header{top:0!important;position:sticky!important;background:var(--buyer-page,var(--theme-background,#f5f7fb))!important;z-index:2;padding:4px 0 14px}
html body #overlay[hidden],html body #cartDrawer[hidden]{display:none!important;pointer-events:none!important}
}

@media screen and (max-width:700px){
html body dialog.catalog-member-dialog[open]{display:block!important;position:fixed!important;inset:0!important;z-index:10000!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;border:0!important;border-radius:0!important;clip-path:none!important;opacity:1!important;transform:none!important;filter:none!important;backdrop-filter:none!important;background:var(--theme-background,#f5f7fb)!important;color:var(--theme-font)!important;padding:calc(72px + env(safe-area-inset-top)) 24px 32px!important;pointer-events:auto!important}
html body dialog.catalog-member-dialog:not([open]){display:none!important}
html body dialog.catalog-member-dialog .member-login-close{position:absolute;right:20px;top:calc(18px + env(safe-area-inset-top));width:40px;height:40px;border-radius:12px;border:1px solid color-mix(in srgb,var(--theme-font) 16%,transparent);background:var(--theme-background);color:var(--theme-font);font-size:24px}
html body:has(dialog.catalog-member-dialog[open]) main#beranda{overflow-y:hidden!important}
}

.buyer-stock-note{display:none}
@media screen and (max-width:700px){
html body .product-info .product-member-prices{color:var(--buyer-text,var(--theme-font))!important;opacity:1!important;background:var(--buyer-page,var(--theme-background))!important;border-color:var(--buyer-border)!important;padding:10px!important;gap:10px!important}
html body .product-info .product-member-prices :is(span,small){color:var(--buyer-text,var(--theme-font))!important;opacity:1!important;font-size:11px!important;line-height:1.5}
html body .product-info .product-member-prices strong{color:var(--buyer-text,var(--theme-font))!important;opacity:1!important;font-size:13px!important}
html body .product-info .product-member-prices>div:last-child strong{color:var(--theme-primary,var(--buyer-text))!important;font-size:16px!important;font-weight:700!important}
html body .product-info .buyer-stock-note{display:block;margin:0 0 6px;font:500 10px/1.4 var(--theme-font-family,system-ui);color:var(--buyer-text,var(--theme-font))!important}
html body .product-info .buyer-card-add:disabled{opacity:1!important;background:var(--buyer-page,var(--theme-background))!important;color:var(--buyer-muted,var(--theme-font))!important;border:1px solid var(--buyer-border)!important;cursor:not-allowed}
html body .product-info .buyer-card-add:disabled:after{content:none}
}

@media screen and (max-width:700px){
 html body .buyer-home .buyer-header{color:var(--theme-header-text,var(--buyer-text))!important}
 html body .buyer-home .buyer-header :is(strong,small,button,svg){color:var(--theme-header-text,var(--buyer-text))!important}
}
