/* ============ ST THAILAND — sieu thi online xanh la + banner dien anh 2026 ============
   Bo cuc theo mau khach gui (header trang, danh muc anh tron, the co nut Them vao gio, banner pastel,
   thuong hieu, footer xanh dam). Banner: san khau toi, den chieu, buc khoi 3D bong loang. */
:root{
  --g:#169b45; --g-d:#0f7a35; --g-dd:#073d1c; --g-l:#eaf6ee; --g-ll:#f5fbf7;
  --ink:#17211b; --muted:#6b776f; --line:#e6ece8; --bg:#ffffff; --paper:#ffffff;
  --r:#e2342b; --y:#ffcf3a;
  --brand:var(--g); --brand-d:var(--g-d); --price:var(--ink);
  --card-shadow:0 1px 2px rgba(23,33,27,.05),0 8px 24px rgba(23,33,27,.06);
}
body{background:var(--bg);color:var(--ink)}

/* ---------- header ---------- */
.top{background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
.top-in{padding:12px 16px}
.logo b{font-style:italic;font-weight:900;font-size:22px;color:var(--g);letter-spacing:.5px}
.logo small{color:var(--muted);text-transform:none;letter-spacing:0;font-weight:600;font-size:11px}
.search{max-width:620px}
.search input{border:1.5px solid var(--line);border-radius:8px;background:#fff;height:44px;padding-right:56px}
.search input:focus{border-color:var(--g)}
.search::after{content:"";position:absolute;right:4px;top:4px;width:44px;height:36px;border-radius:6px;background:var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/18px no-repeat;pointer-events:none}
.cart-pill{background:var(--g);box-shadow:none;border-radius:8px}
.cart-pill .n{color:var(--g);border-radius:6px}
#musicBtn:not(.off){color:var(--g)}
.notice{background:var(--g-dd);color:#d6ecdd;border:0}
.notice b{color:#fff}
/* hang menu */
.chips{padding:10px 16px;border-bottom:1px solid var(--line);max-width:none;background:#fff}
.chip{border:0;background:none;box-shadow:none;border-radius:6px;font-weight:600;color:var(--ink);padding:8px 12px}
.chip:hover{color:var(--g)}
.chip.on{background:none;color:var(--g);box-shadow:inset 0 -2px 0 var(--g);border-radius:0}
.chips .chip:first-child{background:var(--g);color:#fff;border-radius:8px;box-shadow:none;padding:8px 16px}
.chip.hot{background:none;color:var(--ink);box-shadow:none}
.chip.hot.on{background:none;color:var(--g);box-shadow:inset 0 -2px 0 var(--g)}

/* ---------- banner dien anh ---------- */
.hero3{position:relative;margin:16px;border-radius:20px;overflow:hidden;color:#fff;
  background:radial-gradient(90% 120% at 70% 10%,#1c7a4a 0,#0b4a2b 42%,#04210f 100%)}
.hero3::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 50% at 70% 100%,rgba(120,255,190,.18),transparent 70%),
  linear-gradient(115deg,transparent 0 55%,rgba(255,255,255,.04) 55% 56%,transparent 56%);pointer-events:none}
.h3-in{position:relative;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:10px;padding:40px 44px 26px;max-width:1280px;margin:0 auto}
.pill{display:inline-block;border:1px solid rgba(255,255,255,.35);color:#cdeedb;border-radius:999px;padding:5px 14px;font-size:12.5px;font-weight:700;letter-spacing:.4px;margin-bottom:16px;background:rgba(255,255,255,.06)}
.hero3 h1{font-size:clamp(34px,4.6vw,58px);line-height:1.05;margin:0 0 16px;font-weight:800;letter-spacing:-1.2px;text-wrap:balance}
.hero3 h1 span{background:linear-gradient(90deg,#7dffb3,#ffe27a);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero3 p{color:#b9d9c6;font-size:16px;line-height:1.6;max-width:44ch;margin:0 0 24px}
.h3-cta{display:flex;gap:12px;flex-wrap:wrap}
.btn-g,.btn-o{font:inherit;font-weight:700;font-size:15px;padding:13px 26px;border-radius:10px;text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s}
.btn-g{background:#fff;color:var(--g-dd);border:0;box-shadow:0 10px 30px rgba(125,255,179,.25)}
.btn-o{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.btn-g:hover,.btn-o:hover{transform:translateY(-2px)}
/* san khau */
.stage{position:relative;height:420px}
.beam{position:absolute;left:50%;top:-40px;width:520px;height:520px;transform:translateX(-50%);background:conic-gradient(from 160deg at 50% 0,transparent 0 10deg,rgba(255,255,230,.16) 18deg 42deg,transparent 50deg);filter:blur(6px);pointer-events:none}
.ring{position:absolute;left:8%;right:4%;bottom:6px;height:70px;border-radius:50%;background:radial-gradient(closest-side,rgba(140,255,200,.35),rgba(140,255,200,.08) 60%,transparent);}
.pod{position:absolute;left:var(--x);bottom:18px;width:var(--w);z-index:var(--z);display:flex;flex-direction:column;align-items:center}
.pod-body{width:100%;height:var(--h);position:relative}
.pod-top{width:100%;height:30px;margin-bottom:-15px;position:relative;z-index:1;border-radius:50%}
.pod.cyl .pod-top{background:radial-gradient(ellipse at 40% 35%,#ffffff,#d9efe2 60%,#b6dcc6)}
.pod.cyl .pod-body{border-radius:0 0 50% 50%/0 0 15px 15px;background:linear-gradient(90deg,#8fc7a6 0,#e9f7ef 30%,#ffffff 45%,#bfe1cd 70%,#6faa88 100%);box-shadow:0 30px 40px rgba(0,0,0,.35)}
.pod.cube .pod-top{border-radius:6px;height:22px;margin-bottom:0;background:linear-gradient(180deg,#ffffff,#dff1e6);transform:perspective(300px) rotateX(48deg);transform-origin:bottom}
.pod.cube .pod-body{border-radius:0 0 6px 6px;background:linear-gradient(90deg,#0f6b3a,#1d9a57 35%,#26b366 50%,#168a4b 100%);box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 30px 40px rgba(0,0,0,.35)}
.pod.tall .pod-top{background:radial-gradient(ellipse at 40% 35%,#fff7d6,#ffe07a 60%,#e0b23a)}
.pod.tall .pod-body{background:linear-gradient(90deg,#b78a1f,#ffe58c 32%,#fff6cf 45%,#f2c94c 70%,#a87a12)}
.pod.low .pod-body{height:var(--h)}
.pod-item{position:relative;z-index:2;margin-bottom:-6px;height:190px;width:100%;display:flex;align-items:flex-end;justify-content:center;cursor:pointer;
  filter:drop-shadow(0 18px 18px rgba(0,0,0,.45));animation:hover3 6s ease-in-out infinite;-webkit-box-reflect:below -4px linear-gradient(transparent 78%,rgba(255,255,255,.18))}
.pod-item img{max-height:190px;max-width:100%;object-fit:contain}
.pod-item .spr{width:180px;height:180px;max-width:100%;filter:none}
.pod:nth-child(odd) .pod-item{animation-delay:-3s}
.pod.tall .pod-item{height:230px}.pod.tall .pod-item img{max-height:230px}.pod.tall .pod-item .spr{width:220px;height:220px}
@keyframes hover3{50%{translate:0 -8px}}
.fp:hover{animation-play-state:paused}
.sparks i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff6c2;box-shadow:0 0 8px #fff6c2;opacity:0;animation:spark 7s linear infinite}
.sparks i:nth-child(1){left:12%;animation-delay:0s}.sparks i:nth-child(2){left:22%;animation-delay:-1s}.sparks i:nth-child(3){left:34%;animation-delay:-2.5s}
.sparks i:nth-child(4){left:46%;animation-delay:-4s}.sparks i:nth-child(5){left:58%;animation-delay:-.6s}.sparks i:nth-child(6){left:70%;animation-delay:-3.2s}
.sparks i:nth-child(7){left:82%;animation-delay:-5s}.sparks i:nth-child(8){left:90%;animation-delay:-1.8s}.sparks i:nth-child(9){left:28%;animation-delay:-5.6s}
.sparks i:nth-child(10){left:64%;animation-delay:-6.3s}.sparks i:nth-child(11){left:52%;animation-delay:-2s}.sparks i:nth-child(12){left:8%;animation-delay:-4.6s}
.sparks i:nth-child(13){left:76%;animation-delay:-.2s}.sparks i:nth-child(14){left:40%;animation-delay:-3.8s}
@keyframes spark{0%{bottom:10%;opacity:0}15%{opacity:.9}100%{bottom:95%;opacity:0}}
.h3-badge{position:absolute;right:2%;top:2%;z-index:8;width:104px;height:104px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;
  background:radial-gradient(circle at 35% 30%,#ffe98a,#ffcf3a 60%,#e0a400);color:var(--g-dd);box-shadow:0 0 0 6px rgba(255,207,58,.18),0 14px 30px rgba(0,0,0,.35);transform:rotate(-8deg)}
.h3-badge b{font-size:28px;font-weight:900;color:var(--r)}
.h3-badge small{font-size:11px;font-weight:800;text-transform:uppercase}
/* hang cam ket */
.trust{position:relative;list-style:none;margin:0;padding:16px 44px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;border-top:1px solid rgba(255,255,255,.1);max-width:1280px;margin:0 auto}
.trust li{display:flex;gap:10px;align-items:center;min-width:0}
.trust i{font-style:normal;font-size:20px;width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.08);display:grid;place-items:center;flex-shrink:0}
.trust span{display:flex;flex-direction:column;font-size:12px;color:#a8cdb7;min-width:0}
.trust b{color:#fff;font-size:13.5px}

/* ---------- danh muc anh tron ---------- */
.row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.row-head h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.3px}
.cats3{max-width:1280px;margin:0 auto;padding:30px 16px 6px}
.circles{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px}
.circ{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-size:13px;font-weight:600;text-align:center}
.cimg{width:96px;height:96px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#fff,var(--g-l));display:grid;place-items:center;overflow:hidden;transition:transform .3s,box-shadow .3s;box-shadow:inset 0 0 0 1px var(--line)}
.cimg img{max-width:70px;max-height:74px;object-fit:contain}
.cimg .spr{width:80px;height:80px;filter:none}
.cimg .box{transform:scale(.55)}
.circ:hover .cimg{transform:translateY(-4px);box-shadow:inset 0 0 0 2px var(--g),0 10px 20px rgba(22,155,69,.15)}

/* ---------- ke -> hang the ---------- */
.shelf{margin-top:34px}
.shelf-head{max-width:1280px;margin:0 auto;padding:0 16px 12px;align-items:center}
.sign{background:none!important;box-shadow:none!important;padding:0;animation:none;color:var(--ink)!important;gap:10px}
.sign::before,.sign::after{display:none}
.sign-ic{display:none}
.sign h2{color:var(--ink)!important;font-size:22px;font-weight:800;text-transform:none;letter-spacing:-.3px}
.shelf-head h2{background:none!important;box-shadow:none!important;padding:0!important}
.shelf-head h2::before,.shelf-head h2::after{display:none!important}
.sign small{background:none!important;padding:0;color:var(--muted);font-weight:500}
.see,.shelf.first .see{border:0!important;background:none!important;color:var(--g)!important;padding:0;font-weight:700}
.see:hover{text-decoration:underline}
.rack{max-width:1280px;margin:0 auto;background:none;box-shadow:none;padding:0;overflow:visible}
.rack::before,.rack::after{display:none}
.track{gap:14px;padding:4px 16px 18px}
.card{flex:0 0 196px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:none;transition:box-shadow .3s,border-color .3s,transform .3s}
.card:hover{border-color:#cfe6d7;box-shadow:var(--card-shadow);transform:translateY(-3px)}
/* anh san pham kieu dien anh: den chieu + buc + phan chieu */
.card .pic{height:176px;border-radius:10px;background:radial-gradient(70% 60% at 50% 30%,#ffffff 0,#f2f8f4 55%,#e4efe8 100%);overflow:hidden}
.card .pic::after{content:"";display:block;position:absolute;left:14%;right:14%;bottom:10px;height:16px;border-radius:50%;opacity:1;transform:none;
  background:radial-gradient(closest-side,rgba(15,80,40,.28),rgba(15,80,40,0))}
.card .pic::before{content:"";position:absolute;left:20%;right:20%;bottom:8px;height:20px;border-radius:50%;background:linear-gradient(#ffffff,#dfece4);box-shadow:0 1px 0 #c9ddd0;z-index:0}
.card .pic img,.card .pic .spr{position:relative;z-index:1;margin-bottom:16px;filter:drop-shadow(0 10px 10px rgba(15,50,30,.18));-webkit-box-reflect:below 2px linear-gradient(transparent 82%,rgba(255,255,255,.35))}
.card .pic img{max-height:146px}
.card .pic .spr{width:140px;height:140px}
.card:hover .pic img,.card:hover .pic .spr{transform:translateY(-6px) scale(1.04);filter:drop-shadow(0 16px 14px rgba(15,50,30,.22))}
.board{background:none;padding:0}
.board::before,.board::after{display:none}
.label{margin:10px 0 0;background:none;box-shadow:none;border:0!important;padding:0;min-height:0}
.card:hover .label{transform:none;box-shadow:none}
.label .nm{font-size:13.5px;font-weight:600;color:var(--ink);height:35px}
.label .tag{font-size:17px;font-weight:800;color:var(--ink);text-align:left;margin-top:6px;font-family:inherit}
.label .tag sup{vertical-align:baseline;font-size:17px;margin:0}
.card .add{display:none}
.addcart{display:block;width:100%;margin-top:10px;border:1.5px solid var(--g);background:#fff;color:var(--g);border-radius:8px;padding:8px 6px;font-weight:700;font-size:13.5px;transition:background .2s,color .2s}
.addcart:hover{background:var(--g);color:#fff}
.addcart.in{background:var(--g);color:#fff}
.nav{background:#fff;color:var(--ink);box-shadow:var(--card-shadow);border:1px solid var(--line)}
.grid-rows .track{gap:14px 0}
.grid-rows .card{margin:0 7px;flex-basis:calc(100%/6 - 14px)}
@media (max-width:1000px){.grid-rows .card{flex-basis:calc(25% - 14px)}}
@media (max-width:640px){.grid-rows .card{flex-basis:calc(50% - 10px);margin:0 5px}}

/* ---------- loi ich, banner pastel, thuong hieu ---------- */
.perks{list-style:none;max-width:1248px;margin:30px auto 0;padding:18px 20px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;background:var(--g-ll);border:1px solid #d8eedf;border-radius:14px}
.perks li{display:flex;gap:10px;align-items:center;min-width:0}
.perks i{font-style:normal;font-size:22px}
.perks span{display:flex;flex-direction:column;font-size:12.5px;color:var(--muted);min-width:0}
.perks b{color:var(--ink);font-size:14px}
.promos{max-width:1280px;margin:30px auto 0;padding:0 16px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.promo{position:relative;display:flex;justify-content:space-between;align-items:flex-end;min-height:170px;border-radius:14px;padding:18px;text-decoration:none;color:var(--ink);overflow:hidden;transition:transform .3s}
.promo:hover{transform:translateY(-4px)}
.pz1{background:linear-gradient(135deg,#ffe9ec,#ffd3da)}.pz2{background:linear-gradient(135deg,#e7f6ec,#c9ecd6)}
.pz3{background:linear-gradient(135deg,#fff3df,#ffe2b8)}.pz4{background:linear-gradient(135deg,#e6f1ff,#cfe2ff)}
.pt{display:flex;flex-direction:column;gap:4px;position:relative;z-index:2;max-width:60%}
.pt b{font-size:19px;font-weight:800;line-height:1.15}
.pt small{font-size:13px;color:#4b554f}
.pt em{font-style:normal;margin-top:10px;font-size:13px;font-weight:700;color:var(--g-d)}
.pimg{position:absolute;right:6px;bottom:4px;width:46%;height:90%;display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(0 12px 12px rgba(0,0,0,.18))}
.pimg img{max-height:100%;max-width:100%;object-fit:contain}
.pimg .spr{width:140px;height:140px;filter:none}
.brands{max-width:1280px;margin:40px auto 10px;padding:0 16px}
.brand-row{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:72px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);transition:border-color .2s,box-shadow .2s}
.brand b{font-size:16px;font-weight:800;letter-spacing:-.2px}
.brand small{font-size:11.5px;color:var(--muted)}
.brand:hover{border-color:var(--g);box-shadow:var(--card-shadow)}

/* ---------- gio, modal, footer ---------- */
.basket{background:var(--g-dd);border-radius:12px}
.basket .ic i{background:var(--y)}
.btn.pri{background:var(--g);box-shadow:none;border-radius:10px}
.btn.sec{background:var(--g-l);color:var(--g-dd);border-radius:10px}
.modal .mp{background:radial-gradient(70% 60% at 50% 35%,#ffffff,#e4efe8)}
.modal .pr{color:var(--ink)}
.view-head h1{font-size:28px}
footer{background:var(--g-dd);color:#bcd8c6}
footer b{color:#fff}
footer a{color:#ffe27a}

@media (max-width:1000px){
  .h3-in{grid-template-columns:1fr;padding:28px 22px 10px}
  .stage{height:330px;order:-1;transform:scale(.82);transform-origin:center bottom;margin:-30px -40px 0}
  .trust{grid-template-columns:1fr 1fr;padding:14px 22px 20px}
  .perks,.promos{grid-template-columns:1fr 1fr}
  .brand-row{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:640px){
  .hero3{margin:10px;border-radius:16px}
  .stage{transform:scale(.56);height:300px;margin:-90px -140px -40px}
  .hero3 h1{font-size:32px}
  .card{flex-basis:158px;padding:10px}.card .pic{height:150px}.card .pic img{max-height:120px}.card .pic .spr{width:118px;height:118px}
  .circles{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px 4px}
  .circles::-webkit-scrollbar{display:none}
  .cimg{width:76px;height:76px}.cimg img{max-width:54px;max-height:58px}.cimg .spr{width:64px;height:64px}
  .circ{font-size:11.5px}
  .promos{grid-template-columns:1fr}
  .brand-row{grid-template-columns:repeat(3,1fr)}
}
@media (prefers-reduced-motion:reduce){.pod-item,.sparks i{animation:none}}

/* banner dung anh dung bang Blender */
.hero3.rendered{background:#04210f}
.h3-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;max-width:none}
.hero3.rendered::before{background:linear-gradient(90deg,rgba(4,33,15,.92) 0,rgba(4,33,15,.7) 30%,rgba(4,33,15,0) 52%);z-index:0}
.hero3.rendered .h3-in,.hero3.rendered .trust{position:relative;z-index:1}
.hero3.rendered .h3-in{min-height:430px}
.hero3.rendered .h3-art{height:380px}
.hero3.rendered .h3-badge{right:3%;top:4%}
.hero3.rendered .trust{background:linear-gradient(0deg,rgba(4,33,15,.92),rgba(4,33,15,.55));}
@media (max-width:1000px){
  .hero3.rendered{display:flex;flex-direction:column}
  .h3-img{position:relative;height:auto;aspect-ratio:2000/820;object-fit:cover;object-position:78% center}
  .hero3.rendered::before{display:none}
  .hero3.rendered .h3-in{min-height:0;padding-top:20px}
  .hero3.rendered .h3-art{position:absolute;top:0;right:0;height:auto;width:100%}
  .hero3.rendered .h3-badge{width:78px;height:78px;top:10px;right:10px}.h3-badge b{font-size:20px}
}
@media (max-width:640px){.h3-img{aspect-ratio:4/3;object-position:80% center}}
@media (min-width:1001px){.hero3.rendered .h3-in{grid-template-columns:minmax(0,.72fr) 1.28fr}.hero3.rendered p{max-width:36ch}}
@media (max-width:420px){.logo b{font-size:16px}.top-in{padding:8px 12px}}
/* banner three.js: canvas phu len anh du phong, hien dan khi san sang */
.h3-visual{position:absolute;inset:0}
.h3-visual .h3-img{position:absolute;inset:0}
.h3-canvas{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;transition:opacity .8s}
.h3-visual.live .h3-canvas{opacity:1}
@media (max-width:1000px){
  .h3-visual{position:relative;aspect-ratio:2000/820}
  .h3-visual .h3-img{position:absolute;aspect-ratio:auto;height:100%}
}
@media (max-width:640px){.h3-visual{aspect-ratio:4/3}}
.h3-visual{z-index:0}
.hero3.rendered::before{z-index:1}
.hero3.rendered .h3-in,.hero3.rendered .trust{z-index:2}
@media (max-width:1000px){.hero3.rendered::before{display:none}}
