.tgbb-hd,.tgbb-hd *{box-sizing:border-box;font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif}
.tgbb-hd{--c1:#d9480f;--c2:#f08c00;--kem:#fff4e6;background:linear-gradient(90deg,var(--c1),var(--c2));color:#fff;position:sticky;top:0;z-index:999}
.tgbb-hd a{color:#fff;text-decoration:none}
.tgbb-hd .top{font-size:12px;opacity:.95;text-align:center;padding:4px 12px;border-bottom:1px solid rgba(255,255,255,.25)}
.tgbb-hd .bar{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:10px 16px}
.tgbb-hd .logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:20px;white-space:nowrap}
.tgbb-hd .logo svg{width:34px;height:34px;flex:none}
.tgbb-hd form{flex:1;display:flex;background:#fff;border-radius:6px;padding:3px;min-width:0}
.tgbb-hd input{flex:1;border:0;outline:0;padding:8px 10px;font-size:14px;color:#222;min-width:0;background:transparent}
.tgbb-hd button{border:0;background:var(--c1);color:#fff;border-radius:4px;padding:0 16px;font-weight:700;cursor:pointer}
.tgbb-hd .cart{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none}
.tgbb-hd .cart svg{width:28px;height:28px}
.tgbb-hd nav{max-width:1200px;margin:0 auto;display:flex;gap:18px;padding:0 16px 8px;font-size:14px;overflow-x:auto;scrollbar-width:none}
.tgbb-hd nav::-webkit-scrollbar{display:none}
.tgbb-hd nav a{white-space:nowrap;opacity:.95}
.tgbb-hd nav a:hover{opacity:1;text-decoration:underline}
@media (max-width:640px){
  .tgbb-hd .logo span{display:none}
  .tgbb-hd .bar{padding:8px 16px;gap:8px}
  .tgbb-hd button{padding:0 12px}
  .tgbb-hd nav{padding:0 16px 8px;gap:14px;font-size:13px}
}
.tgbb-ft,.tgbb-ft *{box-sizing:border-box;font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif}
.tgbb-ft{background:#2b1a0e;color:#f1e3d3;padding:28px 16px 90px;font-size:14px;line-height:1.6}
.tgbb-ft a{color:#ffd8a8;text-decoration:none}
.tgbb-ft .wrap{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.tgbb-ft h4{color:#fff;font-size:15px;margin:0 0 8px}
.tgbb-ft ul{list-style:none;margin:0;padding:0}
.tgbb-ft li{margin:4px 0}
.tgbb-ft .copy{max-width:1200px;margin:22px auto 0;border-top:1px solid rgba(255,255,255,.15);padding-top:12px;font-size:12px;opacity:.75}
.tgbb-dock{position:fixed;left:0;right:0;bottom:0;z-index:998;display:flex;background:#fff;box-shadow:0 -2px 10px rgba(0,0,0,.12)}
.tgbb-dock a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 4px;font:600 12px Arial,sans-serif;color:#5c3d1e;text-decoration:none}
.tgbb-dock a svg{width:22px;height:22px}
.tgbb-dock a.buy{background:linear-gradient(90deg,#d9480f,#f08c00);color:#fff;font-size:14px;flex:1.6}
@media (min-width:900px){.tgbb-dock{display:none}.tgbb-ft{padding-bottom:28px}}
.tgbb-home,.tgbb-home *{box-sizing:border-box;font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif}
.tgbb-home{--c1:#d9480f;--c2:#f08c00;--nau:#5c3d1e;--kem:#fff4e6;background:#f6f1ea;color:#2b2118;padding-bottom:8px}
.tgbb-home a{text-decoration:none;color:inherit}
.tgbb-home .wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.tgbb-home .sec{background:#fff;border-radius:10px;margin:12px 0;padding:14px}
.tgbb-home .sec h2{margin:0 0 12px;font-size:18px;color:var(--c1);text-transform:uppercase;letter-spacing:.3px;display:flex;justify-content:space-between;align-items:center}
.tgbb-home .sec h2 a{font-size:13px;text-transform:none;color:var(--c1);font-weight:600}
/* banner */
.tgbb-home .hero{display:grid;grid-template-columns:2fr 1fr;gap:10px;padding-top:12px}
.tgbb-home .slides{position:relative;border-radius:10px;overflow:hidden;min-height:220px;background:#ffd8a8}
.tgbb-home .slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 26px;opacity:0;transition:opacity .6s}
.tgbb-home .slide.on{opacity:1}
.tgbb-home .slide h1,.tgbb-home .slide h3{margin:0 0 8px;font-size:28px;line-height:1.2;color:#3b2412}
.tgbb-home .slide p{margin:0 0 14px;font-size:15px;color:#5c3d1e}
.tgbb-home .btn{display:inline-block;background:linear-gradient(90deg,var(--c1),var(--c2));color:#fff!important;font-weight:700;padding:10px 20px;border-radius:999px;box-shadow:0 3px 8px rgba(217,72,15,.3)}
.tgbb-home .slide svg{width:170px;height:170px;flex:none}
.tgbb-home .dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px}
.tgbb-home .dots i{width:8px;height:8px;border-radius:50%;background:rgba(0,0,0,.25);cursor:pointer}
.tgbb-home .dots i.on{background:var(--c1)}
.tgbb-home .side{display:grid;grid-template-rows:1fr 1fr;gap:10px}
.tgbb-home .side a{border-radius:10px;padding:16px;display:flex;flex-direction:column;justify-content:center;color:#3b2412}
.tgbb-home .side b{font-size:17px}
.tgbb-home .side span{font-size:13px}
/* cam kết */
.tgbb-home .trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tgbb-home .trust div{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--nau)}
.tgbb-home .trust svg{width:28px;height:28px;flex:none;color:var(--c1)}
/* danh mục */
.tgbb-home .cats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center}
.tgbb-home .cats a{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;font-weight:600}
.tgbb-home .cats .ic{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.tgbb-home .cats svg{width:52px;height:52px}
/* sản phẩm */
.tgbb-home .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.tgbb-home .card{background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.tgbb-home .card:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.08);border-color:var(--c2)}
.tgbb-home .card .img{aspect-ratio:1/1;background:#fff4e6;display:flex;align-items:center;justify-content:center;overflow:hidden}
.tgbb-home .card img{width:100%;height:100%;object-fit:cover}
.tgbb-home .card .bd{padding:8px 10px 10px;display:flex;flex-direction:column;gap:4px;flex:1}
.tgbb-home .card .nm{font-size:13px;line-height:1.35;height:2.7em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tgbb-home .card .pr{color:var(--c1);font-weight:800;font-size:16px}
.tgbb-home .card .old{color:#999;text-decoration:line-through;font-size:12px;font-weight:400;margin-left:4px}
.tgbb-home .card .sale{align-self:flex-start;background:#fff0e6;color:var(--c1);font-size:11px;font-weight:700;padding:1px 6px;border-radius:3px}
.tgbb-home .empty{text-align:center;padding:26px 12px;color:var(--nau)}
.tgbb-home .empty p{margin:0 0 14px}
/* các bước */
.tgbb-home .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;counter-reset:b}
.tgbb-home .steps div{background:var(--kem);border-radius:8px;padding:12px;font-size:13px;color:var(--nau)}
.tgbb-home .steps div::before{counter-increment:b;content:counter(b);display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--c1);color:#fff;font-weight:800;align-items:center;justify-content:center;margin-bottom:6px}
.tgbb-home .steps b{display:block;font-size:14px;color:#3b2412;margin-bottom:2px}
/* hỏi đáp */
.tgbb-home details{border-bottom:1px solid #f0e6da;padding:10px 0}
.tgbb-home summary{cursor:pointer;font-weight:700;font-size:14px;color:#3b2412}
.tgbb-home details p{margin:8px 0 0;font-size:14px;line-height:1.6;color:#4a3b2e}
@media (max-width:820px){
  .tgbb-home .hero{grid-template-columns:1fr}
  .tgbb-home .side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .tgbb-home .steps{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .tgbb-home .slides{min-height:200px}
  .tgbb-home .slide{padding:16px}
  .tgbb-home .slide h1,.tgbb-home .slide h3{font-size:21px}
  .tgbb-home .slide p{font-size:13px}
  .tgbb-home .slide svg{width:110px;height:110px}
  .tgbb-home .trust{grid-template-columns:1fr;gap:6px}
  .tgbb-home .cats .ic{width:60px;height:60px}
  .tgbb-home .cats svg{width:42px;height:42px}
  .tgbb-home .cats a{font-size:12px}
  .tgbb-home .grid{grid-template-columns:repeat(2,1fr);gap:8px}
}
.tgbb-pg,.tgbb-pg *{box-sizing:border-box;font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif}
.tgbb-pg{background:#f6f1ea;color:#2b2118;padding:16px 16px 24px}
.tgbb-pg .box{max-width:860px;margin:0 auto;background:#fff;border-radius:12px;padding:22px 20px}
.tgbb-pg h1{margin:0 0 10px;font-size:24px;color:#d9480f}
.tgbb-pg h2{margin:22px 0 8px;font-size:17px;color:#3b2412}
.tgbb-pg p,.tgbb-pg li{font-size:15px;line-height:1.7;color:#4a3b2e}
.tgbb-pg ul,.tgbb-pg ol{padding-left:20px;margin:6px 0}
.tgbb-pg a{color:#d9480f;font-weight:600;text-decoration:none}
.tgbb-pg .btn{display:inline-block;background:linear-gradient(90deg,#d9480f,#f08c00);color:#fff!important;font-weight:700;padding:11px 22px;border-radius:999px;margin:6px 6px 0 0}
.tgbb-pg .btn.phu{background:#fff;color:#d9480f!important;border:2px solid #d9480f}
.tgbb-pg .fill{background:#fff3bf;padding:0 4px;border-radius:3px}
.tgbb-ok{text-align:center}
.tgbb-ok .tick{width:76px;height:76px;border-radius:50%;background:#2f9e44;display:flex;align-items:center;justify-content:center;margin:4px auto 12px;animation:tgbbPop .5s ease-out}
.tgbb-ok .tick svg{width:44px;height:44px}
@keyframes tgbbPop{0%{transform:scale(.3);opacity:0}80%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.tgbb-ok ol{text-align:left;max-width:520px;margin:14px auto;background:#fff4e6;border-radius:10px;padding:14px 14px 14px 34px}
.tgbb-lh{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}
.tgbb-lh a,.tgbb-lh div{display:block;background:#fff4e6;border-radius:10px;padding:14px;color:#3b2412!important;font-weight:400}
.tgbb-lh b{display:block;color:#d9480f;margin-bottom:4px}
/* ===== Phần thêm cho web bán hàng (giỏ, chi tiết, tài khoản, quản trị) ===== */
html,body{margin:0;padding:0;background:#f6f1ea}
body{font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif;color:#2b2118;-webkit-text-size-adjust:100%}
.tgbb-hd .cart b{position:absolute;top:2px;right:0;background:#fff;color:#d9480f;border-radius:999px;font-size:11px;min-width:18px;height:18px;line-height:18px;text-align:center;padding:0 4px}
.tgbb-hd .acc{display:flex;align-items:center;justify-content:center;width:36px;height:40px;flex:none}
.tgbb-hd .acc svg{width:26px;height:26px}
.tgbb-pg .box.rong{max-width:1200px}
.tgbb-pg input,.tgbb-pg select,.tgbb-pg textarea{width:100%;padding:11px 12px;border:1px solid #e3d5c4;border-radius:8px;font-size:15px;font-family:inherit;background:#fff;color:#2b2118}
.tgbb-pg textarea{min-height:70px}
.tgbb-pg label{display:block;font-size:13px;font-weight:600;color:#5c3d1e;margin:10px 0 4px}
.tgbb-pg button{font-family:inherit;cursor:pointer}
.tgbb-pg .btn{border:0;font-size:15px}
.tgbb-pg .btn[disabled]{opacity:.55;cursor:not-allowed}
.tgbb-pg .loi{color:#c92a2a;font-size:14px;margin:8px 0;min-height:1em}
.tgbb-pg .nho{font-size:13px;color:#7a6650}
.tgbb-pg .hai{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.grid2{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}
.crumb{max-width:1200px;margin:0 auto;padding:10px 16px 0;font-size:13px;color:#7a6650}
.crumb a{color:#d9480f;text-decoration:none}
/* lưới sản phẩm dùng chung (trang danh sách) */
.tgbb-home .bar2{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.tgbb-home .bar2 a{white-space:nowrap;padding:7px 14px;border-radius:999px;background:#fff4e6;color:#5c3d1e;font-size:13px;font-weight:600}
.tgbb-home .bar2 a.on{background:#d9480f;color:#fff}
.tgbb-home .card .ton0{font-size:11px;color:#999}
/* chi tiết sản phẩm */
.sp{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.sp .anh{background:#fff4e6;border-radius:10px;aspect-ratio:1/1;overflow:hidden;display:flex;align-items:center;justify-content:center}
.sp .anh img{width:100%;height:100%;object-fit:cover}
.sp .thumbs{display:flex;gap:6px;margin-top:8px;overflow-x:auto}
.sp .thumbs img{width:62px;height:62px;object-fit:cover;border-radius:6px;border:2px solid transparent;cursor:pointer}
.sp .thumbs img.on{border-color:#d9480f}
.sp h1{font-size:20px;color:#2b2118;margin:0 0 8px;line-height:1.35}
.sp .gia{background:#fafafa;border-radius:8px;padding:12px;margin:8px 0 12px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.sp .gia .old{color:#999;text-decoration:line-through;font-size:15px}
.sp .gia .now{color:#d9480f;font-size:28px;font-weight:800}
.sp .gia .sale{background:#d9480f;color:#fff;font-size:12px;font-weight:700;padding:2px 6px;border-radius:3px}
.sp .nhom{margin:10px 0}
.sp .nhom>b{display:block;font-size:13px;color:#7a6650;margin-bottom:6px;font-weight:600}
.chip{display:inline-block;border:1px solid #e3d5c4;background:#fff;border-radius:6px;padding:7px 14px;margin:0 6px 6px 0;font-size:14px;cursor:pointer;color:#2b2118;font-family:inherit}
.chip.on{border-color:#d9480f;color:#d9480f;background:#fff4e6;font-weight:700}
.chip[disabled]{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.qty{display:inline-flex;border:1px solid #e3d5c4;border-radius:6px;overflow:hidden;vertical-align:middle}
.qty button{width:36px;height:36px;border:0;background:#fff;font-size:18px;cursor:pointer;color:#5c3d1e}
.qty input{width:52px;height:36px;border:0!important;border-left:1px solid #e3d5c4!important;border-right:1px solid #e3d5c4!important;border-radius:0!important;text-align:center;padding:0!important;font-size:15px}
.sp .nut{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.sp .nut .btn{margin:0;flex:1;min-width:140px;text-align:center}
.mo-ta{white-space:pre-line;font-size:15px;line-height:1.7;color:#4a3b2e}
/* giỏ hàng */
.gio .dong{display:grid;grid-template-columns:72px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #f0e6da}
.gio .dong img,.gio .dong .ph{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#fff4e6}
.gio .dong .t{font-size:14px;font-weight:600}
.gio .dong .bt{font-size:12px;color:#7a6650}
.gio .dong .g{color:#d9480f;font-weight:700}
.gio .dong .x{background:none;border:0;color:#999;font-size:13px;cursor:pointer;padding:4px}
.tong{background:#fff4e6;border-radius:10px;padding:14px;margin-top:12px}
.tong div{display:flex;justify-content:space-between;margin:4px 0;font-size:15px}
.tong .cuoi{font-size:18px;font-weight:800;color:#d9480f;border-top:1px dashed #e3c9a8;padding-top:8px;margin-top:8px}
.trong{text-align:center;padding:30px 10px;color:#7a6650}
/* tài khoản + đơn của tôi */
.tabs{display:flex;overflow-x:auto;border-bottom:2px solid #f0e6da;scrollbar-width:none;margin:0 -4px}
.tabs button{flex:none;background:none;border:0;padding:12px 14px;font-size:14px;color:#5c3d1e;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;font-family:inherit;white-space:nowrap}
.tabs button.on{color:#d9480f;border-bottom-color:#d9480f;font-weight:700}
.don{border:1px solid #f0e6da;border-radius:10px;padding:12px;margin:12px 0}
.don .dau{display:flex;justify-content:space-between;font-size:13px;color:#7a6650;margin-bottom:6px;gap:8px;flex-wrap:wrap}
.don .tt{color:#d9480f;font-weight:700}
.don .sp1{font-size:14px;padding:3px 0}
.don .cuoi{display:flex;justify-content:space-between;align-items:center;margin-top:8px;border-top:1px dashed #f0e6da;padding-top:8px;gap:8px;flex-wrap:wrap}
.dc{border:1px solid #f0e6da;border-radius:10px;padding:12px;margin:10px 0;font-size:14px;line-height:1.6}
.dc .md{display:inline-block;border:1px solid #d9480f;color:#d9480f;font-size:11px;padding:0 6px;border-radius:3px;margin-left:6px}
.dc .hanh{margin-top:6px;display:flex;gap:14px;font-size:13px}
.dc .hanh button{background:none;border:0;color:#d9480f;padding:0;font-weight:600}
.lien-ket{background:none;border:0;color:#d9480f;font-weight:600;padding:0;font-size:14px}
.an{display:none!important}
.mau-tag{display:inline-block;background:#fff3bf;color:#7a5b00;font-size:11px;font-weight:700;padding:1px 6px;border-radius:3px}
@media (max-width:820px){.sp,.grid2{grid-template-columns:1fr}}
@media (max-width:520px){.tgbb-pg{padding:10px 10px 20px}.tgbb-pg .box{padding:16px 14px}.tgbb-pg .hai{grid-template-columns:1fr}.sp .gia .now{font-size:24px}}
/* ===== Giao diện kiểu sàn (2026-11-23): nền xám, thẻ vuông, đầu trang 2 tầng, gian hàng ===== */
html,body,.tgbb-home,.tgbb-pg{background:#f5f5f5}
.tgbb-hd{background:linear-gradient(-180deg,#f53d2d,#f63)}
.tgbb-hd .top{text-align:left;padding:0;border:0;font-size:13px}
.tgbb-hd .top .w{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;padding:5px 16px}
.tgbb-hd .top span{display:flex;align-items:center;gap:10px}
.tgbb-hd .top i{width:1px;height:12px;background:rgba(255,255,255,.4)}
.tgbb-hd #topTk{display:flex;align-items:center;gap:6px}
.tgbb-hd #topTk img{width:20px;height:20px;border-radius:50%;object-fit:cover}
.tgbb-hd .bar{padding:12px 16px 8px;gap:18px;align-items:flex-start}
.tgbb-hd .logo{font-size:22px;padding-top:4px}
.tgbb-hd .logo svg{width:40px;height:40px}
.tgbb-hd .tim{flex:1;min-width:0}
.tgbb-hd form{border-radius:2px;padding:3px;box-shadow:0 .125rem .25rem rgba(0,0,0,.09)}
.tgbb-hd form button{border-radius:2px;background:#fb5533;width:60px;display:flex;align-items:center;justify-content:center;padding:0}
.tgbb-hd form button svg{width:18px;height:18px}
.tgbb-hd .goiy{display:flex;gap:12px;font-size:12px;margin-top:5px;overflow:hidden;white-space:nowrap;height:16px}
.tgbb-hd .goiy a{opacity:.9}
.tgbb-hd .cart,.tgbb-hd .acc{margin-top:2px}
.tgbb-hd .acc img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.8)}
.tgbb-hd nav{padding:0;max-width:none;display:block;background:rgba(0,0,0,.06)}
.tgbb-hd nav .w{max-width:1200px;margin:0 auto;display:flex;gap:22px;padding:7px 16px;overflow-x:auto;scrollbar-width:none}
.tgbb-hd nav .w::-webkit-scrollbar{display:none}
.tgbb-hd nav a.hot{font-weight:700;background:#fff;color:#ee4d2d;border-radius:2px;padding:0 8px}
@media (max-width:640px){
  .tgbb-hd .top .w span:first-child a:last-child,.tgbb-hd .top .w span:first-child i{display:none}
  .tgbb-hd .bar{gap:8px;padding:8px 12px 6px;align-items:center}
  .tgbb-hd .logo{padding:0}.tgbb-hd .logo svg{width:32px;height:32px}
  .tgbb-hd .goiy{display:none}
  .tgbb-hd nav .w{gap:16px;font-size:13px;padding:6px 12px}
}
/* lưới sản phẩm */
.tgbb-home .sec{border-radius:2px}
.tgbb-home .sec h2{color:#ee4d2d}
.tgbb-home .goi-y{background:transparent;padding:0}
.tgbb-home .tieu-de-goi-y{background:#fff;justify-content:center!important;padding:14px;margin:0 0 6px!important;border-bottom:4px solid #ee4d2d;font-size:16px!important}
.tgbb-home .xem-them{text-align:center;padding:16px 0 4px}
.tgbb-home .xem-them .btn{background:#fff!important;color:#555!important;border:1px solid #ddd;border-radius:2px;padding:9px 120px}
.tgbb-home .grid{grid-template-columns:repeat(6,1fr);gap:8px}
.tgbb-home .card{border-radius:0;border:1px solid transparent;position:relative;box-shadow:0 .0625rem .125rem rgba(0,0,0,.1)}
.tgbb-home .card:hover{transform:translateY(-1px);border-color:#ee4d2d;box-shadow:0 .0625rem 20px rgba(0,0,0,.05);z-index:1}
.tgbb-home .card>a{display:flex;flex-direction:column;flex:1}
.tgbb-home .card .img{position:relative;background:#fafafa}
.tgbb-home .card .img .sale{position:absolute;top:0;right:0;background:#ffd839;color:#ee4d2d;border-radius:0;padding:4px 4px 6px;font-size:12px;font-weight:700;clip-path:polygon(0 0,100% 0,100% 100%,50% 85%,0 100%)}
.tgbb-home .card .img .het{position:absolute;inset:auto 0 0 0;background:rgba(0,0,0,.55);color:#fff;font-size:12px;text-align:center;padding:4px}
.tgbb-home .card .nm{font-size:12px;color:#222}
.tgbb-home .card .tag{display:flex;gap:4px;flex-wrap:wrap;min-height:16px}
.tgbb-home .card .tag span{font-size:10px;border:1px solid #ee4d2d;color:#ee4d2d;padding:0 3px;line-height:14px}
.tgbb-home .card .tag .hh{background:#ee4d2d;color:#fff}
.tgbb-home .card .pr{color:#ee4d2d;font-size:16px;font-weight:500;margin-top:auto}
.tgbb-home .card .pr b{font-weight:500}
.aff-btn{border:0;border-top:1px dashed #f3c2b6;background:#fff6f4;color:#ee4d2d;font:600 12px "Be Vietnam Pro",Arial,sans-serif;padding:7px 4px;cursor:pointer;width:100%}
.aff-btn:hover{background:#ee4d2d;color:#fff}
.aff-btn.da{background:#26aa99;color:#fff}
@media (max-width:1100px){.tgbb-home .grid{grid-template-columns:repeat(5,1fr)}}
@media (max-width:900px){.tgbb-home .grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:640px){.tgbb-home .grid{grid-template-columns:repeat(2,1fr);gap:6px}.tgbb-home .xem-them .btn{padding:9px 40px}}
/* gian hàng + danh sách */
.shop-hd{background:#fff;padding:16px;margin:12px 0;display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:20px;align-items:center;box-shadow:0 1px 1px rgba(0,0,0,.05)}
.tgbb-pg .shop-hd{margin:0;padding:0;box-shadow:none}
.shop-l{display:flex;gap:14px;align-items:center}
.shop-l b{display:block;font-size:17px;color:#222}
.shop-l .nho{font-size:12px;color:#888;display:block}
.shop-av{width:72px;height:72px;border-radius:50%;background:linear-gradient(-180deg,#f53d2d,#f63);display:flex;align-items:center;justify-content:center;flex:none}
.shop-av svg{width:48px;height:48px}
.shop-nut{display:flex;gap:8px;margin-top:8px}
.nho-btn,.tgbb-pg .nho-btn,.tgbb-home .nho-btn{padding:5px 12px!important;font-size:13px!important;border-radius:2px!important;margin:0!important;border:1px solid #ee4d2d!important;background:#fff!important;color:#ee4d2d!important}
.shop-so{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px 18px;font-size:14px}
.shop-so div{display:flex;gap:8px;align-items:baseline}
.shop-so span{color:#666}
.shop-so b{color:#ee4d2d;font-weight:500}
.ds-wrap{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:start}
.ds-dm{padding-top:4px}
.ds-dm h3{font-size:16px;margin:0 0 8px;padding-bottom:10px;border-bottom:1px solid #e5e5e5;color:#222}
.ds-dm a{display:block;padding:7px 0 7px 10px;font-size:14px;color:#222}
.ds-dm a.on{color:#ee4d2d;font-weight:700}
.ds-nd .bar2{display:none!important}
.sap-xep{background:#ededed;padding:10px 14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;font-size:14px}
.sap-xep span{color:#555}
.sap-xep button{border:0;background:#fff;padding:7px 14px;border-radius:2px;font:14px "Be Vietnam Pro",Arial,sans-serif;cursor:pointer;color:#222}
.sap-xep button.on{background:#ee4d2d;color:#fff}
.sap-xep em{margin-left:auto;font-style:normal;color:#888;font-size:13px}
@media (max-width:820px){
  .shop-hd{grid-template-columns:1fr}
  .ds-wrap{grid-template-columns:1fr}.ds-dm{display:none}.ds-nd .bar2{display:flex!important;margin-bottom:8px}
  .sap-xep{flex-wrap:nowrap;overflow-x:auto;padding:8px}.sap-xep span,.sap-xep em{display:none}.sap-xep button{white-space:nowrap}
}
/* chi tiết kiểu sàn */
.tgbb-pg .box{border-radius:2px}
.tgbb-pg+.tgbb-pg{padding-top:0}
.sp{grid-template-columns:450px 1fr;gap:28px}
.sp .anh{border-radius:0;background:#fafafa}
.sp .thumbs img{border-radius:0}
.sp .thumbs img.on{border-color:#ee4d2d}
.sp h1{font-size:20px;font-weight:500}
.sp .gia{background:#fafafa;border-radius:0;padding:15px 20px}
.sp .gia .now{color:#ee4d2d;font-size:30px;font-weight:500}
.sp .gia .sale{background:#ee4d2d;border-radius:2px}
.sp .dong,.sp .nhom{display:grid;grid-template-columns:110px 1fr;gap:10px;align-items:start;margin:14px 0;font-size:14px;color:#222}
.sp .dong>b,.sp .nhom>b{color:#757575;font-weight:400;font-size:14px;margin:0;padding-top:7px}
.sp .dong>b{padding-top:0}
.chip{border-radius:2px;border-color:rgba(0,0,0,.09)}
.chip.on{border-color:#ee4d2d;color:#ee4d2d;background:#fff}
.sp .nut .btn{border-radius:2px;flex:none;min-width:180px;padding:13px 20px;background:#ee4d2d}
.sp .nut .btn.phu{background:rgba(255,87,34,.1)!important;border:1px solid #ee4d2d;color:#ee4d2d!important}
.aff-hop{margin-top:16px;border:1px dashed #ee4d2d;background:#fff6f4;padding:12px 14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;font-size:14px}
.aff-hop .btn{background:#ee4d2d!important;color:#fff!important;border:0!important}
.aff-hop #affSpLink{flex-basis:100%;word-break:break-all}
.khoi-xam{background:#fafafa;padding:14px;font-size:16px!important;font-weight:500;margin:0 0 14px!important;color:#222!important}
.khoi-xam:not(:first-child){margin-top:24px!important}
.bang-ct{border-collapse:collapse;font-size:14px;margin:0 0 6px 14px}
.bang-ct th{text-align:left;color:#757575;font-weight:400;padding:6px 30px 6px 0;vertical-align:top}
.bang-ct td{padding:6px 0;color:#222}
.aff-tr .aff-hero{background:linear-gradient(-180deg,#f53d2d,#f63);color:#fff;margin:-22px -20px 10px;padding:28px 22px}
.aff-tr .aff-hero h1{color:#fff}
.aff-tr .aff-hero p{color:#fff}
.aff-tr .aff-hero .btn{background:#fff!important;color:#ee4d2d!important;border-radius:2px}
.aff-buoc{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.aff-buoc div{background:#fff6f4;padding:12px;font-size:14px;color:#555;line-height:1.5}
.aff-buoc b{display:block;color:#ee4d2d;margin-bottom:4px}
@media (max-width:820px){.sp{grid-template-columns:1fr}.aff-buoc{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.sp .nut .btn{flex:1;min-width:0}.sp .dong,.sp .nhom{grid-template-columns:80px 1fr}.aff-tr .aff-hero{margin:-16px -14px 10px}}
/* Bảng chi phí kiểu sàn ở trang thanh toán và giỏ (2026-11-23) */
.tong.bang{background:#fff;border:1px solid #f1e3d3;padding:14px 16px}
.tong.bang .tieu{font-weight:800;font-size:17px;margin:0 0 8px}
.tong.bang .nhom{font-weight:700;margin-top:10px}
.tong.bang .con{color:#555;padding-left:14px;font-size:14px;margin:2px 0}
.tong.bang .con b{font-weight:500}
.tong.bang .giam{color:#e03131}
.tong.bang .cuoi{color:#2b2118;border-top:1px solid #eee}
.tong.bang .cuoi span:last-child{color:#d9480f}
.tong.bang .tiet{display:block;text-align:right;color:#e03131;font-size:14px;font-weight:600}
.tt-bar{position:fixed;left:0;right:0;bottom:0;z-index:1000;display:flex;align-items:center;gap:10px;background:#fff;padding:10px 14px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px rgba(0,0,0,.14)}
.tt-bar.an{display:none}
.tt-bar .tien{flex:1;display:flex;flex-direction:column;line-height:1.25}
.tt-bar .tien span{font-size:13px;color:#555}
.tt-bar .tien b{font-size:20px;color:#d9480f}
.tt-bar .tien small{color:#e03131;font-weight:600;font-size:12px}
.tt-bar .btn{flex:1.2;padding:13px 10px;font-size:16px;margin:0}
@media (min-width:900px){.tt-bar{display:none!important}}
.tt-bar .btn{background:linear-gradient(90deg,#d9480f,#f08c00);color:#fff;border:0;border-radius:10px;font-weight:700;cursor:pointer;font-family:inherit}
