:root{
  --bg:#07090c; --bg-elev:#0D1016; --line:rgba(255,255,255,0.07); --line-2:rgb(255, 255, 255);
  --text:#F2F5F8; --text-dim:#99A2AD; --text-faint:#5C636D;
  --accent:#027be4; --accent-2:#27a8e3; --accent-glow:rgba(47,182,255,0.35);
}
*{box-sizing:border-box;}
img{ max-width:100%; }
html,body{margin:0;background:var(--bg);color:var(--text);font-family:'Kanit',sans-serif;}
body{line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
a{color:inherit;text-decoration:none;}
.wrap{ max-width:1760px; margin:0 auto; padding:0 56px; }
@media (max-width:640px){ .wrap{ padding:0 22px; } }

header{ position:fixed; top:0; left:0; right:0; z-index:50; background:rgba(7,9,12,0.75); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav-row{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:21px; letter-spacing:0.03em; }
.brand svg{ width:26px; height:26px; }
nav.links{ display:flex; gap:38px; }
nav.links a{ font-size:14.5px; color:var(--text-dim); font-weight:400; transition:color .2s; }
nav.links a:hover, nav.links a.active{ color:var(--accent); }
@media (max-width:860px){ nav.links{ display:none; } }

main{ padding-top:76px; }

.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  min-height:88vh;
  border-bottom:1px solid var(--line);

  background-image:linear-gradient(rgba(7,9,12,0), rgba(7,9,12,0)), url('images/BG.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero-text{ padding:60px 0 60px 56px; }
@media (max-width:900px){ .hero-text{ padding:40px 22px; } }
.hero-text h1{ font-weight:800; font-size:clamp(2.6rem,5.6vw,4.4rem); line-height:1.05; margin:0; text-transform:uppercase; }
.hero-text h1 .blue{ color:var(--accent); }
.hero-text p{ color:var(--text); font-size:16.5px; max-width:42ch; margin:22px 0 0; }
.hero-ctas{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.btn{ padding:14px 28px; border-radius:30px; font-size:15px; font-weight:500; cursor:pointer; display:inline-flex; align-items:center; gap:8px; border:none; }
.btn:hover {transform: scale(1.1);}
.btn-primary{ background:linear-gradient(135deg, var(--accent), var(--accent-2)); color:#ffffff; box-shadow:0 0 26px var(--accent-glow); }
.btn-ghost{ border:1px solid var(--line-2); color:var(--text); background:transparent; }
.btn-ghost:hover{ border-color:var(--accent-2); color:var(--accent-2); }  



.marquee{ border-bottom:1px solid var(--line); background:var(--bg-elev); padding:14px 0; overflow:hidden; }
.mq-track{ display:flex; gap:40px; width:max-content; animation:mq 28s linear infinite; white-space:nowrap; }
.mq-track span{ font-size:13px; color:var(--text-faint); letter-spacing:0.06em; display:flex; align-items:center; gap:40px; }
.mq-track span::after{ content:"•"; color:var(--accent); }
@keyframes mq{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (prefers-reduced-motion:reduce){ .mq-track{ animation:none; } }

.page-head{ text-align:center; }
.page-head p{ margin-left:auto; margin-right:auto; }
.page-head{ padding:70px 0 44px; border-bottom:1px solid var(--line); }
.page-head span{ color:var(--accent); font-size:13px; font-weight:600; letter-spacing:0.08em; }
.page-head h1{ font-size:clamp(2rem,4vw,3rem); font-weight:700; margin:14px 0 0; }
.page-head p{ color:var(--text-dim); font-size:15.5px; max-width:50ch; margin-top:14px; }

.features{ padding:80px 0; border-bottom:1px solid var(--line); }
.feat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:860px){ .feat-grid{ grid-template-columns:repeat(2,1fr); } }

.feat{
  display:block;
  background:linear-gradient(160deg, var(--bg-elev), #0c1016);
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px 24px 26px;
  position:relative;
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feat:hover{
  transform:translateY(-8px);
  border-color:var(--accent);
  box-shadow:0 24px 40px -16px rgba(47,182,255,0.4);
}
.feat .ico{
  width:56px; height:56px; border-radius:50%;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  display:flex; align-items:center; justify-content:center;
  font-size:26px; margin-bottom:18px;
  box-shadow:0 8px 20px -6px rgba(47,182,255,0.6);
}
.feat b{ display:block; font-size:17px; font-weight:700; margin-bottom:6px; }
.feat span{ display:block; font-size:13.5px; color:var(--text-faint); margin-bottom:16px; }
.feat-go{
  font-style:normal; font-size:13px; color:var(--accent);
  opacity:0; transform:translateX(-6px);
  transition:opacity .3s ease, transform .3s ease;
}
.feat:hover .feat-go{ opacity:1; transform:translateX(0); }

.spotlight{ padding:90px 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:0.9fr 1.1fr; gap:0; align-items:center; }
@media (max-width:900px){ .spotlight{ grid-template-columns:1fr; } }
.spot-copy{ padding-left:56px; }
@media (max-width:900px){ .spot-copy{ padding-left:22px; padding-right:22px; } }
.spot-tag{ color:var(--accent); font-size:13px; letter-spacing:0.08em; font-weight:600; }
.spot-copy h2{ font-size:clamp(1.8rem,3.4vw,2.6rem); font-weight:700; margin:14px 0 18px; line-height:1.15; }
.spot-copy p{ color:var(--text-dim); font-size:15.5px; max-width:44ch; margin:0 0 26px; }
.spot-list{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-bottom:30px; }
.spot-list span{ font-size:13.5px; color:var(--text-dim); display:flex; align-items:center; gap:7px; }
.spot-list span::before{ content:""; width:6px; height:6px; background:var(--accent); border-radius:50%; }
.spot-visual{ height:340px; background:radial-gradient(circle at 30% 50%, var(--accent-glow), transparent 60%), var(--bg-elev); border-left:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.spot-visual svg{ max-width:80%; max-height:80%; }
.spot-visual img{ width:85%; max-height:85%; object-fit:contain; filter:drop-shadow(0 20px 40px rgba(47,182,255,0.3)); }

/* product grid */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin:60px 0 90px; }
@media (max-width:900px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .product-grid{ grid-template-columns:1fr; } }
.product-card{ background:var(--bg); padding:0; display:flex; flex-direction:column; }
.product-thumb{ aspect-ratio:4/3; background:radial-gradient(circle at 50% 40%, var(--accent-glow), transparent 60%), var(--bg-elev); display:flex; align-items:center; justify-content:center; }
.product-thumb svg{ width:55%; }
.product-info{ padding:20px 22px 26px; }
.product-info b{ display:block; font-size:16px; margin-bottom:6px; }
.product-info .price{ color:var(--accent); font-weight:600; font-size:15px; margin-bottom:14px; display:block; }
.product-info span.desc{ font-size:13.5px; color:var(--text-faint); display:block; margin-bottom:16px; }

/* reviews */
.review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin:50px 0 90px; }
@media (max-width:900px){ .review-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .review-grid{ grid-template-columns:1fr; } }
.review{ background:var(--bg); padding:26px 24px; }
.review .stars{ color:var(--accent); margin-bottom:14px; font-size:14px; }
.review p{ font-size:14.5px; color:var(--text-dim); margin:0 0 16px; }
.review b{ font-size:14px; } .review .who{ font-size:12.5px; color:var(--text-faint); }

/* support accordion */
.faq{ max-width:760px; margin:50px 0 90px; }
.faq details{ border-bottom:1px solid var(--line); padding:18px 0; }
.faq summary{ cursor:pointer; font-size:16px; font-weight:500; list-style:none; display:flex; justify-content:space-between; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--accent); font-size:20px; }
.faq details[open] summary::after{ content:"–"; }
.faq{ max-width:760px; margin:50px auto 90px; }
.support-channels{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin:40px 0 0; }
.chip{ border:1px solid var(--line); padding:12px 22px; border-radius:30px; font-size:14px; }
.chip:hover{ border-color:var(--accent); color:var(--accent); }

.form-field textarea{ min-height:120px; resize:vertical; }
.form-field input:focus, .form-field textarea:focus{ outline:none; border-color:var(--accent); }
.contact-info b{ display:block; font-size:16px; margin-bottom:6px; }
.contact-info p{ color:var(--text-dim); font-size:14.5px; margin:0 0 22px; }

.cta-band{ padding:90px 0; text-align:center; border-bottom:1px solid var(none); }
.cta-band h2{ font-size:clamp(1.9rem,3.6vw,2.8rem); font-weight:700; max-width:16ch; margin:0 auto 28px; }
.cta-band .hero-ctas{ justify-content:center; }
.cta-img{ display:block; margin:48px auto 0; max-width:100%; height:auto; }

footer{ padding:24px 0; border-top:1px solid var(--line); }
.foot-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.foot-links{ display:flex; align-items:center; flex-wrap:wrap; gap:26px; }
.foot-links a{ font-size:13.5px; color:var(--text-dim); transition:color .2s; }
.foot-links a:hover{ color:var(--accent); }
.foot-copy{ font-size:12.5px; color:var(--text-faint); }

/* ===== Product page: category grid ===== */
.cat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--line); border:1px solid var(--line); }
@media (max-width:760px){ .cat-grid{ grid-template-columns:1fr; } }
.cat-tile{ position:relative; aspect-ratio:16/9; background:var(--bg-elev); overflow:hidden; }
.cat-bg{ position:absolute; inset:0; display:flex; align-items:center; justify-content:flex-end; }
.cat-bg svg{ width:70%; height:100%; opacity:1; }
.cat-bg img{ width:75%; height:100%; object-fit:cover; display:block; }
.cat-tile::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(7,9,12,0.85) 0%, rgba(7,9,12,0.1) 50%, transparent 65%); }
.cat-price{ position:absolute; top:22px; left:26px; z-index:2; color:var(--accent); font-weight:600; font-size:14px; }
.cat-meta{ position:absolute; bottom:22px; left:26px; z-index:2; }
.cat-meta h3{ font-size:20px; font-weight:700; margin:0 0 8px; }
.cat-browse{ font-size:13px; color:var(--text-dim); display:inline-flex; align-items:center; gap:8px; }
.cat-browse span{ width:20px; height:20px; border:1px solid var(--accent); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--accent); font-size:13px; }
.cat-browse:hover{ color:var(--accent); }

