/* ITM-HVBUNDLE-V1 built 2026-11-27 13:26:57 from head_view.php */
/* ITM-CARDFIX-V1 (19 Nov 2026) */
/* SKU on product cards: bottom-left corner of the card, a little below the price (all list pages + product-page rows) */
a.product-link .card-footer.product-price{position:relative;padding-bottom:12px !important}
a.product-link .card-footer.product-price .itm-add{bottom:calc(.5em + 5px) !important} /* ITM-CARDFIX-V2 */
a.product-link .card-footer.product-price button.itm-hs{position:static !important}
a.product-link .card-footer.product-price .itm-sku{left:10px !important;bottom:4px !important;top:auto !important;max-width:calc(100% - 16px) !important}
/* add-to-cart icon: the white "+" sat across the box gap and showed as a stray dot */
button.itm-add svg path[fill="#fff"]{display:none}
/* header cart: small count badge on the corner instead of a pill over the whole button */
.itm-cartn{min-width:17px !important;height:17px !important;padding:0 4px !important;box-sizing:border-box !important;font:700 10.5px/17px sans-serif !important;top:-7px !important;right:-7px !important}
/* category fly-out menu: rows the same height as the left menu so they line up */
body .side-menu .dropdown-content .inner-menu{padding-top:0 !important;padding-bottom:0 !important} /* ITM-MENUROW-V1 */
body .side-menu .dropdown-content .inner-menu > a,body .side-menu .dropdown-content .inner-dropdown > a{padding-top:var(--itm-fp2,var(--itm-fp,6px)) !important;padding-bottom:var(--itm-fp2,var(--itm-fp,6px)) !important;line-height:22px !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* product page rows (Customers Also Viewed / Relate / Also Purchased) as full cards */
.product-relate-outer:has(> .itm-rcx){gap:10px;padding:10px !important;background:#f5f5f3 !important;align-items:stretch}
.itm-rcx{flex:0 0 200px;width:200px;display:flex}
.itm-rcx > a.product-link{display:flex;width:100%}
.itm-rcx .card{width:100% !important;max-width:none !important;margin:0 !important;float:none !important;display:flex;flex-direction:column;background:#fff}
.itm-rcx .card .product-title{flex:1 1 auto}
.itm-rcx .card-hero{height:180px !important;position:relative}
.itm-rcx .card-footer.product-price .itm-sku{position:absolute;display:block;cursor:pointer;letter-spacing:.2px;font-family:Menlo,Consolas,"Courier New",monospace;font-size:9.5px !important;line-height:10px !important;font-weight:400 !important;color:#b5b5b5 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;z-index:2} /* ITM-CARDFIX-V4 */
.itm-rcx s.itm-rc-was{font-size:11px;color:#c62828;font-weight:400}
@media (max-width:767px){.itm-rcx{flex-basis:160px;width:160px}.itm-rcx .card-hero{height:150px !important}}

/* ITM-RECVMASC-V4: faded truck "driving" past houses, trees and buildings in the empty space of the shipping box (product page) — wheels turn, road moves, never louder than the product */
#itm-recv .pane.on{display:flex;flex-direction:column}
.itm-rt{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:flex-end;justify-content:center;margin-top:6px;opacity:.42;pointer-events:none;overflow:hidden;filter:saturate(.75)}
.itm-rt-t{position:relative;height:100%;max-height:92px;aspect-ratio:1259/1033;margin-bottom:1px}
.itm-rt-t > img{position:absolute;inset:0;width:100%;height:100%;display:block;animation:itmRtBob .45s ease-in-out infinite}
.itm-rt-t::after{content:"";position:absolute;left:4%;right:0;bottom:-2px;height:10%;background:radial-gradient(ellipse at center,rgba(0,0,0,.45),rgba(0,0,0,0) 70%);z-index:-1}
.itm-rt-w{position:absolute}
.itm-rt-w i{position:absolute;top:0;left:50%;height:100%;aspect-ratio:1;border-radius:50%;background:center/100% 100% no-repeat;animation:itmRtSpin .7s linear infinite}
.itm-rt-w.f{left:53.53%;top:76.67%;width:8.42%;height:17.91%}
.itm-rt-w.f i{background-image:url(/assets/itm/itm_recv_rim_f_v1.webp?v=1);--k:.573}
.itm-rt-w.r{left:81.18%;top:77.15%;width:5.88%;height:16.65%}
.itm-rt-w.r i{background-image:url(/assets/itm/itm_recv_rim_r_v1.webp?v=1);--k:.4302}
.itm-rt-road{position:absolute;left:0;right:0;bottom:0;height:7px;background-image:repeating-linear-gradient(90deg,#fff 0 10px,rgba(255,255,255,0) 10px 20px),linear-gradient(#cfcfcf,#cfcfcf);background-size:100% 1px,100% 100%;background-position:0 50%,0 0;background-repeat:repeat-x,no-repeat;animation:itmRtRoad .42s linear infinite;-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
.itm-rt-t{z-index:2}.itm-rt-road{z-index:1}
.itm-rt-far,.itm-rt-near{position:absolute;left:0;right:0;bottom:7px;background-repeat:repeat-x;z-index:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent);mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
.itm-rt-far{height:50px;background-image:url(/assets/itm/itm_recv_scene_far_v1.svg?v=1);background-size:300px 50px;background-position:0 100%;opacity:.5;animation:itmRtFar 24s linear infinite}
.itm-rt-near{height:40px;background-image:url(/assets/itm/itm_recv_scene_near_v1.svg?v=1);background-size:240px 40px;background-position:0 100%;opacity:.85;animation:itmRtNear 5s linear infinite}
.itm-rt.sm .itm-rt-far{height:25px;background-size:150px 25px;animation-name:itmRtFarS;animation-duration:12s}
.itm-rt.sm .itm-rt-road{height:5px}.itm-rt.sm .itm-rt-far,.itm-rt.sm .itm-rt-near{bottom:5px}.itm-rt.sm .itm-rt-near{height:20px;background-size:120px 20px;animation-name:itmRtNearS;animation-duration:2.5s}
@keyframes itmRtFar{from{background-position:0 100%}to{background-position:300px 100%}}@keyframes itmRtNear{from{background-position:0 100%}to{background-position:240px 100%}}
@keyframes itmRtFarS{from{background-position:0 100%}to{background-position:150px 100%}}@keyframes itmRtNearS{from{background-position:0 100%}to{background-position:120px 100%}}
@keyframes itmRtSpin{from{transform:translateX(-50%) scaleX(var(--k)) rotate(0deg)}to{transform:translateX(-50%) scaleX(var(--k)) rotate(-360deg)}}
@keyframes itmRtBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}
@keyframes itmRtRoad{from{background-position:0 50%,0 0}to{background-position:20px 50%,0 0}}
@media (prefers-reduced-motion:reduce){.itm-rt-t > img,.itm-rt-w i,.itm-rt-road,.itm-rt-far,.itm-rt-near{animation:none}}

/* ITM-FAVMOVE-V1: favourite button moved from the brand/SKU row to the secondary-action row (next to compare), quiet outline style */
body #itm-act a.itm-fav{position:static !important;top:auto !important;right:auto !important;display:inline-flex !important;align-items:center;gap:6px;width:auto !important;height:34px !important;margin:0 0 0 8px !important;padding:0 12px 0 9px;border:1px solid #d6d6d0 !important;border-radius:8px !important;background:#fff !important;color:#333 !important;font-size:15px;line-height:1;cursor:pointer;box-sizing:border-box;text-decoration:none !important;transform:none !important;flex:none}
body #itm-act a.itm-fav:hover{background:#faf9f5 !important}
body #itm-act a.itm-fav i{font-size:18px !important;line-height:1;margin:0 !important;color:#8a8a8a !important}
body #itm-act a.itm-fav.on{border-color:#f0c4c0 !important;background:#fff7f6 !important}
body #itm-act a.itm-fav.on i{color:#e53935 !important}
body #itm-act a.itm-fav .t{white-space:nowrap}
/* ITM-FAVMOVE-V2: one row; narrow buy card -> heart only */body #itm-act{container-type:inline-size}body #itm-act .itm-cmp,body #itm-act a.itm-fav{flex:none;white-space:nowrap}@container (max-width:400px){body #itm-act a.itm-fav .t{display:none}body #itm-act a.itm-fav{padding:0 8px !important;margin-left:0 !important}body #itm-act .sh{font-size:0 !important}body #itm-act > .itm-cmp,body #itm-act > a.itm-fav,body #itm-act > .sh{vertical-align:middle}} /* ITM-FAVMOVE-V3: phone - one row, hide the share word, align middle */

/* ITM-CMPHDR-V1: compare button lives in the grey header icon row (desktop), grey instead of black; ITM-CATNAV-V2: "more in category" pill floats at the top-right of the breadcrumb so long names don't push it over the title */
#cmp-tray .tb{background:#f1f1f1 !important;color:#333 !important;border:1px solid #dcdcdc !important;box-shadow:0 4px 12px rgba(0,0,0,.12) !important}
#cmp-tray .tb svg{fill:#555 !important}
#cmp-tray .tb:hover{background:#e7e7e4 !important}
#cmp-tray.in-hdr{position:relative !important;left:auto !important;bottom:auto !important;display:inline-block;vertical-align:top;margin:0 0 0 4px;z-index:1200}
#cmp-tray.in-hdr[hidden]{display:none !important}
#cmp-tray.in-hdr .tb{height:22px;padding:0 7px 0 6px;border-radius:6px !important;font-size:12px;font-weight:600;gap:4px;box-shadow:none !important;line-height:1}
#cmp-tray.in-hdr .tb svg{width:13px;height:13px}
#cmp-tray.in-hdr .tb b{min-width:16px;height:16px;padding:0 4px;font-size:11px;border-radius:8px}
#cmp-tray.in-hdr .pn{top:30px;bottom:auto;left:50%;transform:translateX(-50%);text-align:left}
@media (min-width:992px){#itm-catnav.itm-cn-top{margin:0 0 6px 14px !important}#itm-catnav .itm-cn-btn{max-width:min(340px,40vw)}}

/* ITM-CMPCARD-V1: "⇄ เทียบ" on product cards of list pages (category / brand / search / tag) — bottom-right, same row as the SKU */
a.product-link .card-footer.product-price .itm-cmpc{position:absolute;right:8px;bottom:3px;display:inline-flex;align-items:center;gap:3px;height:17px;padding:0 6px;margin:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#8a8a8a;font-family:inherit;font-size:11px;font-weight:500;line-height:1;cursor:pointer;z-index:3;box-shadow:none;white-space:nowrap}
a.product-link .card-footer.product-price .itm-cmpc svg{width:12px;height:12px;fill:currentColor;flex:none}
a.product-link .card-footer.product-price .itm-cmpc:hover{color:#333;border-color:#d6d6d0;background:#fff}
a.product-link .card-footer.product-price .itm-cmpc.on{color:#6b5600;background:#fff6c8;border-color:#efdc7a}
a.product-link .card-footer.product-price:has(.itm-cmpc){padding-bottom:17px !important}
a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-add{bottom:calc(.5em + 10px) !important}
a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-sku{bottom:6px !important;max-width:calc(100% - 84px) !important}
@media (max-width:599px){a.product-link .card-footer.product-price .itm-cmpc{padding:0 5px;right:6px}a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-sku{max-width:calc(100% - 74px) !important}}@media (max-width:359px){a.product-link .card-footer.product-price .itm-cmpc .t{display:none}a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-sku{max-width:calc(100% - 40px) !important}} /* ITM-CMPCARD-V2: phones keep the word */
#itm-cmpc-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:100001;max-width:calc(100vw - 32px);padding:10px 16px;border-radius:10px;background:#1f2328;color:#fff;font-size:14px;line-height:1.4;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;transition:opacity .2s;pointer-events:none}
#itm-cmpc-toast.on{opacity:1}
@media (max-width:599px){#itm-cmpc-toast{bottom:84px}}

/* ITM-CMPPARENT-V1 */#itm-act .itm-cmp.itm-cmp-off{display:none !important}
/* ITM-CMPLINE-V1: card "⇄ เทียบ" sits right after the yellow price line (same row) instead of the SKU row; SKU row back to normal */
a.product-link .card-footer.product-price.itm-cmpc-ln{padding-bottom:16px !important}
a.product-link .card-footer.product-price.itm-cmpc-ln .itm-add{bottom:.5em !important}
a.product-link .card-footer.product-price.itm-cmpc-ln .itm-sku{bottom:6px !important;max-width:calc(100% - 16px) !important}
a.product-link .card-footer.product-price.itm-cmpc-ln .itm-cmpc{bottom:auto;right:auto}

/* ITM-PCS-V1: จำนวนชิ้นในชุด (product.product_pcs > 1) — ป้ายบนรูปการ์ด + ราคาต่อชิ้นหน้าสินค้า */
a.product-link .card-hero .itm-pcsb{position:absolute;top:6px;right:6px;z-index:2;padding:1px 7px;border-radius:9px;background:rgba(255,255,255,.94);border:1px solid #d9d9d2;color:#333;font-size:11px;font-weight:600;line-height:17px;white-space:nowrap;pointer-events:none}
.itm-pcspp{margin:6px 0 2px !important;font-size:13.5px;color:#3b3f45;line-height:1.4}
.itm-pcspp span{color:#8a8a8a;font-size:12px}

/* ITM-RCXOOS-V1: out-of-stock cards everywhere (product-page rows too) hide the add-to-cart button, same rule as the category page */.itm-add[data-s="0"]:not([data-p="1"]),.itm-add[data-s^="-"]:not([data-p="1"]){display:none !important}

.itm-sc3{row-gap:18px !important;padding-top:12px}
.itm-sc3-t{overflow:visible !important;position:relative}
.itm-sc3-t a.main{overflow:visible !important}
.itm-sc3-t .ph{overflow:visible !important;position:relative;flex:0 0 46px !important;width:46px !important;margin-right:6px}
.itm-sc3-t .ph img{position:absolute;width:64px !important;height:64px !important;max-width:none !important;max-height:none !important;right:-4px;bottom:-3px;transform:rotate(-5deg);transform-origin:60% 90%;filter:drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 4px 4px rgba(40,40,20,.28));transition:transform .18s ease}
.itm-sc3-t:hover .ph img{transform:rotate(0deg) scale(1.08) translateY(-2px)}
@media (prefers-reduced-motion:reduce){.itm-sc3-t .ph img{transition:none}}


/* ITM-BGRID-V1.3: one rule set (V1.1 bigger logos + V1.2 small count) and also covers the desktop pre-render panel #itm-fp-pre shown while the page loads */
:is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])){display:grid !important;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px;padding-top:6px}
:is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])) > :not(label){grid-column:1/-1}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv){position:relative;display:flex !important;align-items:center;justify-content:center;height:40px;padding:3px 4px !important;margin:0 !important;border:1px solid #e6e6e0;border-radius:8px;background:#fff;cursor:pointer;transition:border-color .12s,box-shadow .12s}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv):hover{border-color:#c9c9bd}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv) input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv) .lg{flex:1 1 auto !important;min-width:0;width:100% !important;height:100% !important;margin:0 !important;display:flex;align-items:center;justify-content:center}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv) .lg img{max-width:100% !important;max-height:34px !important;width:auto !important;height:auto !important;object-fit:contain}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv) .t{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv):not(:has(.lg)) .t,:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv).nolg .t{position:static !important;width:auto;height:auto;clip:auto;overflow:hidden;white-space:normal;font-size:10.5px;line-height:1.15;text-align:center;font-weight:600}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv).nolg .lg{display:none !important}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv) .n{position:absolute;top:2px !important;right:3px !important;min-width:0 !important;height:auto !important;padding:0 !important;margin:0 !important;border-radius:0 !important;background:none !important;color:#a3a39a !important;font-size:8.5px !important;line-height:1 !important;font-weight:500}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv):has(input:checked){border-color:#f2cf00;box-shadow:0 0 0 2px #f2cf00 inset;background:#fffbe0}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv):has(input:checked) .n{color:#6b5a00 !important;font-weight:700}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv):has(input:focus-visible){outline:2px solid #222;outline-offset:2px}
:is(label.itm-fv[ng-repeat^="b in itmFac.brands"],#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])>label.itm-fv).z{opacity:.4}


@media (min-width:601px) and (max-width:1279px), (max-width:599px) and (max-device-width:599px){
body .user-manager a.payment-method-icon[href="/basket"]{display:none !important}
body .mobile-outer #basket-inner{display:block;position:relative}
body .mobile-outer #basket-inner button.mobile-cart{width:44px !important;height:44px !important;min-width:44px !important;padding:0 !important;margin:0 !important;display:flex !important;align-items:center;justify-content:center;background:#EBD412 !important;color:#111 !important;border-radius:10px !important;box-shadow:none !important;line-height:1 !important}
body .mobile-outer #basket-inner button.mobile-cart > span{position:absolute !important;width:1px !important;height:1px !important;overflow:hidden !important;clip:rect(0 0 0 0) !important;white-space:nowrap !important}
body .mobile-outer #basket-inner button.mobile-cart::before{content:"";display:block;width:28px;height:24px;background-color:currentColor;-webkit-mask:url(/assets/itm/cart_v2.svg) center/contain no-repeat;mask:url(/assets/itm/cart_v2.svg) center/contain no-repeat}
body .mobile-outer #basket-inner .fab{top:-7px !important;right:-7px !important;min-width:20px !important;width:auto !important;height:20px !important;padding:0 5px !important;border-radius:999px !important;background:#e02424 !important;color:#fff !important;font:700 11px/20px sans-serif !important;box-shadow:0 0 0 2px #fff !important;pointer-events:none}
body .mobile-outer #basket-inner .fab:empty{display:none !important}
}
@media (max-width:767px){
html body div.card.mobile-container.search-inner.search-inner{border:0 !important;border-radius:0 !important;background:#fff !important}
html body div.card.mobile-container.search-inner.search-inner::before{content:"";position:absolute;left:6px;right:6px;top:4px;bottom:4px;border:1px solid #d9d9d3;border-radius:22px;background:#f6f6f3;z-index:-1;pointer-events:none}
html body div.card.mobile-container.search-inner.search-inner > *{position:relative}
html body div.card.mobile-container.search-inner.search-inner > .text-input{background:transparent !important}
html body button.itm-fab{border-radius:17px !important}
}


@media (max-width:767px){
html body div.card.mobile-container.search-inner.search-inner > .search_result.itm-sr,
html body div.search-inner > .search_result.itm-sr{position:absolute !important;top:calc(100% + 6px) !important;left:6px !important;right:6px !important;width:auto !important;max-width:none !important;margin:0 !important;max-height:calc(100vh - 150px) !important;max-height:calc(100dvh - 150px) !important;border:1px solid #e4e4de !important;border-radius:14px !important;box-shadow:0 12px 32px rgba(0,0,0,.18) !important;background:#fff !important;z-index:1002 !important;overflow-x:hidden !important;overflow-y:auto !important;overscroll-behavior:contain}
html body div.search-inner .itm-sr .itm-sr-item{align-items:flex-start !important;gap:12px !important;padding:10px 14px !important}
html body div.search-inner .itm-sr .itm-sr-img{flex:0 0 52px !important;width:52px !important;height:52px !important;border-radius:8px;border:1px solid #f0f0ec}
html body div.search-inner .itm-sr .itm-sr-name{white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px !important;line-height:1.35 !important;color:#1a1a1a !important}
html body div.search-inner .itm-sr .itm-sr-meta{font-size:12px !important;color:#8a8a84 !important;margin-top:3px !important}
html body div.search-inner .itm-sr .itm-sr-right{min-width:0 !important;padding-top:1px;gap:5px !important}
html body div.search-inner .itm-sr .itm-sr-price{font-size:15px !important}
html body div.search-inner .itm-sr .itm-sr-stock{font-size:11px !important;line-height:18px !important;padding:0 7px !important;border-radius:9px !important}
html body div.search-inner .itm-sr .itm-sr-all{padding:13px 16px !important;font-size:14px !important;font-weight:600;color:#1a1a1a !important;background:#fbf7d9 !important;border-top:1px solid #efe9b8 !important}
html body div.search-inner .itm-sr .itm-sr-all{position:sticky !important;bottom:0;z-index:2;box-shadow:0 -6px 12px rgba(0,0,0,.06)}
html body div.search-inner .itm-sr .itm-sr-h{padding:10px 14px 4px !important}
html body div.search-inner .itm-sr .itm-sr-link{padding:8px 14px !important}
}


html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]){grid-template-columns:repeat(auto-fill,minmax(86px,1fr)) !important;gap:8px !important}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"]{flex-direction:column !important;justify-content:flex-start !important;height:auto !important;min-height:84px;padding:8px 5px 6px !important;gap:5px}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"] .lg{flex:0 0 40px !important;height:40px !important;width:100% !important}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"] .lg img{max-height:40px !important}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"] .t{position:static !important;width:auto !important;height:auto !important;clip:auto !important;overflow:hidden !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11.5px !important;line-height:1.25 !important;text-align:center !important;font-weight:500 !important;color:#333 !important;word-break:break-word}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"]:not(:has(.lg)) .t,html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"].nolg .t{margin:auto 0;font-weight:600 !important}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"] .n{top:4px !important;right:5px !important;font-size:10px !important}
html body .itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"] img[src*="/uploads/category/"]) > label.itm-fv[ng-repeat^="b in itmFac.brands"]:has(input:checked) .t{color:#5a4b00 !important;font-weight:600 !important}


@media (max-width:991px){
html body button.itm-fab{right:0 !important;left:auto !important;height:38px !important;margin-top:-2px !important;padding:0 14px 0 12px !important;border:0 !important;border-radius:19px 0 0 19px !important;background:#EBD412 !important;color:#1a1a1a !important;font-weight:700 !important;font-size:14px !important;line-height:38px !important;display:flex !important;align-items:center;gap:7px;box-shadow:-3px 2px 10px rgba(0,0,0,.25) !important;touch-action:pan-y;animation:itmFabIn .5s cubic-bezier(.2,.8,.2,1) .3s both}
html body button.itm-fab::before{content:"";flex:none;width:9px;height:9px;margin-right:2px;border-left:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg);order:-1;animation:itmFabNudge 1.4s ease-in-out 1s 2}
html body button.itm-fab::after{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h10v2H3zm14 0h4v2h-4zm-2-2h2v6h-2zM3 11h4v2H3zm8 0h10v2H11zm-2-2h2v6H9zm-6 8h10v2H3zm14 0h4v2h-4zm-2-2h2v6h-2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h10v2H3zm14 0h4v2h-4zm-2-2h2v6h-2zM3 11h4v2H3zm8 0h10v2H11zm-2-2h2v6H9zm-6 8h10v2H3zm14 0h4v2h-4zm-2-2h2v6h-2z'/%3E%3C/svg%3E") center/contain no-repeat}
html body button.itm-fab > b{position:static !important;min-width:20px !important;height:20px !important;padding:0 6px !important;margin:0 !important;border-radius:10px !important;background:#1a1a1a !important;color:#EBD412 !important;font:700 12px/20px sans-serif !important;text-align:center;box-shadow:none !important}
@keyframes itmFabIn{from{transform:translateX(105%)}to{transform:none}}
@keyframes itmFabNudge{0%,100%{transform:translateX(0) rotate(45deg)}40%{transform:translateX(-4px) rotate(45deg)}}
}
@media (max-width:767px){
html body:has(button.itm-fab) div.search-inner:not(:focus-within){padding-right:128px !important}
html body:has(button.itm-fab > b) div.search-inner:not(:focus-within){padding-right:162px !important}
}
@media (max-width:991px) and (prefers-reduced-motion:reduce){html body button.itm-fab,html body button.itm-fab::before{animation:none !important}}


@media (max-width:991px){
html body #itm-filter-panel .itm-fp-head{display:flex !important;align-items:center !important;justify-content:space-between !important}
html body #itm-filter-panel a.itm-fp-close{position:relative !important;display:block !important;flex:none;width:40px !important;height:40px !important;margin:-6px -4px -6px 8px !important;padding:0 !important;border-radius:50% !important;background:#f0f0eb !important;font-size:0 !important;color:transparent !important;text-decoration:none !important;-webkit-tap-highlight-color:transparent}
html body #itm-filter-panel a.itm-fp-close::before,html body #itm-filter-panel a.itm-fp-close::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:2.5px;margin:-1.25px 0 0 -9px;border-radius:2px;background:#1a1a1a;transform:rotate(45deg)}
html body #itm-filter-panel a.itm-fp-close::after{transform:rotate(-45deg)}
html body #itm-filter-panel a.itm-fp-close:active{background:#e2e2db !important}
}


@media (max-width:991px){
html body .right-menu.itm-rm{touch-action:pan-y;box-shadow:-10px 0 28px rgba(0,0,0,.2) !important;will-change:translate}
/* grip on the open drawer: swipe or tap to push it back */
.itm-fd-grip{display:none;position:fixed;top:50%;z-index:100000;width:22px;height:72px;margin-top:-36px;padding:0;border:0;border-radius:11px 0 0 11px;background:#EBD412;box-shadow:-3px 2px 10px rgba(0,0,0,.25);cursor:pointer;touch-action:pan-y}
.itm-fd-grip i{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -6px;border-right:2.5px solid #1a1a1a;border-bottom:2.5px solid #1a1a1a;transform:rotate(-45deg);animation:itmGripWig 2.6s ease-in-out .8s infinite}
@keyframes itmGripWig{0%,62%,100%{translate:0 0}70%{translate:4px 0}78%{translate:0 0}86%{translate:4px 0}94%{translate:0 0}}
/* filter tab: arrow wiggles left every few seconds until the drawer has been opened once */
body:not(.itm-fseen) button.itm-fab{animation:itmFabIn .5s cubic-bezier(.2,.8,.2,1) .3s both,itmFabPeek 3.2s ease-in-out 1.6s infinite !important}
body:not(.itm-fseen) button.itm-fab::before{animation:itmFabWig 3.2s ease-in-out 1.6s infinite !important}
@keyframes itmFabPeek{0%,64%,100%{translate:0 0}72%{translate:-6px 0}80%{translate:0 0}88%{translate:-6px 0}96%{translate:0 0}}
@keyframes itmFabWig{0%,64%,100%{translate:0 0}72%{translate:-4px 0}80%{translate:0 0}88%{translate:-4px 0}96%{translate:0 0}}
/* brand logo tiles: 3 per row */
html body :is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])){grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important}
html body .itm-fg-b:not(:has(img[src*="/uploads/category/"])) > label.itm-fv[ng-repeat^="b in itmFac.brands"]{height:56px !important;padding:6px 8px !important}
html body .itm-fg-b:not(:has(img[src*="/uploads/category/"])) > label.itm-fv[ng-repeat^="b in itmFac.brands"] .lg img{max-height:38px !important}
html body .itm-fg-b:not(:has(img[src*="/uploads/category/"])) > label.itm-fv[ng-repeat^="b in itmFac.brands"] .n{font-size:10px !important;top:3px !important;right:5px !important}
}
@media (max-width:991px) and (prefers-reduced-motion:reduce){body button.itm-fab,body button.itm-fab::before,.itm-fd-grip i{animation:none !important}}


@media (max-width:991px){
html body .card.rich-card:not(#itm-z){height:auto !important}
html body .card.rich-card h3.product-title:not(#itm-z){display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important;line-clamp:2;overflow:hidden !important;line-height:1.35 !important;height:calc(2.7em + 8px) !important;max-height:none !important;padding:8px 6px 0 !important;margin:0 0 6px !important;box-sizing:border-box !important;word-break:break-word}
}


@media (max-width:991px){
html body .card.rich-card .card-footer.product-price:not(#itm-z){position:relative !important;height:66px !important;padding:4px 4px 8px !important;border-top:4px solid #EBD412 !important;box-sizing:border-box !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.rprice{border-top:0 !important;padding-top:0 !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) .itm-sku{top:40px !important;bottom:auto !important;right:auto !important;max-width:calc(100% - 126px) !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-add{top:6px !important;bottom:auto !important;left:auto !important;right:8px !important;width:48px !important;height:44px !important;border-radius:12px !important;background:#f1f1ec !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-add svg{width:28px !important;height:28px !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-add:active{background:#EBD412 !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc{top:auto !important;bottom:4px !important;left:auto !important;right:62px !important;width:auto !important;height:22px !important;padding:0 3px !important;gap:3px;justify-content:center;color:#666 !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc .t{display:block !important;font-size:12px !important;line-height:22px !important;height:auto !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc svg{width:13px !important;height:13px !important}
}


@media (max-width:767px){
html body .card.rich-card .card-footer.product-price:not(#itm-z) .itm-sku{display:none !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc{top:auto !important;bottom:6px !important;left:6px !important;right:auto !important;width:auto !important;height:26px !important;padding:0 9px 0 7px !important;gap:4px;display:flex !important;align-items:center;justify-content:center;border:1px solid #d6d6cf !important;border-radius:6px !important;background:#fff !important;color:#333 !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc .t{display:none !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc::after{content:"เปรียบเทียบ";font-size:12px;line-height:1;font-weight:500;white-space:nowrap}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc svg{width:14px !important;height:14px !important;fill:currentColor}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc[aria-pressed="true"]{background:#fffbe0 !important;border-color:#EBD412 !important;color:#5a4b00 !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc[aria-pressed="true"]::after{content:"กำลังเทียบ"}
}


@media (max-width:991px){
html body .card.rich-card .card-footer.product-price:not(#itm-z){border-top:0 !important;padding-top:8px !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z)::before{content:"";position:absolute;left:10px;right:10px;top:0;height:4px;border-radius:2px;background:#EBD412;pointer-events:none}
html body .card.rich-card .card-footer.product-price:not(#itm-z) .itm-range{border-top:0 !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-add{top:auto !important;bottom:6px !important}
html body .card.rich-card .card-footer.product-price:not(#itm-z) button.itm-cmpc{bottom:6px !important}
html body .card.rich-card .card-hero.itm-mclip{touch-action:pan-y}
html body .card.rich-card .card-hero.itm-mclip::after{content:"ปัดดูคลิป" !important;width:auto !important;height:22px !important;padding:0 8px 0 22px !important;border-radius:11px !important;background-color:rgba(0,0,0,.55) !important;background-position:6px center !important;background-size:12px 12px !important;background-repeat:no-repeat !important;color:#fff;font-size:11px;line-height:22px;white-space:nowrap}
html body .rich-card.itm-playing .card-hero.itm-mclip::after{opacity:0}
}


@media (min-width:601px) and (max-width:1279px), (max-width:599px) and (max-device-width:599px){
body .mobile-outer.itm-hacct-row{display:flex !important;align-items:center;gap:8px}
body #itm-hacct{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:10px;overflow:hidden;text-decoration:none !important;-webkit-tap-highlight-color:transparent}
body #itm-hacct.out{background:#e6e6e1;color:#555}
body #itm-hacct.out svg{width:26px;height:26px;fill:currentColor}
body #itm-hacct.in{background:#fff;box-shadow:0 0 0 2px #EBD412 inset}
body #itm-hacct.in img{width:40px;height:40px;border-radius:8px;object-fit:cover;display:block}
body #itm-hacct:active{filter:brightness(.92)}
}
@media (max-width:991px){
html body #itm-filter-panel .itm-fp-head.itm-fp-head2{display:grid !important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;row-gap:2px}
html body #itm-filter-panel .itm-fp-head2 .itm-fp-cat{grid-column:1;grid-row:1;display:flex;align-items:center;gap:10px;min-width:0}
html body #itm-filter-panel .itm-fp-head2 .itm-fp-cat img{flex:none;width:40px;height:40px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid #ecece6;padding:2px;box-sizing:border-box}
html body #itm-filter-panel .itm-fp-head2 .itm-fp-cat b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700;color:#1a1a1a}
html body #itm-filter-panel .itm-fp-head2 > span{grid-column:1;grid-row:2;padding-left:50px;font-size:12.5px !important;font-weight:500;color:#777}
html body #itm-filter-panel .itm-fp-head2 > span .tot{font-size:12.5px !important}
html body #itm-filter-panel .itm-fp-head2 a.itm-fp-close{grid-column:2;grid-row:1 / span 2;margin:0 -4px 0 4px !important}
/* home: brand logo on the video cards smaller */
html body .ih-vc .ih-ov > img{width:auto !important;max-width:62% !important;height:24px !important;object-fit:contain;padding:3px 6px !important;border-radius:6px;display:block;margin-bottom:6px}
}


@media (max-width:991px){
/* top of the menu: chips row, tighter rows */
html body .res-side-menu > div:first-child:has(> a.payment-method-icon-mobile){display:flex !important;flex-wrap:nowrap;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 12px 4px !important;margin:0 !important;height:auto !important}
html body .res-side-menu > div:first-child > a.payment-method-icon-mobile{flex:none;display:flex !important;flex-direction:row !important;align-items:center;gap:5px;height:32px;margin:0 !important;padding:0 11px 0 8px !important;border:1px solid #e0e0da;border-radius:16px;background:#fff;text-decoration:none !important;width:auto !important}
html body .res-side-menu > div:first-child > a.payment-method-icon-mobile > button.fab{width:20px !important;height:20px !important;min-width:0 !important;min-height:0 !important;padding:0 !important;margin:0 !important;background:none !important;box-shadow:none !important;color:#444 !important;line-height:20px !important;font-size:16px !important;border-radius:0 !important}
html body .res-side-menu > div:first-child > a.payment-method-icon-mobile > button.fab i{font-size:17px !important;line-height:20px !important;margin:0 !important}
html body .res-side-menu > div:first-child > a.payment-method-icon-mobile .mobile-text{display:inline-block !important;position:static !important;font-size:13px !important;line-height:1 !important;color:#222 !important;margin:0 !important;white-space:nowrap}
html body .res-side-menu > div:nth-child(2){height:auto !important;padding:2px 12px 0 !important;margin:0 !important;font-size:12px !important;line-height:24px !important}
html body .res-side-menu .itm-rc-menu{margin:6px 12px 2px !important;padding:7px 12px !important;font-size:14px !important}
html body .res-side-menu .itm-qk{margin-top:4px !important;margin-bottom:4px !important;padding-top:4px !important;padding-bottom:4px !important}
html body .res-side-menu .itm-qk img{width:24px !important;height:24px !important}
html body .res-side-menu .itm-qk span{font-size:12px !important}
/* level 1 row: name = link, big arrow button on the right */
html body .res-side-menu li.res-product-list > div.p0.itm-m1row{display:flex !important;align-items:stretch;gap:0;padding:0 0 0 8px !important;min-height:54px;border-bottom:1px solid #ececE6}
html body .res-side-menu li.res-product-list > div.p0.itm-m1row{align-items:center}
html body .res-side-menu li.res-product-list > div.p0.itm-m1row > img{margin-right:10px}
html body .res-side-menu li.res-product-list > div.p0.itm-m1row > i.icon-chevron-right{display:none !important}
/* arrow buttons (level 1 and level 2): same look */
html body .res-side-menu .itm-m1t,html body .res-side-menu .itm-m3t{position:relative;flex:0 0 54px !important;width:54px;align-self:stretch;min-height:50px;margin:0 0 0 auto !important;padding:0 !important;border:0 !important;border-left:1px solid #ececE6 !important;background:#f6f6f2 !important;color:#1a1a1a !important;font-size:0 !important;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body .res-side-menu .itm-m1t::after,html body .res-side-menu .itm-m3t::after{content:"" !important;position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-8px 0 0 -6px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg);transition:transform .18s,margin .18s;font-size:0}
html body .res-side-menu li.itm-open > div.p0 .itm-m1t,html body .res-side-menu .itm-m2.on .itm-m3t{background:#EBD412 !important}
html body .res-side-menu li.itm-open > div.p0 .itm-m1t::after,html body .res-side-menu .itm-m2.on .itm-m3t::after{transform:rotate(225deg);margin-top:-3px}
html body .res-side-menu li.itm-open > div.p0{background:#fffbe0;font-weight:700}
html body .res-side-menu .itm-m2{min-height:50px}
html body .res-side-menu .itm-m2 > a{display:flex !important;align-items:center}
html body .res-side-menu .itm-m2.on{background:#fffbe0}
/* current category */
html body .res-side-menu .itm-cur{background:#fffbe0 !important;font-weight:700 !important;box-shadow:inset 4px 0 0 #EBD412}
html body .res-side-menu li.itm-curp > div.p0{font-weight:700}
}
/* search row: clearing the box (still focused, empty) brings the filter tab back */
@media (max-width:767px){
html body:has(.search-inner .text-input:focus:placeholder-shown):not(:has(.res-side-menu:not(.ng-hide))) button.itm-fab:not(#itm-z){display:flex !important}
html body:has(.search-inner .text-input:focus:placeholder-shown):has(button.itm-fab) div.search-inner:not(#itm-z){padding-right:128px !important}
html body:has(.search-inner .text-input:focus:placeholder-shown):has(button.itm-fab > b) div.search-inner:not(#itm-z){padding-right:162px !important}
}


@media (max-width:991px){
/* arrow: small round button, points right; open = yellow, points down */
html body .res-side-menu .itm-m1t,html body .res-side-menu .itm-m3t{flex:0 0 36px !important;width:36px !important;height:36px !important;min-height:0 !important;align-self:center !important;margin:0 8px 0 auto !important;border:0 !important;border-left:0 !important;border-radius:50% !important;background:#f0f0eb !important}
html body .res-side-menu .itm-m1t::after,html body .res-side-menu .itm-m3t::after{width:8px !important;height:8px !important;margin:-5px 0 0 -6px !important;border-right:2.5px solid currentColor !important;border-bottom:2.5px solid currentColor !important;transform:rotate(-45deg) !important}
html body .res-side-menu li.itm-open > div.p0 .itm-m1t,html body .res-side-menu .itm-m2.on .itm-m3t{background:#EBD412 !important}
html body .res-side-menu li.itm-open > div.p0 .itm-m1t::after,html body .res-side-menu .itm-m2.on .itm-m3t::after{transform:rotate(45deg) !important;margin:-7px 0 0 -4px !important}
/* opened group: sub-categories in the same light yellow as the open row */
html body .res-side-menu li.itm-open > .dropdown-content,html body .res-side-menu li.itm-open > .dropdown-content > [data-itmfly]{background:#fffbe0 !important;border:0 !important}
html body .res-side-menu li.itm-open .itm-m2,html body .res-side-menu li.itm-open .itm-m2.on,html body .res-side-menu li.itm-open .itm-m3{background:transparent !important;border-bottom:1px solid rgba(0,0,0,.07) !important}
html body .res-side-menu li.itm-open .itm-m2 > a,html body .res-side-menu li.itm-open .itm-m3 a{background:transparent !important;border-bottom-color:rgba(0,0,0,.06) !important}
html body .res-side-menu li.itm-open > .dropdown-content{box-shadow:inset 4px 0 0 #EBD412}
/* bigger pictures, same row height: picture may stick out of its row */
html body .res-side-menu li.res-product-list,html body .res-side-menu li.res-product-list > div.p0,html body .res-side-menu .itm-m2,html body .res-side-menu .itm-m2 > a,html body .res-side-menu .itm-m3 a{overflow:visible !important}
html body .res-side-menu li.res-product-list > div.p0 > img.itm-mi{width:50px !important;height:50px !important;flex:0 0 50px !important;margin:-10px 8px -10px -4px !important;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.18));position:relative;z-index:1}
html body .res-side-menu .itm-m2 > a img.itm-mi{width:40px !important;height:40px !important;flex:0 0 40px !important;margin:-10px 10px -10px 0 !important;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.15));position:relative;z-index:1}
html body .res-side-menu .itm-m3 a img.itm-mi{width:32px !important;height:32px !important;flex:0 0 32px !important;margin:-8px 10px -8px 0 !important;object-fit:contain;position:relative;z-index:1}
}
/* ITM-MMENU-V3-1: sub-categories indented under their parent */
@media (max-width:991px){
html body .res-side-menu li.res-product-list .itm-m2 > a{padding-left:22px !important}
html body .res-side-menu li.res-product-list .itm-m3 a{padding-left:48px !important}
}


@media (max-width:991px){
/* deeper indent for sub-levels */
html body .res-side-menu li.res-product-list .itm-m2 > a{padding-left:44px !important}
html body .res-side-menu li.res-product-list .itm-m3 a{padding-left:76px !important}
/* no highlight on the whole open group: only the chosen category is yellow */
html body .res-side-menu li.itm-open > div.p0,html body .res-side-menu .itm-m2.on{background:transparent !important}
html body .res-side-menu li.itm-open > .dropdown-content,html body .res-side-menu li.itm-open > .dropdown-content > [data-itmfly]{background:#fff !important;box-shadow:none !important}
html body .res-side-menu li.itm-curp > div.p0{font-weight:700}
html body .res-side-menu .itm-cur{background:#fff3b0 !important;font-weight:700 !important;box-shadow:inset 4px 0 0 #EBD412 !important}
/* "รับสินค้าอย่างไร" out of the menu */
html body .res-side-menu .itm-rc-menu{display:none !important}
/* language: one globe chip, choices pop out */
html body .res-side-menu > div:nth-child(2):has(a[href*="/changelang/"]){display:none !important}
html body .res-side-menu .itm-langb{flex:none;display:flex;align-items:center;gap:5px;height:32px;margin:0;padding:0 11px 0 8px;border:1px solid #e0e0da;border-radius:16px;background:#fff;color:#222;font:500 13px/1 inherit;cursor:pointer}
html body .res-side-menu .itm-langb svg{width:18px;height:18px;fill:#444}
.itm-langp{position:fixed;z-index:100003;min-width:150px;padding:6px;border:1px solid #e0e0da;border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.18)}
.itm-langp a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:#222 !important;font-size:15px;text-decoration:none !important}
.itm-langp a img{width:22px;height:auto;border-radius:2px}
.itm-langp a.on{background:#fff3b0;font-weight:700}
}
/* ITM-MMENU-V4-1: log in / register chips out of the menu (account button sits next to the cart) */
@media (max-width:991px){
html body .res-side-menu > div:first-child > a.payment-method-icon-mobile[href="/login"],html body .res-side-menu > div:first-child > a.payment-method-icon-mobile[href="/register"]{display:none !important}
}


#itm-mqs,#itm-authbar,.itm-auth-h,.itm-auth-sub,.itm-forgot,.itm-or{display:none}
@media (max-width:991px){
/* 1) header cart + search row */
html.itm-mg-cart body .mobile-outer #basket-inner.hidden{display:block !important}
html.itm-mg-cart #sph-cart{display:none !important}
html.itm-mg-qs #itm-mqs{display:flex;align-items:center;padding:4px 10px 8px;background:#fff;border-bottom:1px solid #ecebe4;box-sizing:border-box;width:100%}
#itm-mqs form{flex:1;display:flex;align-items:center;height:42px;margin:0;border:1px solid #d9d9d3;border-radius:22px;background:#f6f6f3;padding:0 4px 0 12px;box-sizing:border-box}
#itm-mqs form:focus-within{background:#fff;border-color:#f5c518;box-shadow:0 0 0 3px rgba(245,197,24,.25)}
#itm-mqs svg{flex:0 0 20px;width:20px;height:20px;fill:#77776f}
#itm-mqs input{flex:1;min-width:0;height:100%;border:0 !important;outline:0;background:transparent !important;font:16px Mitr,sans-serif;color:#1a1a1a;padding:0 8px !important;margin:0 !important;box-shadow:none !important}
#itm-mqs button{flex:0 0 auto;height:34px;padding:0 14px;border:0;border-radius:17px;background:#EBD412;color:#1a1a1a;font:600 14px Mitr,sans-serif;cursor:pointer}
html.itm-mg-qs.itm-mqs-on #main{padding-top:62px !important}
/* 2) bottom bar */
/* V1-1: beat the old :has(.mobile-main-button) rule */ #mobile-menu.bottom-menu > a[href="/register"]:not(#itm-z),#mobile-menu.bottom-menu > a[href="/login"]:not(#itm-z){display:none !important}
/* 3) brand page article cards */
.itm-posts .product-box-head > .float-left.pt1{box-sizing:border-box}
.itm-posts .product-box-head > .float-left.pt1 > h2{width:100% !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* 4) login / register */
html.itm-auth body{background:#f4f4f1 !important}
html.itm-auth #itm-authbar{display:flex;position:sticky;top:0;z-index:50;height:56px;align-items:center;justify-content:center;background:#fff;border-bottom:3px solid #EBD412}
#itm-authbar .bk{position:absolute;left:10px;top:6px;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#f4f4f1;color:#1a1a1a;text-decoration:none}
#itm-authbar .bk svg{width:22px;height:22px;fill:currentColor}
#itm-authbar .lg img{height:26px;width:auto;display:block}
html.itm-auth #main{padding-top:14px !important}
html.itm-auth .register-container{width:100% !important;max-width:460px !important;flex:none !important;margin:0 auto !important;padding:0 14px !important;box-sizing:border-box;display:block !important}
html.itm-auth .register-container .regis{display:block !important;width:100% !important;max-width:none !important;flex:none !important;float:none !important;border:0 !important;background:transparent !important;padding:0 !important;margin:0 !important;text-align:left !important;box-shadow:none !important;overflow:visible !important}
html.itm-auth .register-container .regis.itm-auth-card{background:#fff !important;border-radius:16px;box-shadow:0 4px 18px rgba(0,0,0,.07) !important;padding:22px 18px 20px !important}
html.itm-auth .regis img[src*="logo.png"],html.itm-auth .register-container .regis-hr,html.itm-auth .regis .divider,html.itm-auth .regis .login-text,html.itm-auth #back,html.itm-auth .regis a[onclick*="history.go"],html.itm-auth .regis.itm-auth-soc p{display:none !important}
html.itm-auth .itm-auth-h{display:block;margin:0 0 4px;font:600 22px/1.3 Mitr,sans-serif;color:#1a1a1a}
html.itm-auth .itm-auth-sub{display:block;margin:0 0 18px;font-size:14px;color:#6b6b66}
html.itm-auth .itm-auth-sub a,html.itm-auth .itm-forgot{color:#8a6d00 !important;font-weight:600;text-decoration:none}
html.itm-auth .regis .white-box{display:flex !important;align-items:center;gap:10px;width:100% !important;max-width:none !important;flex:none !important;height:52px;margin:0 0 12px !important;padding:0 14px !important;box-sizing:border-box;background:#fff !important;border:1px solid #dcdcd6 !important;border-radius:12px !important;box-shadow:none !important}
html.itm-auth .regis .white-box:focus-within{border-color:#f5c518 !important;box-shadow:0 0 0 3px rgba(245,197,24,.25) !important}
html.itm-auth .regis .white-box .text-input-icon{position:static !important;flex:0 0 auto;margin:0 !important;padding:0 !important;color:#8a8a84;font-size:20px;line-height:1}
html.itm-auth .regis .white-box input.text-input{flex:1;min-width:0;width:auto !important;height:100% !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;font-size:16px !important;box-shadow:none !important}
html.itm-auth .itm-forgot{display:block;text-align:right;font-size:14px;margin:-4px 2px 14px}
html.itm-auth .regis.itm-auth-card form button.button{display:block;width:100% !important;max-width:none !important;flex:none !important;height:50px;margin:4px 0 0 !important;padding:0 !important;border-radius:12px !important;font:600 16px Mitr,sans-serif !important;text-transform:none !important;letter-spacing:0 !important}
html.itm-auth .regis.itm-auth-soc{margin-top:18px !important;text-align:center !important}
html.itm-auth .itm-or{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:13px;color:#8a8a84}
html.itm-auth .itm-or::before,html.itm-auth .itm-or::after{content:"";flex:1;height:1px;background:#dcdcd6}
html.itm-auth .regis.itm-auth-soc button.mobile-button{display:flex !important;align-items:center;justify-content:center;gap:8px;width:100% !important;max-width:none !important;flex:none !important;height:48px;margin:0 0 10px !important;padding:0 !important;border-radius:12px !important;font:600 15px Mitr,sans-serif !important;text-transform:none !important}
}
@media (max-width:767px){
/* 5) basket helper texts */
html.itm-mg-basket .itm-recv-sum small,html.itm-mg-basket .hc small,html.itm-mg-basket .qhd span{font-size:12px !important}
}


.itm-mbackdrop,.itm-mhead{display:none}
@media (max-width:991px){
html body #mobile-menu.res-side-menu:not(#itm-z){position:fixed !important;top:0 !important;bottom:0 !important;left:0 !important;right:auto !important;width:min(86vw,400px) !important;max-width:none !important;height:auto !important;margin:0 !important;padding:78px 14px 28px !important;box-sizing:border-box !important;overflow-x:hidden !important;overflow-y:auto !important;overscroll-behavior:contain;touch-action:pan-y;background:#fff !important;box-shadow:6px 0 28px rgba(0,0,0,.22);z-index:1002 !important;border-radius:0 16px 16px 0;transform:none !important;transition:none !important}
html.itm-mopen body > div:has(> #mobile-menu.res-side-menu){z-index:100000 !important}
html.itm-mopen .itm-mbackdrop{display:block;position:fixed;inset:0;z-index:1001;background:rgba(20,20,18,.45);touch-action:none;-webkit-tap-highlight-color:transparent}
html.itm-mopen button.itm-fab,html.itm-mopen #cmp-tray,html.itm-mopen #itm-totop{visibility:hidden !important}
html.itm-mopen .itm-mhead{display:flex;align-items:center;justify-content:space-between;position:fixed;top:0;left:0;width:min(86vw,400px);height:68px;z-index:1003;padding:0 12px 0 16px;box-sizing:border-box;background:#fff;border-bottom:3px solid #EBD412;border-radius:0 16px 0 0}
.itm-mhead .lg img{height:34px;width:auto;display:block}
.itm-mhead .itm-mclose{width:44px;height:44px;border:0;border-radius:10px;background:#e6e6e1;color:#333;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.itm-mhead .itm-mclose svg{width:22px;height:22px;fill:currentColor}
html body #mobile-menu.res-side-menu button.itm-m1t:not(#itm-z),html body #mobile-menu.res-side-menu button.itm-m3t:not(#itm-z){border-radius:8px !important}
}


.itm-auth-alt,.itm-auth-alt-h{display:none}
@media (max-width:991px){
html.itm-auth .itm-auth-sub{display:none !important}
html.itm-auth .itm-auth-alt-h{display:flex;align-items:center;gap:12px;margin:18px 0 12px;font-size:14px;color:#6b6b66}
html.itm-auth .itm-auth-alt-h::before,html.itm-auth .itm-auth-alt-h::after{content:"";flex:1;height:1px;background:#e4e4de}
html.itm-auth a.itm-auth-alt{display:flex;align-items:center;justify-content:center;gap:10px;height:50px;border:2px solid #1a1a1a;border-radius:12px;background:#fff;color:#1a1a1a !important;font:600 16px Mitr,sans-serif;text-decoration:none !important;box-sizing:border-box}
html.itm-auth a.itm-auth-alt:active{background:#fff8c4}
html.itm-auth a.itm-auth-alt svg{width:22px;height:22px;fill:currentColor}
/* forgot password page */
html.itm-auth-fp #main > .itm-auth-card{width:100% !important;max-width:460px !important;flex:none !important;margin:14px auto 0 !important;box-sizing:border-box;background:#fff !important;border-radius:16px;box-shadow:0 4px 18px rgba(0,0,0,.07);min-height:0 !important;padding:22px 18px 20px !important}
html.itm-auth-fp #main{padding:0 14px !important}
html.itm-auth-fp .itm-auth-card > .bg-amber-600,html.itm-auth-fp .itm-auth-card .divider,html.itm-auth-fp .itm-auth-card h2,html.itm-auth-fp .itm-auth-card h4,html.itm-auth-fp .itm-auth-card .mt2.p3 > p:not(.itm-fp-sub){display:none !important}
html.itm-auth-fp .itm-auth-card .mt2.p3{margin:0 !important;padding:0 !important}
html.itm-auth-fp .itm-auth-h{display:block;margin:0 0 6px;font:600 22px/1.3 Mitr,sans-serif;color:#1a1a1a}
html.itm-auth-fp .itm-fp-sub{display:block;margin:0 0 16px;font-size:14px;color:#6b6b66}
html.itm-auth-fp #send .white-box{display:flex !important;align-items:center;gap:10px;width:100% !important;max-width:none !important;flex:none !important;height:52px;margin:0 0 14px !important;padding:0 14px !important;box-sizing:border-box;background:#fff !important;border:1px solid #dcdcd6 !important;border-radius:12px !important;box-shadow:none !important}
html.itm-auth-fp #send .white-box:focus-within{border-color:#f5c518 !important;box-shadow:0 0 0 3px rgba(245,197,24,.25) !important}
html.itm-auth-fp #send .text-input-icon{position:static !important;margin:0 !important;padding:0 !important;color:#8a8a84;font-size:20px;line-height:1}
html.itm-auth-fp #send input.text-input{flex:1;min-width:0;width:auto !important;height:100% !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;font-size:16px !important;box-shadow:none !important}
html.itm-auth-fp #send button.button{display:block;width:100% !important;max-width:none !important;flex:none !important;height:50px;margin:0 !important;padding:0 !important;border:0;border-radius:12px !important;background:#EBD412 !important;color:#1a1a1a !important;font:600 16px Mitr,sans-serif !important;text-transform:none !important;letter-spacing:0 !important}
html.itm-auth-fp #check p{border-radius:10px;margin:0 0 12px;font-size:14px}
html.itm-auth-fp .itm-fp-back{display:block;margin:16px 0 0;text-align:center;font-size:15px;font-weight:600;color:#8a6d00 !important;text-decoration:none}
}


@media (max-width:991px){
div.mobile-container:has(> p[class*="level-"] > span.border){border:0 !important;border-radius:12px;padding:12px 14px 6px !important}
p[class*="level-"]:has(> span.border){margin:0 !important;padding:0 !important;line-height:1.5}
p[class*="level-"] > span.p1.mr1.border:not(#itm-z){display:inline-block !important;background:transparent !important;border:0 !important;border-radius:0 !important;padding:2px 0 !important;margin:0 14px 6px 0 !important;font-size:13px !important;box-shadow:none !important}
p[class*="level-"] > span.p1.mr1.border:not(#itm-z) > a{color:#5a5a55 !important;font-weight:400 !important;text-decoration:none !important}
p[class*="level-"] > span.p1.mr1.border:not(#itm-z) > a::before{content:"#";margin-right:1px;color:#a8960a;font-weight:600}
html body .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z){height:auto !important;min-height:116px !important;flex-direction:column !important;justify-content:flex-start !important;align-items:center !important;gap:6px !important;padding:10px 4px 8px !important}
html body .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z) > span.lg{order:1;flex:none !important;width:100% !important;height:60px !important;margin:0 !important;display:flex !important;align-items:center !important;justify-content:center !important}
html body .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z) > span.lg img{width:60px !important;height:60px !important;max-width:none !important;max-height:none !important;object-fit:contain !important}
html body .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z) > span.t{order:2;position:static !important;inset:auto !important;transform:none !important;width:100% !important;height:auto !important;margin:0 !important;padding:0 3px !important;box-sizing:border-box;font-size:12px !important;line-height:1.3 !important;text-align:center !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden !important}
html body .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z) > span.n{position:absolute !important;top:4px !important;right:4px !important;left:auto !important;bottom:auto !important;width:auto !important;height:16px !important;min-width:16px;padding:0 5px !important;box-sizing:border-box;border-radius:8px;background:#f1f1ec;color:#77776f !important;font-size:10px !important;line-height:16px !important;text-align:center}
html.itm-auth #itm-authbar{height:68px !important;justify-content:flex-start !important;padding-left:70px !important;box-sizing:border-box;border-bottom:3px solid #EBD412 !important}
html.itm-auth #itm-authbar .bk{left:12px !important;top:12px !important;width:41px !important;height:41px !important;border-radius:8px !important;background:#e6e6e1 !important}
html.itm-auth #itm-authbar .lg img{height:34px !important;width:auto !important}
}


.itm-ups-m,.itm-minfo{display:none}
@media (max-width:991px){
.itm-ups-m{display:block;margin:4px 8px 16px;padding:14px 14px 6px;background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.itm-ups-m #itm-ups{display:block !important;margin:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important;background:transparent !important;width:auto !important}
.itm-ups-m #itm-ups .h{font-size:16px !important;font-weight:600}
/* ITM-MPARITY-V1-1: the PC panel hides rows that do not fit its height; on phones show them all (up to 6), bigger tap targets */
.itm-ups-m #itm-ups-ls > .r{display:grid !important;grid-template-columns:56px minmax(0,1fr) auto !important;gap:12px !important;padding:8px 0 !important;border-top:1px solid #f0f0ec}
.itm-ups-m #itm-ups-ls > .r:first-child{border-top:0}
.itm-ups-m #itm-ups-ls > .r:nth-child(n+7){display:none !important}
.itm-ups-m #itm-ups-ls > .r > a.im{width:56px !important;height:56px !important}
.itm-ups-m #itm-ups-ls > .r .t b{font-size:14px !important;font-weight:400 !important;line-height:1.35 !important}
.itm-ups-m #itm-ups-ls > .r .t span{font-size:14px !important}
.itm-ups-m #itm-ups-ls > .r button.add{width:40px !important;height:40px !important}
.mobile-product-detail .itm-vid-on iframe{display:block;margin:0 auto;max-width:100% !important;height:auto !important;max-height:72vh;border-radius:10px}
.itm-vtab{display:inline-flex !important;align-items:center;gap:6px}
.itm-vtab svg{width:16px;height:16px;fill:currentColor;flex:none}
.res-side-menu .itm-ct{margin-bottom:12px !important}
.res-side-menu .itm-minfo{display:block;margin:4px 0 48px;padding-top:6px;border-top:1px solid #ecebe4}
.itm-minfo .hd{margin:12px 2px 6px;font-size:12px;color:#8a8a84;font-weight:600}
.itm-minfo a.rw{display:flex !important;align-items:center;gap:12px;min-height:46px;padding:0 6px !important;border-radius:10px;color:#1a1a1a !important;text-decoration:none !important;font-size:15px}
.itm-minfo a.rw:active{background:#fff8c4}
.itm-minfo a.rw > i{flex:0 0 34px;width:34px;height:34px;border-radius:8px;background:#f4f4f1;display:flex;align-items:center;justify-content:center}
.itm-minfo a.rw > i svg{width:19px;height:19px;fill:#5a5a55}
.itm-minfo a.rw > span{flex:1;line-height:1.25}
.itm-minfo a.rw > span small{display:block;font-size:12px;color:#8a8a84}
.itm-minfo a.rw > b{font-weight:400;color:#b0b0a8;font-size:18px}
.itm-minfo .so{display:flex;gap:10px;margin:10px 2px 0}
.itm-minfo .so a{flex:1;display:flex !important;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:10px;color:#fff !important;text-decoration:none !important;font-weight:600;font-size:14px}
.itm-minfo .so a svg{width:20px;height:20px;fill:#fff}
.itm-minfo .so a.fb{background:#1877f2}
.itm-minfo .so a.yt{background:#e62117}
}


@media (max-width:991px){
html body .itm-chbox .itm-ch:not(#itm-z){flex-wrap:nowrap !important;align-items:center !important;gap:12px}
html body .itm-chbox .itm-ch:not(#itm-z) > .ci{margin:0 !important}
html body .itm-chbox .itm-ch:not(#itm-z) > h1{flex:1 1 auto !important;min-width:0 !important;margin:0 !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.3 !important}
html body .itm-chbox .itm-ch:not(#itm-z) > .itm-sibw{flex:0 0 auto !important;order:20 !important;margin:0 0 0 auto !important;width:auto !important}
html body .itm-chbox .itm-sibw .itm-sibbtn:not(#itm-z){width:44px !important;height:44px !important;min-width:44px !important;padding:0 !important;margin:0 !important;border-radius:10px !important;font-size:0 !important;line-height:0 !important;display:flex !important;align-items:center;justify-content:center;background:#fff !important;border:1px solid #dcdcd6 !important;color:#333 !important;box-shadow:none !important}
html body .itm-chbox .itm-sibw .itm-sibbtn:not(#itm-z) > *{display:none !important}
html body .itm-chbox .itm-sibw .itm-sibbtn:not(#itm-z)::before{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z'/%3E%3C/svg%3E") center/contain no-repeat}
html body .itm-chbox .itm-sibw .itm-sibbtn[aria-expanded="true"]:not(#itm-z){background:#EBD412 !important;border-color:#EBD412 !important;color:#1a1a1a !important}
}


.itm-mtop,.itm-fq{display:none}
.itm-media.itm-media > div.itm-vtab.select-frame,.itm-media.itm-media > div.itm-vtab.select-frame > span{color:#fff !important}
.itm-media.itm-media > div.itm-vtab.select-frame > svg{fill:#fff !important}
@media (max-width:991px){
/* head: brand + SKU row, then name | icon */
html body .product-box-head:has(> .itm-mtop):not(#itm-z){display:grid !important;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start;position:relative;padding:14px 14px 10px !important}
html body .product-box-head:has(> .itm-mtop) > *{grid-column:1 / -1}
html body .product-box-head:has(> .itm-mtop) > .divider{display:none !important}
.product-box-head > .itm-mtop{display:flex;grid-row:1;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px;min-height:32px}
html body .product-box-head > .itm-mtop .itm-brand:not(#itm-z){display:flex !important;align-items:center;height:32px;width:auto !important;max-width:120px;flex:none;margin:0 !important;padding:0 !important}
html body .product-box-head > .itm-mtop .itm-brand img:not(#itm-z){height:28px !important;width:auto !important;max-width:120px !important;max-height:28px !important;object-fit:contain;margin:0 !important}
.itm-mtop .sku{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;box-sizing:border-box;border:1px dashed #c9c9c0;border-radius:8px;background:#fafaf7;font-size:14px;color:#55554f;cursor:pointer;white-space:nowrap}
.itm-mtop .sku b{color:#1a1a1a;font-weight:600}
.itm-mtop .sku i{font-style:normal;color:#9a9a92;font-size:13px}
html body .product-box-head:has(> .itm-mtop) > div:has(> h1){grid-column:1 !important;grid-row:2}
html body .product-box-head:has(> .itm-mtop) h1:not(#itm-z){margin:0 !important;font-size:21px !important;line-height:1.38 !important;font-weight:500 !important;overflow-wrap:anywhere}
html body .product-box-head:has(> .itm-mtop) > .itm-catnav:not(#itm-z){grid-column:2 !important;grid-row:2;position:static !important;display:block !important;margin:0 !important;width:auto !important}
html body .product-box-head:has(> .itm-mtop) .itm-cn-btn:not(#itm-z){width:44px !important;height:44px !important;min-width:44px !important;padding:0 !important;margin:0 !important;border-radius:10px !important;display:flex !important;align-items:center;justify-content:center;background:#fff !important;border:1px solid #dcdcd6 !important;color:#333 !important;box-shadow:none !important}
html body .product-box-head:has(> .itm-mtop) .itm-cn-btn:not(#itm-z) > :not(svg){display:none !important}
html body .product-box-head:has(> .itm-mtop) .itm-cn-btn:not(#itm-z) > svg{width:20px !important;height:20px !important;margin:0 !important;fill:currentColor}
html body .product-box-head:has(> .itm-mtop) .itm-cn-btn[aria-expanded="true"]:not(#itm-z){background:#EBD412 !important;border-color:#EBD412 !important;color:#1a1a1a !important}
html body .product-box-head:has(> .itm-mtop) .itm-cn-dd:not(#itm-z){left:12px !important;right:12px !important;width:auto !important;top:100% !important;margin-top:-4px !important;z-index:50 !important}
/* buy box: brand/SKU moved up; sticker on the photo hidden */
html body .itm-buy .itm-meta > .itm-brand.itm-up,html body .itm-buy .itm-meta > .sku.itm-up{display:none !important}
html body .mobile-product-detail #price-label:not(#itm-z){display:none !important}
/* ITM-MPROD-V1-1: "iToolmart | SKU | price" pill on the photo, same as PC, so customers' cropped screenshots in LINE show the model (hidden while the video tab is open) */
html body .mobile-product-detail .itm-cropid:not(#itm-z){display:flex !important;font-size:13px;height:30px;margin:-40px 0 10px 10px}
html body .mobile-product-detail #image_show[style*="none"] ~ .itm-cropid:not(#itm-z){display:none !important}
/* feature icons: one tidy row */
html body .itm-buy .itm-ts:not(#itm-z){display:flex !important;flex-wrap:wrap;gap:8px;margin:12px 0 !important}
html body .itm-buy .itm-ts:not(#itm-z) > span{width:64px !important;height:64px !important;flex:none;box-sizing:border-box;padding:3px;border:1px solid #e4e4de;border-radius:10px;background:#fff;overflow:hidden;align-items:center;justify-content:center}
html body .itm-buy .itm-ts:not(#itm-z) > span img{width:100% !important;height:100% !important;object-fit:contain}
/* in-page buy row hidden once the bottom bar has the stepper */
html.itm-mp-ft body .itm-buy div:has(> #quantity):has(> #buy){display:none !important}
/* bottom bar: stepper | cart | LINE */
html body #mobile-menu.bottom-menu > .itm-fq{display:flex;flex:none;align-items:stretch;width:104px;height:46px;box-sizing:border-box;border:1px solid #d6d6cf;border-radius:10px;background:#fff;overflow:hidden}
html body #mobile-menu.bottom-menu:has(> button#buy.ng-hide) > .itm-fq{display:none !important}
.itm-fq button{flex:0 0 32px;border:0;background:#f4f4ef;color:#1a1a1a;font:600 20px/1 sans-serif;padding:0;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.itm-fq button:active{background:#e8e8e0}
.itm-fq button:disabled{color:#c4c4bc}
.itm-fq input{flex:1;min-width:0;width:100%;border:0 !important;margin:0 !important;padding:0 !important;text-align:center;font:600 17px Mitr,sans-serif;color:#1a1a1a;background:#fff;-moz-appearance:textfield;box-shadow:none !important;height:100% !important}
.itm-fq input::-webkit-outer-spin-button,.itm-fq input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html body #mobile-menu.bottom-menu > button#buy:not(#itm-z){flex:1.25 1 0 !important;min-width:0 !important;white-space:nowrap}
html body #mobile-menu.bottom-menu > a.itm-flb:not(#itm-z){flex:1 1 0 !important;min-width:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:6px !important;padding:0 8px !important;background:#06C755 !important;color:#fff !important;font-size:0 !important;border-radius:10px !important;height:46px !important;white-space:nowrap;text-decoration:none !important}
html body #mobile-menu.bottom-menu > a.itm-flb > img{display:none !important}
.itm-flb .itm-flb-t{font:700 16px Mitr,sans-serif;color:#fff}
.itm-flb svg{width:30px;height:28px;flex:none}
}
@media (max-width:380px){
html body #mobile-menu.bottom-menu > .itm-fq{width:92px}
.itm-fq button{flex-basis:28px}
html body #mobile-menu.bottom-menu > button#buy:not(#itm-z) > i{display:none !important}
.itm-flb .itm-flb-t{font-size:15px}
.itm-flb svg{width:26px;height:24px}
}


.itm-gx{display:none}
@media (max-width:991px){
/* bigger brand logo */
html body .product-box-head > .itm-mtop .itm-brand:not(#itm-z){height:42px;max-width:180px}
html body .product-box-head > .itm-mtop .itm-brand img:not(#itm-z){height:40px !important;max-height:40px !important;max-width:180px !important}
/* photo swipe: counter + arrows over the main photo */
html body .mobile-product-detail .product-image > .itm-gx{display:flex;position:absolute;z-index:4;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.product-image > .itm-gx.cnt{top:calc(var(--itm-gt,0px) + 10px);right:12px;height:26px;min-width:44px;padding:0 10px;border-radius:13px;background:rgba(26,26,26,.72);color:#fff;font:600 13px/1 Mitr,sans-serif;letter-spacing:.02em;pointer-events:none}
.product-image > .itm-gx.ar{top:calc(var(--itm-gt,0px) + var(--itm-gh,300px) / 2 - 20px);width:40px;height:40px;padding:0;margin:0;border:1px solid rgba(0,0,0,.08);border-radius:50%;background:rgba(255,255,255,.88);box-shadow:0 2px 8px rgba(0,0,0,.12);color:#1a1a1a;cursor:pointer}
.product-image > .itm-gx.ar svg{width:22px;height:22px;fill:currentColor}
.product-image > .itm-gx.pv{left:8px}
.product-image > .itm-gx.nx{right:8px}
.product-image > .itm-gx.ar:active{background:#fff8c4}
html body .mobile-product-detail #image_show[style*="none"] ~ .itm-gx:not(#itm-z){display:none !important}
html body .mobile-product-detail .product-image.itm-g1 > .itm-gx:not(#itm-z){display:none !important}
#image_show.itm-gsw{transition:transform .2s ease,opacity .2s ease}
#product-image-preview .image-list-gallery.itm-gon{outline:2px solid #EBD412;outline-offset:-2px;border-radius:10px}
/* spare-parts tile like PC */
html body .itm-thwrap.has-sp{overflow:visible !important}
html body .itm-thwrap.has-sp > a.itm-spl.tile:not(#itm-z){position:relative !important;overflow:visible !important;border:1.5px solid #EBD412 !important;background:#fffbe0 !important;color:#1a1a1a !important;box-shadow:none !important;font-weight:700 !important}
html body .itm-thwrap.has-sp > a.itm-spl.tile:not(#itm-z) svg{fill:#1a1a1a !important}
body.itm-spm-m .itm-thwrap.has-sp > a.itm-spl.tile::before{content:"";position:absolute;left:-18%;bottom:100%;width:118%;aspect-ratio:180/150;transform:translateY(14.1%);background:url(/assets/images/itm-mascot-wave-anim-v1.avif) center bottom/100% 100% no-repeat;pointer-events:none;z-index:3}
body.itm-spm-ms .itm-thwrap.has-sp > a.itm-spl.tile::before{content:"";position:absolute;left:50%;bottom:calc(100% - 10px);width:70px;height:74px;transform:translateX(-44%);background:url(/assets/images/itm-mascot-wave.webp) center bottom/contain no-repeat;pointer-events:none;z-index:3}
/* combo set: PC design laid out for a phone */
html body #setProduct.itm-cb:not(.ng-hide):not(.hidden):not(#itm-z){display:block !important;width:100% !important;max-width:none !important;padding:16px 14px 16px !important;border-radius:0;overflow:hidden !important}
html body #setProduct.itm-cb .itm-cb-h h3{font-size:18px !important}
html body #setProduct.itm-cb .itm-cb-h span{font-size:12.5px !important}
html body #setProduct.itm-cb .itm-cb-row{flex-direction:column;align-items:stretch;gap:12px;margin-top:12px}
html body #setProduct.itm-cb .itm-cb-items{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}
html body #setProduct.itm-cb .itm-cb-items::-webkit-scrollbar{display:none}
html body #setProduct.itm-cb .itm-cb-it{flex:0 0 128px;padding-left:24px}
html body #setProduct.itm-cb .itm-cb-it:first-child{padding-left:0}
html body #setProduct.itm-cb .itm-cb-plus{top:50px;width:24px;font-size:22px !important}
html body #setProduct.itm-cb .itm-cb-card{width:128px;height:128px;border-radius:10px}
html body #setProduct.itm-cb .itm-cb-ck{width:26px;height:26px;top:6px;right:6px}
html body #setProduct.itm-cb .itm-cb-tx{width:128px;margin-top:8px;font-size:13px !important;line-height:1.38}
html body #setProduct.itm-cb .itm-cb-pr{font-size:16px !important}
html body #setProduct.itm-cb .itm-cb-sum{flex:none;display:flex;align-items:center;gap:12px;padding:12px 0 0;border-top:1px solid #ecece6;text-align:left}
html body #setProduct.itm-cb .itm-cb-tt{flex:0 0 auto;display:flex;flex-direction:column;font-size:13px !important;color:#55554f;line-height:1.2}
html body #setProduct.itm-cb .itm-cb-tt b{margin:2px 0 0 !important;font-size:21px !important;color:#111}
html body #setProduct.itm-cb .itm-cb-btn{flex:1 1 auto;width:auto;margin:0;height:48px;padding:0 12px;border-radius:10px;background:#EBD412;font:700 15px Mitr,sans-serif !important}
}
@media (max-width:991px) and (prefers-reduced-motion:reduce){#image_show.itm-gsw{transition:none}}


@font-face{font-family:"ITM Price";src:url(data:font/woff2;base64,d09GMgABAAAAAAXwAA8AAAAACogAAAWYAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG4EgHCoGYD9TVEFUKgBCEQgKiTSHfQE2AiQDOAseAAQgBYQ2ByAMBxupCFGUME4CyY8D5/QW44giIrVNEY5NVyiSV15hv+F/8PA/7r0PH9KU/lmaM5jXpeRG1eU5LzKxbhUKfWdJb/p3s15gtWISPEjN8WqgBLyiiGVoasK6KrK7d057f2J/imyyw7B1j99vEh/JmmjnN0rzSsiUchz4IeKzJqppUOJCcovzUpbXQtwrnS86RTnKpUR92Dr1UwjASRkeUmNzAwbCxroJBwhDw+vAmzTa73KAeZBo0EgSkqLsh61U4KgkpGIAYf216HV2HHiQ2AC7+UOh8dM+JyZR5ezweGU+sZh15po9IKLnC4Gddk7RugJVkDArvVurF5VnNljC+hzALjyMvMLLz0hLAf5P8oPgHkUlN/TfCnAIecjTqGoLlfITdi76dRAGAWmkmUETAQFAkoMQdpXH5UCxsSlCjVlUMusEBJJKJdPPFXHkm817BFYA3HhwIRDGCAfACwOeBwgBYhwgqxTTLkkiC0ofOrAiR8dEzIULg2dRYmEmPSLC/XRI7Kw291d+f/BKr/czmPrk8QSt8Pm+dE15vcEr/X7I7fMFrfB4RjFyV/BwyGgyyBPTudXvb8S8YPBzPZQUQY6ok6N7v0GTyL8MsW2lqms3exAJghLhy4fYy3PvnUsYnRVMCiKFkMPI1hZykMa4/fzt53wnp/tWQmdbZChgW1+2Tt5WIT3AG13Zxx8ht19tDO3eetUw+VFgyusdjQRDPhFm54GlF9A9zgTmNaN0K98+hNwP3jQUvrrX6f7rNqoSbNx0Cc9Tf7/u1v5iHSs4YNCQEYzxYKqbfn/6ofportKTw0mZG06owY6Tj5UOvLhi20k1OHFdTd62/3E97hCRHfvxaP21BcgRrYwvkEcwj7oHmce0egFf/ENBjoPQg/YXPdJln/aA2VQDyCaSy/UVlfJMQSxlWUqmos461nOVP7n9gdq2jLmlUl2zo3cRYbE0SOj8lyxP1OJO/jrzXvfKFZpFxQ1oFSAfCr4jtPa1HCmzjz/X9x8jqhhmgVjva2msmlC5Fz75EV+/02sb3Rstrdy1g2dAq/J5EpgiRNi3pemspL+y4Ds0uEAqrWHy0wNPJaBIRJ3egeyI08clR/3wf3GggHQnHwjX7/lwcAPcpOhsapBr6tjCjO14imng5hxWIPO6Mq4pCum4gg1e2wQ2L/zyff8a22Fev6LRIgGUwGDPbePY45XLl3wMDK1YOe1c5tt20jbNl5VPbl75dGg3h+CiCCLjchAUZXM5cjaCcriITI6AObHUr36CPfyJXMXfIvT4RYGu1ecIXanbqKtOT22sY/TW24Z2PseGx55gfTttuGFMyqpO79WVuXXEynOBrkVMynQbDLdNU+CZVhhunaGkZm9gZOfQNmTnHKDlZNMPgrWrni7dA3ffGaV4VeBJJ6wzAlnZZNAjLspmo1wugsoQC8qHYKCAHgPS4psJohnTTOHD9C8HCQPNLhxvRa8u3FRPU3XxFDVi7NskuNrYpSsq0GgLtGH6omICAAQgWTr+Gn3a5iv/tpNtjwAv3odZALw9hVT///y32uy2XABWZEPnWxax3TOEv6sdgEh/ziu/teyUrO4TrlfFTECorjH/uobkOeBMiXxWCvDzsqtD0yaw/sowCPDSpanZz9GkqJyDcTRFO4Br8JygwQNO4uWXU3QmaLXmcRaSUWmt1ATXEeAWJ28UdoK5QMAJN8zFzMiEkIGHU4D2YSS/Z2KDHh2M+gmJAv46F0IHhwwyLk4WPbq6yNbohz4TnXXpoyRUpiwBdxNLsbEZmVnA7emE6PJ9dmzEgKttDqpY71yynaVvAluhTQ8XQWb0OpEhBJcOfE423Zr1NCVboz4eBGfxPWWaoEW7SJmc6zyd62MxFS7fziHn8J7uV6JLpnYf0UKMOJnUltkFT/8zyKyc6h0=) format("woff2");font-weight:800;font-style:normal;font-display:swap;unicode-range:U+0030-0039,U+002C-002E}
/* price */
html body .itm-buy h3.number-price.itm-pz:not(#itm-z){display:flex !important;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:2px;line-height:1.1 !important;margin:6px 0 4px !important}
html body .itm-buy h3.number-price.itm-pz > span.itm-pl:not(#itm-z){font:600 16px Mitr,sans-serif !important;color:#55554f !important;margin:0 !important;vertical-align:baseline}
html body .itm-buy h3.number-price.itm-pz > span.itm-pn:not(#itm-z){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:800 !important;font-size:48px !important;line-height:1;letter-spacing:-.01em;color:#111 !important;margin:0 !important;vertical-align:baseline;padding:0 4px;background:linear-gradient(transparent 60%,rgba(235,212,18,.6) 60%,rgba(235,212,18,.6) 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;font-variant-numeric:lining-nums}
html body .itm-buy h3.number-price.itm-pz > span.itm-pu:not(#itm-z){font:700 20px Mitr,sans-serif !important;color:#111 !important;margin:0 !important;vertical-align:baseline}
html body .itm-buy h3.number-price.itm-pz > br{display:none}
html body .itm-buy h3.number-price.itm-pz > span:not([class]){flex-basis:100%;margin:2px 0 0 !important;font-size:12px !important;line-height:1.3;color:#c62828}
@media (max-width:991px){
html body .itm-buy h3.number-price.itm-pz > span.itm-pn:not(#itm-z){font-size:44px !important}
html body .itm-buy h3.number-price.itm-pz > span.itm-pl:not(#itm-z){font-size:15px !important}
html body .itm-buy h3.number-price.itm-pz > span.itm-pu:not(#itm-z){font-size:19px !important}
/* photo pill: code | price only, smaller, see-through */
html body .mobile-product-detail .itm-cropid.itm-cz:not(#itm-z){height:24px;margin:-32px 0 8px 8px;padding:0 9px;gap:5px;font-size:11.5px;background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(0,0,0,.06)}
html body .mobile-product-detail .itm-cropid.itm-cz > b:first-child,html body .mobile-product-detail .itm-cropid.itm-cz > i:first-of-type,html body .mobile-product-detail .itm-cropid.itm-cz > .itm-ck{display:none !important}
html body .mobile-product-detail .itm-cropid.itm-cz > i{color:rgba(0,0,0,.25)}
/* same-category row: swipeable */
html body #itm-rel .vp:not(#itm-z){overflow-x:auto !important;overflow-y:hidden !important;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
html body #itm-rel .vp::-webkit-scrollbar{display:none}
html body #itm-rel .tr:not(#itm-z){animation:none !important;transform:none !important;width:max-content !important}
}
@media (max-width:380px){html body .itm-buy h3.number-price.itm-pz > span.itm-pn:not(#itm-z){font-size:40px !important}}


/* tags */
html body #main > .product > div:has(> a > button.tag){display:flex !important;flex-wrap:wrap;gap:4px 14px;padding:10px 4px 4px;line-height:1.4}
html body #main > .product > div > a:has(> button.tag){text-decoration:none !important}
html body #main button.tag:not(#itm-z){all:unset;display:inline-block;font:400 13px/1.5 Mitr,sans-serif !important;padding:0 !important;margin:0 !important;color:#5a5a55;cursor:pointer;-webkit-tap-highlight-color:transparent}
html body #main button.tag:not(#itm-z)::before{content:"#";margin-right:1px;color:#a8960a;font-weight:600}
html body #main a:hover > button.tag:not(#itm-z){color:#1a1a1a;text-decoration:underline}
html body #main a[href*="/tag/1/x__"],html body #main button.tag.ng-binding:not(#itm-z){display:none !important}
/* reviews: cards */
#comment-box > .row.bg-white{border-radius:14px;padding:16px !important;margin-top:12px !important;box-shadow:0 1px 6px rgba(0,0,0,.05)}
#comment-box .comment-box-send.message > p:first-child{margin:0 0 10px !important;font:700 17px Mitr,sans-serif;color:#1a1a1a}
#comment-box .comment-box-send.message > hr{display:none}
/* score bars */
#comment-box .score-bar{display:grid !important;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;margin:0 0 8px !important;height:auto !important;background:none !important}
#comment-box .score-bar::after{content:"";grid-column:2;grid-row:1;height:8px;border-radius:4px;background:#efefe9}
#comment-box .score-bar > .inner-star{grid-column:1;grid-row:1;display:flex !important;align-items:center;gap:2px;width:auto !important;float:none !important;margin:0 !important}
#comment-box .score-bar > .inner-star > span{min-width:22px;text-align:right;font:600 13px Mitr,sans-serif !important;color:#55554f}
#comment-box .score-bar > .rate-bar{grid-column:2;grid-row:1;justify-self:start;height:8px !important;border-radius:4px;background:#f5c518 !important;z-index:1;margin:0 !important;max-width:100%}
#comment-box .rating-star-icon{font-size:15px !important;line-height:1;color:#f5c518 !important}
#comment-box .rating-star-icon.icon-star-outline{color:#d9d9d2 !important}
/* write a review */
#comment-box .comment-box-send.message p[ng-show="loadComment == false"]:not([style]){margin:0 0 10px !important;font:700 17px Mitr,sans-serif;color:#1a1a1a}
#comment-box p:has(> .star-rate){display:flex !important;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 12px !important;padding:12px 14px !important;border:1px solid #ecece6 !important;border-radius:12px !important;background:#fafaf7 !important;font:600 14px Mitr,sans-serif;color:#33332f}
#comment-box p:has(> .star-rate) > .star-rate{font-size:30px !important;line-height:1;color:#d0d0c8;padding:2px;-webkit-tap-highlight-color:transparent}
#comment-box p:has(> .star-rate) > .star-rate.icon-star{color:#f5c518}
#comment-box p:has(> .star-rate) > span{flex-basis:100%;font-size:13px;font-weight:400;color:#77776f}
#comment-box div:has(> #comment_file){position:relative;margin:0 0 12px;padding:12px 14px !important;border:1.5px dashed #d6d6cf;border-radius:12px;background:#fff !important;box-sizing:border-box}
#comment-box div:has(> #comment_file)::before{content:"แนบรูปสินค้า (สูงสุด 4 รูป)";display:block;margin-bottom:8px;font:600 13px Mitr,sans-serif;color:#55554f}
#comment-box #comment_file{max-width:100%;width:100% !important;font:13px Mitr,sans-serif;color:#77776f;background:transparent !important;border:0 !important;padding:0 !important}
#comment-box #comment_file::file-selector-button{margin-right:10px;padding:8px 14px;border:1px solid #d6d6cf;border-radius:8px;background:#fff;font:600 13px Mitr,sans-serif;color:#1a1a1a;cursor:pointer}
#comment-box #text-comment{display:block;width:100% !important;max-width:100% !important;height:110px !important;box-sizing:border-box;margin:0 0 12px;padding:12px 14px !important;border:1px solid #d6d6cf !important;border-radius:12px !important;background:#fff;font:15px/1.5 Mitr,sans-serif;color:#1a1a1a;resize:vertical;box-shadow:none !important;outline:none}
#comment-box #text-comment:focus{border-color:#EBD412 !important;box-shadow:0 0 0 3px rgba(235,212,18,.3) !important}
#comment-box button[ng-click="sendMessage()"]:not(#itm-z),#comment-box button[ng-click="textmessage =''"]:not(#itm-z){display:inline-flex;align-items:center;justify-content:center;height:48px;margin:0 !important;padding:0 16px !important;border-radius:10px !important;box-shadow:none !important;font:700 16px Mitr,sans-serif !important;text-transform:none !important;vertical-align:top}
#comment-box button[ng-click="sendMessage()"]:not(#itm-z){width:calc(64% - 9px) !important;margin-right:10px !important;background:#EBD412 !important;color:#1a1a1a !important;border:0 !important}
#comment-box button[ng-click="textmessage =''"]:not(#itm-z){width:calc(36% - 9px) !important;background:#fff !important;color:#55554f !important;border:1px solid #d6d6cf !important;font-weight:600 !important}
/* review list */
#comment-box button[ng-click="prevCommentPage()"]:not(#itm-z),#comment-box button[ng-click="nextCommentPage()"]:not(#itm-z),#comment-box span[ng-bind="commentPage"]:not(#itm-z){display:inline-flex !important;align-items:center;justify-content:center;min-width:36px;height:36px;box-sizing:border-box;margin:8px 4px 0 0 !important;padding:0 8px !important;border:1px solid #d6d6cf !important;border-radius:8px !important;background:#fff !important;font:600 14px Mitr,sans-serif !important;vertical-align:middle}
#comment-box .image-comment-list img{border-radius:8px}
/* ITM-MPROD-V4-1 */ #comment-box button[ng-click*="starType ="]:not(#itm-z){height:34px;margin:8px 4px 0 0 !important;padding:0 10px !important;border:1px solid #d6d6cf !important;border-radius:999px !important;background:#fff !important;font:600 13px Mitr,sans-serif !important;color:#33332f}
#comment-box button[ng-click*="starType ="][style*="yellow"]:not(#itm-z){background:#EBD412 !important;border-color:#EBD412 !important;color:#1a1a1a}
#comment-box p:has(> i.icon-star.ng-scope){width:auto !important;display:inline-flex !important;gap:1px;margin:0 0 6px !important;padding:0 !important;border:0 !important;background:none !important}
#comment-box p:has(> i.icon-star.ng-scope) > i{color:#f5c518;font-size:16px !important}
#comment-box .row[ng-repeat] img[src*="/avatar/"]{border:0 !important;border-radius:50% !important;background:#f1f1ec !important}
@media (max-width:767px){
#comment-box .comment-box-send.avatar{display:none !important}
#comment-box .comment-box-send.message[style*="width:80%"]{float:none !important;width:100% !important}
#comment-box .row[ng-repeat] > div:first-child{flex:0 0 44px !important;margin-right:12px !important}
}


@media (min-width:600px){
/* fit1: gaps + icons */
html body .itm-pdp .itm-buy.itm-fit1 .itm-recv-line{margin:4px 0 !important}
html body .itm-pdp .itm-buy.itm-fit1 dl.itm-plate{margin:6px 0 6px !important}
html body .itm-pdp .itm-buy.itm-fit1 .itm-ts{gap:6px !important;margin:0 0 4px !important}
html body .itm-pdp .itm-buy.itm-fit1 ul.itm-sd{margin:4px 0 4px !important}
html body .itm-pdp .itm-buy.itm-fit1 h3.number-price.itm-pz > span.itm-pn:not(#itm-z){font-size:40px !important}
/* fit2: tighter rows */
html body .itm-pdp .itm-buy.itm-fit2 dl.itm-plate > div{padding:4px 12px 5px !important}
html body .itm-pdp .itm-buy.itm-fit2 ul.itm-sd li{line-height:1.3 !important}
html body .itm-pdp .itm-buy.itm-fit2 .itm-recv-line{min-height:0 !important;padding-top:4px !important;padding-bottom:4px !important}
html body .itm-pdp .itm-buy.itm-fit2 h3.number-price.itm-pz{margin:2px 0 2px !important}
html body .itm-pdp .itm-buy.itm-fit2 h3.number-price.itm-pz > span:not([class]):not(#itm-z){flex-basis:auto !important;margin:0 0 0 4px !important;align-self:center}
/* fit3: chips in one sliding row, smaller price */
html body .itm-pdp .itm-buy.itm-fit3 > ul.itm-chips{flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none}
html body .itm-pdp .itm-buy.itm-fit3 > ul.itm-chips::-webkit-scrollbar{display:none}
html body .itm-pdp .itm-buy.itm-fit3 > ul.itm-chips > li{flex:none !important;white-space:nowrap}
html body .itm-pdp .itm-buy.itm-fit3 h3.number-price.itm-pz > span.itm-pn:not(#itm-z){font-size:34px !important}
html body .itm-pdp .itm-buy.itm-fit3 ul.itm-sd li{font-size:12.5px !important}
/* ITM-MPROD-V5-1: no fade over the last line (overflow is handled by fit/scroll now) */
html body .itm-pdp .itm-buy > .p2.pl3::after{display:none !important}
/* last resort: scroll inside instead of cutting off */
html body .itm-pdp .itm-buy.itm-fitsc > .p2.pl3{overflow-y:auto !important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d6d6cf transparent}
html body .itm-pdp .itm-buy.itm-fitsc > .p2.pl3::after{display:none !important}
html body .itm-pdp .itm-buy.itm-fitsc > .p2.pl3::-webkit-scrollbar{width:6px}
html body .itm-pdp .itm-buy.itm-fitsc > .p2.pl3::-webkit-scrollbar-thumb{background:#d6d6cf;border-radius:3px}
}

/* ITM-MPROD-V5-1 (26 Nov 2026): feature icons one fixed size on every product page — 44px on PC/tablet, 56px on phones (never shrunk by the fit steps) */
html body .itm-pdp .itm-buy .itm-ts:not(#itm-z){display:flex !important;flex-wrap:wrap !important;gap:6px !important}
html body .itm-pdp .itm-buy .itm-ts:not(#itm-z) > span:not(#itm-z){flex:0 0 auto !important;width:44px !important;height:44px !important;padding:0 !important;border:0 !important;border-radius:6px !important;background:transparent !important;box-sizing:border-box !important;overflow:hidden !important;display:flex !important;align-items:center !important;justify-content:center !important}
html body .itm-pdp .itm-buy .itm-ts:not(#itm-z) > span:not(#itm-z) img{width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:contain !important;margin:0 !important}
@media (max-width:599px){html body .itm-pdp .itm-buy .itm-ts:not(#itm-z) > span:not(#itm-z){width:56px !important;height:56px !important}html body .itm-pdp .itm-buy .itm-ts:not(#itm-z){gap:8px !important}}


html body .itm-buy h3.number-price.itm-pz > p.itm-pcspp:not(#itm-z){order:0;align-self:baseline;margin:0 0 0 4px !important;padding:0 !important;font:600 15px/1.3 Mitr,sans-serif !important;color:#3b3f45 !important;white-space:nowrap}
html body .itm-buy h3.number-price.itm-pz > p.itm-pcspp > span:not(#itm-z){display:inline !important;margin:0 !important;font:400 13px Mitr,sans-serif !important;color:#8a8a8a !important;vertical-align:baseline}
/* ITM-MPROD-V6-1: "(ราคานี้รวม vat แล้ว)" follows on the same row when there is room (wraps by itself when not) */
html body .itm-buy h3.number-price.itm-pz > span:not([class]):not(#itm-z){flex-basis:auto !important;margin:0 0 0 4px !important;align-self:center}
html body .itm-buy #itm-pdp-av > small:not(#itm-z){display:inline !important;margin:0 0 0 4px !important;font-size:12px !important;line-height:1.4 !important;color:#77776f !important;white-space:normal}


html.itm-rb-on body .itm-buy #itm-pdp-av > small:not(#itm-z){display:none !important}
html body .itm-buy h3.number-price.itm-pz > span:not([class]):not(#itm-z):not(#itm-y){align-self:baseline !important}


.itm-sw-hint,.itm-sw-toast{display:none}
@media (max-width:991px){
html.itm-bsw table.basket:not(.itm-sw-mc) > tbody{display:block !important;width:100% !important}
html.itm-bsw table.basket:not(.itm-sw-mc) tr[ng-repeat]{display:block !important;width:100% !important;box-sizing:border-box;position:relative;overflow:hidden}
html.itm-bsw table.basket:not(.itm-sw-mc) tr[ng-repeat] > td{display:block !important;width:100% !important;box-sizing:border-box;position:relative;z-index:1;background:#fff;transition:transform .22s cubic-bezier(.2,.8,.2,1);touch-action:pan-y}
html.itm-bsw table.basket tr[ng-repeat].itm-sw-drag > td{transition:none !important}
/* desktop-style basket on tablets (one cell per column): move every cell, red row behind */
html.itm-bsw table.basket.itm-sw-mc{overflow:hidden}
html.itm-bsw table.basket.itm-sw-mc tr[ng-repeat] > td{position:relative;background:#fff;transition:transform .22s cubic-bezier(.2,.8,.2,1);touch-action:pan-y;box-shadow:0 0 0 1px #fff}
html.itm-bsw table.basket.itm-sw-mc tr[ng-repeat].itm-sw-on{background:#e53935 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E") no-repeat right 36px center/24px !important}
html.itm-bsw table.basket.itm-sw-mc tr[ng-repeat].itm-sw-on::before{content:none !important}
html.itm-bsw table.basket tr[ng-repeat].itm-sw-on{background:#e53935}
html.itm-bsw table.basket tr[ng-repeat].itm-sw-on::before{content:"ลบ";position:absolute;top:0;right:0;bottom:0;width:96px;display:flex;align-items:center;justify-content:center;padding-top:30px;box-sizing:border-box;color:#fff;font:700 15px Mitr,sans-serif;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E") center calc(50% - 12px)/24px no-repeat;cursor:pointer}
html.itm-bsw table.basket tr[ng-repeat].itm-sw-out{transition:height .2s ease,opacity .2s ease;opacity:0}
html.itm-bsw .itm-sw-hint{display:flex;align-items:center;gap:6px;margin:2px 0 8px;font:400 12.5px Mitr,sans-serif;color:#8a8a84}
html.itm-bsw .itm-sw-hint svg{width:18px;height:18px;fill:#a8960a;flex:none}
.itm-sw-toast.on{display:flex;position:fixed;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:3000;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:#1f1f1d;color:#fff;font:400 14px Mitr,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.itm-sw-toast .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.itm-sw-toast button{flex:none;border:0;background:none;color:#EBD412;font:700 14px Mitr,sans-serif;padding:4px 2px;cursor:pointer}
}
@media (max-width:991px) and (prefers-reduced-motion:reduce){html.itm-bsw table.basket tr[ng-repeat] > td{transition:none}}


.itm-bqs,.itm-gtgo{display:none}
@media (max-width:991px){
/* bottom bar */
html.itm-bc1 #itm-gtbar.on{gap:10px !important;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px)) !important}
html.itm-bc1 #itm-gtbar .l{font:600 13px Mitr,sans-serif !important;color:#55554f !important}
html.itm-bc1 #itm-gtbar .c,html.itm-bc1 #itm-gtbar .go{display:none !important}
html.itm-bc1 #itm-gtbar .v{margin-left:auto !important;font-size:22px !important}
html.itm-bc1 #itm-gtbar .u{font-size:13px !important}
html.itm-bc1 #itm-gtbar .itm-gtgo{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;height:44px;padding:0 18px;margin-left:4px;border:0;border-radius:10px;background:#EBD412;color:#1a1a1a;font:700 16px Mitr,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
html.itm-bc1 #itm-gtbar .itm-gtgo:active{background:#d9c30f}
html.itm-bc1 #itm-gtbar .itm-gtgo svg{width:18px;height:18px;fill:currentColor}
html.itm-bc1 #itm-gtbar:not(.itm-gtok) .itm-gtgo{display:none}
/* quantity stepper */
html.itm-bc1 table.basket .itm-bqs{display:inline-flex;align-items:stretch;height:42px;border:1px solid #d6d6cf;border-radius:10px;overflow:hidden;background:#fff;vertical-align:middle}
html.itm-bc1 table.basket .itm-bqs > button:not(#itm-z){flex:0 0 36px;width:36px;height:auto;margin:0;padding:0;border:0 !important;border-radius:0 !important;background:#f4f4ef !important;color:#1a1a1a;font:600 20px/1 sans-serif;box-shadow:none !important;cursor:pointer}
html.itm-bc1 table.basket .itm-bqs > button:disabled{color:#c4c4bc}
html.itm-bc1 table.basket .itm-bqs > input[type=number]:not(#itm-z){width:46px !important;height:auto !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;text-align:center;font:600 17px Mitr,sans-serif;-moz-appearance:textfield;box-shadow:none !important}
html.itm-bc1 table.basket .itm-bqs > input::-webkit-outer-spin-button,html.itm-bc1 table.basket .itm-bqs > input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* item text */
html.itm-bc1 table.basket .itm-up{color:#8a8a84 !important;font-size:13px !important}
html.itm-bc1 table.basket .itm-rt:not(#itm-z){display:block !important;margin-top:4px;text-align:right !important;color:#1a1a1a !important;font-weight:700 !important;font-size:18px !important;opacity:1 !important;filter:none !important;overflow:visible !important;pointer-events:auto !important}
html.itm-bc1 table.basket span[ng-bind-html]:not(:has(span)):not(:empty){display:inline-flex;align-items:center;margin-left:8px;padding:3px 10px;border:1.5px solid #d4a300;border-radius:10px;background:#fffbea;color:#8a6d00;font:600 13px Mitr,sans-serif;vertical-align:middle;white-space:nowrap}
html.itm-bc1 table.basket tr:not([ng-repeat]) > td.pl2{font-size:0 !important}
html.itm-bc1 table.basket tr:not([ng-repeat]) > td.pl2 > label.itm-ckall{font-size:13px !important}
/* notice */
html.itm-bc1 p.itm-bnote:not(#itm-z){border:1px solid #f0d77a !important;border-radius:12px;background:#fffbea;padding:12px 14px 12px 42px !important;position:relative;font:400 13.5px/1.6 Mitr,sans-serif;color:#5a4a00}
html.itm-bc1 p.itm-bnote b{font-weight:700;color:#3d3300}
html.itm-bc1 p.itm-bnote::before{content:"i";position:absolute;left:14px;top:13px;width:18px;height:18px;border-radius:50%;background:#d4a300;color:#fff;font:700 12px/18px Georgia,serif;text-align:center}
}


body blockquote.tiktok-embed{min-width:0 !important}
@media (max-width:991px){
html body #mobile-menu.bottom-menu{z-index:1000}
html body .product-box-head > .itm-crumbs{grid-column:1 / -1;display:block;margin:2px 0 4px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;font-size:14px;line-height:1.6}
html body .product-box-head > .itm-crumbs::-webkit-scrollbar{display:none}
html body .product-box-head > .itm-crumbs > span{display:inline !important}
html body .product-box-head > .itm-crumbs a{color:#9a7b00}
}
@media (max-width:360px){
html body .product-box-head:has(> .itm-mtop):not(#itm-z) h1:not(#itm-y){font-size:19px !important;line-height:1.38 !important}
}


@media (max-width:991px) and (orientation:portrait){
html.itm-kiosk .ih-chips:not(#itm-z){flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
html.itm-kiosk .ih-chips::-webkit-scrollbar{display:none}
html.itm-kiosk .ih-chips > *{flex:none}
html.itm-kiosk .ih-cats:not(#itm-z){grid-template-columns:repeat(7,minmax(0,1fr)) !important}
html.itm-kiosk .ih-cats > .ih-cat:last-child:not(#itm-z){grid-column:auto !important;display:block !important;padding:12px 6px 10px !important;text-align:center !important}
html.itm-kiosk body .product-box-head:has(> .itm-mtop):not(#itm-z) h1:not(#itm-y){font-size:26px !important;line-height:1.35 !important}
}


html body #main button.tag.ng-binding:not(#itm-z):not(#itm-y){display:inline-block !important}


@media (min-width:600px) and (max-width:767px){
html body .itm-buy div:has(> #quantity):not(#itm-z){flex-wrap:wrap !important;row-gap:8px !important}
html body .itm-buy div:has(> #quantity) > #quantity:not(#itm-z){flex:0 0 64px !important;width:64px !important;min-width:0 !important}
html body .itm-buy div:has(> #quantity) > #buy:not(#itm-z){flex:1 1 0 !important;min-width:0 !important;width:auto !important}
html body .itm-buy div:has(> #quantity) > .itm-lbuy:not(#itm-z){flex:1 0 100% !important;width:100% !important}
html body .itm-buy .itm-act:not(#itm-z){flex-wrap:wrap !important;row-gap:8px !important}
}
@media (min-width:600px) and (max-width:991px){
html body table.basket tr[ng-repeat] > td.itm-noc:not(#itm-z){width:64px !important;min-width:64px !important}
}


@media (min-width:600px) and (max-width:991px){
html.itm-dtpl body #mobile-menu.bottom-menu:has(> a > .mobile-main-button):not(#itm-z){display:none !important}
}


html body #itm-vt .bx .pr:not(#itm-z){font:800 40px/1 "ITM Price",Mitr,sans-serif !important;color:#1a1a1a !important} /* ITM-VTPRICE-V1-2: big from the first frame */
@media (max-width:991px){html body #itm-vt .bx .pr:not(#itm-z){font-size:34px !important}}
html body #itm-vt .bx .pr.itm-vpz:not(#itm-z){display:inline-flex;align-items:baseline;gap:2px;font:800 40px/1 "ITM Price",Mitr,sans-serif !important;color:#1a1a1a !important;letter-spacing:-.5px}
html body #itm-vt .bx .pr.itm-vpz > .itm-vc{font:700 22px/1 Mitr,sans-serif;margin-right:2px}
@media (max-width:991px){html body #itm-vt .bx .pr.itm-vpz:not(#itm-z){font-size:34px !important}html body #itm-vt .bx .pr.itm-vpz > .itm-vc{font-size:19px}}


html body #itm-vt .bx .pr.itm-vpz > span.itm-vn:not(#itm-z){font-size:1em !important;font-family:inherit !important;font-weight:inherit !important}
html body #itm-vt .bx .pr.itm-vpz > span.itm-vc:not(#itm-z){font-size:.55em !important}


html body #mobile-menu.res-side-menu .p1.bg-teal-200:not(#itm-z){background:#fffbea !important;border:1px solid #EBD412 !important;border-radius:12px !important}
html body #mobile-menu.res-side-menu .p1.bg-teal-700:not(#itm-z){background:#EBD412 !important;border:1px solid #d9c30f !important;border-radius:12px !important}
html body #mobile-menu.res-side-menu .p1.bg-teal-200 :is(p,strong):not(#itm-z),html body #mobile-menu.res-side-menu .p1.bg-teal-700 :is(p,strong):not(#itm-z){color:#1a1a1a !important}


/* ITM-FSBCLIP-V2: the clip label arrives ~3 s after the page (clip list loads late), so ส่งฟรี no longer waits and jumps:
   ส่งฟรี sits bottom-right from the first paint on every card, and the late ปัดดูคลิป label appears just above it */
@media (max-width:991px){ /* ITM-FSBCLIP-V2-1: phones/tablets only — PC cards keep ส่งฟรี centred as before (PC has no ปัดดูคลิป label) */
html body .card-hero > .itm-fsb:not(#itm-z){left:auto;right:6px;transform:none;bottom:6px;transition:none}
html body .card-hero.itm-mclip:has(> .itm-fsb):not(#itm-z)::after{bottom:34px !important}
}


html.itm-sa-busy #itm-sfp .itm-fg{opacity:.55;pointer-events:none;transition:opacity .15s}
html.itm-sa-busy #product-list{opacity:.45;transition:opacity .15s}


@media (max-width:991px){
html body .itm-fp .itm-fp-head:not(#itm-z){font-size:17px !important}
html body .itm-fp .itm-fg > :first-child:not(#itm-z){font-size:16px !important}
html body .itm-fp .itm-fv .t:not(#itm-z){font-size:15.5px !important;line-height:1.35 !important}
html body .itm-fp .itm-fv .n:not(#itm-z){font-size:13px !important}
html body .itm-fp .itm-fv:not(#itm-z){min-height:40px}
html body .itm-fp .itm-chip:not(#itm-z),html body .itm-fp .itm-fp-clear:not(#itm-z){font-size:14px !important}
html body .itm-fp .itm-fv-more:not(#itm-z){font-size:15px !important}
}


@media (max-width:991px){
html body :is(#itm-filter-panel,#itm-sfp) .itm-fp .itm-fv .t:not(#itm-z){font-size:15.5px !important;line-height:1.35 !important}
html body :is(#itm-filter-panel,#itm-sfp) .itm-fp .itm-fv .n:not(#itm-z){font-size:13px !important}
html body :is(#itm-filter-panel,#itm-sfp) .itm-fp .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z) > span.t{font-size:13.5px !important;line-height:1.3 !important}
html body :is(#itm-filter-panel,#itm-sfp) .itm-fp .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z) > span.n{font-size:11.5px !important}
}


.itm-swi{display:none}
.itm-rto{display:none !important}
@media (max-width:991px){
html.itm-bc1 .checkout-process:not(#itm-z){margin-top:62px !important;padding-top:0 !important;padding-bottom:0 !important}
html.itm-bc1 .checkout-process > div:not(#itm-z){margin-top:0 !important}
html.itm-bc1 #jsData:not(#itm-z){margin-top:10px !important;min-height:0 !important}
html.itm-bc1 #jsData .product-box-head:not(#itm-z){display:flex !important;align-items:center;justify-content:space-between;gap:8px;position:relative;overflow:visible !important;padding:8px 10px 6px 16px !important}
html.itm-bc1 #jsData .product-box-head > div:not(#itm-z){float:none !important;margin:0 !important}
html.itm-bc1 #jsData .product-box-head h1:not(#itm-z){font-size:20px !important;line-height:1.3 !important;margin:0 !important}
html.itm-bc1 #jsData .product-box-head .itm-bsum:not(#itm-z){display:block;margin-top:2px;font-size:13px !important;color:#6b6b70}
html.itm-bc1 #jsData .product-box-head img.itm-bk-masc:not(#itm-z){position:relative;z-index:2}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(label.itm-ckall):not(#itm-z){display:block !important;width:100%}
html.itm-bc1 table.basket tr:has(label.itm-ckall) > td.pl2:not(#itm-z){padding:12px 6px 12px !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(label.itm-ckall) > td.pl2:not(#itm-z):not(#itm-y){display:block !important;width:100%;box-sizing:border-box}
/* item rows (phone layout = one cell per row) */
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] > td > div:nth-of-type(2):not(#itm-z){display:flex !important;align-items:center;gap:8px;padding-top:8px;overflow:visible !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat][data-itm-cap="1"] > td > div:nth-of-type(2):not(#itm-z){padding-bottom:20px}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] > td > div:nth-of-type(2) > div:not(#itm-z){float:none !important;display:flex;align-items:center;gap:8px}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] > td > div:nth-of-type(2) > div:empty{display:none}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] > td > div:nth-of-type(2) > div.itm-rmh{display:none !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] button[ng-click^="removeProduct"]:not(#itm-z){display:none !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] > td > div:first-of-type span[ng-bind-html]:not(#itm-z){display:inline-flex;margin:6px 0 0 !important;font-size:12.5px !important;padding:2px 10px !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] .itm-rtw:not(#itm-z){display:flex !important;flex-direction:column;align-items:flex-end;gap:4px;margin-left:auto;float:none !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr[ng-repeat] .itm-rtw > .itm-rt:not(#itm-z):not(#itm-y){position:static !important;left:auto !important;right:auto !important;align-self:flex-end !important;margin:0 !important;white-space:nowrap;line-height:1 !important;font-size:16px !important;color:#111 !important}
html.itm-bc1 table.basket .itm-rt span.itm-rn:not(#itm-z){font:800 23px/1 "ITM Price",Mitr,sans-serif !important;letter-spacing:-.01em;font-variant-numeric:lining-nums}
html.itm-bc1 table.basket .itm-rt span.itm-ru:not(#itm-z){font:700 14px/1 Mitr,sans-serif !important;margin-left:4px}
html.itm-bc1 .itm-swi:not(#itm-z){display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;height:26px;padding:0 9px;border-radius:13px;background:#f4f4ef;border:1px solid #e3e3dc;color:#77776f;font:500 12px/1 Mitr,sans-serif !important;cursor:pointer;-webkit-tap-highlight-color:transparent;box-sizing:border-box}
html.itm-bc1 .itm-swi svg{width:15px;height:15px;fill:currentColor}
/* stock cap note under the quantity box — was clipped by the box */
html.itm-bc1 table.basket .itm-bqs:has(> .itm-qwarn):not(#itm-z){overflow:visible !important;position:relative}
html.itm-bc1 table.basket .itm-bqs:has(> .itm-qwarn) > button:first-child{border-radius:9px 0 0 9px !important}
html.itm-bc1 table.basket .itm-bqs:has(> .itm-qwarn) > button:last-of-type{border-radius:0 9px 9px 0 !important}
html.itm-bc1 table.basket .itm-bqs > .itm-qwarn:not(#itm-z){top:calc(100% + 4px) !important;left:0 !important;transform:none !important;font-size:12px}
/* totals */
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(> td:nth-child(6)):not(#itm-z){display:flex !important;align-items:baseline;width:100%;box-sizing:border-box;padding:6px 6.5px 6px 6px}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(> td:nth-child(6)) > td{display:block;padding:0 !important;border:0 !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(> td:nth-child(6)) > td:is(:nth-child(1),:nth-child(3),:nth-child(4)){display:none !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(> td:nth-child(6)) > td.pl2:not(#itm-z):not(#itm-y){flex:1;font-size:14px !important;color:#55554f;text-align:left}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(> td:nth-child(6)) > td:nth-child(5):not(#itm-z){text-align:right !important;font:700 18px/1.1 "ITM Price",Mitr,sans-serif !important;color:#1a1a1a;font-variant-numeric:lining-nums}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(> td:nth-child(6)) > td:nth-child(6){padding-left:6px !important;font-size:14px;color:#55554f}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(.itm-gt){border-top:1px solid #e3e3dc;margin-top:4px;padding-top:12px !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(.itm-gt) > td.pl2 strong{font-size:17px;color:#1a1a1a}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(.itm-gt) strong.itm-gt:not(#itm-z){font:800 32px/1 "ITM Price",Mitr,sans-serif !important;color:#111;letter-spacing:-.01em;padding:0 4px;background:linear-gradient(transparent 60%,rgba(235,212,18,.6) 60%,rgba(235,212,18,.6) 92%,transparent 92%)}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:not([ng-repeat]):has(.itm-gt) > td.itm-gtb:not(#itm-z){font:700 16px Mitr,sans-serif !important;color:#111}
html.itm-bc1 #itm-gtbar .v:not(#itm-z){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:800 !important;letter-spacing:-.01em}
/* coupon */
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(#coupon):not(#itm-z){display:block !important;width:100%;background:none !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(#coupon) > td:not(#itm-z){display:flex !important;flex-wrap:wrap;gap:8px;width:100%;box-sizing:border-box;padding:12px 6px !important}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(#coupon) > td > div{flex:1;min-width:0}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(#coupon) #coupon:not(#itm-z){width:100% !important;box-sizing:border-box;height:44px;padding:0 12px !important;border:1px solid #d6d6cf !important;border-radius:10px}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(#coupon) > td > button:not(#itm-z){flex:none;width:auto !important;margin:0 !important;height:44px;padding:0 18px !important;border-radius:10px}
html.itm-bc1 table.basket:not(.itm-sw-mc) tr:has(#coupon) > td > span:empty{display:none}
}


@media (max-width:991px){
#main.precheckout .checkout-process:not(#itm-z){margin-top:62px !important;padding-top:0 !important;padding-bottom:0 !important}
#main.precheckout .checkout-process > div:not(#itm-z){margin-top:0 !important}
#main.precheckout > #jsData:not(#itm-z){margin-top:10px !important}
#main.precheckout .itm-pco h1.itm-pco-h1:not(#itm-z){display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px !important;padding:0 0 0 6px !important;font-size:20px !important;line-height:1.3 !important}
#main.precheckout .itm-pco h1.itm-pco-h1 > span:not(#itm-z){font-size:20px !important;line-height:1.3 !important}
#main.precheckout .itm-pco img.itm-pco-masc:not(#itm-z){height:84px !important;margin:-16px 0 -6px 0 !important;position:relative;z-index:2}
#main.precheckout .itm-pco .itm-sum li .q b:not(#itm-z){font:800 18px/1.15 "ITM Price",Mitr,sans-serif !important;color:#111;letter-spacing:-.01em;margin-top:2px}
#main.precheckout .itm-pco .itm-sum .ln .v:not(#itm-z){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700;font-size:16px;color:#1a1a1a}
#main.precheckout .itm-pco .itm-sum .ln.vat .v:not(#itm-z){font-size:14px;color:#444}
#main.precheckout .itm-pco .itm-sum .ln.tot{align-items:center}
#main.precheckout .itm-pco .itm-sum .ln.tot .v:not(#itm-z):not(#itm-y){font:800 30px/1 "ITM Price",Mitr,sans-serif !important;color:#111;letter-spacing:-.01em}
#main.precheckout .itm-pco .itm-sum .ln.tot .v > span.itm-pnh:not(#itm-z){font:inherit !important;padding:0 4px;background:linear-gradient(transparent 60%,rgba(235,212,18,.6) 60%,rgba(235,212,18,.6) 92%,transparent 92%)}
#main.precheckout .itm-pco .itm-sum .ln.tot .v > small:not(#itm-z){font:700 15px Mitr,sans-serif !important;color:#111;margin-left:2px}
#main.precheckout .itm-pco .itm-ro .pr:not(#itm-z){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:800;font-size:17px !important}
#main.precheckout .itm-pco .itm-ro .pr.free:not(#itm-z){font-family:Mitr,sans-serif !important;font-weight:700;font-size:15px !important}
}


@media (max-width:991px){
body .itm-types .itm-types-row:not(#itm-z){row-gap:16px !important;column-gap:18px !important;padding:9px 2px 7px 14px !important}
body .itm-types .itm-type:not(#itm-z){position:relative !important;height:52px !important;min-height:52px !important;padding:4px 8px 4px 52px !important;border-radius:26px !important;overflow:visible !important;gap:0 !important}
body .itm-types .itm-type .ph:not(#itm-z){position:absolute !important;left:-14px;top:50%;transform:translateY(-50%);width:62px !important;height:62px !important;flex:none !important;border-radius:50% !important;background:#fff !important;border:1px solid #e3e3dc;box-shadow:0 2px 8px rgba(0,0,0,.14);overflow:hidden;display:flex !important;align-items:center;justify-content:center;box-sizing:border-box;z-index:1}
body .itm-types .itm-type .ph img:not(#itm-z){max-width:48px !important;max-height:48px !important;width:auto;height:auto;object-fit:contain}
body .itm-types .itm-type .ck:not(#itm-z){display:none !important}
body .itm-types .itm-type.on .ph:not(#itm-z){box-shadow:0 0 0 3px #EBD412,0 2px 8px rgba(0,0,0,.14)}
body .itm-types .itm-type .nm:not(#itm-z){font-size:13.5px !important;line-height:1.2 !important}
body .itm-types .itm-type .n:not(#itm-z){position:absolute;bottom:-8px;right:10px;font-size:10.5px !important;padding:0 6px !important;line-height:16px !important;background:#fff !important;border:1px solid #e3e3dc;color:#77776f}
}
@media (max-width:767px){
body .itm-types .itm-type:not(#itm-z){flex:1 1 calc(50% - 9px) !important;max-width:calc(50% - 9px) !important}
body .itm-types:not(.itm-tp-open) .itm-types-row:not(#itm-z):not(#itm-y){max-height:122px !important}
}


@media (max-width:991px){
body .itm-types .itm-types-row:not(#itm-z):not(#itm-y){row-gap:22px !important;column-gap:18px !important;padding:14px 6px 14px 16px !important}
body .itm-types .itm-type:not(#itm-z):not(#itm-y){padding:3px 8px 3px 56px !important}
body .itm-types .itm-type .nm:not(#itm-z):not(#itm-y){-webkit-line-clamp:3 !important;font-size:13px !important;line-height:1.13 !important}
body .itm-types .itm-type .ph:not(#itm-z):not(#itm-y){left:-8px;box-shadow:0 1px 4px rgba(0,0,0,.14)}
body .itm-types .itm-type.on .ph:not(#itm-z):not(#itm-y){box-shadow:0 0 0 3px #EBD412,0 1px 4px rgba(0,0,0,.14)}
body .itm-types .itm-type .n:not(#itm-z):not(#itm-y){display:none !important}
}
@media (max-width:767px){
body .itm-types:not(.itm-tp-open) .itm-types-row:not(#itm-z):not(#itm-y):not(#itm-x){max-height:124px !important}
}


@media (max-width:991px){
html body #itm-pdp-av > small:not(#itm-z):not(#itm-y),html body #itm-recv-av > small:not(#itm-z):not(#itm-y){display:none !important}
}


@media (max-width:991px){
html body div.mobile-container:has(> table.product-table):not(#itm-z){display:block !important;width:100% !important;box-sizing:border-box}
html body table.product-table:not(#itm-z){width:100% !important;max-width:100% !important;box-sizing:border-box;font-size:14px !important}
html body table.product-table tr td:first-child:not(#itm-z){width:44% !important;color:#55554f}
html body table.product-table tr td:not(#itm-z){padding:8px 8px !important;line-height:1.4 !important;vertical-align:top;overflow-wrap:anywhere}
}


@media (min-width:992px){
#main.profile > .dsh.mobile-container:not(#itm-z){padding-left:0 !important;padding-right:0 !important}
#main:has(> .mobile-container.ifv):not(#itm-z){margin-left:0 !important;margin-right:0 !important}
}
html body .dsh .acn a.on:not(#itm-z){background:#EBD412;color:#1a1a1a !important;border-color:#d8c20f}
html body .dsh .acn a.on .ic svg:not(#itm-z){fill:#1a1a1a}
html body .og1-btn:not(#itm-z),html body .ab1-btn:not(#itm-z){background:#EBD412;border-color:#EBD412;color:#1a1a1a !important;font-weight:600}
html body .og1-btn:not(#itm-z):hover,html body .ab1-btn:not(#itm-z):hover{background:#f0da2a}
html body .og1-btn.ghost:not(#itm-z),html body .ab1-btn.ghost:not(#itm-z){background:#fff;border-color:#c9c6bb;color:#1a1a1a !important;font-weight:500}
html body .og1-btn.ghost:not(#itm-z):hover,html body .ab1-btn.ghost:not(#itm-z):hover{background:#fffbea;border-color:#EBD412}
html body .ab1-badge:not(#itm-z){background:#EBD412;color:#1a1a1a}


#itm-stk{display:none}
@media (max-width:991px){
html.itm-stk-on body #mobile-menu.bottom-menu:not(#itm-z){flex-wrap:wrap !important;row-gap:8px}
html.itm-stk-on #itm-stk{display:flex;order:-1;flex:0 0 100%;align-items:center;gap:10px;min-width:0;padding:0 2px 8px;border-bottom:1px solid #efefe9;cursor:pointer;animation:itmStkIn .18s ease-out}
@keyframes itmStkIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
#itm-stk .th{flex:none;width:46px;height:46px;border-radius:9px;border:1px solid #e3e3dc;background:#fff center/contain no-repeat}
#itm-stk .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#itm-stk .nm{font:500 12.5px/1.25 Mitr,sans-serif !important;color:#55554f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#itm-stk .pr{display:flex;align-items:baseline;gap:4px;color:#111}
#itm-stk .pr b{font:800 21px/1 "ITM Price",Mitr,sans-serif !important;letter-spacing:-.01em;padding:0 3px;background:linear-gradient(transparent 60%,rgba(235,212,18,.6) 60%,rgba(235,212,18,.6) 92%,transparent 92%)}
#itm-stk .pr i{font:700 13px Mitr,sans-serif !important;font-style:normal}
#itm-stk .up{flex:none;width:30px;height:30px;border-radius:50%;background:#f4f4ef;display:flex;align-items:center;justify-content:center}
#itm-stk .up svg{width:18px;height:18px;fill:#77776f}
html.itm-stk-on body #itm-totop:not(#itm-z):not(#itm-y){bottom:calc(140px + env(safe-area-inset-bottom, 0px)) !important}
}
@media (prefers-reduced-motion:reduce){#itm-stk{animation:none !important}}


html body .ih-tools a.ih-line:not(#itm-z){display:none !important}
html body .ih-tools a.ih-mag:not(#itm-z){display:flex !important}
html body :is(#itm-filter-panel,#itm-sfp,.itm-fp) .itm-fv .n:not(#itm-z),html body .itm-types .itm-type .n:not(#itm-z){display:none !important}
@media (min-width:992px){
html body #product-list a.product-link .card-footer.product-price:not(#itm-z):not(#itm-y){padding-bottom:40px !important}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y){position:absolute !important;left:8px !important;top:auto !important;right:auto !important;bottom:8px !important;display:inline-flex !important;align-items:center;height:24px;padding:0 9px 0 7px;gap:5px;border:1px solid #d6d6cf;border-radius:12px;background:#fff;color:#3a3a36;box-shadow:0 1px 2px rgba(0,0,0,.05)}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):hover{border-color:#EBD412;background:#fffdf0}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z) svg{width:14px;height:14px}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z) .t{display:none}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z)::after{content:"เปรียบเทียบ";font:500 12px/1 Mitr,sans-serif;white-space:nowrap}
html body a.product-link .card-footer.product-price button.itm-cmpc[aria-pressed="true"]:not(#itm-z){background:#fffbe0;border-color:#EBD412;color:#5a4b00}
html body a.product-link .card-footer.product-price button.itm-cmpc[aria-pressed="true"]:not(#itm-z)::after{content:"กำลังเทียบ"}
html body #product-list a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-add:not(#itm-z):not(#itm-y){bottom:38px !important} /* V1-1: cart button on the price row, compare pill on its own row (no overlap on narrow cards) */
html body #product-list a.product-link .card-footer.product-price .itm-sku:not(#itm-z):not(#itm-y){bottom:40px !important}
}


@media (min-width:992px){
html body #product-list a.product-link .card-footer.product-price:not(#itm-z):not(#itm-y):not(#itm-x){padding-bottom:26px !important;container-type:inline-size}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y):not(#itm-x){left:auto !important;right:8px !important;top:-3px !important;bottom:auto !important;height:20px;padding:0 7px 0 6px;gap:3px;border-radius:10px}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y) svg{width:12px;height:12px}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y)::after{font-size:10.5px}
@container (max-width:199px){
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y):not(#itm-x){width:22px;height:22px;padding:0;justify-content:center;border-radius:50%}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y)::after{display:none}
}
html body #product-list a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-add:not(#itm-z):not(#itm-y):not(#itm-x){bottom:4px !important}
html body #product-list a.product-link .card-footer.product-price .itm-sku:not(#itm-z):not(#itm-y):not(#itm-x){bottom:6px !important}
}


@media (min-width:992px){
html body #product-list .rich-card .product-title:not(#itm-z):not(#itm-y){display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;box-sizing:border-box;height:calc(2.4em + 8px) !important;padding:8px 1rem 0 !important;margin-bottom:6px !important}
html body #product-list a.product-link .card-footer.product-price:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w){padding-bottom:20px !important}
html body #product-list a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-add:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w){bottom:auto !important;top:22px !important}
}


@media (min-width:992px){
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w){left:auto !important;right:8px !important;top:auto !important;bottom:3px !important;width:auto !important;height:17px !important;padding:0 5px !important;gap:3px !important;border:0 !important;border-radius:9px !important;background:transparent !important;box-shadow:none !important;color:#8d8d86 !important;justify-content:flex-end}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w) svg{width:12px !important;height:12px !important;fill:currentColor}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w)::after{display:inline !important;content:"เทียบ" !important;font:500 11px/1 Mitr,sans-serif !important}
html body a.product-link .card-footer.product-price button.itm-cmpc:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w):hover{color:#111 !important;background:#f3f3ee !important}
html body a.product-link .card-footer.product-price button.itm-cmpc[aria-pressed="true"]:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w){color:#3d3300 !important;background:#EBD412 !important}
html body #product-list a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-sku:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w){max-width:calc(100% - 78px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #product-list a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-add:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w):not(#itm-v){top:6px !important;bottom:auto !important}
}


html body .rich-card .card-footer.product-price button.rprice strong:not(#itm-z):not(#itm-y),
html body .card-footer.product-price .itm-range b:not(#itm-z):not(#itm-y),
html body .card-footer.product-price .itm-range b i:not(#itm-z):not(#itm-y){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700 !important;color:#111 !important;letter-spacing:-.01em}
html body #ih-rail .ih-pr:not(#itm-z),html body #ih-rv .ih-rvc .pr:not(#itm-z),html body .random .random-content p.secondary-text:not(#itm-z),
html body #itm-ups-ls .r a.t > span:not(#itm-z),html body .itm-cb-pr:not(#itm-z),html body .itm-cb-tt b:not(#itm-z),
html body .itm-fbt-row .pr:not(#itm-z),html body .cmp-pr:not(#itm-z),
html body #itm-cart-target .tx:not(#itm-z),html body .checkout span.total-price strong:not(#itm-z){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700 !important;letter-spacing:-.01em}
html body .random .random-content p.secondary-text:not(#itm-z){color:#111 !important}
@media (min-width:992px){
html body table.basket b.itm-rt:not(#itm-z):not(#itm-y),html body table.basket strong.itm-gt:not(#itm-z):not(#itm-y),html body #itm-gtbar .v:not(#itm-z):not(#itm-y){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700 !important;color:#111;letter-spacing:-.01em}
html body table.basket tr.itm-vat td.ng-binding:not(#itm-z){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700 !important}
html body #main.precheckout .itm-pco .itm-sum li .q b:not(#itm-z):not(#itm-y),html body #main.precheckout .itm-pco .itm-sum .ln .v:not(#itm-z):not(#itm-y),
html body #main.precheckout .itm-pco .itm-ro .pr:not(#itm-z):not(#itm-y){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700 !important;letter-spacing:-.01em}
html body #main.precheckout .itm-pco .itm-sum .ln.tot .v:not(#itm-z):not(#itm-y){font-family:"ITM Price",Mitr,sans-serif !important;font-weight:700 !important;color:#111;letter-spacing:-.01em}
html body #main.precheckout .itm-pco .itm-sum .ln.tot .v > small:not(#itm-z){font-family:Mitr,sans-serif !important;font-size:15px !important;letter-spacing:0}
}


html body .rich-card .card-footer.product-price button.rprice strong:not(#itm-z):not(#itm-y):not(#itm-x){font-weight:800 !important;line-height:1.1 !important;padding:0 3px;margin-right:1px;background:linear-gradient(transparent 60%,rgba(235,212,18,.6) 60%,rgba(235,212,18,.6) 92%,transparent 92%)}
html body .card-footer.product-price .itm-range b:not(#itm-z):not(#itm-y):not(#itm-x){line-height:1.2 !important}
@media (min-width:992px){
html body .rich-card .card-footer.product-price:not(#itm-z){container-type:inline-size}
html body .rich-card .card-footer.product-price button.rprice strong:not(#itm-z):not(#itm-y):not(#itm-x){font-size:clamp(16px,11.5cqw,26px) !important}
html body .rich-card .card-footer.product-price button.rprice:not(#itm-z):not(#itm-y):not(#itm-x){font-size:13px !important} /* "บาท" small like the product page */
html body .card-footer.product-price .itm-range b:not(#itm-z):not(#itm-y):not(#itm-x){font-size:clamp(13px,8.6cqw,18px) !important}
html body .card-footer.product-price .itm-range small:not(#itm-z):not(#itm-y){font-size:12px !important}
html body #product-list a.product-link .card-footer.product-price:has(.itm-cmpc) .itm-add:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w):not(#itm-v):not(#itm-u){top:clamp(5px,calc(14.1cqw - 13px),19px) !important} /* level with the bigger number (it grows with the card width) */
}
@media (max-width:991px){
html body .rich-card .card-footer.product-price button.rprice strong:not(#itm-z):not(#itm-y):not(#itm-x){font-size:clamp(17px,5vw,22px) !important;position:relative;top:-2px}
html body .rich-card .card-footer.product-price button.rprice:not(#itm-z):not(#itm-y):not(#itm-x){font-size:clamp(12px,3.4vw,14px) !important}
html body .card-footer.product-price .itm-range b:not(#itm-z):not(#itm-y):not(#itm-x){font-size:clamp(11px,3.8vw,17px) !important}
html body .card-footer.product-price .itm-range small:not(#itm-z):not(#itm-y){font-size:clamp(11px,3vw,13px) !important}
}


/* ITM-CARDPRICE-V1-2 (27 Nov 2026): yellow marker behind the card price is back (the V1-1 rule that removed it is taken out) */
@media (min-width:992px){
html body #product-list a.product-link .card-footer.product-price button.rprice:not(#itm-z):not(#itm-y){min-width:64cqw}
html body #product-list a.product-link .card-footer.product-price .itm-range:not(#itm-z):not(#itm-y){box-sizing:border-box;border-top:0 !important;padding:0 0 10.8px 1rem !important;margin:0 !important}
html body #product-list a.product-link .card-footer.product-price .itm-range:not(#itm-z):not(#itm-y)::before{content:"";display:block;width:64cqw;height:5px;background:#EBD412;margin:0 0 .7rem -1rem} /* the yellow line, same length as the shortest normal card line */
html body #product-list a.product-link .card-footer.product-price .itm-range b:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w){display:block;white-space:nowrap;font-size:clamp(11px,8.2cqw,18px) !important;line-height:calc(clamp(16px,11.5cqw,26px) * 1.1) !important}
html body #product-list a.product-link .card-footer.product-price .itm-range small:not(#itm-z):not(#itm-y):not(#itm-x){display:block !important;position:absolute;left:10px;bottom:5px;margin:0 !important;font:500 11px/12px Mitr,sans-serif !important;color:#8d8d86 !important}
}
@media (min-width:992px) and (max-width:1279px){ /* here the price button uses 15px padding instead of rem */
html body #product-list a.product-link .card-footer.product-price .itm-range:not(#itm-z):not(#itm-y):not(#itm-x){padding-left:15px !important}
html body #product-list a.product-link .card-footer.product-price .itm-range:not(#itm-z):not(#itm-y):not(#itm-x)::before{margin:0 0 15px -15px}
}


@media (min-width:992px){
html body #itm-cart-target:not(#itm-z){container-type:inline-size}
html body #itm-cart-target a .tx:not(#itm-z):not(#itm-y){flex:1 1 auto !important;min-width:0;display:flex !important;align-items:baseline;justify-content:flex-end;gap:3px;white-space:nowrap}
html body #itm-cart-target .tx .itm-txo{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body #itm-cart-target .tx .itm-txn:not(#itm-z){font:800 clamp(22px,9cqw,36px)/1 "ITM Price",Mitr,sans-serif !important;color:#111;letter-spacing:-.01em}
html body #itm-cart-target .tx .itm-txu:not(#itm-z){font:600 13px/1 Mitr,sans-serif !important;color:#333}
@container (max-width:420px){html body #itm-cart-target .itm-avs:not(#itm-z){display:none !important}}
}


#itm-cstrip{display:none}
@media (min-width:992px){
#itm-cstrip.on{display:flex;position:fixed;z-index:-1;box-sizing:border-box;height:48px;align-items:center;gap:6px;padding:0 12px;overflow:hidden;background:#fff8e6;border-bottom:1px solid #f1e6c4;text-decoration:none;cursor:pointer;will-change:clip-path}
#itm-cstrip .sq{position:relative;flex:none;box-sizing:border-box;width:38px;height:38px;border-radius:7px;border:1px solid #e6dcc0;background:#fff center/contain no-repeat}
#itm-cstrip .sq i{position:absolute;right:-1px;bottom:-1px;font:700 10px/1 Mitr,sans-serif;font-style:normal;color:#fff;background:#222;border-radius:6px 0 6px 0;padding:2px 4px}
#itm-cstrip .more{display:flex;align-items:center;justify-content:center;background:#222;border-color:#222;color:#fff;font:700 13px/1 Mitr,sans-serif}
#itm-cstrip:hover .sq:not(.more){border-color:#EBD412}
}


@media (min-width:992px){
html body :is(#itm-filter-panel,#itm-sfp) .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z):not(#itm-y){height:auto !important;min-height:0 !important;flex-direction:column !important;justify-content:flex-start !important;align-items:center !important;gap:5px !important;padding:8px 4px 7px !important}
html body :is(#itm-filter-panel,#itm-sfp) .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z):not(#itm-y) > span.lg{order:1;flex:0 0 auto !important;width:100% !important;height:68px !important;margin:0 !important;display:flex !important;align-items:center !important;justify-content:center !important}
html body :is(#itm-filter-panel,#itm-sfp) .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z):not(#itm-y) > span.lg img{width:68px !important;height:68px !important;max-width:none !important;max-height:none !important;object-fit:contain !important}
html body :is(#itm-filter-panel,#itm-sfp) .itm-fg-b:has(img[src*="/uploads/category/"]) > label.itm-fv:not(#itm-z):not(#itm-y) > span.t{order:2;box-sizing:border-box;position:static !important;inset:auto !important;transform:none !important;width:100% !important;height:auto !important;clip:auto !important;overflow:hidden !important;white-space:normal !important;display:-webkit-box !important;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:center;word-break:break-word;font-size:12px !important;line-height:1.3 !important;color:#333}
}


@media (min-width:992px){
html body .itm-buy .itm-meta:not(#itm-z){flex-wrap:nowrap !important}
html body .itm-buy .itm-meta > :not(.itm-brand){flex-shrink:0}
html body .itm-buy .itm-meta > a.itm-brand:not(#itm-z){height:44px !important;overflow:visible;flex:0 1 auto !important;min-width:64px}
html body .itm-buy .itm-meta > a.itm-brand:not(#itm-z) img{height:62px !important;max-width:min(150px,100%) !important;margin:-9px 0 !important;position:relative;z-index:1}
}


#itm-bundo{display:flex;flex-direction:column;gap:6px;margin:0 0 8px}
#itm-bundo:empty{display:none}
#itm-bundo .u{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;background:#f5f5f0;border:1px solid #e6e6df;font:400 14px/1.35 Mitr,sans-serif;color:#333}
#itm-bundo .u img{flex:none;width:40px;height:40px;object-fit:contain;background:#fff;border-radius:6px}
#itm-bundo .u span{flex:1;min-width:0}
#itm-bundo .u b{font-weight:600}
#itm-bundo .u button,.itm-bsv-x button,#itm-bshin .go,#itm-bshin .no{flex:none;cursor:pointer;border-radius:999px;font:600 14px/1 Mitr,sans-serif;padding:9px 16px}
#itm-bundo .u button{border:1px solid #bdbdb4;background:#fff;color:#222}
#itm-bundo .u button:hover{border-color:#EBD412;background:#fffbe0}
.itm-bsl{display:inline-flex;align-items:center;gap:4px;margin:6px 6px 0 0;vertical-align:middle;padding:5px 11px;border:1px solid #d6d6cf;border-radius:999px;background:#fff;color:#444;font:500 12.5px/1 Mitr,sans-serif;cursor:pointer}
.itm-bsl:hover{border-color:#EBD412;background:#fffbe0}
.itm-bsl svg{width:13px;height:13px;fill:currentColor}
#itm-bshw{position:relative;display:inline-block;vertical-align:middle}
#itm-bshare{display:inline-flex;align-items:center;gap:5px;margin-left:10px;padding:6px 12px;border:1px solid #d6d6cf;border-radius:999px;background:#fff;color:#333;font:500 13px/1 Mitr,sans-serif;cursor:pointer;vertical-align:middle;position:relative}
#itm-bshare:hover{border-color:#EBD412;background:#fffbe0}
#itm-bshare svg{width:15px;height:15px;fill:currentColor}
#itm-bshpop{position:absolute;z-index:50;top:calc(100% + 6px);left:0;min-width:210px;padding:6px;background:#fff;border:1px solid #e3e3dc;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);display:flex;flex-direction:column;gap:2px;text-align:left}
#itm-bshpop a,#itm-bshpop button{display:flex;align-items:center;gap:8px;padding:10px 12px;border:0;border-radius:8px;background:none;color:#222;font:500 14px/1.2 Mitr,sans-serif;text-decoration:none;cursor:pointer;width:100%}
#itm-bshpop a:hover,#itm-bshpop button:hover{background:#f5f5f0}
#itm-bshpop i{font-style:normal;font-size:12px;color:#2e7d32;margin-left:auto}
#itm-bshin{margin:0 0 12px;padding:14px;border:2px solid #EBD412;border-radius:12px;background:#fffdf2;font:400 14px/1.4 Mitr,sans-serif;color:#222}
#itm-bshin h4{margin:0 0 10px;font:600 17px/1.3 Mitr,sans-serif}
#itm-bshin .r{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px solid #f0ead0}
#itm-bshin .r img{flex:none;width:44px;height:44px;object-fit:contain;background:#fff;border-radius:6px}
#itm-bshin .r .n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#itm-bshin .r .q{flex:none;color:#666}
#itm-bshin .r .p{flex:none;font:700 15px/1 "ITM Price",Mitr,sans-serif}
#itm-bshin .r a{flex:none;font-size:12.5px;color:#7a6300}
#itm-bshin .bt{display:flex;gap:8px;justify-content:flex-end;margin-top:10px;flex-wrap:wrap}
#itm-bshin .go{border:0;background:#EBD412;color:#111}
#itm-bshin .no{border:1px solid #d6d6cf;background:#fff;color:#333}
#itm-bsave{margin:14px 0 8px;padding:14px;border:1px solid #e6e6df;border-radius:12px;background:#fff;font:400 14px/1.4 Mitr,sans-serif;color:#222}
#itm-bsave h4{margin:0 0 6px;font:600 17px/1.3 Mitr,sans-serif}
.itm-bsv-r{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #f0f0ea}
.itm-bsv-r img{flex:none;width:64px;height:64px;object-fit:contain;background:#fff;border-radius:8px;cursor:pointer}
.itm-bsv-t{flex:1;min-width:0}
.itm-bsv-t .n{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;cursor:pointer}
.itm-bsv-t .p{font:800 17px/1.2 "ITM Price",Mitr,sans-serif;margin-top:3px}
.itm-bsv-t .p small{font:600 12px Mitr,sans-serif;margin-left:3px}
.itm-bsv-x{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.itm-bsv-x button{padding:8px 13px;font-size:13px;border:1px solid #d6d6cf;background:#fff;color:#333}
.itm-bsv-x button.mv{border-color:#EBD412;background:#EBD412;color:#111}
@media (max-width:767px){.itm-bsv-r{flex-wrap:wrap}.itm-bsv-x{width:100%;justify-content:flex-start;padding-left:76px}#itm-bshare{margin-left:6px;padding:5px 10px;font-size:12.5px}}


@media (max-width:991px){
html.itm-sro body #mobile-menu.bottom-menu:not(#itm-z):not(#itm-y),html.itm-sro body #itm-totop:not(#itm-z){display:none !important}
html body .search_result.itm-sr:not(#itm-z){padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px)) !important;overscroll-behavior:contain}
}


#itm-sx{clear:both;width:100%;box-sizing:border-box;margin:0 0 12px;text-align:left;font-family:inherit}
#itm-sx .bx{background:#fff;border:1px solid #e6e6e2;border-radius:12px;padding:12px 14px;margin:0 0 10px}
#itm-sx .fx{font-size:13.5px !important;color:#555;line-height:1.5;padding:9px 14px;background:#fffbe0;border:1px solid #f1e6a8;border-radius:10px;margin:0 0 10px}
#itm-sx .fx b{color:#222}
#itm-sx .hd{display:flex;align-items:center;gap:12px;margin:0 0 10px}
#itm-sx a.bl{flex:none;display:flex;align-items:center;justify-content:center;width:92px;height:52px;border:1px solid #eee;border-radius:10px;background:#fff;padding:4px;box-sizing:border-box}
#itm-sx a.bl img{max-width:100%;max-height:100%;object-fit:contain}
#itm-sx .ht{min-width:0;flex:1 1 auto}
#itm-sx .ht b{display:block;font-size:16px !important;color:#222;line-height:1.3}
#itm-sx .ht span{font-size:12.5px !important;color:#888}
#itm-sx a.go{flex:none;display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:8px;background:#EBD412;color:#222 !important;font-size:13.5px !important;font-weight:600;text-decoration:none;white-space:nowrap}
#itm-sx .lb{font-size:13px !important;color:#666;margin:0 0 8px}
#itm-sx .rw{display:flex;flex-wrap:nowrap !important;margin:0 !important;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:1px 1px 3px;scroll-snap-type:x proximity}
#itm-sx .rw::-webkit-scrollbar{display:none}
#itm-sx a.ct{flex:none;scroll-snap-align:start;width:94px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 5px 7px;border:1px solid #e6e6e2;border-radius:10px;background:#fff;color:#333 !important;text-decoration:none}
#itm-sx a.ct:hover{border-color:#EBD412;background:#fffdf0}
#itm-sx a.ct .im{width:58px;height:58px;display:flex;align-items:center;justify-content:center}
#itm-sx a.ct .im img{max-width:58px;max-height:58px;object-fit:contain}
#itm-sx a.ct .t{width:100%;font-size:12px !important;line-height:1.3;text-align:center;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-word;min-height:31px}
#itm-sx a.sp{flex:none;scroll-snap-align:start;width:150px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;padding:8px;border:1px solid #e6e6e2;border-radius:10px;background:#fff;color:#333 !important;text-decoration:none}
#itm-sx a.sp:hover{border-color:#EBD412}
#itm-sx a.sp .im{height:84px;display:flex;align-items:center;justify-content:center}
#itm-sx a.sp .im img{max-width:100%;max-height:84px;object-fit:contain}
#itm-sx a.sp .t{font-size:12px !important;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:31px}
#itm-sx a.sp .k{font-size:10.5px !important;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#itm-sx a.sp .p{font-family:"ITM Price",inherit;font-size:15px !important;font-weight:700;color:#222}
#itm-sx a.mo{flex:none;align-self:center;padding:0 10px;font-size:13px !important;color:#666 !important;white-space:nowrap}
#itm-sx .nb p{margin:0 0 10px;font-size:14px !important;color:#333;line-height:1.5}
#itm-sx .nb p span{color:#888;font-size:12.5px !important}
#itm-sx a.br{flex:none;width:110px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;border:1px solid #e6e6e2;border-radius:10px;background:#fff;color:#333 !important;text-decoration:none}
#itm-sx a.br:hover{border-color:#EBD412}
#itm-sx a.br .im{height:40px;display:flex;align-items:center}
#itm-sx a.br .im img{max-width:96px;max-height:40px;object-fit:contain}
#itm-sx a.br .t{font-size:12px !important;font-weight:600}
#itm-sx a.br .n{font-size:11px !important;color:#999}
#itm-sx a.ln{display:inline-flex;align-items:center;height:36px;margin-top:10px;padding:0 16px;border-radius:8px;background:#06c755;color:#fff !important;font-size:13.5px !important;font-weight:600;text-decoration:none}
@media (min-width:992px){ /* V1-3: computers - type chips in rows (no sideways swipe with a mouse), other rows get a thin scrollbar */
#itm-sx .bc .rw,#itm-sx .cc .rw{flex-wrap:wrap !important;overflow:visible}
#itm-sx .rw{scrollbar-width:thin}
#itm-sx .rw::-webkit-scrollbar{display:block;height:6px}
#itm-sx .rw::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}
}
@media (max-width:600px){
#itm-sx .bx{padding:10px 10px;border-radius:10px}
#itm-sx a.bl{width:76px;height:44px}
#itm-sx .ht b{font-size:15px !important}
#itm-sx a.go{height:32px;padding:0 11px;font-size:12.5px !important}
#itm-sx a.ct{width:84px}
#itm-sx a.ct .im,#itm-sx a.ct .im img{width:50px;height:50px;max-width:50px;max-height:50px}
#itm-sx a.sp{width:132px}
}


@media (min-width:992px){
html body :is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])):not(:has(img[src*="/uploads/category/"])):not(#itm-z){grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important}
html body :is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])):not(:has(img[src*="/uploads/category/"])) > .itm-fv:not(#itm-z):not(#itm-y){height:58px !important;min-height:58px !important;padding:4px 6px !important}
html body :is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])):not(:has(img[src*="/uploads/category/"])) > .itm-fv:not(#itm-z) span.lg{width:100% !important;height:48px !important;max-height:none !important}
html body :is(.itm-fg-b:has(> label.itm-fv[ng-repeat^="b in itmFac.brands"]),#itm-fp-pre .itm-fg-b:has(img[src*="/uploads/manufacturer/"])):not(:has(img[src*="/uploads/category/"])) > .itm-fv:not(#itm-z) span.lg img{max-height:44px !important;max-width:94% !important;width:auto !important;height:auto !important}
}


html body .itm-fp > .itm-fp-chips:not(#itm-z){top:var(--itm-chtop,51px) !important;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:9px 12px 11px !important;background:#fffdf4;border-bottom:1px solid #efe6bf;box-shadow:0 6px 10px -9px rgba(0,0,0,.3)}
html body .itm-fp > .itm-fp-chips:not(#itm-z)::before{order:0;flex:1 1 auto;margin:0;font-size:12px;font-weight:600;color:#8a7b2c;line-height:20px}
html body .itm-fp > .itm-fp-chips:not(#itm-z)::after{content:'';order:1;flex:0 0 100%;height:0;margin:-3px 0 0} /* line break: header row, then the tags */
html body .itm-fp-chips .itm-chip:not(#itm-z):not(#itm-y){order:2;display:inline-flex;align-items:center;height:28px;margin:0 !important;padding:0 10px 0 12px !important;border-radius:8px;background:#fff !important;border:1px solid #e3cc1a;color:#2b2600 !important;font-size:12.5px !important;font-weight:600;line-height:1;box-shadow:0 1px 2px rgba(0,0,0,.06);max-width:100%;text-decoration:none !important}
html body .itm-fp-chips .itm-chip:not(#itm-z):not(#itm-y):hover{background:#EBD412 !important;border-color:#EBD412}
html body .itm-fp-chips .itm-fp-clear:not(#itm-z):not(#itm-y){order:1;flex:none;margin:0 !important;padding:0 2px !important;border:0 !important;border-radius:0;background:none !important;box-shadow:none;font-size:12.5px !important;font-weight:600;line-height:20px;color:#c62828 !important;display:inline-flex !important;gap:0}
html body .itm-fp-chips .itm-fp-clear:not(#itm-z):not(#itm-y):hover{background:none !important;color:#9e1b1b !important;text-decoration:underline !important}
html body .itm-fp-chips .itm-fp-clear:not(#itm-z)::before{content:none}
html body .itm-fp-chips .itm-fp-clear:not(#itm-z)::after{content:"\00a0(" counter(itmc) ")";font-weight:600}


@media (min-width:992px){
html body #product-list.mobile-container:not(#itm-z){display:grid !important;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));column-gap:7px;row-gap:0;align-items:start}
html body #product-list > a.product-link:not(#itm-z){display:block;min-width:0}
html body #product-list > a.product-link > .card.rich-card:not(#itm-z){width:100% !important;max-width:none !important;display:block}
html body #product-list > :not(a.product-link){grid-column:1/-1}
html body #product-list a.product-link .card-footer.product-price .itm-add:not(#itm-z):not(#itm-y):not(#itm-x):not(#itm-w):not(#itm-v):not(#itm-u){top:clamp(5px, calc(14.1cqw - 13px), 19px) !important;bottom:auto !important}
}
html body .itm-fp > .itm-fp-busy:not(#itm-z){position:absolute;left:0;right:0;top:0;z-index:8;margin:0 !important}
html body .itm-fp > .itm-fp-chips:not(#itm-z){interpolate-size:allow-keywords;transition:height .18s ease,opacity .18s ease}
@starting-style{html body .itm-fp > .itm-fp-chips:not(#itm-z){height:0;opacity:0}}


@media (min-width:992px){html body .itm-fp > .itm-fp-busy:not(#itm-z){display:none !important}}


@media screen and (min-width:992px){html.itm-lz #product-list > a.product-link:nth-child(n+17) .card-hero:not(.itm-lzon){background-image:none !important}}
@media screen and (max-width:991px){html.itm-lz #product-list > a.product-link:nth-child(n+9) .card-hero:not(.itm-lzon){background-image:none !important}}


@media (min-width:600px){
html body .itm-pdp .itm-buy:not(#itm-z):not(#itm-y){height:auto !important}
html body .itm-pdp .itm-buy > .p2.pl3:not(#itm-z){flex-shrink:0 !important;overflow:visible !important;height:auto !important}
}
