/* ==========================================================
   เอส ไอ บี เทรดดิ้ง จำกัด — โรงงานผลิตแผ่นพลาสติก
   Theme colours taken from the 2026 hero slide:
   deep navy #0b1f3f (dominant), signal red #e3262e (accent),
   bright blue #1e74e8 (support), white
   ========================================================== */
:root{
  --red:#e3262e; --red-d:#b3121b; --red-l:#fff0f1;
  --sky:#3d8bff; --sky-d:#1e64d6; --sky-l:#edf3ff;
  --navy:#0b1f3f; --navy-2:#13305f; --ink:#141b2b; --muted:#566074; --line:#e3e8f0;
  --bg:#f5f7fb; --white:#fff; --line-green:#06c755;
  --radius:18px; --shadow:0 12px 32px rgba(11,31,63,.12);
  --shadow-s:0 4px 14px rgba(11,31,63,.08);
  --head-font:'Kanit',system-ui,sans-serif; --body-font:'Sarabun',system-ui,sans-serif;
  --container:1200px; --header-h:76px; --bottom-h:0px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--body-font);font-size:17px;line-height:1.7;color:var(--ink);background:var(--bg);overflow-x:hidden;padding-bottom:var(--bottom-h)}
img{max-width:100%;height:auto;display:block}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-d)}
h1,h2,h3,h4{font-family:var(--head-font);line-height:1.3;color:var(--navy);margin:0 0 .5em;font-weight:600;overflow-wrap:anywhere}
p{margin:0 0 1em}
ul{padding-left:1.2em}
button{font:inherit;cursor:pointer}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 20px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--navy);color:#fff;padding:8px 14px;border-radius:8px;z-index:9999}
.skip-link:focus{left:8px}
:focus-visible{outline:3px solid var(--sky);outline-offset:2px}

