/* XingLong Industrial Supply — หน้าเว็บลูกค้า
   แนว: แคตตาล็อกอุตสาหกรรม พื้นกรมท่า + ลายกริดแบบแปลนวิศวกรรม + เขียวจากโลโก้
   สี: กรมท่า #0E2A47 · กรมท่าเข้ม #081C31 · เขียวปุ่ม #1D8238 · เขียวสว่าง #4CAF50 · พื้น #F5F7F4 · ตัวหนังสือ #13212F
   ฟอนต์: IBM Plex Sans Thai 400/600/700 ฟอนต์เดียวทั้งเว็บ */

:root {
  --navy: #0E2A47;
  --navy-2: #081C31;
  --navy-3: #16395E;
  --accent: #1D8238;
  --accent-2: #176B2E;
  --lime: #4CAF50;
  --lime-soft: #E7F4E8;
  --paper: #F5F7F4;
  --white: #FFFFFF;
  --ink: #13212F;
  --muted: #4A5866;
  --line: #DCE4E1;
  --radius: 14px;
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(8, 28, 49, .06), 0 8px 24px -12px rgba(8, 28, 49, .18);
  --shadow-lift: 0 2px 4px rgba(8, 28, 49, .06), 0 18px 36px -16px rgba(8, 28, 49, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --grid: linear-gradient(rgba(14, 42, 71, .055) 1px, transparent 1px) 0 0 / 32px 32px,
          linear-gradient(90deg, rgba(14, 42, 71, .055) 1px, transparent 1px) 0 0 / 32px 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink);
  background: var(--white); overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.75; flex: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr-only, .sr-only-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.45; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-green { background: var(--accent); box-shadow: 0 6px 18px -8px rgba(29, 130, 56, .7); }
.btn-green:hover { background: var(--accent-2); }
.btn-lg { min-height: 56px; padding: 12px 28px; font-size: 17px; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--lime-soft); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600;
  color: var(--accent); margin-bottom: 10px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker-light { color: var(--lime); }
/* หัวข้อเล็กบนแบนเนอร์ใหญ่: ลูกค้าขอให้ตัวใหญ่และเด่น อ่านออกบนรูปโรงงาน */
.hero-full .kicker-light {
  color: #fff; background: var(--accent); font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.4;
  padding: 8px 20px; border-radius: 999px; margin-bottom: 16px; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .7);
}
.hero-full .kicker-light::before { display: none; }
.hero-co { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.company { display: grid; gap: 12px; margin: 22px 0; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; }
.company dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.company dd { margin: 0; font-weight: 600; color: var(--navy); line-height: 1.6; }
.co-en, .co-tax { display: block; font-size: 15px; color: var(--muted); }
.foot-co { font-size: 15px; line-height: 1.7; }

/* ---------- แถบบน + หัวเว็บ ---------- */
.topbar { background: var(--navy-2); color: #D6E2EE; font-size: 14px; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: flex-end; min-height: 38px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar svg { width: 15px; height: 15px; color: var(--lime); }
.topbar a:hover { color: #fff; }
.topbar .tb-line { color: #fff; font-weight: 600; }

/* หัวเว็บ: ห้ามใส่ transform / filter / backdrop-filter เพราะเมนูมือถือเป็น position: fixed อยู่ข้างใน */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.nav.scrolled { box-shadow: 0 6px 20px -14px rgba(8, 28, 49, .45); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo img { height: 50px; width: auto; }
.logo-txt { display: flex; flex-direction: column; min-width: 0; }
.logo-txt b { font-size: 17px; color: var(--navy); line-height: 1.45; text-transform: uppercase; letter-spacing: .01em; }
.logo-txt small { font-size: 14px; color: var(--muted); line-height: 1.4; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu > a { position: relative; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--navy); padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.menu-cta .btn, .hero-actions .btn, .cta-actions .btn { white-space: nowrap; }
.menu > a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.menu > a:hover::after, .menu > a[aria-current="page"]::after { transform: scaleX(1); }
.menu > a[aria-current="page"] { color: var(--accent); }
.menu-cta { margin-left: 10px; }
.nav-toggle { display: none; }

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-track { display: flex; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; }
.hero-panel { position: relative; z-index: 2; }
.hero-body { max-width: 700px; }
.hero-title { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.42; margin-bottom: 18px; }
.hero-title .hl { color: var(--lime); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: #DCE6F0; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-call { display: inline-flex; align-items: center; gap: 10px; color: #DCE6F0; font-size: 17px; margin: 0; }
.hero-call svg { color: var(--lime); }
.hero-call a { color: #fff; font-weight: 700; text-decoration: none; font-size: 19px; }
.hero-call a:hover { text-decoration: underline; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 70px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 34px; height: 6px; border: 0; padding: 0; border-radius: 6px; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--lime); }

/* แบบเต็มจอ: รูปโรงงานจริงเต็มกว้าง ไล่สีกรมท่าทางซ้ายให้อ่านข้อความง่าย */
.hero-full .hero-slide { display: flex; align-items: center; min-height: min(640px, 82vh); }
.hero-full .hero-pic, .hero-compact .hero-pic { position: absolute; inset: 0; }
.hero-full .hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 100%; }
.hero-full .hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 28, 49, .96) 0%, rgba(14, 42, 71, .9) 34%, rgba(14, 42, 71, .45) 58%, rgba(14, 42, 71, .05) 80%),
    linear-gradient(0deg, rgba(8, 28, 49, .55), transparent 40%);
}
.hero-full .hero-slide::after { /* ลายกริดแบบแปลนบนแผงซ้าย */
  content: ''; position: absolute; inset: 0 45% 0 0; z-index: 1; opacity: .5;
  background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 36px 36px,
              linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent);
          mask-image: linear-gradient(90deg, #000 30%, transparent);
}
.hero-full .hero-panel { width: 100%; max-width: 1240px; margin: 0 auto; padding: 72px 20px 120px; }

/* แบบแบ่งครึ่ง */
.hero-split .hero-slide { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 560px; }
.hero-split .hero-panel { display: flex; align-items: center; padding: 64px 48px 110px max(20px, calc((100vw - 1240px) / 2 + 20px)); background: var(--navy); }
.hero-split .hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }

/* แบบแถบเตี้ย (หน้ารอง) */
.hero-compact .hero-slide { display: flex; align-items: center; min-height: 340px; }
.hero-compact .hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.hero-compact .hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8, 28, 49, .97) 0%, rgba(14, 42, 71, .9) 45%, rgba(14, 42, 71, .55) 100%);
}
.hero-compact .hero-panel { width: 100%; max-width: 1240px; margin: 0 auto; padding: 56px 20px 64px; }
.hero-compact .hero-title { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 12px; }
.hero-compact .hero-sub { margin-bottom: 0; }
.hero-compact .hero-actions { margin: 24px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: #B9C9D9; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-dark { color: var(--muted); }
.crumbs-dark a { color: var(--accent); }

/* ---------- แถบความมั่นใจใต้แบนเนอร์ ---------- */
.trust { position: relative; z-index: 4; margin-top: -64px; }
.trust-bar {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift); overflow: hidden;
}
.trust-bar li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; }
.trust-bar li + li { border-left: 1px solid var(--line); }
.trust-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--lime-soft); color: var(--accent); flex: none; }
.trust-ic svg { width: 26px; height: 26px; }
.trust-bar h3 { font-size: 17px; color: var(--navy); }
.trust-bar p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 2px 0 0; }

