/* ==========================================================================
   ร้านก้อนหิน — main.css (เขียนมือ ไม่ใช้ Tailwind · mobile-first)
   ⚠️ สีแบรนด์ชั่วคราว: ลูกค้ายังไม่ส่งโลโก้/สีแบรนด์ — ใช้โทนหิน + เขียวมอส
      พอได้โลโก้จริง แก้แค่ตัวแปร --color-* ด้านล่าง ทั้งเว็บเปลี่ยนตาม
   ========================================================================== */
/* ---------- ฟอนต์ (เก็บในเว็บเอง ไม่พึ่ง Google Fonts — เร็วขึ้น ไม่ส่งข้อมูลผู้เข้าชมออกนอก · OFL-1.1) ----------
   หัวข้อ: Anuphan 600/700 — ไทยไม่มีหัว ทันสมัย คมชัดตอนตัวใหญ่
   เนื้อหา: IBM Plex Sans Thai Looped 400/500/600 — ไทยมีหัว อ่านง่ายตอนตัวเล็ก เหมาะกับลูกค้าทุกวัย
   แต่ละน้ำหนักแยกไฟล์ไทย/อังกฤษ (unicode-range) เบราว์เซอร์โหลดเฉพาะที่ใช้จริง */
@font-face { font-family: 'Plex Looped'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-thai-looped-thai-400-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Looped'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-thai-looped-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex Looped'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-thai-looped-thai-500-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Looped'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-thai-looped-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex Looped'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-thai-looped-thai-600-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Plex Looped'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-thai-looped-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/anuphan-thai-600-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/anuphan-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/anuphan-thai-700-normal.woff2') format('woff2'); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/anuphan-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --color-brand: #4a6b4f;      /* เขียวมอส — สีหลักชั่วคราว */
  --color-brand-d: #33503a;    /* hover / ตัวอักษรบนพื้นอ่อน */
  --color-brand-l: #e7efe6;    /* พื้นอ่อน / เส้นคั่น */
  --color-stone: #8c8174;      /* หินทราย */
  --color-cream: #f6f3ed;      /* พื้น section สลับ */
  --color-ink: #23262a;
  --color-muted: #6b6f75;
  --color-line: #e3ddd3;
  --color-white: #fff;
  --color-line-green: #06c755; /* สีทางการของ LINE */
  --color-warn: #b45309;
  --font-body: 'Plex Looped', 'Noto Sans Thai Looped', 'Leelawadee UI', 'Thonburi', system-ui, sans-serif;
  --font-head: 'Anuphan', 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', system-ui, sans-serif;
  /* สเกลตัวอักษร (≈1.2 มือถือ → 1.25 จอใหญ่) — ใช้ตัวแปรเดียวกันทั้งเว็บ */
  --fs-xs: .8125rem;   /* 13 — ป้าย/หมายเหตุ */
  --fs-sm: .9063rem;   /* 14.5 — ข้อความรอง */
  --fs-md: 1rem;
  --fs-lg: 1.125rem;   /* lead */
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
  --fs-h1: clamp(1.85rem, 1.3rem + 2.6vw, 3.25rem);
  --lh-body: 1.75;     /* ไทยมีสระบน-ล่าง + วรรณยุกต์ ต้องโปร่งกว่าอังกฤษ */
  --lh-head: 1.35;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 6px 24px rgba(35, 38, 42, .08);
  --container: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: var(--lh-body); font-feature-settings: 'kern'; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; color: var(--color-ink); background: var(--color-white); padding-bottom: 64px; }
