{"id":88,"date":"2026-10-04T03:54:36","date_gmt":"2026-10-04T03:54:36","guid":{"rendered":"https:\/\/upcraft.top\/?post_type=product&#038;p=88"},"modified":"2026-12-03T18:32:26","modified_gmt":"2026-12-03T18:32:26","slug":"ly-nen-thom-thuy-tinh-tai-che","status":"publish","type":"product","link":"https:\/\/upcraft.top\/index.php\/san-pham\/ly-nen-thom-thuy-tinh-tai-che\/","title":{"rendered":"Ly N\u1ebfn Th\u01a1m Th\u1ee7y Tinh T\u00e1i Ch\u1ebf"},"content":{"rendered":"<p>V\u1ecf l\u1ecd th\u1ee7y tinh (m\u1ee9t, s\u1ed1t&#8230;) \u0111\u01b0\u1ee3c thu gom, l\u00e0m s\u1ea1ch v\u00e0 \u0111\u1ed5 s\u00e1p n\u1ebfn th\u01a1m h\u01b0\u01a1ng t\u1ef1 nhi\u00ean (s\u1ea3 chanh, o\u1ea3i h\u01b0\u01a1ng&#8230;) th\u1ee7 c\u00f4ng. Th\u1eddi gian ch\u00e1y \u01b0\u1edbc t\u00ednh 15-20 gi\u1edd. B\u1ea3o qu\u1ea3n: \u0111\u1eb7t xa v\u1eadt d\u1ec5 ch\u00e1y, kh\u00f4ng \u0111\u1ec3 tr\u1ebb nh\u1ecf v\u1edbi t\u1edbi khi \u0111ang th\u1eafp.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ly n\u1ebfn th\u01a1m l\u00e0m t\u1eeb v\u1ecf l\u1ecd th\u1ee7y tinh t\u00e1i ch\u1ebf, \u0111\u1ed5 s\u00e1p n\u1ebfn th\u1ee7 c\u00f4ng.<\/p>\n<div class=\"upcx\" data-cfg=\"{&quot;src&quot;:&quot;\\\/wp-content\\\/uploads\\\/2026\\\/12\\\/nen-thom-hoa-nhai-upcraft.glb&quot;,&quot;alt&quot;:&quot;M\\u00f4 h\\u00ecnh 3D Ly N\\u1ebfn Th\\u01a1m Th\\u1ee7y Tinh T\\u00e1i Ch\\u1ebf&quot;,&quot;orbit&quot;:&quot;0deg 78deg auto&quot;,&quot;target&quot;:&quot;auto auto auto&quot;,&quot;recolor&quot;:[],&quot;place&quot;:&quot;floor&quot;}\" data-vattr=\"\">\n\t<div class=\"upc3d-stage\">\n\t\t<img decoding=\"async\" class=\"upc3d-poster\" src=\"https:\/\/upcraft.top\/wp-content\/uploads\/2026\/10\/LY-NEN-THOM-1-1024x1024.png\" alt=\"Ly N\u1ebfn Th\u01a1m Th\u1ee7y Tinh T\u00e1i Ch\u1ebf \u2013 \u1ea3nh s\u1ea3n ph\u1ea9m\" loading=\"lazy\">\n\t\t<button type=\"button\" class=\"upc3d-open\"><span class=\"upc3d-cube\">\u27f3<\/span> Xem 3D<\/button>\n\t\t<button type=\"button\" class=\"upc3d-close\" hidden>\u2715 \u1ea2nh s\u1ea3n ph\u1ea9m<\/button>\n\t\t<button type=\"button\" class=\"upc3d-ar\" hidden>\ud83d\udcf1 Xem trong ph\u00f2ng c\u1ee7a b\u1ea1n<\/button>\n\t\t<div class=\"upc3d-status\" hidden><\/div>\n\t<\/div>\n\t\t<p class=\"upc3d-note\">B\u1ea5m <strong>Xem 3D<\/strong> r\u1ed3i k\u00e9o \u0111\u1ec3 xoay 360\u00b0, ch\u1ee5m\/cu\u1ed9n \u0111\u1ec3 ph\u00f3ng to.<\/p>\n\t<\/div>\n<style>\n.upcx{margin:12px 0 18px}\n.upc3d-stage{position:relative;width:100%;aspect-ratio:1\/1;max-height:520px;background:#f4f5f4;border-radius:18px;overflow:hidden;border:1px solid #e3e8e3}\n.upc3d-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}\n.upcx model-viewer{position:absolute;inset:0;width:100%;height:100%;background:radial-gradient(circle at 50% 40%,#fbfbfb 0,#eef0ef 70%);--poster-color:transparent}\n.upc3d-open,.upc3d-close{position:absolute;z-index:3;border:0;border-radius:999px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.15);margin:0;min-height:0;line-height:1.2;text-transform:none}\n.upc3d-open{left:50%;bottom:16px;transform:translateX(-50%);background:#174a30;color:#fff;padding:11px 22px;font-size:15px}\n.upc3d-open:hover{background:#287345}\n.upc3d-cube{display:inline-block;margin-right:6px}\n.upc3d-close{top:12px;left:12px;background:#fff;color:#174a30;padding:7px 14px;font-size:13px}\n.upc3d-ar,.upc3d-arbtn{position:absolute;z-index:3;right:12px;top:12px;border:0;border-radius:999px;background:#c25417;color:#fff;font-weight:700;font-size:13px;padding:8px 14px;box-shadow:0 6px 18px rgba(0,0,0,.18);margin:0;min-height:0;line-height:1.2;text-transform:none;cursor:pointer}\n.upcx model-viewer .upc3d-arbtn{top:auto;bottom:14px;right:50%;transform:translateX(50%)}\n.upc3d-open{bottom:16px}\n.upc3d-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:4;background:rgba(255,255,255,.92);padding:10px 16px;border-radius:12px;font-size:13px;color:#174a30;box-shadow:0 4px 14px rgba(0,0,0,.1)}\n.upc3d-bar{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px}\n.upc3d-label{font-weight:700;font-size:14px;color:#174a30}\n.upc3d-sw{width:30px;height:30px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #cfd8d1,0 2px 5px rgba(0,0,0,.15);padding:0;margin:0;min-height:0;cursor:pointer;transition:transform .15s}\n.upc3d-sw:hover{transform:scale(1.1)}\n.upc3d-sw.is-active{box-shadow:0 0 0 2px #c25417,0 2px 6px rgba(0,0,0,.2)}\n.upc3d-note{font-size:12px;color:#5b6b5f;text-align:center;margin:8px 0 0;line-height:1.5}\n<\/style>\n<script>\n(function(){\nvar MV_SRC='https:\/\/ajax.googleapis.com\/ajax\/libs\/model-viewer\/3.4.0\/model-viewer.min.js';\nfunction loadMV(){if(window.customElements&&customElements.get('model-viewer'))return Promise.resolve();if(window.__upcMV)return window.__upcMV;window.__upcMV=new Promise(function(res,rej){var s=document.createElement('script');s.type='module';s.src=MV_SRC;s.onload=function(){customElements.whenDefined('model-viewer').then(res)};s.onerror=rej;document.head.appendChild(s)});return window.__upcMV;}\n\/* \u0110\u1ecdc GLB: tr\u1ea3 v\u1ec1 {json, blob(imageIndex)} *\/\nfunction readGlb(url){return fetch(url).then(function(r){return r.arrayBuffer()}).then(function(buf){var dv=new DataView(buf),jl=dv.getUint32(12,true),j=JSON.parse(new TextDecoder().decode(new Uint8Array(buf,20,jl))),bin=20+jl+8;\nreturn {json:j,blob:function(ii){var im=j.images[ii],v=j.bufferViews[im.bufferView];return new Blob([new Uint8Array(buf,bin+(v.byteOffset||0),v.byteLength)],{type:im.mimeType})}};});}\nfunction blobToCanvas(b){return createImageBitmap(b).then(function(bm){var c=document.createElement('canvas');c.width=bm.width;c.height=bm.height;c.getContext('2d').drawImage(bm,0,0);return c});}\nfunction hexRgb(h){h=h.replace('#','');return [parseInt(h.substr(0,2),16),parseInt(h.substr(2,2),16),parseInt(h.substr(4,2),16)]}\nfunction sstep(a,b,x){var t=Math.min(1,Math.max(0,(x-a)\/(b-a)));return t*t*(3-2*t)}\n\/* Mask v\u1ea3i: \u00edt b\u00e3o h\u00f2a + \u0111\u1ed9 s\u00e1ng trong kho\u1ea3ng v\u1ea3i; lo\u1ea1i c\u00e1c v\u00f9ng ex (logo\/nh\u00e3n) *\/\nfunction hueOf(r,g,b){var mx=Math.max(r,g,b),mn=Math.min(r,g,b),d=mx-mn;if(!d)return -1;var h=mx===r?((g-b)\/d)%6:mx===g?(b-r)\/d+2:(r-g)\/d+4;h*=60;return h<0?h+360:h}\nfunction recolor(canvas,hex,R){var ex=R.ex,mode=R.mode||'gray',hr=R.hue||[0,0],W=canvas.width,H=canvas.height,d=canvas.getContext('2d').getImageData(0,0,W,H).data,t=hexRgb(hex),sum=0,n=0,i,x,y,w,ws=new Float32Array(W*H);\nfor(y=0;y<H;y++)for(x=0;x<W;x++){i=(y*W+x)*4;var r=d[i],g=d[i+1],b=d[i+2],mx=Math.max(r,g,b),mn=Math.min(r,g,b),L=(0.299*r+0.587*g+0.114*b)\/255,S=mx?(mx-mn)\/mx:0;\nif(mode==='all'){w=1-sstep(0.70,0.84,L-S*0.3);}\nelse if(mode==='hue'){var h=hueOf(r,g,b);w=(h>=hr[0]-8&&h<=hr[1]+8)?sstep(0.25,0.45,S)*Math.min(1,Math.min(h-hr[0]+8,hr[1]+8-h)\/8):0;}\nelse{w=(1-sstep(0.12,0.22,S))*sstep(0.03,0.10,L)*(1-sstep(0.78,0.90,L));}\nvar soft=0;if(ex){var u=x\/W,v=y\/H;for(var e=0;e<ex.length;e++){if(u>ex[e][0]&&u<ex[e][2]&&v>ex[e][1]&&v<ex[e][3]){if(ex[e][4])soft=1;else w=0;break}}}\nws[y*W+x]=soft?-w-1:w;if(!soft&&w>0.9){sum+=0.299*r+0.587*g+0.114*b;n++}}\nvar Lref=n?sum\/n:120;\n\/* v\u00f9ng logo m\u1ec1m: ch\u1ec9 gi\u1eef n\u00e9t logo s\u00e1ng h\u01a1n h\u1eb3n n\u1ec1n v\u1ea3i, n\u1ec1n quanh logo v\u1eabn \u0111\u1ed5i m\u00e0u *\/\nfor(var q=0;q<W*H;q++){if(ws[q]<0){var j=q*4,Lq=0.299*d[j]+0.587*d[j+1]+0.114*d[j+2];ws[q]=(-ws[q]-1)*(1-sstep(Lref*1.35,Lref*1.7,Lq))}}\nvar out=document.createElement('canvas');out.width=W;out.height=H;var ctx=out.getContext('2d'),img=ctx.createImageData(W,H),o=img.data;\nfor(var p=0;p<W*H;p++){i=p*4;w=ws[p];var Lr=(0.299*d[i]+0.587*d[i+1]+0.114*d[i+2])\/Lref;\nfor(var k=0;k<3;k++){var tint=Math.min(255,t[k]*Math.pow(Lr,1.05));o[i+k]=d[i+k]*(1-w)+tint*w}o[i+3]=255}\nctx.putImageData(img,0,0);return out}\n\/* V\u1eadt li\u1ec7u th\u1ee7y tinh \/ nh\u1ef1a trong (GLB xu\u1ea5t ra d\u1ea1ng \u0111\u1ee5c) \u2192 trong su\u1ed1t *\/\nfunction glassify(mv){try{mv.model.materials.forEach(function(m){if(!\/clear|transparent|glass|encapsul\/i.test(m.name||''))return;var p=m.pbrMetallicRoughness,f=p.baseColorFactor,tint=\/amber|aqua|green|blue|brown|honey\/i.test(m.name);m.setAlphaMode('BLEND');p.setBaseColorFactor([f[0],f[1],f[2],tint?0.5:0.2]);p.setRoughnessFactor(Math.min(p.roughnessFactor,0.12))})}catch(e){}}\nfunction canvasURL(c){return new Promise(function(res){c.toBlob(function(b){res(URL.createObjectURL(b))},'image\/jpeg',0.92)})}\n\nfunction init(box){\n\tvar cfg=JSON.parse(box.getAttribute('data-cfg')),stage=box.querySelector('.upc3d-stage'),poster=box.querySelector('.upc3d-poster'),openB=box.querySelector('.upc3d-open'),closeB=box.querySelector('.upc3d-close'),st=box.querySelector('.upc3d-status'),cname=box.querySelector('.upc3d-cname');\n\tvar mv=null,orig=null,glb=null,srcC={},cache={},current='c0';\n\tfunction status(t){if(t){st.textContent=t;st.hidden=false}else st.hidden=true}\n\tfunction fail(){if(mv){mv.remove();mv=null}poster.hidden=false;openB.hidden=false;closeB.hidden=true;status('Kh\u00f4ng t\u1ea3i \u0111\u01b0\u1ee3c m\u00f4 h\u00ecnh 3D \u2013 \u0111ang hi\u1ec3n th\u1ecb \u1ea3nh s\u1ea3n ph\u1ea9m.');setTimeout(function(){status('')},4000)}\n\tfunction tex(m){return mv.model.materials[m].pbrMetallicRoughness.baseColorTexture}\n\tfunction open(){openB.hidden=true;status('\u0110ang t\u1ea3i m\u00f4 h\u00ecnh 3D\u2026');\n\t\tloadMV().then(function(){\n\t\t\tif(!mv){mv=document.createElement('model-viewer');\n\t\t\t\tvar at={src:cfg.src,alt:cfg.alt,poster:poster.currentSrc||poster.src,'camera-controls':'','touch-action':'pan-y','interaction-prompt':'none','camera-orbit':cfg.orbit,'camera-target':cfg.target,'min-camera-orbit':'auto 15deg auto','max-camera-orbit':'auto 165deg auto','field-of-view':'auto','environment-image':'neutral','exposure':'0.9','shadow-intensity':'0.55','shadow-softness':'1','tone-mapping':'neutral','loading':'eager','ar':'','ar-modes':'webxr scene-viewer quick-look','ar-scale':'auto','ar-placement':cfg.place||'floor'};\n\t\t\t\tfor(var k in at)mv.setAttribute(k,at[k]);\n\t\t\t\tvar ab=document.createElement('button');ab.setAttribute('slot','ar-button');ab.className='upc3d-arbtn';ab.type='button';ab.textContent='\ud83d\udcf1 Xem trong ph\u00f2ng c\u1ee7a b\u1ea1n';mv.appendChild(ab);\n\t\t\t\tmv.addEventListener('load',function(){glassify(mv);status('');poster.hidden=true;closeB.hidden=false;orig={};(cfg.recolor||[]).forEach(function(r){var t=tex(r.mat);if(t&&t.texture)orig[r.mat]=t.texture});if(current!=='c0')apply(current)});\n\t\t\t\tmv.addEventListener('error',fail);stage.appendChild(mv);\n\t\t\t}else{poster.hidden=true;mv.hidden=false;closeB.hidden=false;status('')}\n\t\t}).catch(fail);}\n\tfunction close(){if(mv)mv.hidden=true;poster.hidden=false;openB.hidden=false;closeB.hidden=true}\n\tfunction apply(key){current=key;var btn=box.querySelector('.upc3d-sw[data-key=\"'+key+'\"]');if(!btn)return;var hex=btn.getAttribute('data-hex');if(cname)cname.textContent=btn.title;\n\t\tif(!mv||!mv.model||!orig){open();return}\n\t\tvar R=cfg.recolor||[];\n\t\tif(!hex){R.forEach(function(r){if(orig[r.mat])tex(r.mat).setTexture(orig[r.mat])});return}\n\t\tif(cache[key]){R.forEach(function(r,i){if(cache[key][i])tex(r.mat).setTexture(cache[key][i])});return}\n\t\tstatus('\u0110ang \u0111\u1ed5i m\u00e0u\u2026');\n\t\t(glb?Promise.resolve(glb):readGlb(cfg.src).then(function(g){glb=g;return g})).then(function(g){\n\t\t\treturn Promise.all(R.map(function(r){var mt=g.json.materials[r.mat].pbrMetallicRoughness.baseColorTexture,ii=g.json.textures[mt.index].source;\n\t\t\t\treturn (srcC[ii]?Promise.resolve(srcC[ii]):blobToCanvas(g.blob(ii)).then(function(c){srcC[ii]=c;return c})).then(function(c){return canvasURL(recolor(c,hex,r))}).then(function(u){return mv.createTexture(u)})}));\n\t\t}).then(function(ts){cache[key]=ts;if(current===key)R.forEach(function(r,i){tex(r.mat).setTexture(ts[i])});status('')})\n\t\t.catch(function(){status('Kh\u00f4ng \u0111\u1ed5i \u0111\u01b0\u1ee3c m\u00e0u, \u0111ang gi\u1eef m\u00e0u g\u1ed1c.');setTimeout(function(){status('')},3000)});}\n\t\/* WebAR: tr\u00ean \u0111i\u1ec7n tho\u1ea1i hi\u1ec7n n\u00fat ngay tr\u00ean \u1ea3nh; b\u1ea5m \u2192 t\u1ea3i m\u00f4 h\u00ecnh \u2192 m\u1edf camera \u0111\u1eb7t v\u1eadt th\u1ec3 v\u00e0o ph\u00f2ng *\/\n\tvar arB=box.querySelector('.upc3d-ar'),wantAR=false;\n\tif(arB&&window.matchMedia&&matchMedia('(pointer:coarse)').matches){arB.hidden=false;arB.addEventListener('click',function(){wantAR=true;arB.hidden=true;open();var t=0,iv=setInterval(function(){if(mv&&mv.loaded){clearInterval(iv);if(mv.canActivateAR){mv.activateAR()}else{status('M\u00e1y c\u1ee7a b\u1ea1n ch\u01b0a h\u1ed7 tr\u1ee3 AR \u2013 v\u1eabn c\u00f3 th\u1ec3 xoay xem 3D.');setTimeout(function(){status('')},3500)}}else if(++t>80)clearInterval(iv)},250)})}\n\topenB.addEventListener('click',open);closeB.addEventListener('click',close);\n\tvar vattr=box.getAttribute('data-vattr'),vsel=vattr?document.querySelector('form.variations_form select[name=\"'+vattr+'\"]'):null,syncing=false;\n\tfunction mark(b){box.querySelectorAll('.upc3d-sw').forEach(function(x){x.classList.toggle('is-active',x===b)})}\n\tbox.querySelectorAll('.upc3d-sw').forEach(function(b){b.addEventListener('click',function(){mark(b);apply(b.getAttribute('data-key'));\n\t\tif(vsel&&!syncing){syncing=true;vsel.value=b.getAttribute('data-var')||'';if(window.jQuery)jQuery(vsel).trigger('change');else vsel.dispatchEvent(new Event('change',{bubbles:true}));syncing=false}})});\n\t\/* \u00d4 \"M\u00e0u s\u1eafc\" c\u1ee7a WooCommerce \u0111\u1ed5i \u2192 m\u00f4 h\u00ecnh \u0111\u1ed5i theo *\/\n\tif(vsel){var onSel=function(){if(syncing)return;var v=vsel.value,b=null;box.querySelectorAll('.upc3d-sw').forEach(function(x){if((x.getAttribute('data-var')||'')===v)b=x});if(!b)return;syncing=true;mark(b);if(mv&&mv.model)apply(b.getAttribute('data-key'));else{current=b.getAttribute('data-key');if(cname)cname.textContent=b.title}syncing=false};\n\t\tif(window.jQuery)jQuery(vsel).on('change',onSel);else vsel.addEventListener('change',onSel);if(vsel.value)onSel();}\n\twindow.UPC3DX=window.UPC3DX||[];window.UPC3DX.push({box:box,get mv(){return mv},apply:apply,open:open});\n}\nfunction boot(){document.querySelectorAll('.upcx:not([data-ready])').forEach(function(b){b.setAttribute('data-ready','1');init(b)})}\nif(document.readyState!=='loading')boot();else document.addEventListener('DOMContentLoaded',boot);\n})();\n<\/script>\n\n","protected":false},"featured_media":210,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_qcld_wpbot_writer_seo_pending":""},"product_brand":[],"product_cat":[20],"product_tag":[129,131,126],"class_list":["post-88","product","type-product","status-publish","has-post-thumbnail","product_cat-do-trang-tri-noi-that","product_tag-lynentaiche","product_tag-lynenthomthuytinh","product_tag-nenthomthuytinh","pa_chat-lieu-thuy-tinh","first","instock","taxable","shipping-taxable","purchasable","product-type-simple"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/product\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/comments?post=88"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/media\/210"}],"wp:attachment":[{"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/product_brand?post=88"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/product_cat?post=88"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/upcraft.top\/index.php\/wp-json\/wp\/v2\/product_tag?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}