/* ---------- Top bar ---------- */
.topbar{background:var(--navy);color:#dfe7f5;font-size:14px;border-bottom:3px solid var(--red)}
.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;flex-wrap:wrap}
.topbar a{color:#fff;white-space:nowrap}
.topbar a:hover{text-decoration:underline;color:#fff}
.topbar-list{display:flex;flex-wrap:wrap;gap:4px 18px;align-items:center;margin:0;padding:0;list-style:none}
.topbar-list svg{width:15px;height:15px;vertical-align:-2px;margin-right:4px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:900;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line);box-shadow:0 2px 12px rgba(0,0,0,.04)}
.site-header .container{display:flex;align-items:center;gap:20px;min-height:var(--header-h)}
.brand{display:flex;align-items:center;gap:10px;min-width:0;flex-shrink:0}
.brand img{width:48px;height:auto;flex-shrink:0}
.brand-text{display:flex;flex-direction:column;min-width:0}
.brand-name{font-family:var(--head-font);font-weight:700;font-size:20px;color:var(--navy);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-sub{font-size:13px;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.main-nav{margin-left:auto;flex-shrink:0}
.main-nav ul{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.main-nav a{display:block;padding:10px 14px;border-radius:12px;font-family:var(--head-font);font-weight:500;color:var(--ink);white-space:nowrap;position:relative}
.main-nav a:hover{background:var(--red-l);color:var(--red)}
.main-nav a[aria-current="page"]{color:var(--red)}
.main-nav a[aria-current="page"]::after{content:"";position:absolute;left:14px;right:14px;bottom:4px;height:3px;border-radius:3px;background:var(--red)}
.main-nav .has-sub{position:relative}
.main-nav .sub{position:absolute;top:100%;left:0;min-width:300px;max-height:70vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:8px;display:none;flex-direction:column;gap:0}
.main-nav .has-sub:hover .sub,.main-nav .has-sub:focus-within .sub{display:flex}
.main-nav .sub a{font-family:var(--body-font);font-size:15px;white-space:normal;padding:8px 12px}
.header-cta{display:flex;gap:8px;flex-shrink:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:999px;font-family:var(--head-font);font-weight:500;border:0;line-height:1.2;text-align:center;transition:transform .15s,box-shadow .15s,background .15s}
.btn svg{width:20px;height:20px;flex-shrink:0}
.btn:hover{transform:translateY(-1px)}
.btn-red{background:linear-gradient(135deg,var(--red),var(--red-d));color:#fff;box-shadow:0 6px 16px rgba(227,38,46,.32)}
.btn-red:hover{color:#fff}
.btn-line{background:var(--line-green);color:#fff;box-shadow:0 6px 16px rgba(6,199,85,.3)}
.btn-line:hover{color:#fff}
.btn-ghost{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.btn-sky{background:linear-gradient(135deg,var(--sky),var(--sky-d));color:#fff}
.btn-sky:hover{color:#fff}
.icon-btn{width:48px;height:48px;border-radius:50%;display:inline-grid;place-items:center;border:0;flex-shrink:0}
.icon-btn svg{width:22px;height:22px}
.icon-btn.menu{background:linear-gradient(135deg,var(--navy-2),var(--navy));color:#fff}
.icon-btn.line{background:var(--line-green);color:#fff}
.icon-btn.phone{background:linear-gradient(135deg,var(--red),var(--red-d));color:#fff}
.mobile-actions{display:none;gap:8px;margin-left:auto;flex-shrink:0}

/* ---------- Mobile drawer (as in sample) ---------- */
.drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);opacity:0;visibility:hidden;transition:.25s;z-index:1000}
.drawer{position:fixed;inset:0 0 0 auto;width:min(420px,100%);background:#fffdfd;z-index:1001;transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(0,0,0,.15)}
.drawer.open{transform:none}
.drawer-backdrop.open{opacity:1;visibility:visible}
.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.drawer-badge{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,var(--red),var(--red-d));color:#fff;border-radius:16px;padding:8px 14px 8px 8px;min-width:0}
.drawer-badge img{width:44px;height:44px;border-radius:12px;background:#fff;padding:3px;object-fit:contain;flex-shrink:0}
.drawer-badge b{display:block;font-family:var(--head-font);font-size:17px;line-height:1.2}
.drawer-badge small{display:block;font-size:12px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-close{width:48px;height:48px;border-radius:14px;border:0;background:var(--red-l);color:var(--red);display:grid;place-items:center;flex-shrink:0}
.drawer-close svg{width:22px;height:22px}
.drawer-body{flex:1;overflow-y:auto;padding:14px 16px 24px;overscroll-behavior:contain}
.drawer-nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.drawer-nav>li>a,.drawer-nav>li>button{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;border-radius:16px;background:#fff;border:1.5px solid var(--line);color:var(--ink);font-family:var(--head-font);font-size:17px;font-weight:500;text-align:left}
.drawer-nav>li>a svg,.drawer-nav>li>button svg{width:22px;height:22px;flex-shrink:0;color:var(--navy)}
.drawer-nav>li>a[aria-current="page"]{background:linear-gradient(135deg,var(--red-l),#fff);border-color:#f3a3a7}
.drawer-nav>li>a[aria-current="page"] svg{color:var(--red)}
.drawer-nav .chev{margin-left:auto;transition:transform .2s}
.drawer-nav button[aria-expanded="true"] .chev{transform:rotate(180deg)}
.drawer-sub{list-style:none;margin:8px 0 0;padding:6px;border-radius:14px;background:var(--sky-l);display:none}
.drawer-sub.open{display:block}
.drawer-sub li a{display:block;padding:9px 12px;border-radius:10px;color:var(--ink);font-size:15px;line-height:1.4}
.drawer-sub li a:hover{background:#fff}
.drawer-sub .sub-title{font-family:var(--head-font);font-size:13px;color:var(--sky-d);padding:8px 12px 2px;font-weight:600}
.drawer-contact{margin-top:18px;padding:16px;border-radius:16px;background:linear-gradient(160deg,var(--navy-2),var(--navy));border-left:5px solid var(--red);color:#fff}
.drawer-contact h3{color:#fff;font-size:17px;margin-bottom:8px}
.drawer-contact a{color:#fff;display:flex;gap:10px;align-items:flex-start;padding:7px 0;font-size:15px;line-height:1.4;border-bottom:1px dashed rgba(255,255,255,.18)}
.drawer-contact a:last-child{border-bottom:0}
.drawer-contact svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}

/* ---------- Bottom nav (mobile) ---------- */
.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:950;display:none;background:#fff;box-shadow:0 -6px 24px rgba(0,0,0,.08);padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);align-items:end;height:66px;border-bottom:1px solid var(--line)}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:100%;color:var(--muted);font-size:12.5px;font-family:var(--head-font);font-weight:500;line-height:1.1;text-align:center;padding:0 2px;min-width:0}
.bottom-nav a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bottom-nav svg{width:24px;height:24px}
.bottom-nav a.active{color:var(--red)}
.bottom-nav a.center{position:relative;justify-content:flex-end;padding-bottom:8px;color:var(--ink)}
.bottom-nav a.center i{position:absolute;top:-26px;left:50%;transform:translateX(-50%);width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,var(--red),var(--red-d));display:grid;place-items:center;color:#fff;border:5px solid #fff;box-shadow:0 6px 18px rgba(227,38,46,.35)}
.bottom-nav a.center i svg{width:26px;height:26px}
.bottom-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 12px}
.bottom-cta .btn{padding:13px 10px;border-radius:16px;font-size:17px;width:100%}

/* ---------- Hero slider ---------- */
.hero{position:relative;background:radial-gradient(120% 140% at 20% 0%,var(--navy-2),var(--navy) 60%,#06132a);overflow:hidden}
.slides{position:relative}
.slide{display:none}
.slide.active{display:block;animation:fade .7s}
.slide img{width:100%;aspect-ratio:2048/943;object-fit:contain}
@keyframes fade{from{opacity:.3}to{opacity:1}}
.slider-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;gap:8px;justify-content:center}
.slider-dots button{width:10px;height:10px;border-radius:10px;border:0;background:rgba(255,255,255,.6);padding:0;transition:.25s}
.slider-dots button.active{width:28px;background:var(--red)}
.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:var(--navy);display:grid;place-items:center;box-shadow:var(--shadow-s)}
.slider-arrow svg{width:22px;height:22px}
.slider-arrow.prev{left:14px}.slider-arrow.next{right:14px}

/* ---------- Intro / page hero ---------- */
.intro{position:relative;margin-top:32px;z-index:2}
.intro-card{background:#fff;border-radius:24px;box-shadow:var(--shadow);border-top:5px solid var(--red);padding:34px;display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center}
.intro-card h1{font-size:clamp(26px,3.4vw,40px);color:var(--navy);margin-bottom:.2em}
.intro-card h1 span{color:var(--red)}
.intro-card .lead{font-size:clamp(17px,1.6vw,20px);color:var(--navy);font-family:var(--head-font);font-weight:500}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.stat{background:var(--navy);border-radius:16px;padding:16px;text-align:center}
.stat b{display:block;font-family:var(--head-font);font-size:24px;color:var(--red);line-height:1.2}
.stat span{font-size:14px;color:#c9d5ea}
.stat b{color:#fff}
.stat:nth-child(2n) b{color:#ff6b70}

.page-hero{background:linear-gradient(120deg,#06132a 0%,var(--navy) 45%,var(--navy-2) 100%);color:#fff;padding:38px 0 46px;position:relative;overflow:hidden;border-bottom:4px solid var(--red)}
.page-hero::before{content:"";position:absolute;right:6%;top:-40%;width:90px;height:200%;background:linear-gradient(var(--red),var(--red-d));transform:skewX(-24deg);opacity:.9;box-shadow:-34px 0 0 rgba(61,139,255,.55),-60px 0 0 rgba(255,255,255,.06)}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{color:#fff;font-size:clamp(26px,3.6vw,40px);margin:6px 0 6px}
.page-hero p{margin:0;opacity:.95;max-width:780px}
.breadcrumb{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:14px}
.breadcrumb li{display:flex;align-items:center;gap:8px;min-width:0}
.breadcrumb li+li::before{content:"›";opacity:.7}
.breadcrumb a{color:#fff;opacity:.9}
.breadcrumb [aria-current]{opacity:1;font-weight:600;overflow-wrap:anywhere}

/* ---------- Sections ---------- */
section{scroll-margin-top:calc(var(--header-h) + 10px)}
.section{padding:70px 0}
.section.alt{background:#fff}
.section-head{text-align:center;max-width:760px;margin:0 auto 38px}
.eyebrow{display:inline-block;font-family:var(--head-font);font-size:14px;font-weight:600;letter-spacing:.04em;color:var(--red);background:var(--red-l);padding:5px 14px;border-radius:999px;margin-bottom:10px}
.section-head h2{font-size:clamp(24px,3vw,34px)}
.section-head p{color:var(--muted);margin:0}

.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.about-media{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
.about-media img{width:100%;aspect-ratio:1/1;object-fit:cover}
.check-list{list-style:none;padding:0;margin:0 0 1em;display:grid;gap:8px}
.check-list li{position:relative;padding-left:32px}
.check-list li::before{content:"";position:absolute;left:0;top:5px;width:22px;height:22px;border-radius:50%;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat}

.tldr{background:linear-gradient(135deg,#fff,var(--sky-l));border:1.5px solid #d3e1f7;border-left:6px solid var(--red);border-radius:18px;padding:22px 24px;margin:0 0 28px}
.tldr h2 svg,.tldr h3 svg,.updated svg,.section-head svg{width:22px;height:22px;flex-shrink:0;color:var(--sky-d)}
.updated svg{width:16px;height:16px;vertical-align:-3px}
.tldr h2,.tldr h3{font-size:20px;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.tldr dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}
.tldr dt{font-weight:700;color:var(--navy)}
.tldr dd{margin:0;overflow-wrap:anywhere}

.grid{display:grid;gap:22px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-5{grid-template-columns:repeat(5,1fr)}

.type-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-s);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);transition:transform .2s,box-shadow .2s}
.type-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.type-card .media{background:linear-gradient(135deg,var(--sky-l),#fff);padding:18px;display:grid;place-items:center;aspect-ratio:4/3}
.type-card .media img{max-height:100%;object-fit:contain}
.type-card .body{padding:18px 20px 22px}
.type-card h3{font-size:19px}
.type-card ul{list-style:none;padding:0;margin:0;font-size:15.5px;color:var(--muted)}
.type-card li{padding-left:22px;position:relative;margin-bottom:4px}
.type-card li::before{content:"✓";position:absolute;left:0;color:var(--red);font-weight:700}

.feature{background:#fff;border-radius:var(--radius);padding:24px;display:flex;gap:16px;align-items:flex-start;border:1px solid var(--line);box-shadow:var(--shadow-s)}
.feature img{width:62px;height:62px;object-fit:contain;flex-shrink:0;background:var(--red-l);border-radius:16px;padding:8px}
.feature h3{font-size:18px;margin-bottom:4px}
.feature p{margin:0;color:var(--muted);font-size:15.5px}

.use{background:#fff;border-radius:var(--radius);padding:22px 14px;text-align:center;border:1px solid var(--line);box-shadow:var(--shadow-s)}
.use img{width:72px;height:72px;margin:0 auto 10px;object-fit:contain}
.use h3{font-size:16px;margin:0;color:var(--ink)}

.product-card{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-s);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;min-width:0}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-card .thumb{aspect-ratio:1/1;background:#f2f5fa;overflow:hidden}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.product-card:hover .thumb img{transform:scale(1.05)}
.product-card .body{padding:14px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-card .cat{font-size:12.5px;color:var(--red);font-weight:700}
.product-card h3{font-size:17px;margin:0;line-height:1.35}
.product-card h3 a{color:var(--navy)}
.product-card h3 a:hover{color:var(--red)}
.product-card p{font-size:14.5px;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-card .more{margin-top:auto;padding-top:8px;font-family:var(--head-font);font-weight:500;font-size:15px}

.filter-bar{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:26px}
.chip{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 16px;font-family:var(--head-font);font-size:15px}
.chip.active,.chip:hover{border-color:var(--red);color:var(--red);background:var(--red-l)}
.search-box{max-width:460px;margin:0 auto 18px;position:relative}
.search-box input{width:100%;padding:14px 18px 14px 46px;border-radius:999px;border:1.5px solid var(--line);font:inherit;background:#fff}
.search-box svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--muted)}

.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery figure{margin:0;background:#fff;border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-s);display:flex;flex-direction:column;min-width:0}
.gallery button{border:0;padding:0;background:#f2f5fa;display:block;width:100%;aspect-ratio:4/3;overflow:hidden}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.gallery figure:hover img{transform:scale(1.06)}
.gallery figcaption{padding:10px 12px;font-size:14.5px;line-height:1.4;color:var(--ink)}

.faq{max-width:860px;margin:0 auto;display:grid;gap:12px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-s);overflow:hidden}
.faq summary{list-style:none;cursor:pointer;padding:18px 54px 18px 20px;font-family:var(--head-font);font-weight:500;font-size:17px;color:var(--navy);position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:var(--red-l);color:var(--red);display:grid;place-items:center;font-size:20px;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq .answer{padding:0 20px 18px;color:var(--muted)}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}
.contact-card{background:#fff;border-radius:22px;padding:26px;box-shadow:var(--shadow);border:1px solid var(--line);min-width:0}
.contact-card h3{font-size:22px;color:var(--navy)}
.contact-card{border-top:5px solid var(--red)}
.contact-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.contact-list li{display:flex;gap:14px;align-items:flex-start;min-width:0}
.contact-list .ico{width:44px;height:44px;border-radius:12px;background:var(--sky-l);display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.contact-list .ico img{width:30px;height:30px;object-fit:contain}
.contact-list .ico svg{width:22px;height:22px;color:var(--navy)}
.contact-list b{display:block;color:var(--navy);font-family:var(--head-font);font-weight:500}
.contact-list span,.contact-list a{overflow-wrap:anywhere}
.map{border-radius:22px;overflow:hidden;box-shadow:var(--shadow);min-height:340px;background:#e8eef7}
.map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

.cta-band{background:linear-gradient(120deg,var(--navy) 0%,var(--navy-2) 60%,var(--red-d) 140%);border-left:8px solid var(--red);color:#fff;border-radius:26px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;box-shadow:0 14px 34px rgba(11,31,63,.25)}
.cta-band h2{color:#fff;margin:0 0 4px;font-size:clamp(22px,2.6vw,30px)}
.cta-band p{margin:0;opacity:.95}
.cta-band .btn-ghost{border-color:transparent}

/* ---------- Product detail ---------- */
.product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;align-items:start}
.pgallery{position:sticky;top:calc(var(--header-h) + 16px)}
.pgallery .main{background:#fff;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);aspect-ratio:1/1;display:grid;place-items:center;padding:0;width:100%}
.pgallery .main img{width:100%;height:100%;object-fit:contain}
.thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 6px;scrollbar-width:thin}
.thumbs button{flex:0 0 74px;height:74px;border-radius:12px;overflow:hidden;border:2px solid transparent;padding:0;background:#fff;box-shadow:var(--shadow-s)}
.thumbs button.active{border-color:var(--red)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.pinfo,.pgallery{min-width:0}
.pinfo .cat-badge{display:inline-block;background:var(--sky-l);color:var(--sky-d);font-weight:700;font-size:14px;padding:5px 12px;border-radius:999px;margin-bottom:10px}
.pinfo h2{font-size:clamp(22px,2.4vw,30px)}
.pinfo .short{font-size:18px;color:var(--ink)}
.pinfo .cta-row{margin:18px 0 26px}
.detail-box{background:#fff;border-radius:20px;padding:24px;border:1px solid var(--line);box-shadow:var(--shadow-s);margin-bottom:22px}
.detail-box h2,.detail-box h3{font-size:21px}
.tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.tags li{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:14.5px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.updated{font-size:14px;color:var(--muted)}

/* ---------- Payment ---------- */
.bank-card{max-width:620px;margin:0 auto;background:linear-gradient(135deg,#ffd200 0%,#f5b400 100%);color:#4a3b00;border-radius:26px;padding:30px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.bank-card::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.2)}
.bank-card h2{color:#4a3b00;font-size:22px}
.bank-no{font-family:var(--head-font);font-size:clamp(28px,5vw,40px);font-weight:700;letter-spacing:.04em;color:#3a2c00;margin:6px 0}
.copy-btn{background:#3a2c00;color:#fff;border:0;border-radius:999px;padding:10px 18px;display:inline-flex;align-items:center;gap:8px;font-family:var(--head-font);position:relative;z-index:1}
.notice{max-width:620px;margin:20px auto 0;background:var(--red-l);color:var(--red-d);border-radius:16px;padding:16px 20px;font-weight:600;text-align:center}
.steps{counter-reset:s;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;padding:0;margin:0}
.steps li{background:#fff;border-radius:18px;padding:22px;border:1px solid var(--line);box-shadow:var(--shadow-s);position:relative}
.steps li::before{counter-increment:s;content:counter(s);width:38px;height:38px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-family:var(--head-font);font-weight:700;margin-bottom:10px}
.steps h3{font-size:17px;margin-bottom:4px}
.steps p{margin:0;font-size:15px;color:var(--muted)}

/* ---------- Footer ---------- */
.site-footer{background:#06132a;border-top:4px solid var(--red);color:#cfd8ee;padding:56px 0 0;margin-top:0;font-size:15.5px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:30px}
.site-footer h2,.site-footer h3{color:#fff;font-size:18px}
.site-footer a{color:#cfd8ee}
.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.footer-brand{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.footer-brand img{width:56px;background:#fff;border-radius:14px;padding:4px}
.footer-brand b{color:#fff;font-family:var(--head-font);font-size:19px;display:block;line-height:1.2}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding:18px 0;font-size:14px;text-align:center;color:#9fb0d6}

/* ---------- Lightbox ---------- */
.lightbox{position:fixed;inset:0;background:rgba(8,12,28,.92);z-index:2000;display:none;align-items:center;justify-content:center;padding:60px 16px}
.lightbox.open{display:flex}
.lightbox img{max-width:min(1100px,100%);max-height:100%;object-fit:contain;border-radius:10px}
.lightbox .lb-cap{position:absolute;bottom:16px;left:16px;right:16px;text-align:center;color:#fff;font-size:15px}
.lightbox button{position:absolute;width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;display:grid;place-items:center}
.lightbox button svg{width:24px;height:24px}
.lb-close{top:12px;right:12px}.lb-prev{left:12px;top:50%;transform:translateY(-50%)}.lb-next{right:12px;top:50%;transform:translateY(-50%)}

.float-top{position:fixed;right:18px;bottom:calc(var(--bottom-h) + 18px);width:46px;height:46px;border-radius:50%;border:0;background:var(--navy);color:#fff;display:grid;place-items:center;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.25s;z-index:800}
.float-top.show{opacity:1;visibility:visible}
.float-top svg{width:22px;height:22px}

.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width:1499px){
  .brand-sub{display:none}
  .header-cta .btn-line{display:none}
}
@media (max-width:1280px){
  .main-nav a{padding:10px 9px}
}
@media (max-width:1120px){
  .header-cta{display:none}
}
@media (max-width:1024px){
  :root{--header-h:68px;--bottom-h:136px}
  .brand{flex-shrink:1}
  .brand-sub{display:block}
  .topbar,.main-nav,.header-cta{display:none}
  .mobile-actions{display:flex}
  .bottom-bar{display:block}
  .grid-4{grid-template-columns:repeat(3,1fr)}
  .grid-5{grid-template-columns:repeat(3,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
  .intro-card{grid-template-columns:1fr}
}
@media (max-width:820px){
  .about-grid,.contact-grid,.product-layout{grid-template-columns:minmax(0,1fr)}
  .slide img{aspect-ratio:1/1}
  .pgallery{position:static}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .intro{margin-top:20px}
  .section{padding:52px 0}
}
@media (max-width:600px){
  body{font-size:16px}
  .container{padding:0 14px}
  .brand img{width:40px}
  .brand-name{font-size:17px}
  .brand-sub{font-size:12px}
  .icon-btn{width:44px;height:44px}
  .icon-btn svg{width:20px;height:20px}
  .intro-card{padding:22px 18px;border-radius:20px}
  .cta-row .btn{flex:1 1 100%}
  .grid-3,.grid-5{grid-template-columns:1fr 1fr}
  .grid{gap:14px}
  .feature{flex-direction:column;padding:18px}
  .feature img{width:52px;height:52px}
  .gallery{grid-template-columns:1fr 1fr;gap:12px}
  .product-card .body{padding:12px}
  .product-card h3{font-size:15.5px}
  .product-card p{font-size:13.5px;-webkit-line-clamp:2}
  .footer-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .tldr{padding:18px}
  .tldr dl{grid-template-columns:1fr;gap:0}
  .tldr dd{margin-bottom:8px}
  .cta-band{padding:24px;border-radius:20px}
  .cta-band .cta-row,.cta-band .btn{width:100%}
  .slider-arrow{display:none}
  .detail-box{padding:18px}
  .contact-card{padding:20px}
}
@media (max-width:380px){
  .brand-sub{display:none}
  .mobile-actions{gap:6px}
  .icon-btn{width:40px;height:40px}
  .bottom-nav a{font-size:11.5px}
  .bottom-cta .btn{font-size:15px}
  .grid-4,.grid-3,.grid-5{grid-template-columns:1fr 1fr}
}
@media print{.topbar,.site-header,.bottom-bar,.drawer,.float-top{display:none!important}body{padding:0}}
