/* PromptSen mobile homepage - desktop intentionally untouched */
@media (max-width:767px){
html,body{overflow-x:hidden}
body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px));background:#fff}
body>.ps-global-brand,body>.ps-mobile-brand{display:none!important}
header.ph-reference-header{background:#ff6900!important;color:#fff!important;box-shadow:none!important}
header .ph-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:50px 48px 44px!important;gap:8px 10px!important;padding:12px 14px 13px!important;max-width:none!important}
header .ph-brand{grid-column:1;grid-row:1;align-self:center}
header .ph-brand img{width:165px!important;max-width:100%;height:44px!important;object-fit:contain!important;object-position:left center!important}
header .ph-actions{grid-column:2;grid-row:1;display:flex;gap:19px!important;color:white!important}
header .ph-actions a{color:white!important;font-size:22px}
header .ph-actions a i{font-size:24px}
header .ph-address{grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:46px;border:1px solid #ffdbc1!important;border-radius:25px!important;background:rgba(255,255,255,.06)!important;display:flex;align-items:center;padding:0 15px!important;gap:12px;color:#fff!important;overflow:hidden}
header .ph-address .text-brand{color:white!important}
header .ph-address span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
header .ph-address i:first-child{font-size:19px!important}
header .ph-search{grid-column:1/-1!important;grid-row:3!important;background:#fff!important;height:44px!important;padding:0 15px!important;border-radius:24px!important;box-shadow:0 4px 12px #ba42001c}
header .ph-search input{font-size:13px!important;width:100%;color:#374151}
header .ph-nav{display:none!important}
main.ph-container{width:100%;max-width:none;overflow:clip}
main .ph-hero{width:100%!important;aspect-ratio:3/1!important;height:auto!important;min-height:0!important;border-radius:0!important;overflow:hidden!important;margin:0!important;background:#ff7900!important}
main .ph-hero .ph-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block}
main .ph-hero .ph-slide[hidden],main .ph-hero .ph-slide.hidden{display:none!important}
main .ph-hero .ph-hero-image,main .ph-hero .ph-slide.ph-exact-slide img{position:static!important;transform:none!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;object-position:center!important}
main .ph-dots{bottom:5px!important}
main .ph-dots button{height:6px;width:6px}
main .ph-inner{padding:0 12px!important;max-width:none!important}
main .ph-inner>section[aria-label="หมวดหมู่สินค้า"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:13px 0 18px!important}
main .ph-category{min-width:0!important;width:100%;height:90px!important;border-radius:16px!important;gap:0!important;padding:8px 4px!important;justify-content:center!important}
main .ph-category>span{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:54px!important;font-size:37px!important;background-image:none!important}
main .ph-category>b{font-size:13px!important;font-weight:700!important;line-height:1.4}
main .ph-category:nth-child(6) i{font-size:31px!important}
main .ph-section{padding-bottom:20px!important}
main .ph-section-head{margin:0 0 11px!important;gap:8px!important}
main .ph-section-head h2{font-size:20px!important;letter-spacing:-.3px;line-height:1.35}
main .ph-section-head>a{font-size:12px!important;color:#f26600!important;white-space:nowrap}
main #shops>.grid,main section[aria-labelledby="products-title"]>.grid{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-12px!important;padding:2px 12px 7px 0!important}
main #shops>.grid::-webkit-scrollbar,main section[aria-labelledby="products-title"]>.grid::-webkit-scrollbar{display:none}
main #shops .ph-card{flex:0 0 165px!important;min-width:0;max-width:165px;scroll-snap-align:start;border-radius:13px!important}
main .ph-shop-image{aspect-ratio:1.65/1!important;background:#fff7ed!important}
main #shops .ph-card .p-3{padding:9px!important}
main #shops .ph-card h3{font-size:13px!important}
main #shops .ph-card .mt-2{margin-top:5px!important;font-size:11px!important}
main section[aria-labelledby="products-title"] .ph-card{flex:0 0 107px!important;width:107px!important;min-width:107px!important;scroll-snap-align:start;border-radius:12px!important}
main section[aria-labelledby="products-title"] .ph-product-image{width:100%!important;height:100px!important;aspect-ratio:1/1!important;background:#f8f8f8!important}
main section[aria-labelledby="products-title"] .ph-product-image img{width:100%!important;height:100%!important;object-fit:contain!important}
main section[aria-labelledby="products-title"] .ph-card h3{font-size:11px!important;padding:7px 6px 1px!important}
main section[aria-labelledby="products-title"] .ph-card>div:last-child{padding:0 6px 7px!important;gap:2px}
main section[aria-labelledby="products-title"] .ph-card>div:last-child b{font-size:15px!important;white-space:nowrap}
main section[aria-labelledby="products-title"] .ph-add{width:27px!important;height:27px!important;border-radius:50%!important;font-size:14px!important}
main #promotions>.grid{display:flex!important;flex-wrap:nowrap!important;gap:9px!important;overflow-x:auto!important;scrollbar-width:none;margin-right:-12px!important;padding-bottom:5px!important}
main #promotions>.grid>*{flex:0 0 74%!important;min-width:0!important;scroll-snap-align:start}
main #promotions>.grid img{width:100%!important;aspect-ratio:3/1!important;object-fit:cover!important;border-radius:12px!important}
main #promotions>.grid::-webkit-scrollbar{display:none}
main .ph-reference-join{margin:13px 0 16px!important}
body footer,body .ps-desktop-footer,body .ps-footer-new,body .ps-public-footer{display:none!important}
body .ph-mobile-nav{position:fixed!important;inset:auto 0 0!important;z-index:1000!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center;min-height:65px!important;padding:7px 4px calc(5px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border-top:1px solid #f0f0f0!important;box-shadow:0 -2px 12px #0000000a!important}
body .ph-mobile-nav a{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;justify-content:center!important;color:#101820;font-size:11px!important;line-height:1.3!important}
body .ph-mobile-nav a:first-child{color:#ff6500!important}
body .ph-mobile-nav a i{font-size:22px!important;line-height:1.2!important}
}