/* ---------- ส่วนทั่วไป ---------- */
.sec { padding: 88px 0; position: relative; }
.sec-white { background: #fff; }
.sec-paper { background: var(--paper); }
.grid-bg { background: var(--grid), var(--paper); }
.sec-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sec-head .kicker { justify-content: center; }
.sec-head h2, .about-text h2, .faq-side h2, .prose h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--navy); }
.sec-intro { color: var(--muted); font-size: 18px; margin-top: 12px; }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark .sec-intro { color: #C3D2E1; }
.sec-head.on-dark .kicker { color: var(--lime); }
.sec-more { display: flex; justify-content: center; margin-top: 40px; }
/* คำโปรย + ป้ายส่งฟรี (แก้ด่วน 1054: ลูกค้าขอตัวอักษรเด่นๆ น่าสนใจ) */
.sec-intro .intro-lead { display: block; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; color: var(--navy); text-wrap: balance; }
.sec-head.on-dark .sec-intro .intro-lead { color: #fff; }
.ship-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 24px 10px 12px;
  border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 0 0 2px var(--lime), 0 12px 28px -12px rgba(76, 175, 80, .9);
  font-size: clamp(18px, 1.8vw, 23px); line-height: 1.35; text-align: left;
}
.ship-badge svg { width: 26px; height: 26px; flex: none; padding: 7px; box-sizing: content-box; border-radius: 50%; background: #fff; color: var(--accent); }
.ship-badge b { font-weight: 700; text-wrap: balance; }

/* ---------- สินค้า ---------- */
.sec-products { background: url('/img/bg-products.webp') center / cover no-repeat, var(--paper); padding-top: 120px; }
.trust + .sec-products { margin-top: -56px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 34px; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--navy); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-pic { position: relative; background: #E9EEF2; aspect-ratio: 4 / 3; }
/* รูปโปรโมตจากลูกค้าสัดส่วนไม่เท่ากันและมีข้อความในรูป จึงแสดงเต็มรูปในกรอบเท่ากัน ห้ามครอป */
.card .card-pic { aspect-ratio: 3 / 4; overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; }
.card .card-pic img { position: absolute; inset: 0; object-fit: contain; }
/* สินค้าแนะนำหน้าแรก: ส่วนที่ต้องเด่นที่สุดของเว็บ */
.sec-products.sec-featured { background: var(--navy); }
.sec-featured .sec-head h2 { font-size: clamp(30px, 4vw, 48px); }
.card-offer { color: #C8102E; font-weight: 700; font-size: 18px; line-height: 1.4; margin-top: 2px; }
.card-offer b { font-size: 36px; line-height: 1.2; padding: 0 2px; }
.card-size { font-size: 15px; font-weight: 600; color: var(--navy); }
/* รูปสินค้าพื้นขาวจากลูกค้า (ไฟล์ packshot-*) แสดงเต็มชิ้น ไม่ครอปนิ้วถุงมือ */
.card-pic:has(img[src*="/packshot-"]) { background: #fff; }
.card-pic img[src*="/packshot-"] { object-fit: contain; padding: 8px; }
.card-nopic {
  height: 100%; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--grid), linear-gradient(160deg, #EAF1F6, #DCE7EF); color: var(--navy-3); text-align: center; padding: 14px;
}
.card-nopic svg { width: 44px; height: 44px; stroke-width: 1.5; }
.card-nopic span { font-size: 14px; font-weight: 600; color: var(--muted); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-cat { font-size: 14px; font-weight: 600; color: var(--accent); }
.card h3, .card h4 { font-size: 19px; color: var(--navy); }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.card-price { font-weight: 700; color: var(--navy); }
.card-price s { color: var(--muted); font-weight: 400; margin-left: 8px; }
.card-sold { color: #B3261E; font-weight: 600; }
/* ปุ่มบนการ์ด: หยิบใส่ตะกร้า (หลัก) + ดูรายละเอียด (รอง) ชิดล่างการ์ดให้แถวเสมอกัน */
.card .card-body { flex: 1; }
.card-actions { margin-top: auto; padding-top: 10px; display: grid; gap: 8px; }
.card-actions .btn { width: 100%; text-align: center; }
.card-add { box-shadow: 0 6px 18px -8px rgba(29, 130, 56, .7); }
.card-add:hover { background: var(--accent-2); }
.card-add:hover svg { transform: none; }
.card-more { border-color: #CFD9E2; }
.card-msg { font-size: 14px; line-height: 1.5; color: var(--accent); font-weight: 600; text-align: center; }
.card-msg:empty { display: none; }
.card-msg a { color: var(--navy); text-decoration: underline; margin-left: 4px; white-space: nowrap; }
.rows { display: grid; gap: 14px; }
.row-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 20px; align-items: center; background: #fff; padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); }
.row-item .card-pic { border-radius: 10px; overflow: hidden; }
.row-item h3 { font-size: 19px; color: var(--navy); }
.row-item p { color: var(--muted); font-size: 15px; }

/* ---------- เกี่ยวกับ / ราคาส่ง ---------- */
.about-bg { background: url('/img/bg-about.webp') center / cover no-repeat, var(--paper); }
.about { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.about.pic-right .about-pic { order: 2; }
.about.no-pic { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }
.about-pic { margin: 0; position: relative; }
.about-pic::before { /* กรอบเส้นเขียวเยื้อง ให้ดูเป็นแคตตาล็อก */
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--lime); border-radius: 18px; z-index: 0;
}
.about.pic-right .about-pic::before { inset: 18px 18px -18px -18px; }
.about-pic img { position: relative; z-index: 1; border-radius: 16px; width: 100%; box-shadow: var(--shadow-lift); }
.about-text h2 { margin-bottom: 18px; }
.prose { color: #2C3A48; }
.prose p { font-size: 17px; }
.about-text .btn { margin-top: 26px; }

/* ---------- ขั้นตอน ---------- */
.sec-steps { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { /* เส้นเชื่อมบางๆ ระหว่างขั้น */
  content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.steps li { position: relative; text-align: center; padding: 0 8px; }
.step-ic {
  position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--lime-soft); color: var(--accent); box-shadow: 0 0 0 8px #fff;
}
.step-ic svg { width: 34px; height: 34px; }
.step-no { display: block; font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: 4px; order: -1; }
.steps li { display: flex; flex-direction: column; }
.steps .step-no { order: 2; margin-top: 0; }
.steps .step-ic { order: 1; }
.steps h3 { order: 3; font-size: 19px; color: var(--navy); }
.steps p { order: 4; font-size: 15px; color: var(--muted); margin-top: 6px; }

/* ---------- จุดเด่น (การ์ด) ---------- */
.features { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 3px solid var(--lime); }
.feature-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--lime); margin-bottom: 16px; }
.feature-ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- แกลเลอรีโรงงาน (พื้นเข้ม ห้ามครอปรูป) ---------- */
.sec-dark { background: var(--navy); color: #fff; }
.gallery-sec::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
              linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px;
}
.gallery-sec .wrap { position: relative; }
.gal { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 18px; align-items: start; }
.gal-item { margin: 0; position: relative; }
.gal-item > a { display: block; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.gal-item img, .gal-item video { width: 100%; height: auto; border-radius: 12px; transition: transform .5s var(--ease); }
.gal-item > a:hover img { transform: scale(1.03); }
.gal-item figcaption { padding: 12px 2px 0; }
.gal-item figcaption b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.gal-item figcaption b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.gal-item figcaption span { display: block; font-size: 15px; color: #C3D2E1; margin-top: 4px; line-height: 1.6; }

/* ---------- รีวิว ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.quote-mark { width: 34px; height: 34px; color: var(--lime); stroke-width: 2; margin-bottom: 10px; }
.quote p { font-size: 17px; color: #2C3A48; }
.quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--navy); }
.quote figcaption span span { font-size: 14px; color: var(--muted); }

/* ---------- โลโก้ลูกค้า ---------- */
.clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.clients li { flex: 0 1 160px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  min-height: 104px; padding: 20px 22px; transition: border-color .2s, box-shadow .2s;
}
.clients li:hover { border-color: rgba(29, 130, 56, .45); box-shadow: var(--shadow); }
.clients img { width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
.client-word { font-family: Arial, Helvetica, sans-serif; font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
@media (max-width: 719px) {
  .clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .clients li { min-height: 84px; padding: 16px; }
  .clients li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .clients img { max-height: 42px; }
  .client-word { font-size: 25px; }
}

/* ---------- ข้อมูลการชำระเงิน ---------- */
.pay { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; max-width: 1040px; margin: 0 auto; }
.pay-text h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--navy); margin-bottom: 14px; }
.pay-text p { color: var(--muted); font-size: 16px; }
.pay-text .btn { margin-top: 22px; }
.pay-text .btn svg:first-child { width: 20px; height: 20px; }
.pay-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px;
  padding: 30px 30px 18px; box-shadow: var(--shadow-lift);
}
.pay-logo { width: 48px; height: 48px; border-radius: 12px; display: block; margin-bottom: 14px; padding: 6px; box-sizing: border-box; }
.pay-ic { display: grid; place-items: center; background: var(--lime-soft); color: var(--accent); }
.pay-ic svg { width: 26px; height: 26px; }
.pay-card dl { margin: 0; }
.pay-card dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.pay-card dt { font-size: 14px; color: var(--muted); }
.pay-card dd { margin: 2px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 600; font-size: 17px; color: var(--navy); }
.pay-no dd span { font-size: clamp(24px, 3vw, 30px); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pay-copy {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--lime-soft);
  color: var(--accent-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s;
}
.pay-copy:hover { background: var(--accent); color: #fff; }
@media (max-width: 899px) {
  .pay { grid-template-columns: 1fr; gap: 28px; }
  .pay-card { padding: 24px 20px 12px; }
}

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { margin-bottom: 4px; }
.faq-side .btn { margin-top: 24px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(29, 130, 56, .45); box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--navy); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--lime-soft); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .25s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- ตารางราคา (ข้อความอิสระที่มี |) ---------- */
.prose-narrow { max-width: 780px; margin: 0 auto; }
.prose-wide h2, .prose-narrow h2 { margin-bottom: 18px; }
.prose-table { max-width: 900px; margin: 0 auto; text-align: center; }
.prose-table .kicker { justify-content: center; }
.prose-table h2 { margin-bottom: 28px; }
.prose-table p { color: var(--muted); font-size: 15px; margin-top: 14px; }
.prose-table .btn { margin-top: 26px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.price-table thead th { background: var(--navy); color: #fff; font-weight: 600; padding: 14px 20px; }
.price-table tbody th, .price-table td { padding: 14px 20px; border-top: 1px solid var(--line); }
.price-table tbody th { font-weight: 600; color: var(--navy); }
.price-table td { color: var(--muted); }
.price-table tbody tr:nth-child(even) { background: #FAFBFA; }

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band { position: relative; padding: 80px 0; }
.cta-dark { background: url('/img/bg-cta.webp') center right / cover no-repeat, var(--navy); color: #fff; }
.cta-soft { background: var(--lime-soft); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-band h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.4; }
.cta-soft h2 { color: var(--navy); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: none; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; }
.cta-dark .cta-phone svg { color: var(--lime); }
.cta-phone:hover span { text-decoration: underline; }

/* ---------- ติดต่อ + ฟอร์ม ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-card {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 34px 30px; position: relative; overflow: hidden;
}
.contact-card::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 36px solid rgba(76, 175, 80, .12);
}
.contact-note { color: #C3D2E1; font-size: 16px; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > svg { width: 22px; height: 22px; color: var(--lime); margin-top: 4px; }
.contact-list small { display: block; font-size: 14px; color: #9FB4C8; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.6; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .map-link { display: inline-block; margin-top: 6px; font-size: 15px; color: var(--lime); font-weight: 600; text-decoration: underline; }
.hours-box { position: relative; z-index: 1; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hours-box > b { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hours-box > b svg { color: var(--lime); }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; color: #D6E2EE; }
.hours .closed { color: #FFB4A9; }
.lead { background: #fff; border-radius: 18px; padding: 32px 30px; box-shadow: var(--shadow-lift); display: grid; gap: 16px; }
.lead h3 { font-size: 22px; color: var(--navy); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead label { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.lead input, .lead select, .lead textarea {
  width: 100%; font-size: 16px; padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #FBFCFB; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.lead textarea { min-height: 120px; resize: vertical; }
.lead textarea.short { min-height: 76px; }
#quote { scroll-margin-top: 110px; }
.lead input::placeholder, .lead textarea::placeholder { color: #7D8A96; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 130, 56, .18); }
.lead .btn { width: 100%; }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 0; font-size: 15px; min-height: 1.4em; }
.msg.ok { color: var(--accent); font-weight: 600; }
.msg.bad { color: #B3261E; font-weight: 600; }
.map-wrap { margin-top: 28px; }
.map { width: 100%; height: 360px; border: 0; border-radius: 18px; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--navy-2); color: #C3D2E1; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 40px; }
.foot-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.foot-logo img { height: 56px; width: auto; }
.foot-brand b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.foot-brand p { line-height: 1.7; }
.foot h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { color: var(--lime); width: 18px; height: 18px; margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; }
.foot-base small { font-size: 14px; }

/* ---------- พื้นที่กดของลิงก์ทุกจุด อย่างน้อย 44px (นิ้วกดง่ายบนมือถือ) ---------- */
.skip, .topbar a, .hero-call a, .cta-phone, .contact-list a, .contact-list .map-link, .foot a, .crumbs a, .logo {
  min-height: 44px; display: inline-flex; align-items: center;
}
.foot ul { gap: 0; }
.foot ul a { min-width: 44px; }
.foot-contact li { align-items: center; }
.foot-contact svg { margin-top: 0; }

/* ---------- ปุ่มลอย (มือถือ) ---------- */
.float-contact { display: none; }

/* ---------- บทความ ---------- */
.a-wrap { max-width: 820px; }
.a-wrap h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); margin: 8px 0 12px; }
.a-meta { color: var(--muted); font-size: 15px; }
.a-cover { margin: 24px 0; }
.a-cover img { border-radius: 16px; width: 100%; }
.a-lead { font-size: 19px; color: #2C3A48; }
.a-toc { background: var(--paper); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.a-body h2 { font-size: 28px; color: var(--navy); margin: 36px 0 12px; }
.a-body h3 { font-size: 22px; color: var(--navy); margin: 28px 0 10px; }
.a-fig { margin: 24px 0; }
.a-fig img { border-radius: 12px; }
.a-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.a-body blockquote { border-left: 4px solid var(--lime); margin: 24px 0; padding: 6px 20px; color: #2C3A48; }
.a-cta { background: var(--lime-soft); border-radius: 14px; padding: 22px; margin: 28px 0; }
.a-embed { margin: 36px 0; }
.a-embed h3 { margin-bottom: 14px; color: var(--navy); }

/* ---------- รูปขยาย ---------- */
dialog.light { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); }
dialog.light::backdrop { background: rgba(8, 28, 49, .88); }
dialog.light img { max-height: 86vh; width: auto; border-radius: 10px; }
dialog.light button {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer;
}

/* ---------- เนื้อหาค่อยๆ ปรากฏ ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =================== จอเล็กลง =================== */
@media (max-width: 1100px) {
  .menu > a { padding: 10px 8px; font-size: 15px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar li:nth-child(3) { border-left: 0; }
  .trust-bar li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
  .about.pic-right .about-pic { order: 0; }
  .faq-side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal-lead { grid-column: 1 / -1; }
}

/* เมนูมือถือเต็มจอ */
@media (max-width: 900px) {
  .nav .wrap { min-height: 66px; }
  .logo img { height: 42px; }
  .logo-txt b { font-size: 15px; }
  .logo-txt small { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line);
    background: #fff; color: var(--navy); cursor: pointer; position: relative; z-index: 61;
  }
  .nav-toggle svg { width: 26px; height: 26px; }
  .nav-toggle svg + svg, body.nav-open .nav-toggle svg:first-child { display: none; }
  body.nav-open .nav-toggle svg + svg { display: block; }
  .menu {
    position: fixed; inset: 0; z-index: 60; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 96px 24px 32px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu { visibility: visible; opacity: 1; }
  .menu > a { font-size: 22px; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu > a::after { display: none; }
  .menu-cta { margin: 28px 0 0; }
  .menu-cta .btn { width: 100%; min-height: 56px; font-size: 18px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .topbar .wrap { justify-content: center; gap: 14px; min-height: 34px; font-size: 14px; }
  .topbar span { display: none; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-intro { font-size: 16px; }
  .ship-badge { gap: 10px; max-width: calc(100% - 8px); padding: 8px 16px 8px 8px; font-size: 16px; border-radius: 20px; }
  .ship-badge svg { width: 22px; height: 22px; padding: 6px; }

  .hero-full .hero-slide { min-height: 0; align-items: flex-end; }
  .hero-full .hero-pic img { object-position: 60% 30%; }
  .hero-full .hero-slide::before {
    background: linear-gradient(0deg, rgba(8, 28, 49, .98) 0%, rgba(14, 42, 71, .9) 52%, rgba(14, 42, 71, .35) 100%);
  }
  .hero-full .hero-slide::after { inset: 0; }
  .hero-full .hero-panel { padding: 150px 20px 100px; }
  .hero-split .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .hero-pic { order: -1; height: 34vh; }
  .hero-split .hero-panel { padding: 36px 20px 96px; }
  .hero-compact .hero-slide { min-height: 0; }
  .hero-compact .hero-panel { padding: 40px 20px 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-dots { bottom: 74px; }

  .trust { margin-top: -54px; }
  .trust-bar li { flex-direction: column; gap: 10px; padding: 18px 14px; }
  .trust-ic { width: 42px; height: 42px; }
  .trust-bar h3 { font-size: 16px; }
  .trust-bar p { font-size: 14px; }
  .sec-products { padding-top: 104px; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-offer { font-size: 15px; }
  .card-offer b { font-size: 26px; }
  .card-size { font-size: 14px; }
  .hero-co { display: none; }
  .card-nopic { min-height: 0; }
  .card-nopic svg { width: 34px; height: 34px; }
  .card-body { padding: 14px 12px 16px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 14px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: -8px -20px 24px; padding: 0 20px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .row-item { grid-template-columns: 96px 1fr; }
  .row-cta { grid-column: 1 / -1; }
  .card-actions .btn { font-size: 14px; padding: 8px 10px; gap: 6px; min-height: 44px; line-height: 1.35; }
  .card-actions .btn svg { width: 16px; height: 16px; flex: none; }

  .about-pic::before { inset: 10px -10px -10px 10px; }
  .about.pic-right .about-pic::before { inset: 10px 10px -10px -10px; }
  .gal { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-item figcaption b { font-size: 15px; }
  .gal-item figcaption span { font-size: 14px; }
  .steps { gap: 24px 12px; }
  .step-ic { width: 64px; height: 64px; }
  .step-ic svg { width: 28px; height: 28px; }
  .steps h3 { font-size: 16px; }
  .steps p { font-size: 14px; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { padding: 20px 16px; }
  .quotes { grid-template-columns: 1fr; }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; }
  .price-table { font-size: 15px; }
  .price-table thead th, .price-table tbody th, .price-table td { padding: 12px 14px; }
  .cta-band { padding: 60px 0; background-position: 70% center; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .contact-card, .lead { padding: 26px 20px; }
  .f-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot { padding-top: 48px; }

  .float-contact {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px -10px rgba(8, 28, 49, .35);
  }
  .float-contact a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 10px;
    text-decoration: none; font-weight: 700; font-size: 16px;
  }
  .fl-line { background: var(--accent); color: #fff; }
  .fl-call { background: var(--navy); color: #fff; }
  body.nav-open .float-contact { display: none; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .logo-txt b { font-size: 14px; }
  .chips { margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
}

/* ========== ร้านค้าออนไลน์ (ใบเสนอราคา QT-691027-06-01) ========== */
.lang-sw svg { width: 15px; height: 15px; }
.lang-sw { font-weight: 600; color: #fff; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); border-radius: 10px; flex: none; }
.cart-link:hover { background: var(--lime-soft); }
.cart-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.cart-n { position: absolute; top: 0; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.cart-n[hidden] { display: none; }
.card-ask { color: var(--navy); font-weight: 700; font-size: 18px; margin-top: 2px; }

.page-h { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.4; color: var(--navy); margin: 0; }
.shop-page { padding: 48px 0 88px; }
.shop-page .sec-head { margin: 0 0 28px; max-width: none; text-align: left; }
.shop-page .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.shop-page .crumbs > * { margin: 0; line-height: 1.6; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.box h2 { font-size: 20px; color: var(--navy); margin: 0 0 14px; line-height: 1.5; }
.box.lead h2:not(:first-child) { margin-top: 20px; }
.notice { background: #FFF6E5; border: 1px solid #F1D9A5; border-radius: 10px; padding: 12px 14px; color: #6B4E12; font-size: 15px; }

/* หน้ารายละเอียดสินค้า */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 20px; align-items: start; }
.pd-main img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.pd-nopic { display: grid; place-items: center; aspect-ratio: 1; background: var(--paper); border-radius: var(--radius); color: var(--muted); }
.pd-nopic svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-thumbs button { padding: 0; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 12px; }
.pd-info .page-h { font-size: clamp(26px, 2.8vw, 38px); }
.pd-price { font-size: 30px; font-weight: 700; color: var(--navy); margin: 0; font-variant-numeric: tabular-nums; }
.pd-price span { font-size: 17px; font-weight: 600; }
.pd-price s { font-size: 18px; color: var(--muted); font-weight: 400; }
.pd-short { color: var(--muted); margin: 0; }
.pd-stock { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; margin: 0; }
.pd-stock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.pd-min { margin: 0; color: #C8102E; font-weight: 600; }
.pd-opts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-opts legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; padding: 0; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: grid; place-items: center; min-width: 52px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; }
.opt input:checked + span { border-color: var(--accent); background: var(--lime-soft); color: var(--accent); }
.opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.opt-out span { color: #9AA6B2; text-decoration: line-through; cursor: not-allowed; background: var(--paper); }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: max-content; background: #fff; }
.qty button { width: 44px; min-height: 44px; border: 0; background: var(--paper); font-size: 20px; color: var(--navy); cursor: pointer; }
.qty input { width: 72px; border: 0; text-align: center; font: inherit; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-btns .btn svg { fill: none; stroke: currentColor; stroke-width: 1.75; }
.pd-info .btn[disabled] { background: #C7CFD6; color: #fff; cursor: not-allowed; width: max-content; }
.pd-desc { margin-top: 40px; max-width: 760px; }

/* ตะกร้าและหน้าสั่งซื้อ */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cart-grid > .box { margin-bottom: 0; }
.cart-side { position: sticky; top: 96px; }
.cart-side[hidden] { display: none; }
.cart-empty { font-size: 18px; color: var(--muted); }
.cart-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cart-row:first-child { border-top: 0; padding-top: 0; }
.cart-row > img { width: 88px; height: 88px; object-fit: contain; }
.cart-nopic { width: 88px; height: 88px; background: var(--paper); border-radius: 8px; }
.cart-info { display: flex; flex-direction: column; font-size: 15px; color: var(--muted); }
.cart-info a { color: var(--navy); text-decoration: none; font-size: 16px; }
.cart-err, .cart-side .msg.bad { color: #C8102E; font-style: normal; font-weight: 600; }
.cart-line { font-variant-numeric: tabular-nums; color: var(--navy); }
.cart-del { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 44px; font: inherit; font-size: 14px; }
.coupon { margin-bottom: 14px; }
.coupon label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.coupon > div { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; }
.sum { margin: 0; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--muted); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--navy); text-align: right; white-space: nowrap; }
.sum dd span { font-size: 14px; }
.sum-total { border-top: 1px solid var(--navy); margin-top: 6px; padding-top: 12px !important; color: var(--navy) !important; font-weight: 700; font-size: 18px !important; }
.sum-total dd { font-size: 24px; }
.cart-go { width: 100%; margin-top: 14px; justify-content: center; }
.cart-go.is-off { opacity: .45; pointer-events: none; }
.free-hint { color: var(--accent); font-weight: 600; font-size: 15px; margin: 6px 0 0; }
.free-hint[hidden] { display: none; }
.inv-hint { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.pay-opts { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--navy); }
.pay-opt:has(input:checked) { border-color: var(--accent); background: var(--lime-soft); }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--accent); }

/* หน้าออเดอร์ */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.status-pill { display: inline-block; margin: 10px 0 0; padding: 4px 14px; border-radius: 20px; font-weight: 600; font-size: 15px; background: var(--lime-soft); color: var(--accent); }
.s-pending_payment, .s-pending_slip { background: #FFF1DC; color: #8A5A00; }
.s-cancelled, .s-refunded { background: #FDE8EB; color: #B00020; }
.pay-box { text-align: center; }
.due-label { margin: 0; color: var(--muted); }
.due { margin: 0; font-size: clamp(36px, 5vw, 48px); font-weight: 700; color: var(--navy); line-height: 1.3; font-variant-numeric: tabular-nums; }
.due small { font-size: 20px; }
.due-note { margin: 4px 0 0; color: #8A5A00; font-size: 15px; }
.qr { margin: 16px auto 0; max-width: 320px; }
.qr img { width: 100%; height: auto; image-rendering: pixelated; }
.qr figcaption { margin: 4px 0 10px; font-size: 15px; }
.bank-row { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 0; border-top: 1px solid var(--line); margin-top: 12px; }
.bank-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bank-row img { border-radius: 8px; }
.bank-no { font-size: 20px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.slip-form { display: grid; gap: 10px; justify-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.slip-form h2 { margin: 0; }
.slip-pick { position: relative; }
.slip-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.slip-pick span { display: grid; place-items: center; min-height: 44px; padding: 8px 18px; border: 1px dashed var(--navy); border-radius: 10px; color: var(--navy); font-weight: 600; }
.slip-pick input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.slip-preview { max-width: 200px; height: auto; border-radius: 8px; }
.order-items { list-style: none; margin: 0 0 8px; padding: 0; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.order-items b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.addr { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; left: -24px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline time { font-size: 14px; color: var(--muted); }
.track-no { margin: 6px 0 0; }
.seller { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.inv-box .btn svg:first-child { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.track-wrap { max-width: 640px; }
.track-wrap form { display: grid; gap: 14px; }

/* แคตตาล็อกแบบเล่ม */
.book { position: relative; width: min(100%, 1040px); margin: 0 auto; }
.book-stage { position: relative; aspect-ratio: calc(2 * (var(--ratio))); perspective: 2400px; cursor: pointer; }
.book img { width: 100%; height: 100%; display: block; object-fit: contain; background: #fff; user-select: none; }
.leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.leaf.flipped { transform: rotateY(-180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; box-shadow: 0 8px 24px -14px rgba(8, 28, 49, .45); }
.face.back { transform: rotateY(180deg); }
.book-page { max-width: 480px; margin: 0 auto; aspect-ratio: var(--ratio); box-shadow: 0 8px 24px -14px rgba(8, 28, 49, .45); }
.book.is-single .book-stage { aspect-ratio: auto; perspective: none; }
.book-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.book-bar .btn { min-height: 46px; min-width: 46px; }
.book-bar .btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.book-bar .btn[disabled] { opacity: .4; cursor: default; }
.book-at { min-width: 140px; text-align: center; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .leaf { transition: none; } }

/* ---------- หน้าสินค้าอัตโนมัติในเล่มแคตตาล็อก (แก้ด่วน 1071) ----------
   ขนาดทุกอย่างเป็น cqw ของกรอบหน้า (1cqw = 1% ความกว้างหน้า) หน้าเล็กหน้าใหญ่สัดส่วนเท่ากัน
   หน้าตาเดียวกับหน้าสินค้าในเล่มเดิม: หัวขาวขอบเขียว · ภาพในกล่องขาว · ชื่อกรมท่า ราคาแดง · ท้ายกรมท่า */
.face, .book-page, .catf-cover, .catf-peek, .cprint-page { container-type: inline-size; }
.cp {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; text-align: left;
  color: #13212F; background-color: #F5F7F4;
  background-image: linear-gradient(rgba(14, 42, 71, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 42, 71, .06) 1px, transparent 1px);
  background-size: 3.33cqw 3.33cqw; -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.cp-top { flex: none; height: 10cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 5.3cqw; background: #fff; border-bottom: .5cqw solid #1D8238; }
.cp .cp-top img { width: auto; height: 6.5cqw; object-fit: contain; background: none; border-radius: 0; flex: none; }
.cp-brand { flex: 1; min-width: 0; line-height: 1.4; }
.cp-brand b { display: block; font-size: 2.35cqw; color: #0E2A47; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-brand small { display: block; font-size: 1.7cqw; color: #4b5b6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-cat { flex: none; max-width: 42%; font-size: 2cqw; font-weight: 600; color: #1D8238; border: .17cqw solid #1D8238; border-radius: 4cqw; padding: .4cqw 1.8cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-pic { flex: 1 1 auto; min-height: 0; margin: 4cqw 5.3cqw 0; background: #fff; border-radius: 2.3cqw; box-shadow: 0 2cqw 4cqw -2.5cqw rgba(8, 28, 49, .45); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cp .cp-pic img { width: 100%; height: 100%; object-fit: contain; padding: 1.4cqw; box-sizing: border-box; background: #fff; border-radius: 0; }
.cp-nopic svg { width: 16cqw; height: 16cqw; color: #9fb0bf; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cp-info { flex: none; padding: 3cqw 5.3cqw 2.6cqw; }
.cp-info h3 { margin: 0; font-size: 4.6cqw; line-height: 1.4; font-weight: 700; color: #0E2A47; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-offer { margin-top: .4cqw; font-size: 2.8cqw; line-height: 1.4; font-weight: 700; color: #C8102E; }
.cp-offer b { font-size: 5.3cqw; }
.cp-ask { margin-top: 1cqw; display: inline-block; font-size: 2.6cqw; font-weight: 700; color: #0E2A47; border-bottom: .3cqw solid #1D8238; }
.cp-tags { display: flex; flex-wrap: wrap; gap: .8cqw; margin-top: 1.1cqw; }
.cp-tag { font-size: 2cqw; font-weight: 600; color: #0E2A47; background: #E6EEE7; border-radius: .8cqw; padding: .3cqw 1.3cqw; }
.cp-info p { margin: 1.2cqw 0 0; font-size: 2.15cqw; line-height: 1.55; color: #3d4c5c; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cp-foot { flex: none; height: 8cqw; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 0 5.3cqw; background: #0E2A47; color: #fff; font-size: max(1.85cqw, 14px); line-height: 1.4; }
.cp-go { color: #fff; font-weight: 600; background: #1D8238; border-radius: 4cqw; padding: .7cqw 2cqw; text-decoration: none; white-space: nowrap; }
.cp-go:hover { background: #17702f; }
.cp-go:focus-visible { outline: 2px solid #7fd093; outline-offset: 2px; }
.cp-n { font-weight: 700; color: #7fd093; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* หน้าเล็ก (มือถือ / ปกซ้อนหน้าแรก) — ตัวหนังสือไม่ต่ำกว่า 14px และระยะบรรทัดไทย ≥ 1.4 ตัดคำโปรยใต้ชื่อแบรนด์ออก รูปสินค้าหดแทน */
@container (max-width: 760px) {
  .cp-top { height: auto; min-height: 10cqw; padding: 8px 5.3cqw; }
  .cp .cp-top img { height: 30px; }
  .cp-brand b { font-size: 14px; line-height: 1.4; }
  .cp-brand small { display: none; }
  .cp-cat { font-size: 14px; line-height: 1.4; padding: 0 10px; }
  .cp-pic { margin-top: 12px; }
  .cp-info { padding: 10px 5.3cqw 10px; }
  .cp-info h3 { font-size: max(4.6cqw, 18px); line-height: 1.4; -webkit-line-clamp: 1; }
  .cp-offer { font-size: 14px; line-height: 1.4; margin-top: 2px; }
  .cp-offer b { font-size: 22px; }
  .cp-ask { font-size: 14px; line-height: 1.4; }
  .cp-tag { font-size: 14px; line-height: 1.4; padding: 1px 8px; }
  .cp-info p { font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; margin-top: 4px; }
  .cp-foot { height: auto; min-height: 8cqw; padding: 8px 5.3cqw; font-size: 14px; line-height: 1.4; }
  .cp-foot { padding: 6px 5.3cqw; }
  .cp-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; }
}
@media print { .cp-go { min-height: 0; } }
/* กรอบหน้าที่สูงตามสัดส่วน (มือถือ / หน้าพิมพ์) — ล็อกหน้าสินค้าให้เต็มกรอบพอดี รูปใหญ่แค่ไหนก็ไม่ดันท้ายหน้าหลุด */
.book-page, .cprint-page { position: relative; }
.book-page > .cp, .cprint-page > .cp { position: absolute; inset: 0; height: auto; }
.catf-cover .cp, .catf-peek .cp { border-radius: 10px; }

/* หน้าพิมพ์ทั้งเล่ม /catalog/print — จอ: เรียงหน้าลงมาให้ดูก่อนพิมพ์ · พิมพ์: หน้าละแผ่นเต็มกระดาษ */
.cprint { background: #E9EEEA; margin: 0; }
.cprint-bar { max-width: 760px; margin: 0 auto; padding: 28px 20px 8px; display: grid; gap: 14px; }
.cprint-title h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); color: var(--navy, #0E2A47); }
.cprint-title p { margin: 4px 0 0; color: #3d4c5c; }
.cprint-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cprint-tip { margin: 0; font-size: 14px; color: #4b5b6b; }
.cprint-pages { max-width: 760px; margin: 0 auto; padding: 12px 20px 60px; display: grid; gap: 24px; }
.cprint-page { position: relative; width: 100%; overflow: hidden; background: #fff; box-shadow: 0 10px 30px -18px rgba(8, 28, 49, .5); }
.cprint-page > img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media print {
  .cprint { background: #fff; }
  .cprint-bar { display: none; }
  .cprint-pages { max-width: none; padding: 0; display: block; }
  .cprint-page { width: 210mm; box-shadow: none; break-after: page; page-break-after: always; }
}

@media (max-width: 900px) {
  .cart-link { margin-left: auto; }
  .nav .wrap { gap: 8px; }
  .logo { margin-right: 0; flex: 1; }
  .cart-grid, .order-grid, .pd { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cart-side { position: static; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .cart-row > img, .cart-nopic { width: 64px; height: 64px; }
  .cart-row .qty { grid-column: 2; }
  .cart-line { grid-column: 3; grid-row: 1; }
  .cart-del { grid-column: 3; grid-row: 2; }
  .box { padding: 18px; }
}
/* มือถือ: แถบบนต้องอยู่บรรทัดเดียว Facebook มีให้กดในท้ายเว็บอยู่แล้ว */
@media (max-width: 480px) {
  .topbar .wrap { gap: 14px; justify-content: center; flex-wrap: nowrap; white-space: nowrap; }
  .topbar a[href*="facebook"] { display: none; }
}

/* ---------- แคตตาล็อกเด่นหน้าแรก (แก้ด่วน 1015) — ต่อจากสินค้าแนะนำพื้นกรมท่า ใช้พื้นเขียวอ่อน+ลายกริด ให้ต่างจังหวะ ---------- */
.catf-sec {
  background: var(--grid), radial-gradient(60% 80% at 12% 40%, rgba(76, 175, 80, .22), transparent 70%),
    linear-gradient(135deg, #E7F4E8 0%, #F5F7F4 55%, #FFFFFF 100%);
  overflow: hidden;
}
.catf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.catf-book {
  position: relative; display: block; width: min(100%, 400px); margin: 0 auto;
  aspect-ratio: 3 / 4; border-radius: 10px; -webkit-tap-highlight-color: transparent;
}
.catf-book img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.catf-cover, .catf-peek { position: absolute; inset: 0; border-radius: 10px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.catf-cover { z-index: 3; box-shadow: 0 2px 4px rgba(8, 28, 49, .1), 0 30px 60px -24px rgba(8, 28, 49, .55); }
.catf-cover::after { /* สันเล่ม */
  content: ''; position: absolute; inset: 0 auto 0 0; width: 14px; border-radius: 10px 0 0 10px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .12) 60%, transparent);
}
.catf-peek { box-shadow: 0 18px 40px -22px rgba(8, 28, 49, .5); }
.catf-peek-1 { z-index: 2; transform: rotate(5deg) translate(18px, 6px); }
.catf-peek-2 { z-index: 1; transform: rotate(10deg) translate(38px, 16px); }
.catf-book:hover .catf-cover, .catf-book:focus-visible .catf-cover { transform: translateY(-6px) rotate(-1.5deg); }
.catf-book:hover .catf-peek-1, .catf-book:focus-visible .catf-peek-1 { transform: rotate(8deg) translate(34px, 4px); }
.catf-book:hover .catf-peek-2, .catf-book:focus-visible .catf-peek-2 { transform: rotate(15deg) translate(66px, 14px); }
.catf-book:focus-visible { outline: 3px solid var(--accent); outline-offset: 8px; }
.catf-count {
  position: absolute; z-index: 4; left: -22px; bottom: 28px; display: grid; place-items: center;
  width: 104px; height: 104px; border-radius: 50%; background: var(--accent); color: #fff; text-align: center;
  box-shadow: 0 10px 24px -10px rgba(29, 130, 56, .8); line-height: 1.1;
}
.catf-count b { font-size: 34px; line-height: 1; align-self: end; }
.catf-count span { font-size: 14px; font-weight: 600; align-self: start; padding: 0 8px; }
.catf-text h2 { font-size: clamp(30px, 3.6vw, 46px); color: var(--navy); }
.catf-text .sec-intro { margin-top: 14px; max-width: 34em; }
.catf-facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.catf-facts li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--navy); }
.catf-facts svg { width: 22px; height: 22px; flex: none; color: var(--accent); padding: 8px; box-sizing: content-box; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.catf-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (prefers-reduced-motion: reduce) { .catf-cover, .catf-peek { transition: none; } }
@media (max-width: 899px) {
  .catf { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .catf-book { width: min(64vw, 300px); margin-left: 6vw; }
  .catf-count { width: 96px; height: 96px; left: -14px; bottom: 18px; }
  .catf-count b { font-size: 28px; }
}
@media (max-width: 480px) {
  .catf-btns .btn { width: 100%; justify-content: center; }
}
