/* Approved GO SAVE mobile storefront. */
:root{--yellow:#ffb800;--green:#14834b;--ink:#1b2922;--muted:#758078;--line:#e6ebe6;--soft:#f4f6f2}
html{background:#fff;scroll-padding-top:18px}body{background:#fff;color:var(--ink)}
.store{max-width:1120px;min-height:100dvh;background:#fff;padding-bottom:100px;container-type:inline-size}
.header{display:block;position:relative;top:auto;background:#fff;color:var(--ink);padding:17px 19px 0;box-shadow:none;border:0}
.brand-row{margin:0 0 19px;display:block}.brand{display:flex;width:100%;gap:10px;align-items:center;min-width:0;text-decoration:none;color:inherit}
.brand img{width:48px;height:48px;object-fit:cover;border-radius:12px;flex-shrink:0}
.brand-copy{min-width:0;flex:1}.brand-copy h1{font-size:clamp(11px,calc(4.5cqw - 2px),15px);font-weight:600;line-height:1.5;letter-spacing:-.3px;margin:0;white-space:nowrap}
.brand-copy p{font-size:12px;line-height:1.6;color:var(--muted);margin:5px 0 0}
.trust-strip{display:flex;align-items:center;justify-content:center;gap:13px;padding:0 0 18px;margin:0;background:transparent;border:0;font-size:11px;line-height:1.5;color:var(--muted)}
.trust-strip span{display:flex;align-items:center;gap:5px;white-space:nowrap}.trust-strip i{display:flex;color:var(--green)}.trust-strip svg{width:15px;height:15px;stroke-width:1.8}
.search-row{display:flex;gap:3px;align-items:center}.search-wrap{flex:1;min-width:0;min-height:44px;margin:0;background:var(--soft);border:0;border-radius:14px;padding:0 13px;gap:9px;color:var(--muted)}
.search-wrap input{width:100%;min-width:0;font-size:16px;line-height:1.5;padding:10px 0;color:var(--ink);background:transparent}.search-wrap input::placeholder{color:var(--muted)}.search-wrap svg{width:18px;height:18px;flex-shrink:0}
.header-actions{position:static;display:flex;align-items:center;gap:0;margin:0;flex-shrink:0}.header-actions .icon-btn{width:40px;height:44px;border-radius:12px;flex-shrink:0;background:transparent}.header-actions .cart-button{position:relative;right:auto}.header-actions svg{width:21px;height:21px;stroke-width:1.8}.header-actions .cart-count{background:var(--yellow);color:var(--ink);top:0;right:0;font-size:10px;min-width:17px;height:17px}
.categories{display:flex;gap:5px;padding:0;margin:13px 19px 0;overflow:visible}.categories button{flex:1;min-width:0;min-height:40px;padding:8px 2px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:11px;line-height:1.5;white-space:nowrap;display:block}.categories button.selected{background:var(--ink);color:#fff;font-weight:400}

.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:21px 19px 8px}.section-title h2{font-size:17px;line-height:1.3;letter-spacing:-.4px;margin:0;font-weight:600}.filter-toggle{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:var(--muted);min-height:32px;padding:0 3px;background:transparent;border:0}.filter-toggle svg{width:15px;height:15px}.filter-toggle[aria-expanded=true]{color:var(--green)}
.catalog-filters{background:var(--soft);border-radius:16px;padding:10px;margin:0 19px 18px}.catalog-filters[hidden]{display:none}.filterbar{margin:0;gap:8px;flex-wrap:wrap}.color-filters{display:flex;gap:3px}.color-filters button,.filterbar select{min-height:40px;border-radius:9px;font-size:12px}.color-filters button.active{background:#fff;color:var(--green)}.size-filters{margin:8px 0 0;max-width:none}.size-filters select{font-size:12px;min-height:44px;border-radius:9px;background:#fff}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px;padding:0 19px;margin:0;align-items:stretch}.product-card{border:0;overflow:visible;background:transparent;border-radius:0;display:flex;flex-direction:column;min-width:0}
.product-photo{width:100%;aspect-ratio:1.12;height:auto;border-radius:17px;background:#f8f6f0;overflow:hidden;position:relative;padding:0;display:block;flex-shrink:0}.product-photo img{position:absolute;inset:0;width:100%;height:100%;padding:0;object-fit:contain;display:block}.photo-chip{position:absolute;bottom:9px;left:9px;max-width:calc(100% - 18px);font-size:10px;line-height:1.5;padding:3px 7px;background:#fffdf5f2;border-radius:8px;color:#26372c}
.product-info{padding:0;flex:1;display:flex;flex-direction:column}.product-title{margin:11px 0 2px;min-height:0;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:-.2px;display:block;width:100%;text-align:left;padding:0;color:var(--ink)}.card-pack{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 1px}.product-info .price-row{margin:4px 0 0;gap:4px;align-items:baseline}.price{font-size:21px;line-height:1.45;font-weight:600;letter-spacing:-.7px;color:var(--ink)}.price-row small{font-size:11px;color:var(--muted)}.average-price{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 10px}.select-btn{background:var(--green);color:#fff;min-height:44px;border-radius:12px;font-size:12px;line-height:1.5;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 5px;margin-top:auto}.select-btn svg{width:16px;height:16px}.select-btn:hover{background:#116b3d}
.bottom-nav{max-width:1120px;min-height:76px;padding:9px 8px max(14px,env(safe-area-inset-bottom));background:#fff;border-color:var(--line)}.bottom-nav button{font-size:10px;line-height:1.4;gap:5px;min-height:45px;flex-direction:column;color:var(--muted);border-radius:12px}.bottom-nav button svg{width:21px;height:21px;stroke-width:1.7}.bottom-nav button.active{color:var(--ink);font-weight:600}.bottom-nav button.active svg{color:var(--green);stroke-width:2.1}
dialog{border-radius:24px 24px 0 0;max-height:92dvh;background:#fff;box-shadow:0 -8px 60px #14271a20}dialog::backdrop{background:#14271a66}.sheet-heading{padding:10px 18px 12px}.sheet-heading h2{font-size:17px;font-weight:600}.sheet-body{padding:16px 18px}.primary,.secondary{border-radius:12px}.primary{background:var(--green);color:#fff}.primary:hover{background:#116b3d}.empty .primary{margin-top:12px}
.product-detail{padding-top:13px}.product-detail .detail-photo{height:auto;aspect-ratio:1;background:#f8f6f0;overflow:hidden;border-radius:16px}.product-detail .detail-photo img{width:100%;height:100%;object-fit:contain}.gallery-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0 15px;background:var(--soft);border-radius:11px;padding:4px}.gallery-choices button{min-height:40px;font-size:12px;color:var(--muted);border-radius:8px}.gallery-choices button[aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 2px 8px #14271a0a}
.product-detail .detail-name{font-size:18px;line-height:1.5;margin:0 0 5px;font-weight:600}.detail-meta{font-size:12px;line-height:1.7;color:var(--muted)}.product-detail .detail-pack{font-size:13px;line-height:1.6;margin:9px 0 0}.material-note{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 0}.rates-heading{font-size:13px;margin-top:16px}.product-detail .tiers{gap:5px;margin:8px 0 0}.tier{border:0;border-radius:11px;background:var(--soft);padding:10px 3px}.tier.active{background:#fff4ce;color:var(--ink);box-shadow:inset 0 0 0 1px var(--yellow)}.product-detail .tier small,.product-detail .tier span{font-size:11px}.product-detail .tier strong{font-size:17px;color:var(--ink)}.pricing-note{font-size:11px;line-height:1.6;color:var(--muted)}
.product-detail .detail-gallery{display:flex;align-items:stretch;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.detail-gallery::-webkit-scrollbar{display:none}.gallery-slide{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex}.gallery-slide img{user-select:none}.gallery-dots{display:flex;align-items:center;justify-content:center;gap:0;margin:0 0 4px}.gallery-dots button{width:44px;min-height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent}.gallery-dots span{width:6px;height:6px;border-radius:50%;background:#d2d9d2;display:block}.gallery-dots button[aria-pressed=true] span{background:var(--green);width:7px;height:7px}
.purchase-footer{padding:12px 18px max(16px,env(safe-area-inset-bottom));box-shadow:0 -8px 20px #14271a06}.purchase-footer .quantity-row{margin-bottom:9px}.stepper{border-radius:11px;border-color:var(--line)}.purchase-footer .stepper button{width:44px;min-height:44px}.purchase-footer .stepper input{height:44px;font-size:16px}.purchase-footer .detail-total{border:0;margin:6px 0 12px;padding:0;font-size:13px}.purchase-footer .detail-total strong{font-size:22px}.detail-price-line{font-size:12px;color:var(--muted)}.purchase-buttons .cart-action{border-radius:12px;background:var(--green);border-color:var(--green);font-size:13px}.purchase-buttons .buy-action{border-radius:12px;background:#d94820;color:white;font-size:13px}
.cart-item h3{font-size:14px;line-height:1.6;color:var(--ink)}.cart-item img{background:#f8f6f0;border-radius:12px}.cart-controls strong{color:var(--ink)}.cart-controls .stepper button{width:38px;min-height:40px}.cart-controls .stepper input{height:40px}.cart-item .line-meta{font-size:12px}.summary-line{font-size:13px}.savings{background:#edf6ef;color:var(--green)}.summary-line.total{font-size:19px}.sheet-actions{background:#fff}.sheet-actions>.primary{min-height:48px}
.payment-option:has(input:checked){background:#eef7f1;border-color:var(--green)}.payment-option input{accent-color:var(--green)}.checkout-body input:not([type=radio]),.checkout-body textarea{border-radius:11px;border-color:var(--line);outline-color:var(--green)}#submit-order{background:var(--green);color:#fff;min-height:48px}.checkout-body>label{font-size:13px}.checkout-items strong{font-size:13px}.checkout-items small{font-size:12px}.checkout-summary{margin-top:22px}.checkout-items{margin-bottom:14px}
button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}#toast{background:var(--ink);color:#fff;border-radius:12px;font-size:13px;white-space:normal;text-align:center}
@media(max-width:360px){.header{padding-left:14px;padding-right:14px}.brand{gap:8px}.brand img{width:40px;height:40px;border-radius:10px}.brand-copy p{font-size:11px}.trust-strip{gap:9px;font-size:11px}.categories,.section-title,.catalog-filters{margin-left:14px;margin-right:14px}.product-grid{padding:0 14px;gap:23px 9px}.product-title{font-size:12px}.photo-chip{font-size:10px;left:7px;bottom:7px;padding:3px 5px}.filter-toggle{font-size:11px}}
@media(min-width:650px){.header{padding:26px 28px 0}.brand-row{margin-bottom:17px}.brand img{width:56px;height:56px;border-radius:14px}.brand-copy h1{font-size:21px}.brand-copy p{font-size:13px}.trust-strip{justify-content:flex-start;padding-left:66px;font-size:12px}.search-wrap{margin:0}.header-actions{position:static}.header .search-wrap{margin-right:0}.header-actions .icon-btn{width:48px}.categories{margin:18px 28px 0;max-width:600px;gap:10px}.categories button{font-size:13px;min-height:44px}.section-title{margin:24px 28px 16px}.section-title h2{font-size:20px}.filter-toggle{font-size:13px}.catalog-filters{margin:0 28px 20px;max-width:600px}.product-grid{padding:0 28px;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}.product-title{font-size:15px}.card-pack,.average-price{font-size:12px}.select-btn{font-size:14px;min-height:46px}.price{font-size:23px}.bottom-nav button{flex-direction:row;font-size:13px;gap:9px}.nav-count{margin-left:70px;left:auto;top:0}dialog{border-radius:24px;max-height:88dvh}.sheet-handle{display:none}}
@media(min-width:950px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Three approved photos with dots below each frame. */
.product-gallery{min-width:0;width:100%}.gallery-frame{position:relative;width:100%;aspect-ratio:1.12}.gallery-track{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.gallery-track::-webkit-scrollbar{display:none}.gallery-track>.gallery-slide{position:relative;display:block;flex:0 0 100%;min-width:0;width:100%;height:100%;padding:0;scroll-snap-align:start;scroll-snap-stop:always}.gallery-track>.gallery-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.product-gallery .gallery-dots{display:flex;justify-content:center;align-items:center;gap:0;margin:0;height:6px}.product-gallery .gallery-dots button{width:32px;min-height:26px;align-self:flex-end;display:grid;place-items:center;padding:0}.product-gallery .gallery-dots span{width:5px;height:5px;background:#d2d9d2;border-radius:50%}.product-gallery .gallery-dots button[aria-current=true] span{background:var(--yellow);width:6px;height:6px}.product-gallery .photo-chip{pointer-events:none}.product-title{margin-top:0}.product-gallery.detail-gallery-wrap .gallery-dots{height:38px;margin:0 0 7px}.detail-gallery-wrap .gallery-dots button{min-height:38px;width:40px}.detail-gallery-wrap .gallery-frame{aspect-ratio:1;height:auto}.product-detail .detail-gallery-wrap img{width:100%;height:100%;object-fit:contain}.catalog-loading{grid-column:1/-1;padding:20px 0;color:var(--muted);font-size:13px}.select-btn:disabled{background:#e4e8e4;color:#758078}.sold-out-note{font-size:13px;color:var(--muted);margin:0}.checkout-items li>span{min-width:0}.checkout-items strong{overflow-wrap:anywhere}.cart-item>div{min-width:0}.contact-company p{overflow-wrap:anywhere}.contact-company{font-size:12px}.brand-copy h1{font-size:clamp(11px,4cqw,15px)}.header-actions .admin-button{display:none}.categories button.selected{background:var(--ink)}
@media(min-width:650px){.brand-copy h1{font-size:21px}.header-actions .admin-button:not([hidden]){display:flex}}

/* Keep each model's clear and black options together, including one-color models. */
.product-grid.has-color-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-color-pair{display:grid;grid-column:span 2;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:inherit;min-width:0}
.product-color-pair>[data-product-color="สีใส"]{grid-column:1}
.product-color-pair>[data-product-color="สีดำ"]{grid-column:2}
@media(min-width:950px){.product-grid.has-color-pairs{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Keep the complete product, lid and labels visible in the reference frame. */
.card-gallery .gallery-slide img{object-fit:contain;object-position:center}

/* Compact dots sit below the cover; their tap area extends into the image. */
.card-gallery .gallery-dots{position:relative;z-index:1}.card-gallery .gallery-dots span{transform:translateY(10px)}