/* ===== Product page: spotlight slider cards ===== */
.spotlight-card{ position:relative; background:var(--bg-elev); border:1px solid var(--line); border-radius:10px; padding:26px 34px 30px; overflow:hidden; }
.spot-watermark{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:clamp(3rem,9vw,7rem); font-weight:800; color:rgba(255,255,255,0.04); white-space:nowrap; pointer-events:none; letter-spacing:0.05em; }
.spot-topnav{ display:flex; gap:26px; font-size:12.5px; color:var(--text-faint); position:relative; z-index:2; margin-bottom:10px; }
@media (max-width:640px){ .spot-topnav{ display:none; } }
.spot-main{ position:relative; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; min-height:190px; }
.spot-left h2{ font-size:clamp(1.6rem,3vw,2.3rem); font-weight:700; line-height:1.15; margin:0 0 16px; } 
.spot-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  flex:0 1 320px;
}
.price-row{ display:flex; align-items:baseline; gap:14px; margin-bottom:22px; }
.old-price{ color:var(--text-faint); text-decoration:line-through; font-size:15px; }
.new-price{ color:var(--accent); font-size:22px; font-weight:700; }
.btn-cart{ display:inline-flex; align-items:center; gap:10px; border:1px solid var(--accent); color:var(--accent); padding:11px 22px; border-radius:30px; font-size:14px; }
.btn-cart span{ font-size:16px; }
.btn-cart:hover{ background:var(--accent); color:#04121c; }
.spot-right svg{ width:160px; height:auto; }
.slide-progress{ position:relative; z-index:2; display:flex; align-items:center; gap:14px; margin-top:26px; font-size:12.5px; color:var(--text-faint); }
.slide-progress .bar{ flex:1; max-width:160px; height:2px; background:var(--line); position:relative; }
.slide-progress .bar i{ position:absolute; left:0; top:0; height:100%; background:var(--accent); display:block; }

/* ===== Scroll reveal animation ===== */
.reveal{ opacity:0; transform:translateY(36px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

.spot-right img{ width:440px; height:320px; object-fit:cover; border-radius:10px; }

/* ===== Product Detail page ===== */
.detail-hero{ background:var(--bg-elev); border:1px solid var(--line); border-radius:28px; padding:40px 50px 50px; text-align:center; position:relative; margin-bottom:24px; }
.pd-tag{ color:var(--accent); font-size:13px; font-weight:600; letter-spacing:0.08em; }
.detail-hero h1{ font-size:clamp(2rem,4.2vw,3.2rem); font-weight:700; margin:10px 0 18px; line-height:1.15; }
.pd-blue{ color:var(--accent); }
.detail-hero p{ color:var(--text-dim); font-size:15.5px; max-width:52ch; margin:0 auto; }
.pd-img-float{ position:relative; margin-top:24px; display:flex; flex-direction:column; align-items:center; }
.pd-slideshow{ position:relative; width:5000px; max-width:95%; aspect-ratio:16/9; margin:0 auto; }
.pd-slide{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; opacity:0; transform:scale(0.97);
  transition:opacity 1.1s ease, transform 1.1s ease;
  filter:drop-shadow(0 20px 40px rgba(47,182,255,0.25));
}
.pd-slide.active{ opacity:1; transform:scale(1); }

.detail-grid{ display:grid; grid-template-columns:0.9fr 1.6fr; gap:20px; margin-bottom:24px; }
@media (max-width:760px){ .detail-grid{ grid-template-columns:1fr; } }
.stat-card{ background:var(--bg-elev); border:1px solid var(--line); border-radius:24px; padding:40px 28px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.stat-num{ font-size:52px; font-weight:800; color:var(--accent); line-height:1; }
.stat-num small{ font-size:28px; }
.stat-label{ color:var(--text-dim); font-size:14px; margin-top:10px; }
.feature-card{ background:var(--bg-elev); border:1px solid var(--line); border-radius:24px; padding:36px 32px; position:relative; overflow:hidden; text-align:left; }
.feature-card h3{ text-align:left; }
.feature-card p{ text-align:left; }
.feature-card h3{ font-size:20px; font-weight:700; margin:0 0 12px; }
.feature-card p{ color:var(--text-dim); font-size:14.5px; max-width:42ch; margin:0; }
.pd-mini-img{ position:absolute; right:60px; bottom:-100px; width:350px; opacity:0.9; }
.pd-mini-img img{ width:100%; }

.spec-card{ background:var(--bg-elev); border:1px solid var(--line); border-radius:24px; padding:36px 40px; margin-bottom:24px; }
.spec-card h2{ font-size:20px; font-weight:700; margin:0 0 20px; }
.spec-row{ display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.spec-row:last-child{ border-bottom:none; }
.spec-row span{ color:var(--text-faint); }
.spec-row b{ font-weight:500; }

.pd-cta{ display:flex; justify-content:space-between; align-items:center; background:var(--bg-elev); border:1px solid var(--line); border-radius:24px; padding:26px 36px; margin-bottom:80px; flex-wrap:wrap; gap:16px; }

.burger{ display:none; background:none; border:none; color:var(--text); font-size:26px; cursor:pointer; padding:0; }
@media (max-width:860px){
  .burger{ display:block; }
  nav.links{
    display:none; position:fixed; top:76px; left:0; right:0;
    background:var(--bg-elev); border-bottom:1px solid var(--line);
    flex-direction:column; gap:0; padding:10px 0;
  }
  nav.links.open{ display:flex; }
  nav.links a{ padding:14px 24px; }
}

.rgb-text{
  background:linear-gradient(90deg, #ff3b3b, #ffb400, #2bff6a, #2bd9ff, #7a5bff, #ff3b9d);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
  font-weight:800;
  animation:textBreathe 4.5s ease-in-out infinite;
}
@keyframes textBreathe{
  0%,100%{ opacity:.75; filter:drop-shadow(0 0 2px rgba(255,255,255,0.1)); }
  50%    { opacity:1;   filter:drop-shadow(0 0 8px rgba(255,255,255,0.55)) drop-shadow(0 0 18px rgba(122,91,255,0.5)); }
}
@media (prefers-reduced-motion:reduce){
  .rgb-text{ animation:none; }
}

.pd-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:50%;
  background:rgba(7,9,12,0.6); border:1px solid var(--line);
  color:var(--text); font-size:22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  z-index:3; transition:border-color .2s ease, background .2s ease;
}
.pd-arrow:hover{ border-color:var(--accent); background:rgba(47,182,255,0.15); }
.pd-arrow-prev{ left:8px; }
.pd-arrow-next{ right:8px; }

.pd-dots{ display:flex; justify-content:center; gap:10px; margin-top:20px; }
.pd-dot{
  width:9px; height:9px; border-radius:50%;
  background:var(--line); border:none; cursor:pointer; padding:0;
  transition:background .25s ease, width .25s ease;
}
.pd-dot.active{ background:var(--accent); width:24px; border-radius:5px; }

/* ===== Smooth scrolling ===== */
html{
  scroll-behavior:smooth;
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
}

/* บอกเบราว์เซอร์ล่วงหน้าว่าจุดไหนจะขยับ จะได้เตรียม GPU ไว้ก่อน ลดอาการสะดุด */
.reveal{ will-change:opacity, transform; }
header{ will-change:background; }

.all-title{
  text-align:center;
  font-size:clamp(2rem,4vw,3rem);
  font-weight:500;
  margin:0 0 5px;
}

/* ===== Where to buy: orbit ===== */
.buy-section{
  display:grid; grid-template-columns:1fr 1fr; gap:60px;
  align-items:center; min-height:calc(100vh - 76px); padding-top:40px; padding-bottom:0px;
}
@media (max-width:900px){ .buy-section{ grid-template-columns:1fr; gap:40px; } }

.orbit{
  --size:480px; --r:190px; --icon:88px;
  position:relative; width:var(--size); max-width:100%; aspect-ratio:1; margin:0 auto;
}
@media (max-width:560px){ .orbit{ --size:320px; --r:125px; --icon:64px; } }

/* เส้นวงโคจร */
.orbit::before{
  content:""; position:absolute; inset:calc(50% - var(--r));
  border:1px dashed var(--line); border-radius:50%;
}

/* ไอคอนกลาง */
.orbit-center{
  position:absolute; top:50%; left:50%; width:130px; height:130px;
  transform:translate(-50%,-50%); border-radius:50%;
  background:var(--bg-elev); border:1px solid var(--accent);
  box-shadow:0 0 40px var(--accent-glow);
  display:flex; align-items:center; justify-content:center;
}
.orbit-center img{ width:70%; height:auto; }

/* วงแหวนที่หมุน */
.orbit-ring{ position:absolute; inset:0; animation:orbit-spin 20s linear infinite; }

/* วางไอคอนไว้บนวง แล้วหมุนกลับให้ตัวไอคอนตั้งตรง */
.orbit-item{
  position:absolute; top:50%; left:50%;
  width:var(--icon); height:var(--icon);
  margin:calc(var(--icon) / -2) 0 0 calc(var(--icon) / -2);
  transform:rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.orbit-icon{
  width:100%; height:100%; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:calc(var(--icon) * 0.4); font-weight:800; color:#fff;
  box-shadow:0 10px 24px -6px rgba(0,0,0,0.6);
  animation:orbit-spin-rev 20s linear infinite;  /* หมุนสวนทางกับวง */
  transition:filter .2s ease;
}
.orbit-icon:hover{ filter:brightness(1.2); }
.orbit-icon.banana{ background:#fcfbfb; }
.orbit-icon.awesome{ background:#fafafa; }
.orbit-icon.shopee{ background:#fffefe; }
.orbit-icon.lazada{ background:#fcfcfc; }
.orbit-icon.jib{ background:#f0f1f3; font-size:calc(var(--icon) * 0.55); }
.orbit-icon.Coolblaster{ background:#f5f5f5; font-size:calc(var(--icon) * 0.28); }

/* เอาเมาส์ชี้แล้วหยุดหมุน กดง่ายขึ้น */
.orbit:hover .orbit-ring,
.orbit:hover .orbit-icon{ animation-play-state:paused; }

@keyframes orbit-spin{ to{ transform:rotate(360deg); } }
@keyframes orbit-spin-rev{ to{ transform:rotate(-360deg); } }
@media (prefers-reduced-motion:reduce){
  .orbit-ring, .orbit-icon{ animation:none; }
}

/* ฝั่งข้อความ */
.buy-tag{ color:var(--accent); font-size:13px; font-weight:600; letter-spacing:0.08em; }
.buy-copy h1{ font-size:clamp(2rem,4vw,3rem); font-weight:700; margin:12px 0 14px; line-height:1.15; }
.buy-copy p{ color:var(--text-dim); font-size:15.5px; max-width:48ch; margin:0 0 30px; }
.buy-list{ display:flex; flex-direction:column; gap:10px; max-width:460px; }
.buy-list a{
  display:flex; flex-direction:column; padding:14px 20px;
  border:1px solid var(--line); border-radius:16px; transition:border-color .25s ease, transform .25s ease;
}
.buy-list a:hover{ border-color:var(--accent); transform:translateX(6px); }
.buy-list b{ font-size:16px; font-weight:600; }
.buy-list span{ font-size:13.5px; color:var(--text-faint); }

.contact-channels{ display:flex; flex-direction:column; gap:14px; }
.channel{
  display:flex; align-items:center; gap:18px;
  padding:20px 22px; border:2px solid var(--line); border-radius:30px;
  background:var(--bg-elev);
  transition:transform .25s ease, border-color .25s ease;
}
.channel:hover{ transform:translateX(6px); border-color:var(--accent); }
.channel div{ flex:1; }
.channel b{ display:block; font-size:16px; font-weight:600; }
.channel div span{ font-size:13.5px; color:var(--text-faint); }
.channel em{ font-style:normal; color:var(--accent); font-size:20px; }
.ch-ico{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff; font-size:20px;
}
.fb .ch-ico{ background:#1877f2; }
.line .ch-ico{ background:#06c755; font-size:12px; }
.ig .ch-ico{ background:linear-gradient(45deg,#f9a03f,#e1306c,#833ab4); font-size:16px; }

.contact-grid{
  display:grid;
  grid-template-columns:minmax(0, 460px) minmax(0, 260px);
  justify-content:center;
  align-items:center;
  gap:60px;
  max-width:1000px;
  margin:50px auto 0;
}
@media (max-width:760px){
  .contact-grid{ grid-template-columns:1fr; max-width:460px; gap:40px; }
}

footer .nav-row{ height:auto; padding-top:10px; padding-bottom:10px; flex-wrap:wrap; gap:15px; }

body{ min-height:100vh; display:flex; flex-direction:column; }
main{ flex:1; }

/* ล้างระยะล่างของเนื้อหาทุกหน้า แล้วให้ main คุมเอง */
.review-grid,
.faq,
.contact-grid,
.pd-cta{ margin-bottom:0; }

main{ padding-bottom:60px; }

/* ===== Product list: สไตล์ Techgear ===== */
.pl-back{ display:inline-block; margin-top:30px; font-size:13.5px; color:var(--text-faint); }
.pl-back:hover{ color:var(--accent); }

.sec-title{ position:relative; text-align:center; padding:50px 0 20px; }
.sec-ghost{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  font-size:clamp(3rem,9vw,6.5rem); font-weight:800; letter-spacing:.05em;
  color:rgba(47,182,255,0.12); pointer-events:none; white-space:nowrap;
}
.sec-title h2{ position:relative; font-size:clamp(1.4rem,2.6vw,2rem); font-weight:600; margin:0; }

.pl-item{
  display:grid; grid-template-columns:1fr 1.1fr; align-items:center; gap:40px;
  min-height:520px; padding:50px 0;
  border-bottom:1px solid var(--line);
  scroll-margin-top:90px;
}
.pl-item:last-child{ border-bottom:none; }

.pl-tag{ color:var(--accent); font-size:13px; font-weight:600; letter-spacing:.08em; }
.pl-text h2{ font-size:clamp(2rem,4vw,3.2rem); font-weight:800; line-height:1.1; margin:10px 0 12px; }
.pl-text h2 .blue{ color:var(--accent); }
.pl-text h3{ font-size:18px; font-weight:500; color:var(--text-dim); margin:0 0 12px; }
.pl-text p{ color:var(--text-dim); font-size:15px; max-width:46ch; margin:0 0 20px; }
.pl-price{ display:flex; align-items:baseline; gap:16px; margin-bottom:24px; }
.pl-price .old-price{ font-size:17px; }
.pl-price .new-price{ font-size:28px; }
.pl-btns{ display:flex; gap:14px; flex-wrap:wrap; }

.pl-visual{ position:relative; display:flex; justify-content:center; align-items:center; min-height:380px; }
.pl-giant{
  position:absolute; right:-10px; top:50%; transform:translateY(-50%);
  font-size:clamp(7rem,18vw,15rem); font-weight:800; line-height:1;
  color:var(--accent); opacity:.85; z-index:0; pointer-events:none; white-space:nowrap;
}
.pl-visual img{
  position:relative; z-index:1; width:100%; max-width:560px; max-height:400px;
  object-fit:contain; height:auto;
  filter:drop-shadow(0 30px 50px rgba(0,0,0,.6));
}

@media (max-width:900px){
  .pl-item{ grid-template-columns:1fr; min-height:0; gap:10px; }
  .pl-visual{ min-height:280px; }
}

.pl-item{
  grid-template-columns:minmax(0, 480px) minmax(0, 560px);
  justify-content:center;
  gap:65px;
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}
.pl-visual{ justify-content:center; }
.pl-visual img{ max-width:100%; }

@media (max-width:900px){
  .pl-item{ grid-template-columns:1fr; max-width:560px; gap:10px; }
}

/* ===== Bento top section ===== */
.bento{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  grid-auto-rows:minmax(230px, auto);
  gap:16px;
  margin-bottom:24px;
}
.bt-card{
  position:relative; overflow:hidden;
  background:var(--bg-elev); border:1px solid var(--line);
  border-radius:24px;
}
.bt-a{ grid-column:1 / span 3; }
.bt-b{ grid-column:1 / span 3; }
.bt-main{ grid-column:4 / span 9; grid-row:1 / span 2; }
.bt-d{ grid-column:1 / span 3; grid-row:3; min-height:300px; }
.bt-e{ grid-column:4 / span 9; grid-row:3; min-height:300px; }

/* A */
.bt-cover{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.bt-label{
  position:absolute; left:14px; right:14px; bottom:14px;
  padding:16px 18px; border-radius:18px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#04121c;
}
.bt-label b{ display:block; font-size:16px; line-height:1.25; font-weight:700; }
.bt-label span{ display:block; font-size:13px; margin-top:8px; font-weight:500; }

/* B */
.bt-b{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:22px; }
.bt-b b{ font-size:18px; line-height:1.3; font-weight:700; }
.bt-b img{ width:42%; max-height:100%; object-fit:contain; }

/* การ์ดใหญ่ */
.bt-main{
  display:flex; flex-direction:column; padding:26px 30px 24px;
  background:radial-gradient(circle at 70% 30%, rgba(47,182,255,0.18), transparent 60%), var(--bg-elev);
}
.bt-price{ position:relative; z-index:2; font-size:22px; font-weight:700; color:var(--accent); }
.bt-stage{ position:relative; flex:1; min-height:260px; margin:6px 0; }
.bt-slide{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; opacity:0; transform:scale(0.97);
  transition:opacity .9s ease, transform .9s ease;
  filter:drop-shadow(0 18px 30px rgba(47,182,255,0.25));
}
.bt-slide.active{ opacity:1; transform:scale(1); }
.bt-main-foot{ position:relative; z-index:2; display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.bt-kicker{ display:block; font-size:16px; color:var(--text-dim); }
.bt-title{ font-size:clamp(2rem, 4.6vw, 3.6rem); font-weight:800; line-height:1; margin:2px 0 14px; }
.bt-pill{
  display:inline-block; padding:8px 20px; border-radius:30px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#04121c; font-size:14px; font-weight:600;
}
.bt-ctrl{ display:flex; align-items:center; gap:14px; }
.bt-arrow{
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--accent); background:transparent; color:var(--accent);
  font-size:22px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, color .2s ease;
}
.bt-arrow:hover{ background:var(--accent); color:#04121c; }
.bt-dots{ display:flex; gap:8px; }
.bt-dot{ width:8px; height:8px; border-radius:50%; border:none; padding:0; background:var(--line); cursor:pointer; transition:width .25s ease, background .25s ease; }
.bt-dot.active{ background:var(--accent); width:22px; border-radius:5px; }
.bt-arrow:focus-visible, .bt-dot:focus-visible, .bt-play:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

/* D */
.bt-d{ display:flex; align-items:center; gap:8px; padding:20px; }
.bt-vert{ writing-mode:vertical-rl; transform:rotate(180deg); font-size:26px; font-weight:700; white-space:nowrap; }
.bt-d img{ flex:1; min-width:0; height:100%; object-fit:contain; }

/* E */
.bt-e{ padding:26px 30px; }
.bt-play{
  position:relative; z-index:2; width:44px; height:44px; border-radius:50%;
  background:var(--accent); color:#04121c; font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.bt-barcode{
  position:absolute; top:26px; right:30px; width:150px; height:34px; opacity:.5;
  background:repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 5px, var(--text) 5px 6px, transparent 6px 10px, var(--text) 10px 13px, transparent 13px 15px);
}
.bt-e-text{ position:absolute; left:30px; bottom:26px; z-index:2; }
.bt-e-text h3{ font-size:clamp(1.6rem, 3vw, 2.4rem); font-weight:800; line-height:1.1; margin:12px 0 0; }
.bt-e-img{ position:absolute; right:0; bottom:0; width:60%; height:100%; object-fit:contain; object-position:right bottom; }

/* มือถือ/แท็บเล็ต */
@media (max-width:900px){
  .bento{ grid-template-columns:1fr 1fr; }
  .bt-main{ grid-column:1 / -1; grid-row:auto; order:-1; min-height:420px; }
  .bt-a, .bt-b{ grid-column:auto; min-height:220px; }
  .bt-d, .bt-e{ grid-column:1 / -1; grid-row:auto; }
}
@media (max-width:560px){
  .bento{ grid-template-columns:1fr; }
  .bt-a, .bt-b{ grid-column:1 / -1; }
}

/* ให้รูปในการ์ดพอดีขึ้น */
.bt-cover{
  top:0; left:0; width:100%; height:60%;
  object-fit:contain;
  padding:18px 18px 0;
}
.bt-b img{ width:55%; }
.bt-stage{ min-height:340px; }

/* ป้ายสีฟ้าในการ์ดเล็ก ให้เล็กลง */
.bt-label{ left:10px; right:10px; bottom:10px; padding:10px 14px; border-radius:14px; }
.bt-label b{ font-size:13px; }
.bt-label span{ font-size:11px; margin-top:4px; }
.bt-a .bt-pill{ padding:5px 14px; font-size:12px; }

/* ===== แผงปรับสี Hero: แก้เลขตรงนี้ที่เดียว ===== */
:root{
  /* ตัวหนังสือ */
  --hero-title:#F2F5F8;          /* หัวข้อใหญ่ */
  --hero-accent:#27a8e3;   /* คำว่า VALUE */
  --hero-sub:#D3DAE2;            /* ข้อความรอง */
  --hero-shadow:0 2px 18px rgba(0,0,0,0.6);  /* เงาช่วยให้อ่านออกบนรูปสว่าง */

  /* เลเยอร์สีเข้มทับรูป  (r,g,b และความทึบ 0 ถึง 1) */
  --ov-rgb:7,9,12;
  --ov-angle:90deg;     /* ทิศไล่สี: 90deg = ซ้ายไปขวา, 180deg = บนลงล่าง */
  --ov-start:0.1;      /* ความทึบฝั่งตัวหนังสือ */
  --ov-mid:0.1;
  --ov-end:0.1;        /* ความทึบฝั่งไกลตัวหนังสือ */

  /* ปรับสีของรูปพื้นหลังเอง */
  --img-brightness:1;   /* 1 = ปกติ, 0.7 = มืดลง, 1.2 = สว่างขึ้น */
  --img-contrast:1;
  --img-saturate:1;     /* 0 = ขาวดำ, 1 = ปกติ, 1.4 = สีสดขึ้น */
  --img-hue:0deg;       /* หมุนโทนสี 0 ถึง 360 */
  --img-blur:0px;       /* เบลอรูป เช่น 3px */

  /* ปุ่มใน Hero */
  --btn-from:var(--accent);
  --btn-to:var(--accent-2);
  --btn-text:#ffffff;
  --btn-glow:rgba(47,182,255,0.35);
  --btn-ghost-border:rgba(255,255,255,0.22);
}

/* มือถือ: ตัวหนังสือซ้อนบนรูปเต็มพื้นที่ เลยให้เลเยอร์เข้มสม่ำเสมอ */
@media (max-width:900px){
  :root{ --ov-angle:180deg; --ov-start:0.70; --ov-mid:0.70; --ov-end:0.70; }
}

/* โครงสร้าง (ไม่ต้องแก้) */
.hero{ position:relative; isolation:isolate; overflow:hidden; background:var(--bg); }
.hero::before{
  content:""; position:absolute; inset:-20px; z-index:-2;
  background:url('images/BG.webp') center/cover no-repeat;
  filter:brightness(var(--img-brightness)) contrast(var(--img-contrast)) saturate(var(--img-saturate)) hue-rotate(var(--img-hue)) blur(var(--img-blur));
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(var(--ov-angle),
    rgba(var(--ov-rgb), var(--ov-start)) 0%,
    rgba(var(--ov-rgb), var(--ov-mid)) 55%,
    rgba(var(--ov-rgb), var(--ov-end)) 100%);
}
.hero-text h1{ color:var(--hero-title); text-shadow:var(--hero-shadow); }
.hero-text h1 .blue{ color:var(--hero-accent); }
.hero-text p{ color:var(--hero-sub); text-shadow:var(--hero-shadow); }
.hero .btn-primary{ background:linear-gradient(135deg,var(--btn-from),var(--btn-to)); color:var(--btn-text); box-shadow:0 0 26px var(--btn-glow); }
.hero .btn-ghost{ border-color:var(--btn-ghost-border); color:var(--hero-title); }

/* ===== รูปคีย์บอร์ดในการ์ด RGB: ขยับขึ้น + แสงหายใจ ===== */
.feature-card{ min-height:210px; }

.pd-mini-img{
  position:absolute; z-index:1;
  right:50px;
  bottom:12px;          /* เพิ่มเลขนี้ = รูปขยับขึ้น  ลดเลข = ลงต่ำ (ค่าติดลบ = จมลงไปนอกการ์ด) */
  width:350px;
  opacity:1;
}
.pd-mini-img img{ position:relative; z-index:2; width:100%; }

/* แสงหายใจ: สีรุ้งเรืองอยู่หลังรูป สว่างขึ้นแล้วค่อยหรี่ วนเป็นจังหวะ */
.pd-mini-img::before{
  content:""; position:absolute; z-index:0; pointer-events:none;
  inset:-16% -10% -24% -10%;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(255,59,59,0.65), transparent 55%),
    radial-gradient(ellipse at 50% 72%, rgba(43,255,106,0.55), transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(47,182,255,0.70), transparent 55%);
  filter:blur(26px);
  opacity:0.3;
  animation:breathe 4.5s ease-in-out infinite;   /* 4.5s = ความเร็วหนึ่งลมหายใจ */
}
@keyframes breathe{
  0%,100%{ opacity:0.25; transform:scale(0.92); }
  50%    { opacity:0.9;  transform:scale(1.06); }
}
@media (prefers-reduced-motion:reduce){
  .pd-mini-img::before{ animation:none; opacity:0.5; }
}

/* มือถือ: ให้รูปอยู่ใต้ข้อความ ไม่ลอยทับ */
@media (max-width:760px){
  .pd-mini-img{ position:relative; right:auto; bottom:auto; width:min(320px,80%); margin:18px auto 0; }
}

/*เอฟเฟกต์ hover ให้ปุ่มรองใน Hero */
.hero .btn-ghost{ transition:border-color .25s ease, color .25s ease, background .25s ease; }
.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible{
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(47,182,255,0.12);
}


/* =====================================================================
   FINAL LAYOUT — รูปสินค้าพอดีกรอบ + จัดกึ่งกลาง (เดสก์ท็อป/มือถือ)
   ===================================================================== */
img{ height:auto; }

/* ---------- Home: ช่อง spotlight ---------- */
.spotlight{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(28px, 5vw, 80px);
  align-items:center;
  padding:clamp(56px, 8vw, 100px) max(56px, calc((100% - 1360px) / 2));
  border-bottom:1px solid var(--line);
}
.spotlight .spot-copy{
  grid-column:1; grid-row:1;
  padding:0;
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.spotlight .spot-copy h2{ max-width:100%; margin:14px auto 18px; text-wrap:balance; }
.spotlight .spot-copy p{ max-width:44ch; margin:0 auto 26px; }
.spotlight .spot-copy p:empty{ display:none; }
.spotlight .spot-list{ justify-content:center; }
.spotlight .spot-list span:empty{ display:none; }
.spotlight .spot-list:not(:has(span:not(:empty))){ display:none; }

.spotlight .spot-visual{
  grid-column:2; grid-row:1;
  width:100%; height:auto; aspect-ratio:4 / 3;
  display:flex; align-items:center; justify-content:center;
  padding:clamp(16px, 3vw, 40px);
  border:1px solid var(--line); border-radius:28px; overflow:hidden;
  background:radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 62%), var(--bg-elev);
}
.spotlight .spot-visual img{
  display:block; width:100%; height:100%;
  max-width:100%; max-height:100%; padding:0; margin:0;
  object-fit:contain; object-position:center;
  filter:drop-shadow(0 18px 30px rgba(47,182,255,0.28));
}
.spotlight.flip .spot-copy{ grid-column:2; grid-row:1; }
.spotlight.flip .spot-visual{ grid-column:1; grid-row:1; }

@media (max-width:900px){
  .spotlight{ grid-template-columns:minmax(0,1fr); gap:28px; padding:56px 22px; }
  .spotlight .spot-copy,
  .spotlight.flip .spot-copy{ grid-column:1; grid-row:1; }
  .spotlight .spot-visual,
  .spotlight.flip .spot-visual{ grid-column:1; grid-row:2; }
}

/* ---------- หน้า Product: การ์ดสินค้า ---------- */
.spotlight-card .spot-main{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(20px, 4vw, 56px); align-items:center; min-height:0;
}
.spotlight-card .spot-left{ flex:none; width:100%; }
.spotlight-card .spot-right{ display:flex; justify-content:center; min-width:0; }
.spotlight-card .spot-right a{ display:block; width:100%; max-width:520px; }
.spotlight-card .spot-right img{
  display:block; width:100%; height:auto; aspect-ratio:16 / 11;
  object-fit:contain; border-radius:0;
  filter:drop-shadow(0 18px 30px rgba(47,182,255,0.25));
}
@media (max-width:760px){
  .spotlight-card{ padding:22px 20px 24px; }
  .spotlight-card .spot-main{ grid-template-columns:minmax(0,1fr); }
  .spotlight-card .spot-right{ order:-1; }
  .spotlight-card .spot-right a{ max-width:420px; }
}

/* ---------- หน้า Where to buy: โลโก้ในวงกลม ---------- */
.orbit-icon{ padding:14%; overflow:hidden; }
.orbit-icon img{ width:100% !important; height:100%; object-fit:contain; display:block; }

/* ---------- หน้า Product detail (keyboard): รูปในการ์ด ---------- */
.bt-slide, .bt-b img, .bt-d img, .bt-e-img, .bt-cover{ object-fit:contain; }

/* หัวข้อ spotlight: ลดขนาดเล็กน้อยไม่ให้คำท้ายบรรทัดลอยเดี่ยว */
.spotlight .spot-copy h2{ font-size:clamp(1.6rem, 2.8vw, 2.4rem); }
.buy-section{ overflow-x:clip; }   /* วงโคจรหมุนแล้วมุมกรอบไม่ดันหน้ากว้างเกินจอมือถือ */

/* มือถือ: การ์ดล่างของหน้า keyboard ให้รูปอยู่เหนือข้อความ ไม่ซ้อนกัน */
@media (max-width:560px){
  .bt-e{ min-height:360px; }
  .bt-e-img{ top:64px; bottom:auto; right:0; width:100%; height:46%; object-position:center; }
}

/* ชื่อรุ่น + คำอธิบายสั้นใต้ชื่อ ในการ์ดหน้า Product */
.spotlight-card .spot-left h2 .card-sub{ display:block; margin-top:8px; font-size:14px; font-weight:400; color:var(--text-dim); line-height:1.4; }