@media (min-width: 900px) { body { padding-bottom: 0; font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-brand); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: var(--lh-head); margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
/* ตัวเลขราคา/ปริมาณ — ความกว้างเท่ากัน ตัวเลขไม่กระโดดตอนคำนวณ */
.price, .calc-stat, .calc-result-line, .calc-table, .tone-count, .use-chip span, .process-no { font-variant-numeric: tabular-nums; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.muted { color: var(--color-muted); }
.small { font-size: .875rem; }
.hp { position: absolute; left: -9999px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ---------- แถบ "เว็บตัวอย่าง" (DEMO_MEDIA) ---------- */
.demo-bar { background: #3b3127; color: #fff6e6; font-size: .85rem; text-align: center; padding: 6px 12px; line-height: 1.4; }
.demo-badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(35, 30, 24, .78); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; pointer-events: none; }
.demo-badge--inline { position: static; display: inline-block; margin-bottom: 8px; background: var(--color-stone); }

/* ---------- ปุ่ม ---------- */
.btn { font-family: var(--font-head); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-d); color: #fff; }
.btn-line { background: var(--color-line-green); color: #fff; }
.btn-line:hover { background: #05a948; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--color-line); color: var(--color-ink); }
.btn-ghost:hover { border-color: var(--color-brand); color: var(--color-brand-d); }
.btn-light { background: #fff; color: var(--color-brand-d); }
.btn-light:hover { background: var(--color-brand-l); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--color-brand-d); text-decoration: underline; cursor: pointer; font-size: .9rem; margin-bottom: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--color-line); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--color-ink); min-width: 0; }
.brand-logo { height: 44px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--color-brand); color: #fff; flex: none; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.main-nav { display: none; }
.main-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a { display: block; padding: 12px 4px; text-decoration: none; color: var(--color-ink); font-family: var(--font-head); font-weight: 600; border-bottom: 1px solid var(--color-line); }
.main-nav li a.is-current { color: var(--color-brand); }
.nav-search { display: flex; margin-top: 12px; border: 1.5px solid var(--color-line); border-radius: 999px; overflow: hidden; }
.nav-search input { flex: 1; border: 0; padding: 8px 14px; min-width: 0; outline: none; background: transparent; }
.nav-search button { border: 0; background: var(--color-brand-l); padding: 0 14px; cursor: pointer; color: var(--color-brand-d); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-cta { flex: none; white-space: nowrap; }
.header-cta span { display: none; }
.nw { white-space: nowrap; }
.lang-switch { flex: none; display: flex; border: 1px solid var(--color-line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang-switch a { padding: 5px 9px; text-decoration: none; color: var(--color-muted); }
.lang-switch a.is-active { background: var(--color-ink); color: #fff; }
.nav-toggle { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; }
@media (min-width: 1180px) {
  .main-nav, .main-nav.is-open { display: flex; position: static; align-items: center; gap: 12px; background: none; border: 0; padding: 0; box-shadow: none; margin-left: 16px; }
  .main-nav ul { display: flex; gap: 0; }
  .main-nav li a { border: 0; padding: 8px 9px; border-radius: 8px; white-space: nowrap; font-size: .95rem; }
  .main-nav li a:hover { background: var(--color-cream); }
  .main-nav, .main-nav.is-open { flex: 1; min-width: 0; }
  .nav-search { margin: 0 0 0 auto; flex: 1 1 150px; min-width: 150px; max-width: 260px; }
  .nav-search button { padding: 0 12px; }
  .nav-toggle { display: none; }
  .brand { max-width: 220px; flex: none; }
  .brand-text { font-size: .95rem; }
  /* header กว้างกว่าเนื้อหา (1200) — ให้มีที่พอสำหรับปุ่มคำนวณแบบมีข้อความ */
  .site-header .container { max-width: 1400px; }
}
/* ปุ่มมีข้อความเฉพาะจอที่มีที่พอจริง (ไม่งั้นเหลือไอคอนอย่างเดียว ไม่ห่อ 3 บรรทัด) */
@media (min-width: 1440px) { .header-cta span { display: inline; } }

/* ---------- Section ---------- */
.section { padding: 48px 0; }
.section--tight { padding: 28px 0 48px; }
.section--cream { background: var(--color-cream); }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-heading.is-center { justify-content: center; text-align: center; }
.section-title { font-family: var(--font-head); font-size: var(--fs-h2); font-weight: 700; margin: 0; }
.section-sub { color: var(--color-muted); margin: 8px 0 0; max-width: 62ch; font-size: var(--fs-md); }
.section-heading.is-center .section-sub { margin-inline: auto; }
/* ไทยห้ามใส่ letter-spacing (สระ/วรรณยุกต์จะลอยแยกจากพยัญชนะ) — ใช้เส้นนำหน้าแทนการถ่างตัวอักษร */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; color: var(--color-stone); margin: 0 0 6px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); }
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .card { padding: 28px; } }
.split { display: grid; gap: 28px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } .split--calc { align-items: start; grid-template-columns: 1.1fr .9fr; } }

.page-head { padding: 20px 0 8px; background: linear-gradient(180deg, var(--color-cream), #fff); }
.page-title { font-family: var(--font-head); font-size: var(--fs-h1); margin: 4px 0 8px; }
.lead { font-size: var(--fs-lg); line-height: 1.7; color: #474b51; max-width: 60ch; }
.breadcrumb ol { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--color-muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }

/* ---------- รูป (kh-image) ---------- */
.kh-img { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--color-cream); width: 100%; }
.kh-img img { width: 100%; height: 100%; object-fit: cover; }
.kh-img img.is-contain { object-fit: contain; background: #fff; }
.kh-img-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #b3a99c; background: repeating-linear-gradient(135deg, #f3efe8 0 12px, #efeae1 12px 24px); text-align: center; padding: 12px; font-size: .85rem; }
.kh-img-empty .kh-icon { width: 34px; height: 34px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #2f342f; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-media .demo-badge { top: 10px; right: 10px; left: auto; }
.hero-grid { position: relative; display: grid; gap: 22px; padding-top: 28px; padding-bottom: 32px; }
.hero-title { font-family: var(--font-head); font-size: var(--fs-h1); line-height: 1.25; margin: 0 0 8px; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.hero-sub { font-size: var(--fs-lg); line-height: 1.65; opacity: .95; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .95rem; }
.hero-points li { display: flex; gap: 6px; align-items: center; }
.hero-calc { color: var(--color-ink); padding: 18px; }
.hero-calc-title { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; color: var(--color-brand-d); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 64px; padding-bottom: 72px; } .hero-calc { padding: 26px; } }

/* ---------- เครื่องคำนวณ ---------- */
.calc-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.calc-field label { font-size: .9rem; font-weight: 600; }
.calc-field input, .calc-field select, .calc-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm); background: #fff; outline: none; }
.calc-field input:focus, .calc-field select:focus, .calc-field textarea:focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-brand-l); }
.input-unit { display: flex; align-items: stretch; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.input-unit:focus-within { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-brand-l); }
.input-unit input { border: 0 !important; box-shadow: none !important; border-radius: 0; font-size: 1.1rem; font-weight: 600; }
.input-unit span { display: grid; place-items: center; padding: 0 12px; background: var(--color-cream); color: var(--color-muted); font-size: .9rem; white-space: nowrap; }
.calc-row-2, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-span-2 { grid-column: 1 / -1; }
@media (max-width: 420px) { .form-grid { grid-template-columns: 1fr; } }
.calc-step { margin-bottom: 18px; }
.calc-step-title { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.calc-step-no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-brand); color: #fff; font-size: .85rem; }
.pill-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pill-row--links { margin-bottom: 20px; }
.pill { flex: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--color-line); background: #fff; cursor: pointer; text-decoration: none; color: var(--color-ink); font-weight: 500; font-size: .92rem; }
.pill.is-active, .pill:hover { border-color: var(--color-brand); background: var(--color-brand-l); color: var(--color-brand-d); }
.calc-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .calc-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .calc-product-grid { grid-template-columns: repeat(4, 1fr); } }
.calc-product { display: flex; flex-direction: column; text-align: left; gap: 4px; padding: 8px; border: 2px solid var(--color-line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.calc-product.is-active { border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-brand-l); }
.calc-product-img { position: relative; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; background: var(--color-cream); display: block; }
.calc-product-img img { width: 100%; height: 100%; object-fit: cover; }
.calc-product-img .demo-badge { font-size: .62rem; padding: 2px 6px; top: 4px; left: 4px; }
.calc-product-name { font-weight: 600; font-size: .9rem; line-height: 1.35; }
.calc-product-price { font-size: .8rem; color: var(--color-muted); }
.calc-locked { display: flex; gap: 8px; align-items: center; background: var(--color-brand-l); padding: 10px 14px; border-radius: var(--radius-sm); }
.seg { display: inline-flex; background: var(--color-cream); border-radius: 999px; padding: 4px; margin-bottom: 12px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 500; }
.seg button.is-active { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); color: var(--color-brand-d); font-weight: 700; }
.calc-area-note { margin: -4px 0 10px; font-size: .9rem; color: var(--color-muted); }
.calc-result { margin-top: 6px; padding: 14px; background: var(--color-brand-l); border-radius: var(--radius-sm); }
.calc-result-line { font-size: 1.1rem; margin: 0 0 6px; }
.calc-result-line strong { font-size: 1.3rem; color: var(--color-brand-d); }
.calc-result-line span { margin-left: 4px; }
.calc-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 10px; }
.calc-stat { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; }
.calc-stat > span { font-size: .82rem; color: var(--color-muted); }
.calc-stat strong { font-size: 1.25rem; color: var(--color-ink); }
.calc-stat > small { font-size: .78rem; color: var(--color-muted); }
.calc-stat--main strong { font-size: 1.6rem; color: var(--color-brand-d); }
.check-inline { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; margin: 6px 0 10px; cursor: pointer; }
.check-inline input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--color-brand); flex: none; }
.calc-disclaimer { display: flex; gap: 6px; align-items: flex-start; font-size: .82rem; color: var(--color-muted); margin: 6px 0 12px; }
.calc-disclaimer .kh-icon { flex: none; margin-top: 3px; }
.calc-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.calc-actions .link-more { align-self: center; font-size: .9rem; }
@media (min-width: 640px) { .calc--full .calc-actions { flex-direction: row; } .calc--full .calc-actions .btn-line { flex: 1; } }
.calc-quote { margin-top: 14px; padding: 16px; border: 1.5px dashed var(--color-brand); border-radius: var(--radius-sm); background: #fff; }
.calc-quote-title { font-weight: 600; margin-bottom: 10px; }
.calc-done { margin-top: 12px; padding: 14px; border-radius: var(--radius-sm); background: #ecfdf3; border: 1px solid #a7e3bd; }
.calc-done p { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.form-error { color: #b42318; font-size: .85rem; margin: 4px 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.calc-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; font-size: .93rem; }
.calc-table caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.calc-table th, .calc-table td { padding: 10px 12px; border-bottom: 1px solid var(--color-line); text-align: left; }
.calc-table th { background: var(--color-cream); font-size: .85rem; color: var(--color-muted); font-weight: 600; }
.calc-table tr.is-current td { background: var(--color-brand-l); font-weight: 600; }
.calc-page { display: grid; gap: 20px; }
.shared-result { border-left: 4px solid var(--color-brand); }

/* ---------- แถบชวนคำนวณ ---------- */
.calc-band { position: relative; overflow: hidden; background: var(--color-brand-d); color: #fff; padding: 44px 0; }
.calc-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.calc-band .demo-badge { top: auto; bottom: 10px; }
.calc-band-inner { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.calc-band-title { font-family: var(--font-head); font-size: var(--fs-h2); margin-bottom: 6px; }
@media (min-width: 900px) { .calc-band-inner { flex-direction: row; align-items: center; justify-content: space-between; } .calc-band-inner p { max-width: 60ch; margin: 0; } }

/* ---------- การ์ดหมวด (image-led) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; } }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.cat-card .kh-img { border-radius: var(--radius); }
.cat-card img { transition: transform .4s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 12px 12px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-md); line-height: 1.35; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

/* ---------- การ์ดสินค้า ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-link { display: block; text-decoration: none; color: inherit; }
.product-card .kh-img { border-radius: 0; }
.product-card-body { padding: 10px 12px 14px; }
.product-card-cat { font-size: .75rem; color: var(--color-stone); margin: 0 0 2px; font-weight: 600; }
.product-card-title { font-size: var(--fs-md); margin: 0 0 4px; font-family: var(--font-head); font-weight: 600; line-height: 1.4; }
.product-card-meta { font-size: .8rem; color: var(--color-muted); margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.price { margin: 0; color: var(--color-brand-d); }
.price strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.price span { font-size: .85rem; color: var(--color-muted); }
.price--lg strong { font-size: 1.9rem; }
.price-ask { font-weight: 600; color: var(--color-stone); }

/* ---------- ร้านค้า / filter ---------- */
.shop-layout { display: grid; gap: 16px; }
.filter-toggle { justify-self: start; }
.shop-filters { display: none; background: var(--color-cream); border-radius: var(--radius); padding: 16px; }
.shop-filters.is-open { display: block; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: 260px 1fr; align-items: start; } .filter-toggle { display: none; } .shop-filters { display: block; position: sticky; top: 84px; } }
.empty-state { text-align: center; padding: 40px 16px; color: var(--color-muted); }

/* ---------- หน้าสินค้า ---------- */
.product-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } .product-gallery { position: sticky; top: 84px; } }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 70px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button.is-active { border-color: var(--color-brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-family: var(--font-head); font-size: var(--fs-h1); margin-bottom: 8px; }
.spec-list { margin: 16px 0; border-top: 1px solid var(--color-line); }
.spec-list > div { display: grid; grid-template-columns: 40% 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.spec-list dt { color: var(--color-muted); font-size: .9rem; }
.spec-list dd { margin: 0; font-weight: 500; }
.suitable-title { font-weight: 700; margin-bottom: 6px; }
.tag-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { background: var(--color-brand-l); color: var(--color-brand-d); padding: 4px 12px; border-radius: 999px; font-size: .85rem; }
.cta-stack { display: grid; gap: 10px; margin-top: 18px; }
.h3 { font-size: var(--fs-h3); font-family: var(--font-head); font-weight: 700; }

/* ---------- ทำไมต้องเรา / fact ---------- */
.fact-list, .contact-list, .zone-list, .footer-facts { list-style: none; padding: 0; margin: 0 0 18px; }
.fact-list li, .contact-list li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; flex-wrap: wrap; }
.fact-list .kh-icon, .contact-list .kh-icon { color: var(--color-brand); flex: none; margin-top: 3px; }
.zone-list li { padding: 8px 0; border-bottom: 1px solid var(--color-line); display: flex; flex-direction: column; }
.note { display: flex; gap: 6px; background: var(--color-cream); padding: 10px 14px; border-radius: var(--radius-sm); font-size: .92rem; }
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }

/* ---------- แกลเลอรี / รีวิว / บทความ ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery-item { margin: 0; }
.gallery-item figcaption { font-size: .82rem; color: var(--color-muted); margin-top: 6px; }
.article-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.article-card a { color: inherit; text-decoration: none; display: block; }
.article-card .kh-img { border-radius: 0; }
.article-card-body { padding: 14px 16px; }
.article-card h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.45; margin-bottom: 6px; }
.article-cover { margin-bottom: 24px; }
.cta-card { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 32px 0; }
.cta-card p { margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-name { font-weight: 700; margin: 8px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; padding: 14px 44px 14px 16px; font-family: var(--font-head); font-weight: 600; line-height: 1.5; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font-size: 1.4rem; color: var(--color-brand); }
.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 16px 14px; color: #474b51; }

/* ---------- เนื้อหายาว ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-h2); margin-top: 1.4em; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: var(--radius-sm); }
.hub-body { margin-top: 40px; }

/* ---------- ฟอร์ม ---------- */
.lead-form .btn { margin-top: 4px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.alert-success { background: #ecfdf3; border: 1px solid #a7e3bd; }
.map-embed iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius-sm); }

/* ---------- Landing ---------- */
.lp-hero { padding: 0 0 24px; }
.lp-hero-img { border-radius: 0; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #24282b; color: #d7d9dc; padding: 44px 0 0; font-size: .93rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; } }
.footer-name { font-family: var(--font-head); font-size: 1.15rem; color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-head { color: #fff; font-family: var(--font-head); font-weight: 600; margin-bottom: 10px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li, .footer-facts li { padding: 4px 0; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .kh-icon { flex: none; margin-top: 3px; opacity: .8; }
.site-footer .muted { color: #9aa0a6; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 16px; padding-bottom: 20px; font-size: .85rem; color: #9aa0a6; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- แถบล่างมือถือ / ปุ่มลอย ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: #fff; border-top: 1px solid var(--color-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); padding-bottom: env(safe-area-inset-bottom); }
.sticky-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; min-height: 58px; text-decoration: none; color: var(--color-ink); font-size: .78rem; font-weight: 600; }
.sticky-bar a.is-line { color: var(--color-line-green); }
.sticky-bar a.is-calc { background: var(--color-brand); color: #fff; }
@media (min-width: 900px) { .sticky-bar { display: none; } }
.floating-line { position: fixed; right: 18px; bottom: 24px; z-index: 55; display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-line-green); color: #fff; box-shadow: 0 6px 20px rgba(6, 199, 85, .4); }
.floating-line .kh-icon { width: 30px; height: 30px; }
@media (min-width: 900px) { .floating-line { display: grid; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 72px; z-index: 70; background: #24282b; color: #fff; padding: 14px 16px; border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); font-size: .9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 240px; }
.cookie-banner a { color: #fff; }
@media (min-width: 900px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; max-width: 460px; } }

/* ---------- pagination (Laravel default markup) ---------- */
nav[role="navigation"] { margin-top: 24px; }
nav[role="navigation"] svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   รอบปรับดีไซน์ (เทียบคู่แข่ง) — เลือกหินตามสี/งาน · ขั้นตอนสั่งซื้อ · พาร์ทเนอร์ · เมนูหมวด · swatch
   ========================================================================== */
.section--tight-top { padding-top: 8px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); flex: none; }

/* เลือกหินที่ใช่ */

/* ชิปสีในหน้าสินค้า */
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.swatch-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1.5px solid var(--color-line); border-radius: 999px; text-decoration: none; color: var(--color-ink); font-size: var(--fs-sm); background: #fff; }
.swatch-chip.is-active { border-color: var(--color-brand); background: var(--color-brand-l); color: var(--color-brand-d); font-weight: 600; }
.card-swatch { display: inline-flex; align-items: center; gap: 5px; }
.card-swatch .swatch { width: 11px; height: 11px; }

/* ขั้นตอนสั่งซื้อ */
.process { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.process-step { position: relative; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 22px 20px 20px; }
.process-no { position: absolute; top: 14px; right: 16px; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--color-brand-l); }
.process-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-brand); color: #fff; margin-bottom: 14px; }
.process-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg); margin: 0 0 6px; line-height: 1.4; }
.process-text { margin: 0; color: #474b51; font-size: var(--fs-sm); line-height: 1.7; }
@media (min-width: 1000px) {
  .process-step:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--color-stone); border-right: 2px solid var(--color-stone); transform: rotate(45deg); opacity: .5; }
}

/* แนะนำบริการจัดสวน */
.partner-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px; border-radius: var(--radius); background: linear-gradient(120deg, var(--color-brand-l), var(--color-cream)); border: 1px solid var(--color-line); }
.partner-title { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-h3); margin: 0 0 4px; }
.partner-band .muted { margin: 0; }

/* เมนูย่อยหมวดสินค้า */
.has-sub { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.has-sub > a { flex: 1; }
.sub-toggle { border: 0; background: none; padding: 10px; cursor: pointer; color: var(--color-muted); display: grid; place-items: center; }
.sub-menu { display: none; list-style: none; flex-basis: 100%; padding: 0 0 6px 14px !important; }
.sub-menu.is-open { display: block; }
.main-nav .sub-menu a { font-weight: 500; font-family: var(--font-body); font-size: var(--fs-sm); padding: 10px 4px; }
.main-nav .sub-all a { color: var(--color-brand-d); display: flex; align-items: center; gap: 6px; }
@media (min-width: 1180px) {
  .has-sub { flex-wrap: nowrap; }
  .sub-toggle { padding: 6px 4px 6px 0; margin-left: -6px; }
  .sub-menu { position: absolute; top: calc(100% + 4px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px !important; display: block; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 60; }
  .sub-menu.is-open, .has-sub:focus-within .sub-menu { visibility: visible; opacity: 1; transform: none; }
  .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .main-nav .sub-menu { display: block; }
  .main-nav .sub-menu a { padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
  .main-nav .sub-all { border-top: 1px solid var(--color-line); margin-top: 4px; padding-top: 4px; }
}
@media (max-width: 639px) {
  .process { gap: 10px; }
  .process-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .process-icon { grid-row: span 2; margin: 0; }
  .process-no { font-size: 1.6rem; top: 12px; right: 14px; }
  .process-title { padding-right: 24px; }
}


/* ==========================================================================
   รอบปรับดีไซน์ 2 — เลือกหิน (การ์ดภาพ) · ทำไมต้องเรา (แถบเข้ม) · รีวิว (การ์ดคำพูด)
   ========================================================================== */
:root { --pebbles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='170'%3E%3Cg fill='white' fill-opacity='.02' stroke='white' stroke-opacity='.05' stroke-width='1.2'%3E%3Cellipse cx='20' cy='24' rx='14' ry='7' transform='rotate%2810 20 24%29'/%3E%3Cellipse cx='70' cy='14' rx='9' ry='6' transform='rotate%2828 70 14%29'/%3E%3Cellipse cx='128' cy='30' rx='10' ry='8' transform='rotate%2834 128 30%29'/%3E%3Cellipse cx='40' cy='74' rx='9' ry='10' transform='rotate%28-13 40 74%29'/%3E%3Cellipse cx='98' cy='66' rx='9' ry='6' transform='rotate%2815 98 66%29'/%3E%3Cellipse cx='150' cy='88' rx='15' ry='6' transform='rotate%28-10 150 88%29'/%3E%3Cellipse cx='16' cy='128' rx='10' ry='10' transform='rotate%2814 16 128%29'/%3E%3Cellipse cx='66' cy='120' rx='9' ry='10' transform='rotate%28-25 66 120%29'/%3E%3Cellipse cx='118' cy='132' rx='12' ry='11' transform='rotate%2840 118 132%29'/%3E%3Cellipse cx='160' cy='150' rx='9' ry='10' transform='rotate%2834 160 150%29'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---- เลือกหินที่ใช่: การ์ดภาพเต็มใบ ---- */
.tone-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; scroll-padding-inline: 16px; }
.tone-rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .tone-rail { grid-auto-columns: 30%; } }
@media (min-width: 1000px) { .tone-rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; } }
.tone-tile { position: relative; display: block; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--sw); isolation: isolate; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: transform .25s, box-shadow .25s; }
.tone-tile .kh-img { position: absolute; inset: 0; aspect-ratio: auto !important; height: 100%; border-radius: 0; }
.tone-tile .kh-img img { transition: transform .5s ease; }
.tone-tile::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(20, 22, 20, .78)); pointer-events: none; }
.tone-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(35, 38, 42, .18); color: #fff; }
.tone-tile:hover .kh-img img { transform: scale(1.06); }
/* ไม่มีรูป → ลายก้อนหินตามสีโทน */
.tone-texture { position: absolute; inset: 0; background:
  radial-gradient(ellipse 22% 16% at 22% 26%, rgba(255,255,255,.28), transparent 70%),
  radial-gradient(ellipse 18% 13% at 70% 18%, rgba(0,0,0,.16), transparent 70%),
  radial-gradient(ellipse 24% 17% at 58% 52%, rgba(255,255,255,.2), transparent 70%),
  radial-gradient(ellipse 20% 15% at 20% 70%, rgba(0,0,0,.14), transparent 70%),
  radial-gradient(ellipse 22% 15% at 80% 80%, rgba(255,255,255,.18), transparent 70%),
  var(--sw); }
