:root{
  --bg:#f3f4f6;
  --paper:#ffffff;
  --text:#2b2f36;
  --muted:#777f8a;
  --line:#e7e9ee;
  --red:#d62828;
  --red-dark:#a4161a;
  --grey:#5f6875;
  --soft:#f8f8f9;
  --shadow:0 18px 50px rgba(23,29,39,.08);
  --shadow-strong:0 28px 80px rgba(23,29,39,.15);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Noto Sans Thai','Inter',Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font-family:inherit}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.topbar{
  position:sticky;top:0;z-index:50;
  padding:18px 0;
}
.nav{
  height:72px;
  background:var(--paper);
  border-radius:999px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 22px 0 16px;
  box-shadow:0 12px 35px rgba(23,29,39,.06);
}
.logo{display:flex;align-items:center;gap:10px;min-width:190px;padding-left:32px}
.logo img{height:52px;width:auto}
.menu{display:flex;align-items:center;gap:38px;font-weight:800;font-size:14px;color:#252931}
.menu a{position:relative;padding:9px 0;transition:.2s}
.menu a:after{content:"";position:absolute;left:0;bottom:0;width:0;height:3px;background:var(--red);border-radius:20px;transition:.25s}
.menu a:hover,.menu a.active{color:var(--red)}
.menu a:hover:after,.menu a.active:after{width:100%}
.nav-actions{display:flex;align-items:center;gap:12px}
.search{width:220px;height:42px;border:1px solid var(--line);border-radius:999px;background:#f7f8fa;display:flex;align-items:center;padding:0 14px;gap:8px;color:var(--muted)}
.search input{border:0;outline:0;background:transparent;width:100%;font-size:13px}
.cart-btn,.icon-btn{width:42px;height:42px;border-radius:50%;border:0;background:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(23,29,39,.08);cursor:pointer;position:relative}
.cart-count,.wish-count{position:absolute;right:-4px;top:-4px;background:var(--red);color:#fff;font-size:11px;font-weight:900;
  min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:grid;place-items:center;border:2px solid #fff;
  line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.2px;box-shadow:0 4px 10px rgba(214,40,40,.35)}
.cart-count.is-zero,.wish-count.is-zero{display:none}          /* ไม่มีของ = ไม่ต้องโชว์เลข 0 ให้รก */
@keyframes badgePop{0%{transform:scale(.4)}55%{transform:scale(1.35)}100%{transform:scale(1)}}
.cart-count.bump,.wish-count.bump{animation:badgePop .38s cubic-bezier(.3,1.5,.5,1)}
@media(prefers-reduced-motion:reduce){.cart-count.bump,.wish-count.bump{animation:none}}
.hamb,.search-toggle{display:none}
.icon{width:1em;height:1em;display:inline-block;vertical-align:-0.15em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon.icon-filled{fill:currentColor;stroke:none}
.cart-btn .icon,.icon-btn .icon{width:19px;height:19px}
.search .icon{width:16px;height:16px}
.wish .icon{width:20px;height:20px}
.cart-mini .icon{width:17px;height:17px}
.coupon-icon .icon{width:13px;height:13px}
.play .icon{width:15px;height:15px;margin-left:2px}
.feature i .icon{width:22px;height:22px;color:var(--red)}
.info-icon .icon{width:22px;height:22px}
.meta-list .icon{width:18px;height:18px;color:var(--red)}
.view-all .icon{width:14px;height:14px;margin-left:4px;vertical-align:-2px}
.star-rating{display:inline-flex;align-items:center;gap:1px}
.star-rating .icon{width:13px;height:13px;stroke:none;fill:#e4e7ec}
.star-rating .icon.icon-filled{fill:#f6aa00}
.mini-card .star-rating .icon{width:10px;height:10px}
.hero{padding:72px 0 50px;background:#fff}
.hero-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:44px;align-items:center}
.hero h1{line-height:1.25}
/* อนิเมชันตอนเปิดหน้าแรก — เด้งขึ้นทีละชิ้นตามลำดับ (ปิดให้เครื่องที่ตั้งค่าลดการเคลื่อนไหว) */
@media(prefers-reduced-motion:no-preference){
  @keyframes heroRise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
  @keyframes heroPop{from{opacity:0;transform:translateY(30px) scale(.94)}to{opacity:1;transform:none}}
  /* ใช้ fill-mode: backwards (ไม่ใช่ both) เพื่อให้พอเล่นจบแล้วคืนสิทธิ์ transform ให้ :hover */
  .hero .eyebrow,.hero h1,.hero .hero-desc,.hero-actions,.hero-visual .blob,.feature-list .feature{
    animation:heroRise .72s cubic-bezier(.22,.9,.3,1) backwards}
  .hero .eyebrow{animation-delay:.05s}
  .hero h1{animation-delay:.15s}
  .hero-visual .blob{animation:heroPop .85s cubic-bezier(.22,1.1,.36,1) backwards;animation-delay:.45s}
  .hero .hero-desc{animation-delay:.75s}
  .hero-actions{animation-delay:.95s}
  .feature-list .feature:nth-child(1){animation-delay:1.1s}
  .feature-list .feature:nth-child(2){animation-delay:1.2s}
  .feature-list .feature:nth-child(3){animation-delay:1.3s}
}
.eyebrow{font-family:'Inter',sans-serif;font-weight:600;color:var(--red);letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px;font-size:12px}
h1,.h1{font-size:54px;line-height:1.25;margin:0 0 20px;letter-spacing:-.02em;color:#20242a}
.red{color:var(--red)}
.hero p{font-size:18px;line-height:1.625;color:#59616d;max-width:600px;margin:0 0 26px}
.hero-actions{display:flex;align-items:center;gap:16px;margin-bottom:28px;flex-wrap:wrap}
.br-sm{display:none}          /* ตัดบรรทัดเฉพาะจอเล็ก — บน PC ปล่อยให้ไหลตามปกติ */
@media(max-width:860px){
  .br-sm{display:inline}
  .mini-slider{flex-basis:100%;max-width:none}
  .hero-actions{justify-content:center}
  .hero .eyebrow,.hero h1,.hero .hero-desc{text-align:center}
  .hero .hero-desc{margin-left:auto;margin-right:auto}
}
/* หัวข้อในการ์ด (หน้าติดต่อ ฯลฯ) — ใช้สเกลเดียวกับ h2 ของเว็บ */
.card-title{font-size:24px;line-height:1.375;letter-spacing:-.02em;margin:0 0 12px;color:#20242a}
.card-lead{font-size:16px;line-height:1.625;color:#66707d}
@media(max-width:760px){.card-title{font-size:22px}.card-lead{font-size:15px}}
.btn{border:0;border-radius:999px;background:var(--red);color:#fff;font-weight:900;font-size:15px;padding:14px 24px;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;box-shadow:0 14px 30px rgba(214,40,40,.22);transition:.22s}
.btn:hover{transform:translateY(-2px);background:var(--red-dark)}
.btn.ghost{background:#fff;color:var(--red);box-shadow:0 12px 28px rgba(23,29,39,.08)}
.btn.dark{background:#2f343b;box-shadow:0 14px 30px rgba(47,52,59,.2)}
.play{width:46px;height:46px;border-radius:50%;border:0;background:#fff;color:var(--red);box-shadow:var(--shadow);display:grid;place-items:center;font-weight:900;cursor:pointer}
.mini-products{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:560px}
/* สไลด์สินค้าข้างปุ่มสั่งซื้อ — โชว์ทีละใบ */
.mini-slider{flex:1 1 300px;min-width:0;max-width:340px;display:grid;gap:10px}
.mini-viewport{overflow:hidden;border-radius:18px}
.mini-track{display:flex;will-change:transform}
.mini-track .mini-card{flex:0 0 100%;min-width:100%}
.mini-dots{display:flex;gap:6px;justify-content:center}
.mini-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#d5d9df;cursor:pointer;transition:.22s}
.mini-dot:hover{background:#aeb5bf}
.mini-dot.active{width:18px;border-radius:99px;background:var(--red)}
.mini-card{background:#fff;border-radius:18px;padding:14px;box-shadow:0 14px 34px rgba(23,29,39,.08);display:grid;grid-template-columns:88px 1fr auto;gap:12px;align-items:center;min-height:112px}
.mini-card img{width:88px;height:88px;object-fit:contain}
.mini-card .mini-name{font-size:13.5px;margin:0 0 3px;font-weight:900;color:#2f343b}
.stars{font-size:11px;color:#ffb703;letter-spacing:1px}
.mini-card span{font-size:15px;font-weight:900;color:var(--red)}
.plus{width:24px;height:24px;border-radius:8px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:900}
.hero-visual{position:relative;min-height:580px;display:grid;place-items:center}
.hero-visual .blob{width:min(100%,640px);height:auto;border-radius:26px;box-shadow:0 26px 52px rgba(23,29,39,.18);display:block}
.feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
@media(max-width:860px){
  .feature-list{grid-template-columns:1fr;gap:12px;margin-top:28px}
  .feature-list.is-slider{display:block}
  .feature-list .feat-viewport{overflow:hidden;border-radius:22px}
  .feature-list .feat-track{display:flex;will-change:transform}
  .feature-list .feat-track .feature{flex:0 0 100%;min-width:100%}
  .feature-list .mini-dots{margin-top:12px}
}
.feature{display:grid;grid-template-columns:66px 1fr;gap:18px;align-items:center;background:rgba(255,255,255,.86);padding:20px 22px;border-radius:22px;box-shadow:0 10px 30px rgba(23,29,39,.07);transition:transform .25s,box-shadow .25s}
.feature:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(23,29,39,.12)}
.feature i{width:66px;height:66px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 8px 22px rgba(23,29,39,.09);font-style:normal;font-size:28px;color:var(--red)}
.feature strong{display:block;font-size:17px;font-weight:900;margin-bottom:5px}.feature small{color:#6e7682;font-weight:700;font-size:13px;line-height:1.5}
.section{padding:70px 0}
.section.white{background:#fff}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px;gap:18px}
.section-head h2{font-size:36px;line-height:1.375;margin:0;letter-spacing:-.02em;color:#20242a}
.section-head p{margin:10px 0 0;color:#6a7280;line-height:1.7;max-width:600px}
.view-all{font-weight:900;color:#20242a;font-size:13px;white-space:nowrap}
.promo-grid{display:grid;grid-template-columns:1.2fr .85fr;gap:22px}
.promo-stack{display:grid;gap:22px}.promo-card{border-radius:24px;overflow:hidden;position:relative;box-shadow:var(--shadow)}.promo-card img{width:100%;height:100%;object-fit:cover}.promo-main{height:315px}.promo-small{height:145px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.product-card{background:#fff;border:1px solid #eceef2;border-radius:22px;padding:18px;box-shadow:0 12px 34px rgba(23,29,39,.06);transition:.25s;position:relative;overflow:hidden;display:flex;flex-direction:column;height:100%}.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-strong)}
.product-card.featured{background:var(--red);color:#fff;border-color:var(--red)}.product-card.featured .price,.product-card.featured .rating,.product-card.featured .desc,.product-card.featured .wish{color:#fff}.product-card.featured .cart-mini{background:#fff;color:var(--red)}.product-card.featured .coupon-tag{background:rgba(255,255,255,.15);border-color:#fff;color:#fff}.product-card.featured .old-price{color:rgba(255,255,255,.7)}.product-card.featured .discount-tag{background:#fff;color:var(--red)}
.coupon-tag{display:flex;align-items:center;gap:5px;width:fit-content;height:24px;margin-top:9px;padding:0 10px;border:1px dashed var(--red);border-radius:8px;background:#fff5f5;color:var(--red);font-size:11px;font-weight:900;white-space:nowrap}.coupon-tag.is-empty{visibility:hidden}.coupon-icon{font-size:12px;line-height:1}
.product-img{height:190px;display:grid;place-items:center;margin:-2px 0 8px}.product-img img{height:180px;object-fit:contain}.ribbon{position:absolute;left:14px;top:14px;z-index:2;padding:5px 10px;border-radius:8px;font-size:11px;font-weight:900;color:#fff}.ribbon-best{background:#f6aa00}.ribbon-low{background:#d62828}
.product-card h3{font-size:20px;line-height:1.375;margin:0 0 8px;font-weight:900;min-height:44px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.desc{font-size:14px;color:#6e7682;line-height:1.625;min-height:38px;margin:0 0 10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.rating{font-size:12px;color:#f6aa00;margin-bottom:12px}.price-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto}.price{font-size:20px;font-weight:900;color:var(--red)}.price-group{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.old-price{font-size:12px;font-weight:700;color:#9aa1aa;text-decoration:line-through}.discount-tag{font-size:11px;font-weight:900;color:#fff;background:var(--red);padding:2px 6px;border-radius:6px}.wish{position:absolute;right:18px;top:170px;color:#9aa1aa;font-size:21px}.wish.active{color:var(--red)}.cart-mini{width:38px;height:38px;border:0;border-radius:12px;background:var(--red);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 20px rgba(214,40,40,.18);font-weight:900}
.story{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}.story-img{position:relative;min-height:520px;display:grid;place-items:center}.story-card{width:480px;border-radius:32px;position:relative;box-shadow:var(--shadow-strong);overflow:hidden;display:block}.story-card img{width:100%;display:block}.float-badge{position:absolute;background:#fff;border-radius:18px;padding:14px 18px;box-shadow:var(--shadow);font-weight:900}.float-badge small{display:block;color:#7b8490;font-size:11px}.float-badge.left{left:-40px;top:210px}.float-badge.right{right:-40px;bottom:115px}.story h2{font-size:clamp(38px,5vw,64px);letter-spacing:-.05em;line-height:1.04;margin:0 0 18px}.story p{color:#626a76;line-height:1.8;margin-bottom:28px}.stats{display:flex;gap:18px}.stat{background:#fff;border-radius:18px;padding:18px 24px;min-width:118px;box-shadow:0 12px 30px rgba(23,29,39,.07)}.stat strong{display:block;color:var(--red);font-size:24px}.stat small{color:#737c88;font-weight:700;line-height:1.3}
.page-hero{background:#fff;padding:58px 0 54px}.crumb{color:#7a838e;font-size:13px;font-weight:800;margin-bottom:16px}.page-hero h1{max-width:760px}.page-hero p{font-size:18px;color:#66707d;line-height:1.625;max-width:760px;margin:0}.filter-bar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:26px}.chip{border:1px solid var(--line);background:#fff;color:#3a4048;border-radius:999px;padding:12px 18px;font-weight:900;cursor:pointer}.chip.active,.chip:hover{background:var(--red);border-color:var(--red);color:#fff}.shop-layout{display:grid;grid-template-columns:245px 1fr;gap:26px}.sidebar{background:#fff;border-radius:22px;padding:22px;box-shadow:0 12px 32px rgba(23,29,39,.06);height:max-content;position:sticky;top:116px}.sidebar h2{margin:0 0 14px;font-size:18px}.check{display:flex;align-items:center;gap:10px;margin:12px 0;color:#5f6875;font-weight:700}.check input{accent-color:var(--red)}
.cat-fold summary{list-style:none;display:flex;align-items:center;justify-content:space-between;user-select:none;margin-bottom:2px;pointer-events:none}
.cat-fold summary::-webkit-details-marker{display:none}
.cat-fold summary h2{margin:0}
.detail-wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:30px}.gallery,.detail-info,.tabs,.review-box,.track-card,.contact-card{background:#fff;border-radius:24px;box-shadow:0 15px 45px rgba(23,29,39,.07);border:1px solid #eceef2}.gallery{padding:22px}.main-photo{height:520px;border-radius:22px;background:#f7f8fa;display:grid;place-items:center;overflow:hidden}.main-photo img{height:78%;object-fit:contain}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.thumb{border:2px solid transparent;border-radius:16px;background:#f8f9fb;padding:8px;cursor:pointer}.thumb.active{border-color:var(--red)}.detail-info{padding:30px}.tag{display:inline-flex;background:#fff1f1;color:var(--red);border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;margin-bottom:14px}.detail-info h1{font-size:36px;line-height:1.25;letter-spacing:-.02em;margin-bottom:10px}.sold{color:#6a7280;font-weight:800;margin-bottom:18px}.big-price{background:#f8f9fb;border-radius:18px;padding:18px 20px;color:var(--red);font-size:34px;font-weight:950;margin-bottom:22px}.option-row{display:grid;grid-template-columns:130px 1fr;gap:16px;margin:17px 0;align-items:center}.option-label{font-weight:900;color:#4a515b}.variants{display:flex;gap:10px;flex-wrap:wrap}.variant{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}.variant.active,.variant:hover{border-color:var(--red);color:var(--red);background:#fff7f7}.qty{display:inline-flex;border:1px solid var(--line);border-radius:12px;overflow:hidden}.qty button,.qty input{height:42px;border:0;background:#fff;text-align:center}.qty button{width:42px;cursor:pointer;font-size:20px}.qty input{width:58px;border-left:1px solid var(--line);border-right:1px solid var(--line);font-weight:900}.buy-actions{display:flex;gap:14px;margin-top:28px}.buy-actions .btn{border-radius:14px;flex:1}.meta-list{display:grid;gap:12px;margin-top:24px;color:#606976}.meta-list div{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start}.tabs{margin-top:30px;padding:26px}.tab-head{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:-4px -4px 20px;padding:0 4px 12px}.tab-head button{border:0;background:transparent;font-weight:900;padding:10px 16px;border-radius:12px;cursor:pointer}.tab-head button.active{background:var(--red);color:#fff}.tab-body{font-size:16px;line-height:1.625;color:#555e69}.spec-table{width:100%;border-collapse:separate;border-spacing:0 10px}.spec-table td{background:#f7f8fa;padding:14px}.spec-table td:first-child{font-weight:900;border-radius:12px 0 0 12px;width:220px}.spec-table td:last-child{border-radius:0 12px 12px 0;color:#626b77}
.track-card{padding:32px;max-width:850px}.track-form{display:grid;grid-template-columns:1fr 170px;gap:12px;margin:22px 0}.field{width:100%;height:54px;border:1px solid var(--line);border-radius:16px;padding:0 16px;background:#fff;font-size:15px;outline:none}.field:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(214,40,40,.08)}.timeline{margin-top:28px;display:grid;gap:0}.step{display:grid;grid-template-columns:46px 1fr;gap:14px;position:relative;padding-bottom:26px}.step:before{content:"";position:absolute;left:22px;top:48px;bottom:0;width:2px;background:#e3e6eb}.step:last-child:before{display:none}.dot{width:46px;height:46px;border-radius:50%;background:#e9ecf1;color:#7a838e;display:grid;place-items:center;font-weight:900}.step.done .dot{background:var(--red);color:#fff}.step h4,.step .step-title{margin:0 0 4px;font-size:1em;font-weight:700}.step p{margin:0;color:#6c7480;line-height:1.65}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.review-box{padding:24px}.avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#d62828,#2f343b);color:#fff;display:grid;place-items:center;font-weight:900}.review-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}.review-top h2{margin:0;font-size:16px}.review-box p{color:#5f6875;line-height:1.75;margin:10px 0 0}.contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start}.contact-card{padding:28px}
.cta-card{background:linear-gradient(150deg,#a4161a,#d62828);color:#fff;border:0}
.cta-card .eyebrow{color:rgba(255,255,255,.75)}
.cta-card h2{margin:0 0 10px;font-size:30px;letter-spacing:-.02em}
.cta-card>p{color:rgba(255,255,255,.88);line-height:1.8;margin:0 0 22px}
.cta-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border-radius:16px;padding:16px 18px;font-weight:900;font-size:16px;margin-bottom:12px;transition:.2s}
.cta-btn .icon{width:20px;height:20px}
.cta-btn.line{background:#fff;color:var(--red)}
.cta-btn.line:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.2)}
.cta-btn.tel{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.35)}
.cta-btn.tel:hover{background:rgba(255,255,255,.22)}
.cta-note{color:rgba(255,255,255,.75);font-size:13px;font-weight:600;line-height:1.7;display:block;margin-top:6px}.info-item{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;margin:18px 0}
/* ช่องที่กดได้ (Line / โทร / เช็กพัสดุ) */
a.info-item{border-radius:16px;padding:6px;margin:12px -6px;transition:background .18s,transform .18s}
a.info-item:hover{background:#fff7f7;transform:translateX(3px)}
a.info-item:hover .info-icon{background:var(--red);color:#fff}
a.info-item:focus-visible{outline:2px solid var(--red);outline-offset:2px}
a.info-item .info-icon{transition:background .18s,color .18s}.info-icon{width:52px;height:52px;border-radius:16px;background:#fff1f1;color:var(--red);display:grid;place-items:center;font-size:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}textarea{width:100%;min-height:150px;border:1px solid var(--line);border-radius:16px;padding:16px;resize:vertical;outline:none}
.promo-live{background:linear-gradient(135deg,#6b1014,#d62828);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 34px 0 40px}
.promo-live h2{margin:0 0 10px;font-size:clamp(24px,2.6vw,34px);line-height:1.15;letter-spacing:-.02em}
.promo-live h2 span{color:#ffd28a}
.promo-live p{margin:0 0 20px;color:rgba(255,255,255,.88);font-weight:600;line-height:1.7;font-size:14px}
.promo-btn{display:inline-block;background:#fff;color:var(--red);font-weight:900;font-size:14px;padding:12px 22px;border-radius:999px}
.promo-live img{height:245px;width:auto;flex-shrink:0}
.promo-item{color:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 22px 0 28px}
.promo-item.dark{background:linear-gradient(135deg,#23272e,#464e59)}
.promo-item.red{background:linear-gradient(135deg,#a4161a,#e06a6a)}
.promo-item h3{margin:0 0 5px;font-size:19px}
.promo-item small{display:block;color:rgba(255,255,255,.88);font-weight:600;margin-bottom:9px}
.promo-item .view{font-size:11px;font-weight:900;letter-spacing:.08em}
.promo-item img{height:108px;width:auto;flex-shrink:0}
.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.catalog-card{display:block;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);cursor:zoom-in;transition:.2s}
.catalog-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-strong)}
.catalog-card img{width:100%;height:auto;display:block}
/* ช่องกรอกโค้ดส่วนลดในหน้าชำระเงิน */
.coupon-box{border:1px dashed var(--line);border-radius:14px;padding:14px;margin-bottom:16px;background:#fbfbfc}
.coupon-label{display:block;font-size:12.5px;font-weight:800;color:#5f6875;margin-bottom:8px}
.coupon-row{display:flex;gap:8px}
.coupon-row input{flex:1;min-width:0;text-transform:uppercase;letter-spacing:1px;font-weight:800}
.coupon-row input:disabled{background:#eef7f0;color:#1a9d5a;border-color:#bfe4cd}
.coupon-msg{margin:8px 0 0;font-size:12.5px;font-weight:700;min-height:0}
.coupon-msg.err{color:var(--red)}
.coupon-msg.ok{color:#1a9d5a}
.sum-line.sum-discount span:last-child{color:#1a9d5a;font-weight:900}
main img{cursor:zoom-in}
main a img,main .icon,main .logo img{cursor:inherit}
.lightbox-overlay{position:fixed;inset:0;z-index:200;background:rgba(15,18,24,.88);display:grid;place-items:center;padding:24px;cursor:zoom-out}
.lightbox-overlay img{max-width:min(1100px,100%);max-height:90vh;border-radius:16px;box-shadow:var(--shadow-strong)}
.lightbox-close{position:absolute;top:16px;right:20px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;cursor:pointer;display:grid;place-items:center}
.lightbox-close:hover{background:rgba(255,255,255,.28)}
.page-hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:36px;align-items:center}
.page-hero-visual{position:relative;min-height:235px;display:grid;place-items:center}
.hero-blob{width:185px;height:185px;border-radius:52px;background:linear-gradient(145deg,#b51d1d,#e04848);transform:rotate(8deg);display:grid;place-items:center;box-shadow:0 26px 60px rgba(214,40,40,.32);position:relative}
.hero-blob:before{content:"";position:absolute;inset:0;border-radius:52px;background:linear-gradient(145deg,#b51d1d,#e04848);transform:rotate(-12deg);opacity:.25;z-index:0}
.hero-blob:after{content:"";position:absolute;width:116px;height:116px;border-radius:50%;background:rgba(255,255,255,.16);z-index:1}
.hero-blob>*{transform:rotate(-8deg);position:relative;z-index:2}
.hero-blob .icon{width:60px;height:60px;color:#fff}
.hero-blob img{width:168px;filter:drop-shadow(0 14px 24px rgba(0,0,0,.28))}
.quote-glyph{font-family:Georgia,serif;font-size:104px;color:#fff;line-height:.4;display:block;margin-top:44px}
.hv-chip{position:absolute;background:#fff;border-radius:14px;padding:11px 16px;box-shadow:var(--shadow-strong);font-weight:900;font-size:12.5px;color:#2b2f36;white-space:nowrap;z-index:3}
.hv-chip.a{top:14px;left:50%;margin-left:52px}
.hv-chip.b{bottom:12px;right:50%;margin-right:52px}
/* หัวหน้าสินค้า: โชว์รูปถังตัวเดียวเต็ม ๆ ไม่มีพื้นหลังแดง (หน้าอื่นที่ใช้ไอคอนยังเหมือนเดิม) */
.page-hero-grid.big{grid-template-columns:1.12fr .88fr}
.page-hero-visual.big{min-height:400px}
.page-hero-visual.big .hero-blob{width:auto;height:auto;border-radius:0;background:none;box-shadow:none;transform:none}
.page-hero-visual.big .hero-blob:before,
.page-hero-visual.big .hero-blob:after{display:none}
.page-hero-visual.big .hero-blob>*{transform:none}
.page-hero-visual.big .hero-blob img{width:min(100%,480px);border-radius:26px;box-shadow:0 20px 44px rgba(23,29,39,.22);filter:none;display:block}
.page-hero-visual.big .hv-chip.a{top:6px;margin-left:96px}
.page-hero-visual.big .hv-chip.b{bottom:6px;margin-right:96px}
.hv-chip .gold{color:#f6aa00;letter-spacing:2px}
.trust-band{background:linear-gradient(180deg,#b51d1d,#d62828);padding:72px 0 64px;text-align:center;color:#fff}
.trust-eyebrow{letter-spacing:.22em;font-weight:900;font-size:13px;color:rgba(255,255,255,.75);margin:0 0 10px}
.trust-band h1{margin:0 0 8px;font-size:clamp(30px,4vw,44px);letter-spacing:-.03em}
.trust-sub{color:rgba(255,255,255,.85);font-weight:600;margin:0 0 46px}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:center;margin-bottom:40px}
.trust-card{background:#fff;color:var(--text);border-radius:20px;padding:28px 26px 26px;text-align:left;box-shadow:0 18px 45px rgba(0,0,0,.18)}
.trust-card.featured{transform:scale(1.07);box-shadow:0 28px 70px rgba(0,0,0,.28);position:relative;z-index:1}
.trust-card .quote{display:block;font-size:46px;line-height:.5;color:var(--red);font-family:Georgia,serif;margin:16px 0 2px}
.trust-card p{color:#5f6875;line-height:1.8;font-weight:600;font-size:14px;margin:0 0 20px}
.trust-person{display:flex;align-items:center;gap:12px}
.trust-person .avatar{width:44px;height:44px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:900;font-size:16px}
.trust-person h2{margin:0;font-size:15px}
.trust-person small{color:#8a929d;font-weight:700;font-size:12px}
.trust-card.extra{display:none}
.trust-grid.expanded .trust-card.extra{display:block}
.trust-more{background:#fff;color:var(--red);border:0;border-radius:999px;padding:14px 32px;font-weight:900;font-size:14px;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.2);transition:.2s}
.trust-more:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(0,0,0,.28)}
.footer{background:#20242a;color:#fff;padding:48px 0 26px;text-align:center}
.footer .footer-logo{height:60px;width:auto;margin:0 auto 24px}
.footer-social{display:flex;justify-content:center;gap:14px;margin-bottom:28px}
.social-btn{width:48px;height:48px;border-radius:50%;background:#fff;color:#20242a;display:grid;place-items:center;transition:.2s}
.social-btn:hover{background:var(--red);color:#fff;transform:translateY(-3px)}
.social-btn .icon{width:20px;height:20px}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 30px;margin-bottom:14px}
.footer-links a{color:#e6e9ee;font-weight:700;font-size:14px;transition:.2s}
.footer-links a:hover{color:#f47c7c}
.footer-links.sub a{color:#9aa3af;font-size:12.5px;font-weight:600}
.footer-contact{color:#aeb6c1;font-size:13px;font-weight:600;margin:12px 0 0}
.copyright-bar{background:#17191d;padding:16px 12px;color:#8f97a3;font-size:13px;font-weight:600;text-align:center}
.policy-updated{color:#9aa1aa;font-size:13px;margin:0 0 24px}.policy-body h2{font-size:22px;margin:28px 0 12px;color:#20242a;letter-spacing:-.02em}.policy-body h2:first-of-type{margin-top:0}.policy-body h3{font-size:16px;margin:20px 0 8px;color:#2f343b}.policy-body p{color:#5f6875;line-height:1.85;margin:0 0 14px}.policy-body ul{margin:0 0 14px;padding-left:20px;color:#5f6875;line-height:1.85}.policy-body li{margin:6px 0}.policy-body strong{color:#2b2f36}
.cart-drawer,.wishlist-drawer{position:fixed;inset:0;z-index:200;pointer-events:none}.cart-drawer.open,.wishlist-drawer.open{pointer-events:auto}.overlay{position:absolute;inset:0;background:rgba(0,0,0,.42);opacity:0;transition:.25s}.cart-drawer.open .overlay,.wishlist-drawer.open .overlay{opacity:1}.drawer{position:absolute;right:0;top:0;width:min(440px,92vw);height:100%;background:#fff;padding:26px;transform:translateX(100%);transition:.28s;box-shadow:-20px 0 60px rgba(0,0,0,.16);display:flex;flex-direction:column}.cart-drawer.open .drawer,.wishlist-drawer.open .drawer{transform:translateX(0)}.drawer-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:18px}.drawer-head h2{margin:0;font-size:23px}.cart-items{display:grid;gap:14px;overflow:auto;margin:18px 0;flex:1}.cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;background:#f7f8fa;border-radius:16px;padding:10px}.cart-item img{width:70px;height:70px;object-fit:contain}.cart-item h3{font-size:14px;margin:0 0 5px}.qty-mini{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-top:6px;background:#fff;width:fit-content}.qty-mini button{width:24px;height:24px;border:0;background:#fff;cursor:pointer;font-size:14px;font-weight:900;color:#4a515b;padding:0}.qty-mini span{min-width:24px;text-align:center;font-size:12px;font-weight:900;color:#2b2f36}.cart-total{border-top:1px solid var(--line);padding-top:18px}.cart-total-row{display:flex;justify-content:space-between;font-size:18px;font-weight:950;margin-bottom:16px}.empty{color:#7b8490;text-align:center;padding:40px 0}.close{border:0;background:#f5f6f8;border-radius:50%;width:42px;height:42px;font-size:20px;cursor:pointer}
@media(max-width:1024px){h1,.h1{font-size:48px}.section-head h2{font-size:36px}.hero-grid,.story,.detail-wrap,.contact-grid,.catalog-grid{grid-template-columns:1fr}.hero-visual{min-height:460px}.feature-list{right:20px}.product-grid{grid-template-columns:repeat(3,1fr)}.promo-grid{grid-template-columns:1fr}.shop-layout{grid-template-columns:1fr}.sidebar{position:static}.review-grid{grid-template-columns:repeat(2,1fr)}.trust-grid{grid-template-columns:1fr;max-width:560px;margin-inline:auto;margin-bottom:40px}.trust-card.featured{transform:none}.page-hero-grid,.page-hero-grid.big{grid-template-columns:1fr;gap:22px}.page-hero-visual,.page-hero-visual.big{min-height:auto;margin-top:2px}}
@media(max-width:760px){h1,.h1{font-size:36px}.section-head h2{font-size:24px;line-height:1.375}.hero p{font-size:16px;line-height:1.625}.detail-info h1{font-size:30px}.cartp-title{font-size:30px}.container{width:min(100% - 26px,1180px)}.topbar{padding:10px 0}.nav{height:auto;min-height:56px;flex-wrap:wrap;gap:0 8px;border-radius:20px;padding:7px 10px}.logo{min-width:0;padding-left:4px}.logo img{height:40px}.nav-actions{margin-left:auto}.menu{display:none;order:4;width:100%;flex-direction:column;gap:0;border-top:1px solid var(--line);padding-top:4px;margin-top:6px}.menu.open{display:flex}.menu a{background:transparent;border-radius:10px;padding:13px 12px;text-align:left;font-size:14.5px;border-bottom:1px solid #f1f2f4}.menu a:last-child{border-bottom:0}.menu a:after{display:none}.menu a.active,.menu a:hover{background:#fff1f1;color:var(--red)}.search{display:none;order:3;width:100%;height:44px;margin:8px 0 2px}.search.open{display:flex}.search input{width:100%;font-size:15px}.hamb,.search-toggle{display:grid}.cat-fold summary{pointer-events:auto;cursor:pointer}.cat-fold summary:after{content:"";width:9px;height:9px;border-right:2.5px solid #7a838e;border-bottom:2.5px solid #7a838e;transform:rotate(45deg);transition:.2s;margin:-4px 6px 0 0}.cat-fold[open] summary:after{transform:rotate(-135deg);margin-top:4px}.cat-fold[open] summary{margin-bottom:8px}.hero{padding-top:40px}.hero-grid{gap:20px}.mini-products{grid-template-columns:1fr}.hero-visual{min-height:auto;margin-top:4px}.hero-visual .blob{width:100%;border-radius:20px}.story-section{display:none}.product-grid{grid-template-columns:1fr 1fr;gap:14px}.product-card{padding:14px}.product-img{height:145px}.product-img img{height:140px}.wish{top:128px}.promo-main{height:auto}.promo-small{height:auto}.promo-live{padding:24px 20px;flex-direction:column;align-items:stretch;text-align:left;gap:14px}.promo-live img{width:100%;height:auto;max-width:380px;margin:0 auto;border-radius:16px}.promo-live h2{font-size:21px;line-height:1.25;margin:0 0 6px}.promo-live p{font-size:13px;line-height:1.5;margin:0 0 14px;text-wrap:balance}.promo-live .promo-btn{font-size:13px;padding:10px 18px}.promo-item{padding:16px 18px 16px 24px}.story-img{min-height:380px}.story-card{width:280px;height:330px;border-radius:42px}.story-card img{width:260px}.float-badge{font-size:13px}.stats{flex-wrap:wrap}.section{padding:48px 0}.section-head{align-items:flex-start;flex-direction:column}.page-hero{padding:30px 0 28px}.page-hero-visual.big .hero-blob img{width:100%;max-width:460px;border-radius:20px}.hv-chip{display:none}.page-hero h1{font-size:36px;line-height:1.25;margin-bottom:14px}.page-hero p{font-size:16px;line-height:1.625}.crumb{font-size:12px;margin-bottom:10px}.trust-band{padding:52px 0 46px}.review-grid{grid-template-columns:1fr}.track-form{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.buy-actions{flex-direction:column}.option-row{grid-template-columns:1fr}.main-photo{height:360px}.detail-info{padding:22px}.tab-head{flex-wrap:wrap}.spec-table td{padding:10px}.spec-table td:first-child{width:112px}.track-card{padding:24px}.contact-card{padding:22px}.footer-grid{grid-template-columns:1fr}.copyright{flex-direction:column}.thumbs{grid-template-columns:repeat(4,1fr)}}
@media(max-width:430px){.product-grid{grid-template-columns:1fr}.promo-live{padding:20px 16px}.promo-live img{max-width:300px}.promo-live h2{font-size:19px}.promo-live p{font-size:12px;line-height:1.45;letter-spacing:-.01em;margin-bottom:12px}.promo-item img{height:88px}.logo img{height:36px}.cart-btn,.icon-btn{width:38px;height:38px}.nav{padding:10px}.page-hero p{font-size:16px}.detail-info h1{font-size:30px}.big-price{font-size:28px}.mini-card{grid-template-columns:60px 1fr auto}.section{padding:40px 0}.trust-card{padding:22px 20px}.cta-card h2{font-size:26px}.footer-links{gap:8px 18px}.stat{padding:14px 16px;min-width:104px}.catalog-grid{gap:14px}}

/* ===== Checkout ===== */
.checkout-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;align-items:start;margin-top:26px}
.checkout-card{background:#fff;border-radius:24px;box-shadow:0 15px 45px rgba(23,29,39,.07);border:1px solid #eceef2;padding:28px}
.checkout-card h2{font-size:22px;margin:0 0 18px;letter-spacing:-.02em}
.f-label{display:block;font-weight:900;font-size:13px;color:#4a515b;margin:0 0 7px}
.form-grid textarea{min-height:110px}
.pay-methods{display:grid;gap:10px}
.pay-method{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:16px;padding:14px 16px;cursor:pointer;transition:.15s;background:#fff}
.pay-method.active{border-color:var(--red);background:#fff7f7;box-shadow:0 0 0 3px rgba(214,40,40,.07)}
.pay-method input{accent-color:var(--red);width:18px;height:18px;margin:0;flex-shrink:0}
.pay-method div{flex:1}
.pay-method strong{display:block;font-size:15px}
.pay-method small{color:#77808c;font-weight:600;font-size:12px;line-height:1.5}
.pay-method .icon{width:20px;height:20px;color:var(--red)}
.form-error{background:#fdecec;color:#a4161a;border-radius:12px;padding:12px 16px;font-weight:800;font-size:13.5px;margin:16px 0 0}
.demo-banner{background:#fff8e6;border:1px dashed #e8a900;color:#7d5c00;border-radius:16px;padding:13px 18px;font-weight:800;font-size:13.5px;line-height:1.7;margin-top:22px}
.checkout-summary{position:sticky;top:116px}
.sum-items{display:grid;gap:12px;margin-bottom:18px}
.sum-item{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;background:#f7f8fa;border-radius:14px;padding:9px 12px}
.sum-item img{width:54px;height:54px;object-fit:contain}
.sum-item h4{margin:0 0 2px;font-size:13.5px}
.sum-item small{color:#77808c;font-weight:700;font-size:12px}
.sum-line{display:flex;justify-content:space-between;gap:14px;color:#5f6875;font-weight:700;font-size:14px;padding:7px 0}
.sum-total{border-top:1px solid var(--line);margin-top:8px;padding-top:14px;color:#20242a;font-size:16px;font-weight:950}
.sum-total span:last-child{color:var(--red);font-size:22px}
.checkout-summary .btn{margin-top:16px}
.sum-note{display:block;color:#8a929d;font-weight:600;font-size:12px;line-height:1.7;margin-top:12px}
.empty-cart{text-align:center;padding:52px 28px;margin-top:26px}
.empty-cart .empty{padding-bottom:18px}

/* ===== Receipt ===== */
.receipt-wrap{max-width:860px;margin-inline:auto}
.receipt-card{background:#fff;border-radius:24px;box-shadow:0 15px 45px rgba(23,29,39,.07);border:1px solid #eceef2;padding:36px}
.demo-mark{background:#fff8e6;border:1px dashed #e8a900;color:#7d5c00;border-radius:12px;padding:10px 16px;font-weight:900;font-size:13px;text-align:center;margin-bottom:22px}
.receipt-head{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid #20242a;padding-bottom:22px;margin-bottom:22px;flex-wrap:wrap}
.receipt-shop{display:flex;gap:16px;align-items:flex-start;color:#5f6875;font-size:13.5px;line-height:1.7;font-weight:600}
.receipt-shop img{height:56px;width:auto}
.receipt-shop strong{color:#20242a;font-size:16px}
.receipt-doc{text-align:right;color:#5f6875;font-size:13.5px;line-height:1.8;font-weight:600}
.receipt-doc h1{font-size:26px;margin:0 0 6px;letter-spacing:-.02em;color:#20242a}
.doc-no{font-weight:900;color:var(--red);font-size:15px}
.status-chip{display:inline-block;border-radius:999px;padding:5px 14px;font-weight:900;font-size:12.5px;margin-top:8px}
.status-chip.paid{background:#e6f6ec;color:#177a41}
.status-chip.cod{background:#fff4d9;color:#8a6100}
.status-chip.pending{background:#fdecec;color:#a4161a}
.receipt-customer{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}
.receipt-customer h3{margin:0 0 6px;font-size:14px;color:#20242a}
.receipt-customer p{margin:0;color:#5f6875;line-height:1.75;font-weight:600;font-size:14px}
.receipt-table{width:100%;border-collapse:collapse;font-size:14px}
.receipt-table th{background:#f7f8fa;text-align:left;padding:12px 14px;font-size:12.5px;color:#4a515b}
.receipt-table th:nth-child(n+3),.receipt-table td:nth-child(n+3){text-align:right}
.receipt-table td{padding:12px 14px;border-bottom:1px solid var(--line);color:#3a4048;font-weight:600}
.receipt-table td small{color:#8a929d}
.receipt-table tfoot td{border-bottom:0;padding:9px 14px;font-weight:800;color:#5f6875}
.receipt-table tfoot td[colspan]{text-align:right}
.receipt-table tr.grand td{font-size:18px;font-weight:950;color:#20242a;border-top:2px solid #20242a}
.receipt-table tr.grand td:last-child{color:var(--red)}
.receipt-pay{margin-top:20px;color:#4a515b;font-weight:700;font-size:14px;line-height:1.9}
.receipt-note{background:#f7f8fa;border-radius:12px;padding:12px 16px;color:#77808c;font-weight:600;font-size:12.5px;line-height:1.8;margin:14px 0 0}
.receipt-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.order-rows{display:grid;gap:10px}
.order-row{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#f7f8fa;border-radius:14px;padding:14px 18px;transition:.15s}
.order-row:hover{background:#fff1f1}
.order-row strong{font-size:14.5px}
.order-row small{display:block;color:#77808c;font-weight:600;font-size:12px;margin-top:2px}
.order-right{display:flex;align-items:center;gap:12px}
.order-right .status-chip{margin-top:0}
@media(max-width:1024px){.checkout-grid{grid-template-columns:1fr}.checkout-summary{position:static}}
@media(max-width:760px){.checkout-card{padding:22px}.receipt-card{padding:24px 18px}.receipt-head{flex-direction:column}.receipt-doc{text-align:left}.receipt-customer{grid-template-columns:1fr}.receipt-actions .btn{width:100%}.order-row{flex-direction:column;align-items:flex-start;gap:8px}}
/* ===== ปุ่มตะกร้าบน header ให้เด่นเมื่อมีสินค้า ===== */
.cart-btn.has-items{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(214,40,40,.32)}
.cart-btn.has-items .icon{color:#fff}
.cart-btn.has-items .cart-count{background:#fff;color:var(--red)}

/* ===== หน้าตะกร้าสินค้าแบบเต็ม (Cart page) ===== */
.cartp-title{font-size:36px;line-height:1.25;letter-spacing:-.02em;margin:0 0 8px;color:#20242a}
.cartp-sub{color:#66707d;line-height:1.8;margin:0}
.cartp-grid{display:grid;grid-template-columns:1fr 340px;gap:26px;align-items:start;margin-top:26px}
.cartp-list{display:grid;gap:14px}
.cartp-list-head{display:grid;grid-template-columns:1fr 148px 120px;gap:16px;color:#8a929d;font-weight:800;font-size:13px;padding:0 20px 2px}
.cartp-h-qty{text-align:center}.cartp-h-sum{text-align:right}
.cartp-row{display:grid;grid-template-columns:96px 1fr 148px 120px;gap:16px;align-items:center;background:#fff;border:1px solid #eceef2;border-radius:20px;padding:14px 20px;box-shadow:0 12px 34px rgba(23,29,39,.05)}
.cartp-thumb{width:96px;height:96px;background:#f7f8fa;border-radius:14px;display:grid;place-items:center;overflow:hidden}
.cartp-thumb img{width:86%;height:86%;object-fit:contain}
.cartp-main h2{margin:0 0 4px;font-size:16px;font-weight:900;line-height:1.35}
.cartp-opt{color:#8a929d;font-weight:700;font-size:12.5px}
.cart-item .cart-opt{display:block;color:#8a929d;font-weight:700;font-size:12px;margin:1px 0 2px}
.cartp-unit{color:#5f6875;font-weight:800;font-size:13.5px;margin-top:6px}
.cartp-unit span{color:#9aa1aa;font-weight:600}
.cartp-del{margin-top:10px;border:0;background:transparent;color:#9aa1aa;font-weight:800;font-size:12.5px;display:inline-flex;align-items:center;gap:5px;cursor:pointer;padding:0}
.cartp-del .icon{width:15px;height:15px}
.cartp-del:hover{color:var(--red)}
.cartp-qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;justify-self:center}
.cartp-qty button{width:40px;height:42px;border:0;background:#fff;cursor:pointer;font-size:18px;font-weight:900;color:#4a515b}
.cartp-qty button:hover{background:#fff5f5;color:var(--red)}
.cartp-qty span{min-width:42px;text-align:center;font-weight:900;color:#2b2f36}
.cartp-line{font-size:18px;font-weight:950;color:var(--red);text-align:right}
.cartp-continue{color:#5f6875;font-weight:800;font-size:14px;display:inline-flex;align-items:center;gap:6px;margin-top:6px}
.cartp-continue .icon{width:16px;height:16px;transform:rotate(180deg)}
.cartp-continue:hover{color:var(--red)}
.cartp-summary{background:#fff;border:1px solid #eceef2;border-radius:22px;padding:24px;box-shadow:0 15px 45px rgba(23,29,39,.07);position:sticky;top:116px}
.cartp-summary h2{margin:0 0 16px;font-size:19px}
.cartp-checkout{width:100%;margin-top:16px}
.cartp-assure{margin-top:16px;display:grid;gap:8px;color:#77808c;font-weight:700;font-size:12.5px;line-height:1.5}
.cartp-assure .icon{width:15px;height:15px;color:var(--red);vertical-align:-2px;margin-right:5px}
.cartp-empty{text-align:center;padding:60px 24px;background:#fff;border:1px solid #eceef2;border-radius:22px;margin-top:26px;box-shadow:0 12px 34px rgba(23,29,39,.05)}
.cartp-empty-ic{width:76px;height:76px;border-radius:50%;background:#fff1f1;color:var(--red);display:grid;place-items:center;margin:0 auto 18px}
.cartp-empty-ic .icon{width:34px;height:34px}
.cartp-empty h2{font-size:24px;margin:0 0 8px}
.cartp-empty p{color:#77808c;line-height:1.8;max-width:420px;margin:0 auto 22px}

/* ===== Checkout แบบ Shopee ===== */
.checkout-shopee{display:grid;gap:18px;margin-top:24px;max-width:820px;padding-bottom:24px}
.co-section{padding:24px 26px}
.co-h{display:flex;align-items:center;gap:10px;font-size:19px;margin:0 0 16px;letter-spacing:-.01em}
.co-ic{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#fff1f1;color:var(--red);flex-shrink:0}
.co-ic .icon{width:18px;height:18px}
.field.readonly{background:#f7f8fa;color:#3a4048;font-weight:700;cursor:default}
.addr-auto{position:relative}
.addr-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:30;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 55px rgba(23,29,39,.18);max-height:320px;overflow:auto;padding:6px}
.addr-opt{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:#fff;border-radius:10px;padding:11px 12px;cursor:pointer;font-family:inherit}
.addr-opt:hover{background:#fff5f5}
.addr-opt-line{font-weight:700;font-size:14px;color:#2b2f36;line-height:1.4}
.addr-opt-zip{font-weight:900;color:var(--red);font-size:13px;flex-shrink:0}
.addr-loading{padding:14px;color:#8a929d;font-weight:700;font-size:13.5px;text-align:center}
.addr-hint,.tax-hint{color:#8a929d;font-weight:600;font-size:12px;line-height:1.65;margin:7px 0 0}
.tax-toggle{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:800;font-size:15px;color:#2b2f36}
.tax-toggle input{width:20px;height:20px;accent-color:var(--red);flex-shrink:0;margin:0}
.tax-toggle em{color:#8a929d;font-style:normal;font-weight:700;font-size:13px}
.tax-fields{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}
.co-items{display:grid;gap:10px}
.co-item{display:grid;grid-template-columns:56px 1fr auto auto 78px;gap:14px;align-items:center;background:#f7f8fa;border-radius:14px;padding:10px 14px}
.co-item img{width:56px;height:56px;object-fit:contain}
.co-item-main h4{margin:0 0 2px;font-size:14px}
.co-item-main small{color:#8a929d;font-weight:700;font-size:12px}
.co-item-unit{color:#5f6875;font-weight:700;font-size:13px}
.co-item-qty{color:#5f6875;font-weight:800;font-size:13px}
.co-item-sum{font-weight:900;color:#2b2f36;font-size:14.5px;text-align:right}
.co-ship-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);color:#5f6875;font-weight:700;font-size:13.5px}
.co-ship-row .icon{width:16px;height:16px;color:var(--red);vertical-align:-3px;margin-right:4px}
.co-final .sum-note{margin-top:14px}
.checkout-bar{position:sticky;bottom:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -12px 30px rgba(23,29,39,.09);padding:12px 0;margin-top:8px}
.checkout-bar-inner{display:flex;align-items:center;justify-content:flex-end;gap:22px}
.cbar-total{font-weight:800;color:#5f6875;font-size:14px}
.cbar-total strong{color:var(--red);font-size:22px;margin-left:6px}
.checkout-bar .btn{min-width:250px}
@media(max-width:1024px){.cartp-grid{grid-template-columns:1fr}.cartp-summary{position:static}}
@media(max-width:760px){
  .cartp-list-head{display:none}
  .cartp-row{grid-template-columns:72px 1fr;grid-template-areas:"thumb main" "qty line";column-gap:14px;row-gap:12px;padding:14px 16px}
  .cartp-thumb{grid-area:thumb;width:72px;height:72px}
  .cartp-main{grid-area:main}.cartp-qty{grid-area:qty;justify-self:start}.cartp-line{grid-area:line;align-self:center}
  .checkout-shopee{max-width:none}
  .co-section{padding:20px 18px}
  .co-item{grid-template-columns:48px 1fr auto;gap:10px}
  .co-item-unit{display:none}
  .checkout-bar-inner{flex-direction:column;align-items:stretch;gap:10px}
  .checkout-bar .btn{width:100%;min-width:0}
  .cbar-total{text-align:center}
}

@media print{
  .topbar,.footer,.cart-drawer,.wishlist-drawer,.no-print{display:none!important}
  body{background:#fff}
  .section{padding:0}
  .receipt-wrap{max-width:none}
  .receipt-card{box-shadow:none;border:1px solid #cfd4db;border-radius:12px}
}
