/* Wings Car — dark storefront theme */
:root{
  --bg:#0b0b0d; --panel:#141417; --card:#1c1c20; --card-2:#232327;
  --line:#2c2c31; --red:#d41920; --red-dark:#a7121a;
  --text:#f3f3f4; --muted:#b4b4ba; --radius:16px;
  --font:'Prompt',system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.5}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 16px}
.nowrap{white-space:nowrap}
.chev{font-weight:600;margin-left:4px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:12px 22px;border-radius:12px;font-weight:600;font-size:15px;line-height:1;border:2px solid transparent;transition:background .15s,border-color .15s,transform .1s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--red);border-color:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}
.btn-outline{background:transparent;border-color:var(--red);color:#fff}
.btn-outline:hover{background:rgba(212,25,32,.15)}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(14,14,16,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:24px;height:84px}
.logo{display:inline-flex;align-items:center;flex-shrink:0}
.logo img{height:48px;width:auto;display:block}
.logo-en{font-weight:700;font-size:28px;letter-spacing:.5px;line-height:1;padding-right:8px;border-right:2px solid var(--red)}
.logo-th{display:flex;flex-direction:column;font-weight:600;line-height:1.05;font-size:13px}
.logo-th span:first-child{font-size:15px}
.nav{display:flex;align-items:center;gap:8px;margin-left:auto}
.nav>a,.nav .sub-toggle{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;font-weight:500;font-size:15px;color:var(--text);background:none;border:0;font-family:inherit;cursor:pointer;border-bottom:2px solid transparent;border-radius:0}
.nav>a:hover,.nav .sub-toggle:hover{color:#fff}
.nav>a.active{border-bottom-color:var(--red)}
.has-sub{position:relative}
.sub-menu{position:absolute;top:100%;left:0;min-width:220px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px;display:none;flex-direction:column;box-shadow:0 12px 30px rgba(0,0,0,.5)}
.sub-menu a{padding:10px 12px;border-radius:8px;font-size:15px}
.sub-menu a:hover{background:var(--card-2)}
.has-sub.open .sub-menu,.has-sub:hover .sub-menu{display:flex}
.header-cta{flex-shrink:0}
.burger{display:none;width:44px;height:44px;border:0;background:none;padding:10px;cursor:pointer;flex-direction:column;justify-content:center;gap:5px;margin-left:auto}
.burger span{display:block;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{display:none;flex-direction:column;gap:4px;padding:8px 16px 16px;border-top:1px solid var(--line);background:var(--panel)}
.mobile-menu a{padding:12px 10px;border-radius:8px;font-weight:500}
.mobile-menu a:not(.btn):hover{background:var(--card)}
.mobile-menu .btn{margin-top:8px}
.mobile-group{display:flex;flex-direction:column}
.mobile-group-title{padding:12px 10px 4px;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.mobile-sub{padding-left:24px!important;font-size:15px}
.site-header.menu-open .mobile-menu{display:flex}
.mobile-nav{display:none;gap:4px;padding:0 10px 2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mobile-nav::-webkit-scrollbar{display:none}
.mobile-nav a,.mobile-nav button{display:inline-flex;background:none;border:0;color:var(--text);font-family:inherit;cursor:pointer;align-items:center;gap:4px;padding:8px 10px;font-size:14px;font-weight:500;white-space:nowrap;border-bottom:2px solid transparent}
.mobile-nav a.active{border-bottom-color:var(--red)}

/* hero */
.hero{padding-top:36px}
.hero-title{text-align:center;font-weight:700;font-size:clamp(28px,4.2vw,52px);line-height:1.2}
.red-rule{width:90px;height:4px;background:var(--red);border-radius:2px;margin:14px auto 28px}

/* before/after compare */









.label{position:absolute;top:0;padding:10px 20px;font-weight:600;font-size:15px;color:#fff;z-index:2}



/* featured */
.featured-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:22px}
.featured-title{font-size:clamp(20px,2.4vw,28px);font-weight:700}
.featured-desc{color:var(--muted);margin-top:4px}
.details{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}


.detail h3{font-size:18px;font-weight:600;margin-top:12px}
.detail p{color:var(--muted);font-size:15px}

/* others */


.section-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;flex-shrink:0}
.slash{display:inline-block;width:6px;height:26px;background:var(--red);transform:skewX(-18deg);border-radius:2px}






.link-more{display:inline-flex;align-items:center;color:var(--red);font-weight:600;font-size:14px;margin-top:6px}
.link-more:hover{text-decoration:underline}

/* contact */
.contact{margin-top:48px}
.contact .section-title{margin-bottom:16px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.contact-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.contact-card h3{font-size:19px;font-weight:600;margin-bottom:8px}
.contact-card p{color:var(--muted);margin-bottom:16px;line-height:1.8}
.contact-card p a{color:#fff}

/* footer */
.site-footer{margin-top:56px;border-top:1px solid var(--line);padding:36px 0 18px;background:var(--panel)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;font-size:14px;flex-wrap:wrap}
.muted{color:var(--muted)}

/* responsive */
@media (max-width:1024px){
  .nav>a,.nav .sub-toggle{padding:10px 10px;font-size:14px}
  .header-inner{gap:14px}
}
@media (max-width:900px){
  .header-inner{height:68px;gap:10px}
  .nav,.header-cta{display:none}
  .burger{display:flex}
  .mobile-nav{display:flex}
  .logo img{height:38px}
  .details{grid-template-columns:1fr;gap:14px}
  .detail{display:grid;grid-template-columns:150px 1fr;column-gap:14px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px}
  
  .detail h3{margin-top:0;font-size:17px}
  .detail p{font-size:14px}
  
  
  
  
  .contact-grid{grid-template-columns:1fr}
  .featured-head{flex-direction:column;align-items:stretch}
  .featured-head .btn{width:100%}
}
@media (max-width:480px){
  .hero{padding-top:24px}
  
  
  .label{padding:8px 14px;font-size:13px}
  .detail{grid-template-columns:120px 1fr}
  .section-title{font-size:19px}
  
  .btn{padding:13px 18px}
}

/* ===== work detail page ===== */
.work{padding-top:22px}
.work-top{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.btn-back{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid var(--line);border-radius:10px;font-size:14px;font-weight:500;background:var(--panel)}
.btn-back:hover{border-color:#555}
.chev-l{margin:0 2px 0 0}
.crumbs{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.crumbs a:hover{color:#fff}
.crumbs .current{color:var(--text)}
.work-title{text-align:center;font-weight:700;font-size:clamp(26px,3.6vw,44px);line-height:1.2;margin-top:12px}
.work-sub{text-align:center;color:var(--muted);font-size:clamp(15px,1.5vw,19px);margin:4px 0 22px}

















.project-bar{display:flex;align-items:center;gap:22px;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px 22px;margin-top:22px}
.project-bar .section-title{padding-right:22px;border-right:1px solid var(--line)}
.project-text{flex:1;color:var(--text);font-size:15px;line-height:1.6}
.notfound{padding-top:60px;text-align:center}
.center{text-align:center}
.featured-title a:hover{color:var(--red)}

@media (max-width:900px){
  .work-top{gap:10px}
  .crumbs{display:none}
  .work-title{text-align:left;margin-top:14px}
  .work-sub{text-align:left}
  
  
  
  
  
  
  
  .project-bar{flex-direction:column;align-items:stretch;gap:10px;padding:16px}
  .project-bar .section-title{border:0;padding:0}
  .project-bar .btn{width:100%;margin-top:6px}
}

/* ===== about page ===== */
.about{padding-top:22px}
.btn-dark{background:var(--card);border-color:var(--line);color:#fff}
.btn-dark:hover{border-color:#555}
.about-hero{position:relative;overflow:hidden;border-radius:var(--radius);background:#0e0e11;min-height:400px;display:flex;flex-direction:column;justify-content:center;padding:34px 40px 34px 72px}

.about-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#0e0e11 0%,#0e0e11 42%,rgba(14,14,17,.85) 52%,rgba(14,14,17,.25) 66%,rgba(14,14,17,0) 100%)}
.about-hero::after{content:"";position:absolute;z-index:1;left:-40px;top:0;bottom:0;width:70px;background:var(--red);transform:skewX(-14deg);opacity:.85}
.about-hero-body{position:relative;z-index:2;max-width:520px}
.about-title{font-size:clamp(34px,4.6vw,58px);font-weight:700;line-height:1.05}
.about-en{color:var(--red);font-weight:700;letter-spacing:1px;font-size:clamp(14px,1.5vw,20px);margin-top:2px}
.about-brand{font-size:clamp(20px,2.2vw,28px);font-weight:600;margin-top:12px}
.about-text{color:#d9d9dd;font-size:15px;line-height:1.7;margin-top:8px}
.stats{position:relative;z-index:2;list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);max-width:520px;background:rgba(20,20,24,.9);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.stats li{display:flex;flex-direction:column;align-items:center;text-align:center;padding:14px 8px;border-left:1px solid var(--line);gap:2px}
.stats li:first-child{border-left:0}
.stat-icon{width:36px;height:36px;color:#fff;margin-bottom:4px}
.stat-icon svg{width:100%;height:100%}
.stats strong{font-size:19px;font-weight:700;line-height:1.1}
.stats li>span:last-child{font-size:13px;color:var(--muted)}
.why{position:relative;display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:center;gap:0;margin-top:16px;border-radius:var(--radius);overflow:hidden;background:var(--panel);border:1px solid var(--line);min-height:220px}



.why-body{padding:22px 28px}
.checklist{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:9px}
.checklist li{display:flex;align-items:center;gap:10px;font-size:15px}
.check{flex-shrink:0;width:22px;height:22px;padding:4px;border-radius:50%;background:var(--red);color:#fff}
.services{margin-top:16px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}
.services-list{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-top:14px}
.service{display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:var(--card);border:1px solid var(--line);transition:border-color .15s}
.service:hover{border-color:var(--red)}
.service img{width:100%;aspect-ratio:1.75/1;object-fit:cover}
.service span{padding:9px 6px;text-align:center;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vm{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:16px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);min-height:190px}

.vision{background:linear-gradient(135deg,#1a0607,#3a0a0e 60%,#8f1118);padding:26px 26px 26px 34px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);position:relative}
.vision::before{content:"";position:absolute;left:-34px;top:0;bottom:0;width:60px;background:var(--panel);transform:skewX(-12deg)}
.vision h2,.mission h2{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700}
.vm-icon{width:28px;height:28px;color:var(--red);flex-shrink:0}
.vm-icon svg{width:100%;height:100%}
.vision p{margin-top:12px;font-size:15px;line-height:1.7;color:#f4dcdd}
.mission{background:#f2f2f3;color:#1a1a1d;padding:26px}
.mission .checklist li{color:#2a2a2e}
.about-actions{display:none;gap:10px;margin-top:16px}
.about-actions .btn{flex:1;gap:8px}

@media (max-width:1024px){
  .services-list{grid-template-columns:repeat(4,1fr)}
  .why{grid-template-columns:1fr 1.6fr 1fr}
}
@media (max-width:900px){
  .about-hero{min-height:0;padding:0}
  .about-hero::before{display:none}
  .about-hero::after{width:28px;left:-14px;bottom:auto;height:230px}
  
  .about-hero-body{order:1;padding:22px 16px 10px 28px;max-width:none}
  .stats{order:3;margin:-56px 12px 12px;max-width:none}
  .stats{grid-template-columns:1fr 1fr}
  .stats li{flex-direction:row;text-align:left;gap:10px;padding:12px;border-left:0;border-top:1px solid var(--line);align-items:center;flex-wrap:wrap}
  .stats li:nth-child(-n+2){border-top:0}
  .stats li:nth-child(even){border-left:1px solid var(--line)}
  .stat-icon{margin:0}
  .stats strong{flex:1;min-width:60px}
  .stats li>span:last-child{flex-basis:100%;padding-left:46px;margin-top:-6px}
  .why{display:block;position:relative}
  
  
  .why-body{position:relative;z-index:1;padding:18px;background:linear-gradient(90deg,var(--panel) 60%,rgba(20,20,23,.6))}
  .checklist li{font-size:14px}
  .services{padding:16px 0 16px 16px}
  .services-list{display:flex;overflow-x:auto;gap:10px;padding-right:16px;scrollbar-width:none}
  .services-list::-webkit-scrollbar{display:none}
  .service{flex:0 0 130px}
  .vm{grid-template-columns:1fr}
  
  .vision{padding:20px}
  .vision::before{display:none}
  .mission{padding:20px}
  .about-actions{display:flex}
}

/* ===== floating chat ===== */
.wings-chat{position:fixed;right:20px;bottom:20px;z-index:100;font-family:var(--font)}
.lc-fab{position:relative;display:flex;align-items:center;gap:8px;height:56px;padding:0 22px 0 18px;border:0;border-radius:28px;background:var(--red);color:#fff;font:inherit;font-weight:700;font-size:15px;letter-spacing:0;cursor:pointer;box-shadow:0 10px 28px rgba(212,25,32,.45),0 2px 6px rgba(0,0,0,.4);transition:transform .15s,background .15s}
.lc-fab:hover{background:var(--red-dark);transform:translateY(-2px)}
.lc-fab:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lc-ico-close,.lc-fab-close{display:none}
.lc-open .lc-ico-chat,.lc-open .lc-fab-label{display:none}
.lc-open .lc-ico-close,.lc-open .lc-fab-close{display:block}
.lc-open .lc-fab{padding:0 18px 0 20px;letter-spacing:0;font-size:15px;background:#2a2a30;box-shadow:0 10px 28px rgba(0,0,0,.5),0 0 0 2px rgba(255,255,255,.35)}
.lc-open .lc-fab:hover{background:#3a3a42}
.lc-badge{position:absolute;top:-2px;right:-2px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--red)}
.lc-badge[hidden]{display:none}
.lc-window{position:absolute;right:0;bottom:72px;width:370px;height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--panel);border:2px solid rgba(255,255,255,.55);border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 0 6px rgba(255,255,255,.08),0 24px 60px rgba(0,0,0,.7);opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:bottom right;transition:opacity .18s,transform .18s,visibility 0s .18s}
.lc-open .lc-window{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .18s}
.lc-head{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;background:#0e0e11;border-bottom:2px solid var(--red)}
.lc-logo{height:34px;width:34px;border-radius:8px}
.lc-title{flex:1;display:flex;flex-direction:column;line-height:1.3;min-width:0}
.lc-title strong{font-size:16px}
.lc-title>span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2ecc71;margin-right:6px;vertical-align:1px}
.lc-close{width:40px;height:40px;border:0;border-radius:10px;background:none;color:#fff;cursor:pointer;display:grid;place-items:center}
.lc-close:hover{background:var(--card)}
.lc-messages{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.lc-row{display:flex;flex-direction:column;max-width:82%}
.lc-staff{align-self:flex-start}
.lc-me{align-self:flex-end;align-items:flex-end}
.lc-bubble{padding:10px 14px;border-radius:16px;font-size:15px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.lc-staff .lc-bubble{background:var(--card-2);border-bottom-left-radius:4px}
.lc-me .lc-bubble{background:var(--red);color:#fff;border-bottom-right-radius:4px}
.lc-meta{font-size:11px;color:var(--muted);margin:3px 6px 0}
.lc-pending .lc-bubble{opacity:.7}
.lc-failed{cursor:pointer}
.lc-failed .lc-bubble{background:#5a1216;opacity:1}
.lc-failed .lc-meta{color:#ff8a8f}
.lc-intro{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px dashed var(--line);border-radius:12px;margin-top:4px}
.lc-intro[hidden]{display:none}
.lc-intro p{font-size:13px;color:var(--muted)}
.lc-intro input,.lc-input{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:10px;padding:10px 12px;font:inherit;font-size:16px}
.lc-intro input:focus,.lc-input:focus{outline:none;border-color:var(--red)}
.lc-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:#0e0e11}
.lc-input{resize:none;max-height:120px;line-height:1.4}
.lc-send{flex-shrink:0;width:44px;height:44px;border:0;border-radius:12px;background:var(--red);color:#fff;cursor:pointer;display:grid;place-items:center}
.lc-send:hover{background:var(--red-dark)}
html.lc-lock,html.lc-lock body{overflow:hidden}

@media (max-width:600px){
  .wings-chat{right:14px;bottom:calc(14px + env(safe-area-inset-bottom))}
  .lc-fab{height:52px;padding:0 18px 0 15px;font-size:15px}
  .lc-open .lc-fab{display:none}
  .lc-window{position:fixed;inset:0;width:auto;height:100%;height:100dvh;border-radius:0;border:0;bottom:auto;transform:translateY(24px)}
  .lc-head{padding-top:calc(12px + env(safe-area-inset-top))}
  .lc-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
}

/* account */
.nav-acct{display:inline-flex;align-items:center;gap:6px}
.acct{max-width:860px;margin:40px auto 0}
.acct-narrow{max-width:520px}
.acct-title{font-size:32px;font-weight:700;line-height:1.2}
.acct-lead{color:var(--muted);margin:16px 0 0}
.acct-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.acct-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-top:20px}
.acct-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.acct-sub{font-size:17px;font-weight:600;margin:14px 0 12px}
.acct-sub.first{margin-top:0}
.field{display:block;font-size:14px;color:var(--muted);margin-bottom:14px}
.field input{display:block;width:100%;margin-top:6px;padding:12px 14px;background:var(--card);border:1px solid var(--line);border-radius:10px;color:var(--text);font:inherit}
.field input:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(212,25,32,.25)}
.field input[readonly]{opacity:.6}
.field small{display:block;margin-top:4px;font-size:12px}
.remember{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin-bottom:16px;cursor:pointer}
.remember input{width:18px;height:18px;accent-color:var(--red)}
.acct-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:6px}
.acct-actions a,.acct-err a,.acct-card p a{color:#fff;text-decoration:underline}
.acct-foot{margin-top:20px;color:var(--muted);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.acct-err,.acct-ok{border-radius:10px;padding:12px 16px;margin-top:16px;font-size:14px}
.acct-err{background:rgba(212,25,32,.15);border:1px solid rgba(212,25,32,.5)}
.acct-ok{background:rgba(52,199,89,.12);border:1px solid rgba(52,199,89,.4)}
.acct-err ul{padding-left:18px}
.acct-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}
.acct-tile{display:block;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px;transition:border-color .15s}
.acct-tile strong{display:block;font-size:17px;margin-bottom:4px}
.acct-tile span{color:var(--muted);font-size:14px}
.acct-tile:hover{border-color:var(--red)}
.lc-intro a{color:#fff;text-decoration:underline}
@media (max-width:700px){.acct-grid,.acct-cards{grid-template-columns:1fr}.acct-title{font-size:26px}.acct{margin-top:24px}}
/* LINE login */
.btn-line{background:#06c755;border-color:#06c755;color:#fff;gap:8px}
.btn-line:hover{background:#05b34c;border-color:#05b34c}
.acct-social{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.acct-social .btn-line{width:100%;padding:14px 22px}
.acct-social .btn-otp{width:100%;padding:14px 22px}
.acct-social small{font-size:13px}
.acct-or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin-top:20px}
.acct-or::before,.acct-or::after{content:"";flex:1;height:1px;background:var(--line)}
.acct-line{position:relative}
.acct-line .btn-line{margin-top:10px;padding:10px 16px;font-size:14px}
.acct-line form{margin-top:8px}
.acct-avatar{position:absolute;top:16px;right:16px;border-radius:50%;width:40px;height:40px;object-fit:cover}
.linklike{background:none;border:0;padding:0;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.linklike:hover{color:#fff}
/* captcha */
.captcha-row{display:flex;align-items:center;gap:8px;margin-top:6px;flex-wrap:wrap}
.captcha-row img{border-radius:8px;cursor:pointer;flex:0 0 auto;width:180px;height:60px}
.captcha-re{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text);font-size:20px;cursor:pointer}
.captcha-re:hover{border-color:var(--red)}
.captcha-row input{flex:1;min-width:120px;margin-top:0!important;text-transform:uppercase;letter-spacing:.2em;font-weight:600}
/* products */
.footer-links{display:flex;gap:16px;flex-wrap:wrap}.footer-links a{color:var(--muted)}.footer-links a:hover{color:#fff}
.prods,.prod{margin-top:28px}
.prods .crumbs{justify-content:center;margin-bottom:6px}
.cat-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 0 26px}
.cat-chips a{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:14px;font-weight:500}
.cat-chips a small{color:var(--muted);font-weight:400}
.cat-chips a:hover{border-color:var(--red)}
.cat-chips a.active{background:var(--red);border-color:var(--red);color:#fff}.cat-chips a.active small{color:rgba(255,255,255,.8)}
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.prod-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:border-color .15s,transform .15s}
.prod-card:hover{border-color:var(--red);transform:translateY(-2px)}
.prod-img{display:block;aspect-ratio:4/3;background:var(--panel);overflow:hidden}
.prod-img img{width:100%;height:100%;object-fit:cover;display:block}
.prod-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.prod-cat{font-size:12px;color:var(--red);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.prod-body h2,.prod-body h3{font-size:16px;font-weight:600;line-height:1.35}
.prod-meta{font-size:13px;color:var(--muted)}
.prod-desc{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prod-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:8px}
.prod-price{font-weight:700;font-size:16px}
.prod-price.big{font-size:28px;margin:10px 0 6px;color:#fff}
.pager{display:flex;gap:6px;justify-content:center;margin-top:26px}
.pager a{min-width:38px;padding:8px 12px;text-align:center;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.pager a.active{background:var(--red);border-color:var(--red);color:#fff}
.prod-cta{margin-top:40px}
.prods-home{margin-top:40px}.prods-home .featured-head{margin-bottom:16px}
/* product detail */
.prod-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:34px;margin-top:22px;align-items:start}
.prod-main{aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:var(--card);border:1px solid var(--line)}
.prod-main img{width:100%;height:100%;object-fit:cover;display:block}
.prod-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:4px}
.prod-thumbs button{flex:0 0 auto;width:92px;aspect-ratio:4/3;padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:var(--card);cursor:pointer}
.prod-thumbs button.active{border-color:var(--red)}
.prod-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.prod-info h1{font-size:clamp(20px,2.2vw,26px);font-weight:700;line-height:1.2;margin:6px 0 10px}
.prod-brand,.prod-fit{color:var(--muted);font-size:15px;margin:2px 0}.prod-brand strong,.prod-fit strong{color:var(--text);font-weight:500}
.prod-lead{font-size:16px;margin:8px 0 12px}
.prod-features{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-direction:column;gap:8px}
.prod-features li{position:relative;padding-left:26px;font-size:15px}
.prod-features li::before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;border-radius:50%;background:var(--red);mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" d="M20 6 9 17l-5-5"/></svg>') center/14px no-repeat,linear-gradient(#000,#000);-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" d="M20 6 9 17l-5-5"/></svg>') center/14px no-repeat,linear-gradient(#000,#000);-webkit-mask-composite:xor;mask-composite:exclude}
.prod-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.prod-note{font-size:13px;margin-top:14px}
.prod-detail{margin-top:44px}
.prod-text{margin-top:14px;max-width:860px;color:#dcdcdf;line-height:1.75;font-size:15.5px}
.prod-related{margin-top:44px}.prod-related .section-title{margin-bottom:16px}
@media (max-width:1024px){.prod-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.prod-hero{grid-template-columns:1fr;gap:22px}}
@media (max-width:700px){.prod-grid{grid-template-columns:repeat(2,1fr);gap:12px}.prod-body{padding:10px 12px 12px}.prod-body h2,.prod-body h3{font-size:14px}.prod-price{font-size:14px}.prod-desc,.prod-meta{display:none}.prod-foot .link-more{display:none}.cat-chips{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;-webkit-overflow-scrolling:touch}.cat-chips a{white-space:nowrap}.prods .crumbs{justify-content:flex-start}}
/* work extras + articles */

.spec{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.spec-wide{grid-column:1/-1}
.spec .section-title{font-size:18px;margin-bottom:12px}.spec .slash{height:20px}
.spec-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.spec-list li{padding-left:14px;position:relative}.spec-list li::before{content:"";position:absolute;left:0;top:10px;width:6px;height:6px;border-radius:50%;background:var(--red)}
.spec-list a{color:var(--text);display:inline-flex;align-items:center;gap:4px}.spec-list a:hover{color:var(--red)}
.spec-chips{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.spec-chips li{padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:14px;font-weight:500}
.spec-chips small{color:var(--muted);font-weight:400;margin-left:4px}
.articles{margin-top:40px;max-width:860px;margin-left:auto;margin-right:auto}
.lang-tabs{display:flex;gap:8px;margin-bottom:18px}
.lang-tabs button{padding:9px 18px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:#fff;font:inherit;font-weight:600;font-size:14px;cursor:pointer}
.lang-tabs button.active{background:var(--red);border-color:var(--red)}
.article{color:#dcdcdf;font-size:16px;line-height:1.8}
.article.is-hidden{display:none}
.article h2{font-size:22px;font-weight:700;color:#fff;margin:26px 0 10px;padding-left:14px;border-left:4px solid var(--red)}
.article h3{font-size:18px;font-weight:600;color:#fff;margin:20px 0 8px}
.article p{margin:0 0 14px}.article ul{margin:0 0 14px 22px}.article li{margin-bottom:6px}
.article strong{color:#fff}
.articles .center{margin-top:24px}
@media (max-width:700px){.article{font-size:15px}}
/* contact + otp */
.field small.inl{display:inline;margin-left:6px;font-size:12px}
.contact-rows{display:flex;flex-direction:column;gap:10px}
.contact-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.contact-label{display:inline-block;min-width:64px;color:var(--muted);font-size:14px;margin-right:8px}
.contact-acts{display:flex;gap:8px}
.btn-sm{padding:8px 14px;font-size:14px;border-radius:10px}
.badge-ok,.badge-warn{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;margin-left:6px;vertical-align:middle}
.badge-ok{background:rgba(52,199,89,.15);color:#5fd77e;border:1px solid rgba(52,199,89,.4)}
.badge-warn{background:rgba(255,180,0,.12);color:#ffcc4d;border:1px solid rgba(255,180,0,.4)}
.field input.otp{font-size:28px;letter-spacing:.5em;text-align:center;font-weight:700}
.merge-info{list-style:none;padding:0;margin:0 0 6px;display:flex;flex-direction:column;gap:6px;font-size:15px}
.acct-actions .btn[disabled]{opacity:.5;cursor:default}
.lc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
/* footer contact */
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;gap:28px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:14px}
.f-col h3{font-size:15px;font-weight:700;margin:0 0 10px;color:#fff}
.f-col p{font-size:14px;margin:0 0 10px;line-height:1.6}
.f-logo{height:46px;width:auto;margin-bottom:8px}
.f-photo{display:block;margin-top:12px;border-radius:12px;overflow:hidden;border:1px solid var(--line);max-width:300px}
.f-photo img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.f-list{list-style:none;padding:0;margin:0 0 10px;font-size:14px;display:flex;flex-direction:column;gap:6px;line-height:1.55}
.f-list a{color:var(--text)}.f-list a:hover{color:var(--red)}
.f-qr{display:inline-flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border-radius:10px;padding:8px;margin:4px 0 12px;font-size:12px;color:#222}
.f-qr img{width:110px;height:110px;display:block}
.f-links-h{margin-top:18px}
.footer-links a{font-size:14px}
.f-col .btn-sm{margin-top:4px}
.shop-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 22px}
.shop-photos a{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.shop-photos img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .2s}
.shop-photos a:hover img{transform:scale(1.03)}
@media (max-width:1024px){.footer-grid{grid-template-columns:1fr 1fr}.shop-photos{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){.footer-grid{grid-template-columns:1fr;gap:22px}.shop-photos{grid-template-columns:repeat(2,1fr)}.footer-inner{flex-direction:column;gap:4px}}
.lc-quick{display:flex;gap:8px;padding:8px 12px 2px;overflow-x:auto;scrollbar-width:none;flex-shrink:0;border-top:1px solid var(--line)}
.lc-quick::-webkit-scrollbar{display:none}
.lc-quick button{flex:0 0 auto;padding:7px 12px;border-radius:999px;border:1px solid var(--red);background:transparent;color:#fff;font:inherit;font-size:13px;font-weight:500;cursor:pointer;white-space:nowrap}
.lc-quick button:hover{background:rgba(212,25,32,.18)}
.f-qrs{display:flex;gap:10px;flex-wrap:wrap}.f-qrs .f-qr img{width:96px;height:96px}
.f-contact .f-list li{line-height:1.6}
@media (max-width:1024px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.footer-grid{grid-template-columns:1fr}.f-col:empty{display:none}}
.lang-sw{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-left:6px}
.lang-sw a{color:var(--muted);font-weight:600;padding:4px 2px}.lang-sw a.active{color:#fff;border-bottom:2px solid var(--red)}
.lang-sw.mobile{margin:6px 0 10px;font-size:15px;gap:10px}
.lc-bubble a.lc-link{color:inherit;text-decoration:underline;text-underline-offset:2px;word-break:break-all;font-weight:600}
.lc-me .lc-bubble a.lc-link{color:#fff}
.lc-staff .lc-bubble a.lc-link{color:#ff8a8f}
.lc-typing .lc-bubble{display:inline-flex;gap:5px;align-items:center;padding:12px 16px}
.lc-typing .lc-bubble span{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:lcdot 1.2s infinite ease-in-out}
.lc-typing .lc-bubble span:nth-child(2){animation-delay:.2s}.lc-typing .lc-bubble span:nth-child(3){animation-delay:.4s}
@keyframes lcdot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.lc-bubble.lc-has-img{padding:6px}
.lc-img{display:block;max-width:100%;width:260px;max-height:320px;object-fit:cover;border-radius:12px}
.lc-has-img .lc-text{padding:6px 8px 4px}
/* chat full-screen page + header fullscreen button */
.lc-full-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;color:var(--muted);margin-left:auto;margin-right:2px}
.lc-full-btn:hover{color:#fff;background:rgba(255,255,255,.08)}
.lc-head .lc-close{margin-left:0}
.chat-full-body{margin:0;background:var(--bg)}
.wings-chat.lc-full{position:fixed;inset:0;right:0;bottom:0;z-index:100}
.wings-chat.lc-full .lc-fab{display:none}
.wings-chat.lc-full .lc-window{position:fixed;inset:0;width:auto;height:100%;height:100dvh;max-height:none;border-radius:0;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none;bottom:auto;transition:none}
.wings-chat.lc-full .lc-head{padding-top:calc(12px + env(safe-area-inset-top))}
.wings-chat.lc-full .lc-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
@media (min-width:900px){.wings-chat.lc-full .lc-window{left:50%;right:auto;width:min(760px,100vw);transform:translateX(-50%);border-left:1px solid var(--line);border-right:1px solid var(--line)}.wings-chat.lc-full .lc-messages{padding:20px 24px}.wings-chat.lc-full .lc-row{max-width:70%}}
.lc-video{background:#000}
.lc-file{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-weight:600;word-break:break-all}
.lc-file:hover{background:rgba(255,255,255,.14)}
/* catalog: search, brands, models */
.prod-search{display:flex;gap:8px;max-width:640px;margin:0 auto 26px}
.prod-search input{flex:1;padding:12px 16px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--text);font:inherit}
.prod-search input:focus{outline:none;border-color:var(--red)}
.prods-h2{margin:6px 0 14px}
.brand-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-bottom:34px}
.brand-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;background:var(--card);border:1px solid var(--line);border-radius:14px;text-align:center;transition:border-color .15s,transform .15s}
.brand-card:hover{border-color:var(--red);transform:translateY(-2px)}
.brand-logo{display:flex;align-items:center;justify-content:center;height:52px;width:100%;background:#fff;border-radius:10px;padding:4px;color:#111;font-weight:700}
.brand-logo img{max-height:44px;max-width:100%;width:auto;height:auto;object-fit:contain}
.brand-card strong{font-size:15px}.brand-card small,.model-card small{color:var(--muted);font-size:12px}
.model-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:30px}
.model-card{display:flex;flex-direction:column;gap:4px;padding:10px;background:var(--card);border:1px solid var(--line);border-radius:14px;transition:border-color .15s}
.model-card:hover{border-color:var(--red)}
.model-img{display:block;aspect-ratio:221/132;background:#fff;border-radius:10px;overflow:hidden}
.model-img img{width:100%;height:100%;object-fit:contain}
.model-card strong{font-size:14px;line-height:1.35}
.model-head{display:flex;gap:16px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px;margin:0 0 20px}
.model-head img{width:160px;height:auto;background:#fff;border-radius:10px}
.model-head strong{display:block;font-size:18px;margin-bottom:4px}
.pager .gap{padding:8px 4px;color:var(--muted)}
@media (max-width:700px){.brand-grid{grid-template-columns:repeat(3,1fr);gap:8px}.model-grid{grid-template-columns:repeat(2,1fr);gap:8px}.model-head img{width:110px}.prod-search{margin-bottom:18px}}
/* product-brand row (AOS / OUTLANDER / HAMER) */
.pbrand-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:34px;padding:4px 2px}
/* ยี่ห้อสินค้า: การ์ดกว้างเท่าการ์ดยี่ห้อรถ (เจ้าของร้าน 2026-11-11) */
.pbrand-card{flex:0 0 132px;min-width:0}
.pbrand-card .brand-logo img{border-radius:6px}
.pbrand-card .brand-logo{font-size:12px;line-height:1.15;overflow:hidden;letter-spacing:-.2px}   /* ยี่ห้อที่ยังไม่มีโลโก้: ชื่อไม่ล้นกรอบ */
.pbrand-card strong{font-size:14px;line-height:1.3}
@media (max-width:700px){.pbrand-row{gap:8px}.pbrand-card{flex-basis:104px}.pbrand-card strong{font-size:13px}}
/* infinite brand rail */
.brand-rail{position:relative;margin-bottom:34px}
.brand-track{display:flex;gap:12px;overflow-x:auto;scroll-behavior:auto;scrollbar-width:none;padding:4px 2px;cursor:grab;user-select:none;-webkit-overflow-scrolling:touch}
.brand-track::-webkit-scrollbar{display:none}
.brand-track.drag{cursor:grabbing}
.brand-track .brand-card{flex:0 0 132px}
.brand-track img{pointer-events:none}
.rail-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:rgba(20,20,23,.92);color:#fff;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.5)}
.rail-btn:hover{border-color:var(--red)}
.rail-btn.prev{left:-6px}.rail-btn.next{right:-6px}
@media (max-width:700px){.brand-track .brand-card{flex-basis:104px}.rail-btn{width:34px;height:34px;font-size:20px}.rail-btn.prev{left:-4px}.rail-btn.next{right:-4px}}
/* product lightbox + image protection */
#gallery img,.lb-img,.prod-related .prod-img img{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}
.prod-main .zoomable{display:block;cursor:zoom-in;height:100%}
.lb{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center}
.lb[hidden]{display:none}
html.lb-lock,html.lb-lock body{overflow:hidden}
.lb-stage{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:56px 72px 64px}
.lb-img{max-width:100%;max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);object-fit:contain;border-radius:6px;transition:opacity .15s;background:#111}
.lb-img.loading{opacity:.35}
.lb-cap{color:#ddd;font-size:14px;margin-top:12px;text-align:center;max-width:900px}
.lb-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.5);color:#fff;font-size:20px;cursor:pointer;z-index:2}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(0,0,0,.5);color:#fff;font-size:32px;line-height:1;cursor:pointer;z-index:2}
.lb-nav:hover,.lb-close:hover{border-color:var(--red);background:rgba(212,25,32,.4)}
.lb-prev{left:14px}.lb-next{right:14px}
.lb.single .lb-nav{display:none}
.lb-count{position:absolute;top:22px;left:50%;transform:translateX(-50%);color:#fff;font-size:14px;font-weight:600;background:rgba(0,0,0,.5);padding:4px 12px;border-radius:999px}
.lb.single .lb-count{display:none}
@media (max-width:700px){.lb-stage{padding:60px 8px 70px}.lb-nav{top:auto;bottom:14px;transform:none;width:46px;height:46px}.lb-prev{left:calc(50% - 60px)}.lb-next{right:calc(50% - 60px)}}
/* แสดงรูปสินค้าเต็มภาพ ไม่ครอปขอบ */
.prod-img img,.prod-main img,.prod-thumbs img{object-fit:contain!important}
.prod-img,.prod-main,.prod-thumbs button{background:#fff!important}
.prod-main{aspect-ratio:4/3}
/* infinite category rail (ทุกขนาดจอ) */
.cat-rail{position:relative;margin:0 0 26px}
.cat-rail .cat-chips{margin:0;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding:4px 44px;cursor:grab;user-select:none;-webkit-overflow-scrolling:touch}
.cat-rail .cat-chips::-webkit-scrollbar{display:none}
.cat-rail .cat-chips.drag{cursor:grabbing}
.cat-rail .cat-chips a{white-space:nowrap;flex:0 0 auto}
.cat-rail .rail-btn{width:34px;height:34px;font-size:20px}
.cat-rail .rail-btn.prev{left:0}.cat-rail .rail-btn.next{right:0}
@media (max-width:700px){.cat-rail .cat-chips{padding:4px 38px}}
.cat-rail .cat-chips{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 46px,#000 calc(100% - 46px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 46px,#000 calc(100% - 46px),transparent)}
.no-loop [data-clone],.no-loop .rail-btn{display:none!important}.no-loop .brand-track,.no-loop .cat-rail .cat-chips,.cat-rail.no-loop .cat-chips{justify-content:center;cursor:default;-webkit-mask-image:none;mask-image:none}
/* ปุ่ม "ติดต่อเรา" + เมนูเด้ง (Messenger / LINE / แชท) */
.lc-fab-dclose{display:none}
.lc-dial-open .lc-ico-chat,.lc-dial-open .lc-fab-label{display:none}
.lc-dial-open .lc-ico-close,.lc-dial-open .lc-fab-dclose{display:block}
.lc-dial-open .lc-fab{background:#2a2a30;box-shadow:0 10px 28px rgba(0,0,0,.5),0 0 0 2px rgba(255,255,255,.35)}
.lc-dial{position:absolute;right:0;bottom:calc(100% + 14px);display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.lc-dial[hidden]{display:none}
.lc-dial-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;color:#fff;text-decoration:none;font:inherit;font-weight:700;font-size:15px;box-shadow:0 8px 22px rgba(0,0,0,.45);animation:lcPop .18s ease-out both;transition:transform .15s}
.lc-dial-btn:hover{transform:translateY(-2px);color:#fff}
.lc-dial-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lc-dial-fb,.lc-dial-line{width:54px;height:54px;border-radius:50%}
.lc-dial-fb{background:#0866ff}
.lc-dial-line{background:#06c755}
.lc-dial-chat{height:50px;padding:0 20px 0 16px;border-radius:25px;background:var(--red);box-shadow:0 10px 26px rgba(212,25,32,.45),0 2px 6px rgba(0,0,0,.4)}
.lc-dial-chat:hover{background:var(--red-dark)}
.lc-dial-btn:nth-last-child(2){animation-delay:.04s}.lc-dial-btn:nth-last-child(3){animation-delay:.08s}
@keyframes lcPop{from{opacity:0;transform:translateY(10px) scale(.92)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lc-dial-btn{animation:none}}
.lc-dial-btn{white-space:nowrap}.lc-dial-chat svg{flex-shrink:0}
/* LINE / Messenger เป็นปุ่มยาว ไอคอน + ชื่อ */
.lc-dial-fb,.lc-dial-line{width:auto;height:50px;border-radius:25px;padding:0 20px 0 10px;gap:8px}
.lc-dial-fb svg,.lc-dial-line svg{flex-shrink:0}
.lc-dial-fb:hover{background:#0758d6}.lc-dial-line:hover{background:#05b04b}
/* ยี่ห้อสินค้า (AOS ฯลฯ) */
.pb-link{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 4px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--text,#fff);vertical-align:middle;transition:border-color .15s}
.pb-link:hover{border-color:var(--red)}
.pb-link img{width:28px;height:28px;border-radius:50%;background:#fff;object-fit:contain}
.pb-link .chev{color:var(--red)}
.pb-head{display:flex;justify-content:center;margin:4px 0 6px}
.pb-head img{width:96px;height:96px;border-radius:16px;background:#fff;object-fit:contain;padding:6px}
.fit-link{padding:3px 12px 3px 3px}
.fit-link img{width:60px;height:36px;border-radius:999px 8px 8px 999px;border-radius:18px;object-fit:contain;background:#fff;padding:2px 4px}
.prod-brand,.prod-fit{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
/* สินค้าสุ่มหน้าแรก: จางออก/เข้าตอนสลับ */
#home-prods{transition:opacity .25s}

@media (prefers-reduced-motion:reduce){#home-prods{transition:none}}
/* footer ติดต่อร้าน: เว้นบรรทัดระหว่างหัวข้อ + รายการย่อยของร้าน */
.f-contact .f-list{gap:12px}
.f-sub{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.f-sub li{position:relative;padding-left:14px}
.f-sub li::before{content:"-";position:absolute;left:2px;color:var(--muted)}
/* การ์ดสินค้าหน้าแรก: แบรนด์ / รุ่นรถ คนละบรรทัด */
.pc-line{margin:2px 0 0;font-size:13px;line-height:1.45;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-line span{color:var(--text);opacity:.75}
.prod-body h3 + .pc-line{margin-top:6px}
@media (max-width:700px){.pc-line{font-size:12px}}
/* ===== หน้าผลงานติดตั้ง /works/ ===== */


















/* ===== หน้าติดต่อเรา /contact/ ===== */
.cp-ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:10px 0 28px}
.cp-way{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px 14px;border-radius:16px;border:0;cursor:pointer;color:#fff;text-align:center;font:inherit;text-decoration:none;transition:transform .15s,filter .15s}
.cp-way:hover{transform:translateY(-3px);filter:brightness(1.08);color:#fff}
.cp-way strong{font-size:17px}.cp-way small{font-size:13px;opacity:.9;word-break:break-word}
.cp-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.18)}
.cp-chat{background:var(--red)}.cp-line{background:#06c755}.cp-fb{background:#0866ff}.cp-tel{background:#2a2a30;border:1px solid var(--line)}
.cp-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:22px;margin-bottom:34px}
.cp-info{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px 24px}
.cp-info h2{margin:0 0 14px;font-size:22px}
.cp-info dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:10px 16px;font-size:15px;line-height:1.55}
.cp-info dt{color:var(--muted);white-space:nowrap}.cp-info dd{margin:0}
.cp-info .f-qrs{margin-top:18px}
.cp-map{border-radius:16px;overflow:hidden;border:1px solid var(--line);min-height:340px;background:#1a1a1f}
.cp-map iframe{display:block;width:100%;height:100%;min-height:340px;border:0}
@media (max-width:900px){.cp-ways{grid-template-columns:repeat(2,1fr)}.cp-ways>:last-child:nth-child(odd){grid-column:1/-1}.cp-main{grid-template-columns:1fr}}
@media (max-width:420px){.cp-info dl{grid-template-columns:1fr;gap:2px}.cp-info dd{margin-bottom:8px}}
/* การ์ดหน้าแรก: แบรนด์ / รุ่นรถ เป็นปุ่มเล็กมีรูป (แบบหน้าสินค้า) */
.pc-line{display:flex;align-items:center;gap:6px;white-space:normal;margin-top:6px}
.pc-line > span{flex-shrink:0}
.pc-pill{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:2px 10px 2px 3px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03);color:var(--text,#fff);font-size:12.5px;line-height:1.5;transition:border-color .15s}
.pc-pill:hover{border-color:var(--red);color:var(--text,#fff)}
.pc-pill img{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:#fff;object-fit:contain}
.pc-pill.pc-car img{width:34px;border-radius:10px;padding:1px 2px}
.pc-pill{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-pill > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* ใส่ได้หลายรุ่น */
.pc-more{flex-shrink:0;font-size:12px;color:var(--muted)}
div.prod-fit{margin:0 0 10px}
div.prod-fit > span{color:var(--muted)}
.prod-fit .fit-extra{display:none}
.prod-fit.fit-all .fit-extra{display:inline-flex}
.fit-more{display:inline-flex;align-items:center;padding:6px 14px;border:1px dashed var(--line);border-radius:999px;background:none;color:var(--muted);font:inherit;font-size:14px;cursor:pointer}
.fit-more:hover{border-color:var(--red);color:var(--text,#fff)}
.prod-hero > *{min-width:0}.prod-gallery,.prod-main{max-width:100%}
.pb-head.pb-wide img{width:330px;max-width:100%;height:auto;padding:0;border-radius:14px;background:#17171a}
/* footer คอลัมน์แรก: ยี่ห้อสินค้า + ยี่ห้อรถยนต์ (รายการยาว แสดงแบบต่อกันหลายคำต่อบรรทัด) */
.f-brands .f-sub-h{margin-top:18px}
.f-inline{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px;line-height:1.5}
.f-inline a{color:var(--text)}.f-inline a:hover{color:var(--red)}
/* footer คอลัมน์ 2: หมวดหมู่สินค้า แบ่ง 2 คอลัมน์ย่อย */
.f-cols2{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px}
.f-cats .f-list{font-size:14px}
.f-cats.f-wide{grid-column:span 2}
.f-cats.f-wide .f-cols2{grid-template-columns:repeat(3,1fr)}
@media (max-width:1024px){.f-cats.f-wide{grid-column:auto}.f-cats.f-wide .f-cols2{grid-template-columns:1fr 1fr}}
.footer-inner{justify-content:center!important;gap:6px 14px;flex-wrap:wrap;text-align:center}
/* footer คอลัมน์ 3: ผลงานร้านล่าสุด 10 อันดับ */



.footer-inner{justify-content:center!important;align-items:center;gap:4px 14px;flex-wrap:wrap;text-align:center}
.f-seo{margin-top:14px;padding-top:10px;border-top:1px solid var(--line);font-size:13px}.f-seo a{color:var(--muted)}.f-seo a:hover{color:var(--red)}
.f-brands .f-sub-h{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
@media (min-width:1025px){.footer-grid{grid-template-columns:1fr 1.5fr 1fr 1.1fr}}

/* footer 3 คอลัมน์: ยี่ห้อ / หมวด / (ผลงานร้าน + เส้นคั่น + ติดต่อร้าน) */
@media (min-width:1025px){.footer-grid{grid-template-columns:1fr 1.35fr 1.25fr}}

.site-footer h3,.site-footer h3 a{color:var(--red)}.site-footer h3 a:hover{color:#ff4d55}
.hours-off{color:var(--red);font-weight:600}
@media (max-width:600px){.footer-grid .f-cats,.footer-grid .f-right{border-top:1px solid var(--line);padding-top:18px}}
.rel-chips a{color:inherit}.rel-chips a:hover{color:var(--red)}
/* แกลเลอรี่ผลงาน ก่อนทำ / หลังทำ */













/* รูปทางมาร้าน (หน้า ติดต่อเรา) — สูงเท่ากันโดยไม่ครอป: flex ตามสัดส่วนรูป */







@media (max-width:700px){#home-prods>:nth-child(n+9){display:none}}   /* หน้าแรก: มือถือแสดง 8 จาก 12 */
/* สไลด์ก่อน–หลังหน้าแรก (หลายชุด) */



@keyframes hsFade{from{opacity:.25}to{opacity:1}}








/* หน้าแรก: ผลงานติดตั้ง หัวข้ออยู่นอกกรอบ ในกรอบแถวละ 2 ผลงาน รูปก่อน/หลังเลื่อนเทียบได้ */











/* การ์ดผลงานที่มีหลายคู่ก่อน/หลัง (เลื่อนเอง) */



/* หน้าแรก: เส้นคั่นก่อนหัวข้อ ผลงานติดตั้ง / สินค้าแนะนำ */
.sec-divider{border:0;height:1px;margin:0 0 28px;background:linear-gradient(90deg,transparent,var(--line) 12%,var(--line) 88%,transparent)}
.sec-divider::after{content:"";display:block;width:64px;height:3px;margin:-1px auto 0;background:var(--red);border-radius:2px}
/* สมาชิก: ประวัติแชท */
.ch-note{margin:-6px 0 14px;font-size:14px}
.ch-box{padding:18px 16px;display:flex;flex-direction:column;gap:8px}
.ch-empty{padding:30px 0}
.ch-day{text-align:center;margin:12px 0 4px}
.ch-day span{display:inline-block;font-size:12px;color:var(--muted);background:rgba(255,255,255,.06);padding:3px 12px;border-radius:999px}
.ch-row{display:flex;flex-direction:column;max-width:78%}
.ch-me{align-self:flex-end;align-items:flex-end}
.ch-shop{align-self:flex-start;align-items:flex-start}
.ch-bubble{padding:9px 13px;border-radius:16px;font-size:15px;line-height:1.5;word-break:break-word;overflow-wrap:anywhere}
.ch-me .ch-bubble{background:var(--red);color:#fff;border-bottom-right-radius:4px}
.ch-shop .ch-bubble{background:#2a2a30;color:#fff;border-bottom-left-radius:4px}
.ch-bubble a{color:inherit;text-decoration:underline}
.ch-media{display:block;max-width:260px;max-height:260px;width:auto;border-radius:10px;margin-bottom:6px;background:#111}
.ch-file{display:inline-block;margin-bottom:4px}
.ch-meta{font-size:11px;color:var(--muted);margin-top:3px}
@media (max-width:600px){.ch-row{max-width:88%}.ch-media{max-width:200px}}

/* ---------- ร้านค้าออนไลน์: ตะกร้า / checkout / คำสั่งซื้อ / ตัวเลือกสินค้า (2026-11-11) ---------- */
.nav-cart{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;color:var(--text)}
.nav-cart:hover{color:var(--red)}
.nav-cart-m{display:none;margin-left:auto;margin-right:6px}
@media (max-width:900px){.nav-cart-m{display:inline-flex}}
.cart-badge{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.cart-badge[hidden]{display:none}
.btn-block{display:flex;width:100%;justify-content:center}
.btn-cart{display:inline-flex;align-items:center;gap:8px}
.btn-cart.added{background:#1f9d4c;border-color:#1f9d4c}
.btn-cart:disabled{opacity:.5;cursor:not-allowed}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.muted.small,.small{font-size:13px}
.cart-page{padding-top:28px;padding-bottom:50px}
.cart-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start;margin-top:18px}
.cart-wrap[hidden]{display:none}
.cart-main{display:grid;gap:16px;min-width:0}
.cart-page .acct-card h2,.order-page .acct-card h2{font-size:18px;margin:0 0 12px}
.cart-side{position:sticky;top:90px}
.cart-row{display:grid;grid-template-columns:96px minmax(0,1fr) auto auto 30px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-row:last-child{border-bottom:0}
.cart-row img{width:96px;height:72px;object-fit:cover;border-radius:8px;background:#fff}
.cart-row.is-out{opacity:.6}
.cart-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.cart-info a{font-weight:600;line-height:1.35}
.cart-info small{color:var(--muted)}
.cart-out{color:#ff6b6b;font-style:normal;font-weight:600}.cart-low{color:#ffb020;font-style:normal}
.cart-qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.cart-qty button{width:32px;height:34px;background:transparent;border:0;color:var(--text);font-size:18px;cursor:pointer}
.cart-qty input{width:44px;height:34px;text-align:center;background:transparent;border:0;color:var(--text);font:inherit;-moz-appearance:textfield}
.cart-qty input::-webkit-inner-spin-button{display:none}
.cart-sum{font-weight:700;min-width:70px;text-align:right}
.cart-del{background:transparent;border:0;color:var(--muted);font-size:16px;cursor:pointer}.cart-del:hover{color:var(--red)}
.sum-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line)}
.sum-row[hidden]{display:none}
.sum-total{font-size:18px;border-bottom:0}.sum-total strong{color:var(--red)}
.cart-summary .btn{margin:12px 0 8px}
.cart-total{display:flex;justify-content:space-between;font-size:18px;padding:12px 0 4px;border-top:1px solid var(--line);margin-top:8px}
.cart-total strong{color:var(--red)}
.cart-empty{margin-top:20px;padding:40px 20px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.field textarea,.field select{display:block;width:100%;margin-top:6px;padding:12px 14px;background:var(--card);border:1px solid var(--line);border-radius:10px;color:var(--text);font:inherit}
.field textarea:focus{outline:none;border-color:var(--red)}
.field[hidden],[data-show][hidden],[data-tax][hidden]{display:none}
.ship-opts{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.opt{flex:1 1 200px;display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.opt:has(input:checked){border-color:var(--red);background:rgba(212,25,32,.08)}
.opt input{margin-top:4px;accent-color:var(--red)}
.opt span{display:flex;flex-direction:column}.opt small{color:var(--muted)}
.chk-line{display:flex;gap:10px;align-items:center;cursor:pointer}.chk-line input{width:18px;height:18px;accent-color:var(--red)}
#tax-box{margin-top:14px}
@media (max-width:900px){.cart-wrap{grid-template-columns:1fr}.cart-side{position:static}}
@media (max-width:600px){.f2{grid-template-columns:1fr}.cart-row{grid-template-columns:72px minmax(0,1fr) 30px;grid-template-areas:"img info del" "img qty sum"}.cart-row>a{grid-area:img}.cart-row img{width:72px;height:54px}.cart-info{grid-area:info}.cart-qty{grid-area:qty;justify-self:start}.cart-sum{grid-area:sum}.cart-del{grid-area:del}}
/* หน้าสินค้า: ตัวเลือก / สต็อก / ซื้อ / สเปก */
.var-pick{display:grid;gap:10px;margin:14px 0}
.var-pick.shake{animation:shake .5s}
@keyframes shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.var-row{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}
.var-name{min-width:70px;color:var(--muted);padding-top:7px}
.var-vals{display:flex;gap:8px;flex-wrap:wrap}
.var-btn{padding:7px 14px;border-radius:8px;border:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;cursor:pointer}
.var-btn.on{border-color:var(--red);background:rgba(212,25,32,.15);font-weight:600}
.var-btn.na{opacity:.4;text-decoration:line-through}
.prod-sku-line{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin:6px 0}
.stock-tag:empty{display:none}
.stock-tag{color:#4cd07d;font-weight:600}
.buy-box{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin:12px 0 4px}
.buy-qty{display:flex;flex-direction:column;font-size:13px;color:var(--muted)}
.buy-qty input{width:76px;height:44px;margin-top:4px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:10px;color:var(--text);font:inherit}
.prod-specs{margin-top:34px}
.spec-list{display:grid;grid-template-columns:max-content 1fr;gap:8px 24px;max-width:560px;padding:16px 20px;background:var(--card);border:1px solid var(--line);border-radius:12px}
.spec-list dt{color:var(--muted)}.spec-list dd{margin:0;font-weight:600}
/* หน้าคำสั่งซื้อ */
.order-code{color:var(--red)}
.order-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start;margin:18px 0}
@media (max-width:900px){.order-grid{grid-template-columns:1fr}}
.order-status{font-size:16px;margin:0 0 10px}
.order-item{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.order-item img{width:72px;height:54px;object-fit:cover;border-radius:6px}
.order-info{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin-top:14px}
.order-info dt{color:var(--muted)}.order-info dd{margin:0}
.pp-qr{display:flex;justify-content:center;padding:12px;background:#fff;border-radius:12px;width:max-content;margin:0 auto 8px}
.pay-note{white-space:pre-line;background:rgba(255,255,255,.05);border:1px solid var(--line);border-radius:10px;padding:12px}
.acct-orders{display:grid;gap:10px}
.acct-order{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:10px}
.stock-tag.out{color:#ff6b6b}
.nav-cart svg{width:21px;height:21px;flex:none}
.order-page .sum-row{border-bottom:0;padding:4px 0}
.otp-input{letter-spacing:8px;font-size:22px;text-align:center}
.vat-note{margin:-4px 0 8px;font-size:13px;color:var(--muted)}
.sum-dep strong{color:#ffb020}
.install-at{background:rgba(76,208,125,.12);border:1px solid rgba(76,208,125,.4);border-radius:10px;padding:10px 12px}
.quote-box{margin-top:14px;padding:14px;border:1px dashed var(--red);border-radius:10px}
.mini-h{font-size:15px;margin:18px 0 6px}
.pay-list,.doc-list{list-style:none;padding:0;margin:0}.pay-list li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line);font-size:14px}
.doc-list li{padding:6px 0}.ps{font-style:normal;font-size:12px;padding:2px 8px;border-radius:999px;margin-left:6px}.ps-pending{background:rgba(255,176,32,.2);color:#ffb020}.ps-verified{background:rgba(76,208,125,.2);color:#4cd07d}.ps-rejected{background:rgba(255,107,107,.2);color:#ff6b6b}
.oi-ico{display:flex;width:72px;height:54px;align-items:center;justify-content:center;font-size:24px;background:var(--card);border-radius:6px}

/* นโยบายร้าน (policy.php) + ลิงก์ท้ายเว็บ + แถบคุกกี้ */
.policy-page{max-width:900px}
.policy-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.policy-tabs a{padding:7px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--muted);background:var(--panel)}
.policy-tabs a:hover{color:var(--text);border-color:#46464d}
.policy-tabs a.active{background:var(--red);border-color:var(--red);color:#fff}
.policy-page .acct-lead{margin-top:6px;font-size:14px}
.policy-body{line-height:1.85;padding:28px 32px}
.policy-body h2{font-size:19px;font-weight:600;margin:26px 0 8px;padding-left:12px;border-left:4px solid var(--red);line-height:1.4}
.policy-body h2:first-child{margin-top:0}
.policy-body p{color:#d6d6da;margin:0 0 12px}
.policy-body ul{margin:0 0 12px;padding-left:22px;color:#d6d6da}
.policy-body li{margin:3px 0}
.policy-body li::marker{color:var(--red)}
.f-policy{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:10px;font-size:13px;color:var(--muted)}
.f-policy a:hover{color:var(--text);text-decoration:underline}
.cookie-bar{position:fixed;left:16px;bottom:16px;z-index:99;max-width:560px;display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.55);font-size:14px;line-height:1.6}
.cookie-bar[hidden]{display:none}
.cookie-bar p{color:#d6d6da}
.cookie-bar a{color:#fff;text-decoration:underline}
.cookie-bar .btn{padding:10px 18px;flex-shrink:0}
@media (max-width:760px){
  .policy-body{padding:20px 18px}
  .policy-body h2{font-size:17px}
  .cookie-bar{left:12px;right:12px;bottom:88px;max-width:none;flex-direction:column;align-items:stretch;gap:10px}
}
/* คูปองส่วนลด + ยินยอม PDPA ในหน้าตะกร้า */
.sum-disc strong{color:#3ecf74}.sum-disc small{color:var(--muted)}
.coupon-box{margin:12px 0 4px}.coupon-box[hidden]{display:none}
.coupon-in{display:flex;gap:8px}.coupon-in input{flex:1;min-width:0;height:38px;padding:0 12px;background:var(--card);border:1px solid var(--line);border-radius:10px;color:var(--text);font:inherit;text-transform:uppercase}
.coupon-in input:focus{outline:none;border-color:var(--red)}.coupon-in .btn{margin:0;white-space:nowrap}
.coupon-msg{margin:6px 0 0}.coupon-msg.is-ok{color:#3ecf74}.coupon-msg.is-err{color:#ff6b6b}
.chk-line.consent{align-items:flex-start;font-size:14px;margin-top:10px}.chk-line.consent input{margin-top:2px;flex-shrink:0}.chk-line.consent a{color:var(--text);text-decoration:underline}
/* การจัดส่ง: ขนส่ง + เลขพัสดุ + ติดตาม (หน้าคำสั่งซื้อลูกค้า) · ส่วนลดคูปอง */
.ship-track{background:rgba(74,144,226,.12);border:1px solid rgba(74,144,226,.45);border-radius:10px;padding:10px 12px;margin:0 0 12px}
.ship-track p{margin:0 0 6px}.ship-track .st-line{margin-bottom:4px}.ship-track .trk-no{letter-spacing:.5px;word-break:break-all}
.ship-track.is-done{background:rgba(76,208,125,.12);border-color:rgba(76,208,125,.4)}
.sum-disc strong{color:#4cd07d}
.ship-track .trk-no{word-break:normal;overflow-wrap:anywhere}

/* จองคิว / นัดหมาย (booking) */
.nav>a.nav-book{color:#fff;background:rgba(212,25,32,.16);border-radius:10px;border-bottom-color:transparent}
.nav>a.nav-book:hover,.nav>a.nav-book.active{background:var(--red)}
.mobile-nav a.nav-book{color:#ff6b70}
.bk-page{max-width:880px}
.bk-intro{margin-top:-10px}
.bk-note{background:var(--card);border-left:3px solid var(--red);border-radius:0 10px 10px 0;padding:12px 16px;margin-top:16px;font-size:14px}
.bk-h{display:flex;align-items:center;gap:10px;font-size:18px;margin-bottom:14px}
.bk-h span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-size:14px;flex-shrink:0}
.bk-mt{margin-top:22px}
.bk-svcs{margin-bottom:0}.bk-svcs .opt small{display:block;color:var(--muted);font-size:13px}
.bk-days{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}
.bk-day{flex:0 0 68px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 4px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);font:inherit;cursor:pointer;transition:border-color .15s,background .15s}
.bk-day small{font-size:12px;color:var(--muted)}
.bk-day strong{font-size:20px;line-height:1.2}
.bk-day em{font-style:normal;font-size:11px;margin-top:2px;color:#4ade80}
.bk-day:hover:not(:disabled){border-color:var(--red)}
.bk-day[aria-pressed=true]{background:var(--red);border-color:var(--red)}
.bk-day[aria-pressed=true] small,.bk-day[aria-pressed=true] em{color:#fff}
.bk-day:disabled{cursor:not-allowed;opacity:.42;background:transparent}
.bk-day.is-closed em,.bk-day.is-full em{color:var(--muted)}
.bk-day.is-closed strong{text-decoration:line-through}
.bk-dlabel{font-weight:600;margin-bottom:10px}
.bk-tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.bk-time{display:flex;flex-direction:column;align-items:center;padding:10px 6px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);font:inherit;cursor:pointer}
.bk-time strong{font-size:17px}
.bk-time small{font-size:11px;color:#fbbf24}
.bk-time:hover{border-color:var(--red)}
.bk-time[aria-pressed=true]{background:var(--red);border-color:var(--red)}.bk-time[aria-pressed=true] small{color:#fff}
.bk-sum{background:rgba(212,25,32,.1);border:1px solid rgba(212,25,32,.45);border-radius:10px;padding:10px 14px;font-weight:600;margin:4px 0 12px}
.bk-submit{margin-top:16px}.bk-submit:disabled{opacity:.5;cursor:not-allowed}
.bk-card{text-align:left}
.bk-st{display:inline-block;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:600;background:var(--card-2);color:var(--text)}
.bk-st-pending{background:rgba(251,191,36,.18);color:#fcd34d}
.bk-st-confirmed{background:rgba(74,222,128,.16);color:#86efac}
.bk-st-cancelled,.bk-st-no_show{background:rgba(212,25,32,.18);color:#fca5a5}
.bk-st-done{background:var(--card-2);color:var(--muted)}
.bk-when{font-size:18px;margin-top:14px}.bk-time-l{font-size:26px;font-weight:700;color:#fff}
.bk-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 8px}
.bk-line{background:#06c755;border-color:#06c755;color:#fff}.bk-line:hover{background:#05a648}
.bk-linked{display:inline-flex;align-items:center;color:#4ade80;font-size:14px;font-weight:600}
.bk-move summary{cursor:pointer;list-style:none}.bk-move summary::-webkit-details-marker{display:none}
.bk-move summary::after{content:' ▾';color:var(--muted)}
.bk-move[open] summary{margin-bottom:16px}
.bk-move .bk-times{margin:6px 0 14px}
.bk-cancel{margin:16px 0 10px}
.acct-order.bk-up{border-color:rgba(212,25,32,.55)}
@media (max-width:600px){
  .bk-day{flex-basis:60px}
  .bk-h{font-size:17px}
  .bk-tgrid{grid-template-columns:repeat(3,1fr)}
  .bk-time-l{font-size:22px}
}
/* รูปประจำหมวดสินค้า (2026-11-12) */
.brand-track .cat-card{flex:0 0 168px;padding:8px 8px 12px;gap:6px}
.cat-card-img{display:block;width:100%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:#fff}
.cat-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.cat-card strong{font-size:14px;line-height:1.3}
.cat-card-rail{margin-bottom:26px}
.cat-chips a .chip-img{width:28px;height:21px;object-fit:cover;border-radius:4px;margin:-2px 0 -2px -6px;background:#fff}
@media (max-width:700px){.brand-track .cat-card{flex-basis:132px}.cat-card strong{font-size:13px}}
/* การ์ดยี่ห้อสินค้า/ยี่ห้อรถ/หมวด: ชื่อยาวให้กล่องขยายตาม ชื่ออยู่บรรทัดเดียว (เจ้าของร้าน 2026-11-12) */
.brand-track .brand-card{flex:0 0 auto;min-width:132px}
.brand-track .brand-card strong,.brand-track .brand-card small{white-space:nowrap}
.brand-track .cat-card{min-width:168px}
@media (max-width:700px){.brand-track .brand-card{min-width:104px}.brand-track .cat-card{min-width:132px}}
.brand-track .brand-logo img{max-width:112px}   /* โลโก้กว้างไม่ดันกล่อง ให้ความกว้างกล่องขึ้นกับชื่อ */
.brand-track .cat-card{flex:0 0 168px}.brand-track .cat-card strong{white-space:normal}   /* การ์ดหมวดมีรูป: กว้างคงที่ */
@media (max-width:700px){.brand-track .brand-logo img{max-width:84px}.brand-track .cat-card{flex-basis:132px}}
/* compare: ป้ายจางเมื่อฝั่งนั้นแทบไม่เห็น (2026-11-12) */


/* ภาพเลื่อนเทียบ: กรอบตามสัดส่วนรูปจริง เห็นเต็มความสูง ไม่ครอป (2026-11-12) */




/* สไลด์ก่อน–หลัง: สูงไม่เกิน 400px กรอบกว้างตามสัดส่วนรูป อยู่กึ่งกลาง (เจ้าของร้าน 2026-11-12) */

   /* การ์ดผลงานหน้าแรก: สูงไม่เกิน 400 เหมือนสไลด์ */
   /* หน้าผลงาน: ใหญ่ได้ แต่ไม่เกินจอ */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* สไลด์ด้านบนหน้าแรก: สูงไม่เกิน 70% ของจอ · การ์ด "ผลงานติดตั้ง" คง 400px (เจ้าของร้าน 2026-11-12) */

   /* สไลด์ด้านบน: ไม่ต้องมีป้ายก่อน/หลังติดตั้ง (เจ้าของร้าน 2026-11-12) */
/* ผลงานติดตั้งหน้าแรก: 1 ผลงาน 1 แถว รูปซ้าย ชื่อ+รายละเอียดด้านข้าง (เจ้าของร้าน 2026-11-12) */












/* ผลงานติดตั้งหน้าแรก: รูปปก (ไม่มีก่อน/หลัง) + แถบรูปเล็ก 100x100 ไม่ครอป (เจ้าของร้าน 2026-11-12) */






   /* รูปเล็ก+เนื้อหา ชิดบน ไม่อยู่กลาง (เจ้าของร้าน 2026-11-12) */
/* แถบรูปเล็กผลงาน: แถวเดียว รูปเยอะ = เลื่อนซ้าย-ขวาดูได้ (เจ้าของร้าน 2026-11-12) */







/* รูปสินค้า/รายการติดตั้งในหน้าผลงาน: กว้างตามกรอบ เห็นเต็มรูป ไม่ครอป (เจ้าของร้าน 2026-11-12) */


/* ตัวนับคนดู (2026-11-12) */
.view-count{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:13px;white-space:nowrap}
.view-count svg{opacity:.8}.view-count b{color:var(--text,#fff);font-weight:600}
.view-line{margin:2px 0 8px}
.work .view-line{text-align:center}
.cookie-btns{display:flex;gap:8px;flex-shrink:0}.cookie-btns .btn{white-space:nowrap;padding:9px 14px}
@media (max-width:640px){.cookie-bar{flex-direction:column;align-items:stretch;right:16px}.cookie-btns .btn{flex:1}}

/* หน้ายี่ห้อสินค้า: ตัวกรองยี่ห้อรถ / รุ่นรถ เลือกหลายตัว พิมพ์ค้นหาได้ (2026-11-14) */
.pf-filter{position:relative;z-index:30;max-width:640px;margin:-12px auto 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}
.pf-clear{grid-column:1/-1;justify-self:end;font-size:13px;color:var(--muted);text-decoration:underline}
.pf-clear:hover{color:var(--red)}
.ms{position:relative;min-width:0}
.ms-box{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:44px;padding:5px 30px 5px 8px;border:1px solid var(--line);border-radius:12px;background:var(--card);cursor:text}
.ms.open .ms-box,.ms-box:focus-within{border-color:var(--red)}
.ms-tags{display:contents}
.ms-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 10px;border-radius:999px;background:var(--red);color:#fff;font-size:13px;line-height:1.3;max-width:100%}
.ms-tag small{opacity:.75;font-size:11px}
.ms-tag button{border:0;background:rgba(255,255,255,.2);color:#fff;width:18px;height:18px;border-radius:50%;font-size:10px;line-height:18px;padding:0;cursor:pointer}
.ms-in{flex:1;min-width:90px;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:14px;padding:5px 4px}
.ms-caret{position:absolute;right:4px;top:6px;width:28px;height:32px;border:0;background:transparent;font-size:12px;color:var(--muted);cursor:pointer;transition:transform .15s}
.ms.open .ms-caret{transform:rotate(180deg)}
.ms-pop{position:absolute;z-index:40;left:0;right:auto;width:max-content;min-width:min(260px,90%);max-width:90%;top:calc(100% + 4px);background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.35);overflow:hidden}
.ms-list{max-height:300px;overflow-y:auto;padding:4px}
.ms-foot{display:flex;align-items:center;gap:8px;padding:8px 10px;border-top:1px solid var(--line);background:var(--card)}
.ms-cnt{flex:1;font-size:13px;color:var(--muted)}
.ms-foot button{border:1px solid var(--line);background:transparent;color:var(--text);font:inherit;font-size:14px;padding:6px 14px;border-radius:999px;cursor:pointer}
.ms-foot .ms-ok{background:var(--red);border-color:var(--red);color:#fff;font-weight:600;padding:6px 20px}
.ms-foot .ms-clr:hover{border-color:var(--red)}
.ms-group{position:sticky;top:-4px;z-index:1;background:var(--card);padding:8px 10px 4px;font-size:12px;font-weight:700;color:var(--red)}
.ms-opt{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:14px}
.ms-opt:hover,.ms-opt.hi{background:rgba(127,127,127,.15)}
.ms-opt img{height:18px;width:auto;max-width:40px;object-fit:contain}
.ms-opt .ms-l{flex:1;min-width:0}
.ms-opt small{color:var(--muted);font-size:12px}
.ms-chk{flex:0 0 16px;height:16px;border:1.5px solid var(--muted);border-radius:4px;position:relative}
.ms-opt.on .ms-chk{background:var(--red);border-color:var(--red)}
.ms-opt.on .ms-chk::after{content:'';position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ms-none{padding:10px;color:var(--muted);font-size:14px}
.pf-filter [data-ms=cat]{grid-column:1/-1}
@media (max-width:700px){.pf-filter{grid-template-columns:1fr;margin-top:-8px}}
/* /products/: แถวรุ่นรถยอดนิยม ใต้ยี่ห้อรถ (2026-11-14) */
.model-rail .model-card{flex:0 0 180px;min-width:0}
.model-rail .model-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.model-rail .model-brand{display:block;color:var(--muted);font-size:12px;font-weight:500}
@media (max-width:700px){.model-rail .model-card{flex-basis:148px}}
.pf-filter.pf-1{grid-template-columns:1fr}
/* /products/: ช่องพิมพ์หารุ่นรถ (เลือกแล้วไปหน้ารุ่นทันที) */
.pf-jump{margin:0 auto 16px}
.ms[data-jump] .ms-foot,.ms[data-jump] .ms-chk{display:none}
.ms[data-jump] .ms-pop{width:100%;max-width:100%}

.ms:empty{min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--card)}   /* จองที่ก่อน JS วาดช่อง กันหน้าเลื่อน (CLS) */
/* เกี่ยวกับเรา แบบไม่มีรูปประกอบ (ร้านใส่รูปเองภายหลัง) */
.why.why-solo{grid-template-columns:1fr}
.vm.vm-2{grid-template-columns:1fr 1fr}
.services-list.services-text{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.services-text .service span{white-space:normal}
@media (max-width:760px){.vm.vm-2{grid-template-columns:1fr}}
/* หน้าแรกร้านค้า */
.shop-hero{margin-top:26px;position:relative;overflow:hidden;border-radius:var(--radius);background:linear-gradient(120deg,#0e0e11 0%,#16161b 55%,#3a0a0e 100%);border:1px solid var(--line);padding:48px 40px}
.shop-hero::after{content:"";position:absolute;right:-30px;top:0;bottom:0;width:90px;background:var(--red);transform:skewX(-14deg);opacity:.85}
.shop-hero-body{position:relative;z-index:1;max-width:640px}
.shop-hero-title{font-size:clamp(32px,4.6vw,56px);font-weight:700;line-height:1.08}
.shop-hero-tag{color:#d9d9dd;font-size:clamp(15px,1.6vw,19px);margin-top:8px}
.shop-hero-search{margin:22px 0 0}
.shop-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.shop-usp{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:14px}
.shop-usp li::before{content:"✓ ";color:var(--red);font-weight:700}
.home-cats-wrap{margin-top:40px}.home-cats-wrap .featured-head{margin-bottom:16px}
.home-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.home-empty{margin-top:40px;text-align:center}.home-empty .section-title{justify-content:center}.home-empty p{margin-top:10px}
@media (max-width:700px){.shop-hero{padding:32px 20px}.shop-hero::after{width:50px;right:-30px}}
/* ---------- ร้านค้า: ราคาลด / สินค้าหมด ---------- */
.prod-img{position:relative}
.card-flag{position:absolute;left:8px;top:8px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.3;color:#fff;background:var(--red)}
.card-flag.flag-out{background:#3a3a40}
.prod-card.is-out .prod-img img{opacity:.55}
.pc-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px}
.price-was{color:var(--muted);font-size:13px;font-weight:400}
.sale-badge{display:inline-block;padding:1px 7px;border-radius:999px;background:var(--red);color:#fff;font-size:12px;font-weight:700}
.price-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:10px 0 6px}
.price-line .prod-price.big{margin:0}
.price-line .price-was{font-size:18px}
.price-line .sale-badge{font-size:14px;padding:2px 9px}
.btn-cart[disabled]{opacity:.55;cursor:not-allowed}
/* เครื่องมือหน้ารายการสินค้า */
.list-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 18px;padding:10px 12px;background:var(--panel);border:1px solid var(--line);border-radius:12px;font-size:14px}
.list-tools label,.lt-price{display:inline-flex;align-items:center;gap:6px}
.list-tools select,.list-tools input[type=number]{background:var(--card);color:inherit;border:1px solid var(--line);border-radius:8px;padding:6px 8px;font:inherit}
.list-tools input[type=number]{width:96px}
.lt-clear{color:var(--muted);text-decoration:underline}
@media (max-width:700px){.list-tools{gap:8px}.lt-price{width:100%}.list-tools input[type=number]{flex:1;width:auto}}
/* แบนเนอร์สไลด์หน้าแรก */
.bnr-wrap{margin-top:22px}
.bnr{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--panel)}
.bnr-track{display:grid}
.bnr-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s;position:relative}
.bnr-slide.is-on{opacity:1;visibility:visible}
.bnr-slide img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}
.bnr-slide a{display:block;color:inherit}
.bnr-title{position:absolute;left:24px;bottom:22px;max-width:70%;padding:8px 14px;border-radius:10px;background:rgba(11,11,13,.72);font-size:clamp(16px,2.2vw,26px);font-weight:700}
.bnr-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(11,11,13,.6);color:#fff;font-size:26px;line-height:1;cursor:pointer}
.bnr-prev{left:10px}.bnr-next{right:10px}
.bnr-nav:focus-visible,.bnr-dots button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.bnr-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:8px}
.bnr-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.5);cursor:pointer}
.bnr-dots button.is-on{background:var(--red)}
.bnr-search{margin:14px 0 0}
@media (prefers-reduced-motion:reduce){.bnr-slide{transition:none}}
@media (max-width:700px){.bnr-nav{width:34px;height:34px;font-size:22px}.bnr-title{left:12px;bottom:28px;max-width:85%}}
/* สมุดที่อยู่ */
.addr-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;margin-bottom:14px}
.addr-card p{margin:0 0 6px}
.addr-card.is-default{border-color:var(--red)}
.addr-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
/* รายการโปรด */
.prod-card{position:relative}
.wish-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:rgba(11,11,13,.72);color:#fff;cursor:pointer;padding:0}
.wish-btn svg{fill:none;stroke:currentColor;stroke-width:2}
.wish-btn.is-on{color:var(--red)}.wish-btn.is-on svg{fill:currentColor}
.wish-btn:hover,.wish-btn:focus-visible{border-color:var(--red)}
.wish-btn.on-card{position:absolute;right:8px;top:8px;z-index:2}
.wish-btn.on-page{width:44px;height:44px}
.wish-item{display:flex;flex-direction:column;gap:6px}
.wish-item .prod-card{flex:1}
/* รีวิว */
.stars{color:#f5b301;letter-spacing:1px}
.pc-rating{margin:2px 0 4px;font-size:13px}.prod-rating{margin:4px 0}.prod-rating a{color:inherit}
.prod-reviews{margin-top:28px}
.review{padding:12px 0;border-bottom:1px solid var(--line)}
.review-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 6px}
.review-body{margin:0;line-height:1.65}
.review-photos{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.review-photos img{width:96px;height:96px;object-fit:cover;border-radius:8px;background:#fff}
.review-reply{margin-top:8px;padding:8px 12px;border-left:3px solid var(--red);background:var(--panel);border-radius:6px}
.review-form{margin-top:14px;max-width:640px}
.star-pick{border:0;padding:0;margin:0 0 10px;display:inline-flex;flex-direction:row-reverse;gap:2px}
.star-pick legend{float:left;width:100%;margin-bottom:4px}
.star-pick input{position:absolute;opacity:0;width:1px;height:1px}
.star-pick label{font-size:30px;line-height:1;color:#555;cursor:pointer}
.star-pick input:checked~label,.star-pick label:hover,.star-pick label:hover~label{color:#f5b301}
.star-pick input:focus-visible+label{outline:2px solid #fff;outline-offset:2px}
