/* Phone layout: keep the first screen for the product, not the header and contact bar. Loaded last on every page. */
.buy-box{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px 20px;margin-top:18px;background:#fff;border:1px solid #e0ddcf;border-radius:8px;padding:16px 18px;max-width:860px}
.buy-box img{width:88px;height:88px;object-fit:contain;background:#f5f3ed;border-radius:6px}
.buy-box .buy-price{margin:0;font-size:14px;color:#575757;line-height:1.5}
.buy-box .buy-price strong{font-size:28px;color:#bd151b;margin-right:4px}
.buy-box .buy-ship{margin:2px 0 0;font-size:13px;color:#172a43;font-weight:600}
.buy-box .buy-cta{white-space:nowrap;font-size:15px;padding:14px 22px}
.buy-box .buy-trust{grid-column:1/-1;list-style:none;margin:0;padding:10px 0 0;border-top:1px solid #efece0;display:flex;flex-wrap:wrap;gap:4px 18px;font-size:12px;color:#575757}
.buy-box .buy-trust li::before{content:"✓ ";color:#06a04a;font-weight:700}
.buy-box .buy-trust a{text-decoration:underline}
.page-heading h1 small{display:block;font-size:.5em;color:#575757;letter-spacing:0;line-height:1.4;margin-top:4px}
@media(max-width:650px){
 header{flex-wrap:nowrap!important;gap:12px!important;padding:8px 4%!important;position:sticky;top:0;z-index:900}
 .logo img{width:52px!important;height:auto}
 header nav{flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto;gap:16px!important;font-size:13px!important;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:6px 0}
 header nav::-webkit-scrollbar{display:none}
 .page-heading{padding:16px 5% 18px!important}
 .page-heading h1{font-size:28px!important;margin:4px 0 0!important;line-height:1.3}
 .buy-box{grid-template-columns:64px 1fr;gap:10px 12px;padding:12px;margin-top:12px}
 .buy-box img{width:64px;height:64px}
 .buy-box .buy-price strong{font-size:24px}
 .buy-box .buy-cta{grid-column:1/-1;text-align:center;font-size:16px;padding:14px}
 .buy-box .buy-trust{font-size:11px;gap:2px 12px;padding-top:8px}
 /* One slim row of contact buttons instead of two tall rows. */
 body{padding-bottom:calc(52px + env(safe-area-inset-bottom))!important}
 .floating-contact{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-areas:none!important}
 .floating-contact a{grid-area:auto!important;min-height:48px!important;padding:6px 2px!important;font-size:11px!important;white-space:nowrap;letter-spacing:-.2px}
 .floating-contact a small{display:none!important}
 .floating-contact .floating-phone span{font-size:0}
 .floating-contact .floating-phone span::after{content:"โทร";font-size:11px}
 .page-chili .hero{padding-top:24px}
 .page-chili .real-photo-gallery figure:not(:first-child){display:none}
}