.tone-tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px; }
.tone-tile .tone-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .6), transparent 50%), var(--sw); box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, .3); }
.tone-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-md); line-height: 1.3; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.tone-count { display: block; font-size: var(--fs-xs); opacity: .85; line-height: 1.3; }
.tone-arrow { margin-left: auto; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.tone-tile:hover .tone-arrow { opacity: 1; transform: none; }
.tone-tile .demo-badge { font-size: .62rem; padding: 2px 7px; }

.use-panel { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--color-cream); }
.use-panel-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--color-brand-d); }
.finder-uses { display: flex; flex-wrap: wrap; gap: 8px; }
.use-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 999px; background: #fff; color: var(--color-ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; border: 1px solid var(--color-line); transition: background .15s, color .15s, border-color .15s; }
.use-chip span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--color-cream); font-size: var(--fs-xs); color: var(--color-muted); }
.use-chip:hover { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.use-chip:hover span { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---- ทำไมต้องเรา: แถบเขียวเข้ม + ลายก้อนหิน ---- */
.why-band { position: relative; color: #fff; background: var(--pebbles), radial-gradient(ellipse at 15% 0%, #4f7556 0%, transparent 55%), radial-gradient(ellipse at 100% 100%, #2a4430 0%, transparent 60%), var(--color-brand-d); overflow: hidden; }
.why-band.has-photo { background: #1d2a20; }
.why-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.04); }
/* ฟิล์มเขียวทับรูป: เข้มขอบ สว่างกลางนิด ๆ ให้เห็นผิวหินแต่ตัวอักษรขาวยังอ่านชัด */
.why-band.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(36, 60, 42, .58), rgba(18, 30, 21, .88) 80%); }
.why-band > .container { position: relative; z-index: 1; }
.why-band > .demo-badge { z-index: 2; top: auto; bottom: 10px; left: 10px; }
.why-band .section-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: calc(var(--radius) + 4px); backdrop-filter: blur(2px); } }
.why-item { position: relative; text-align: center; padding: 22px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) {
  .why-item { background: none; border: 0; border-radius: 0; padding: 32px 22px; }
  .why-item + .why-item::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .16); }
}
@media (min-width: 900px) { .why-band.has-photo .why-grid { background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } }
.why-band.has-photo .why-item { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (min-width: 900px) { .why-band.has-photo .why-item { backdrop-filter: none; -webkit-backdrop-filter: none; } }
.why-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.why-label { margin: 0 0 2px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
.why-value { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); line-height: 1.4; color: #fff; }

/* ---- รีวิว: การ์ดคำพูด ---- */
.review-section { background: radial-gradient(ellipse at 50% 0%, #fff 0%, transparent 60%), var(--color-cream); }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none; }
.review-grid::-webkit-scrollbar { display: none; }
.review-grid > * { scroll-snap-align: start; }
@media (min-width: 640px) { .review-grid { grid-auto-columns: 46%; } }
@media (min-width: 900px) { .review-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 22px; overflow: visible; margin: 0; padding: 0; } }
.review-card { position: relative; margin: 0; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: calc(var(--radius) + 4px); padding: 26px 24px 22px; box-shadow: 0 1px 2px rgba(35, 38, 42, .04), 0 12px 32px rgba(35, 38, 42, .07); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.review-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-brand), var(--color-stone)); }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(35, 38, 42, .04), 0 18px 40px rgba(35, 38, 42, .12); }
.review-quote { position: absolute; right: 18px; top: 4px; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--color-brand-l); pointer-events: none; }
.review-top { display: flex; align-items: center; gap: 10px; min-height: 22px; position: relative; }
.review-top .demo-badge--inline { margin: 0; }
.stars { margin: 0; color: #e3a008; letter-spacing: 2px; }
.stars span { color: #e5e1d8; }
.review-text { position: relative; margin: 0; flex: 1; font-size: var(--fs-md); line-height: 1.8; color: #3b3f44; }
.review-card.is-demo .review-text { color: var(--color-muted); }
.review-by { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--color-line); font-size: var(--fs-sm); }
.review-by strong { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.35; }
.review-by .muted { display: block; font-size: var(--fs-xs); }
.review-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--color-brand), var(--color-brand-d)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
