/* contact.css — ติดต่อเรา การจัดส่ง คืนสินค้า คำถามที่พบบ่อย (และหน้า 404) */

/* แถบแชตต่อจากหัวหน้าเป็นพื้นดำผืนเดียว เส้นทองย้ายไปปิดท้ายแถบแชต */
.ct-h { padding-bottom: 24px; }
.ct-h::after { display: none; }
.chat { --c-head: #F4EEE2; --f-head: var(--f-th); --h2: 21px; position: relative; background: var(--black); color: #EEE7D8; padding-block: 8px clamp(36px, 4.5vw, 56px); font-family: var(--f-th); }
.chat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(201, 165, 92, 0), #C9A55C 35%, #F2D58F 60%, rgba(201, 165, 92, 0)); }
.chat-g { display: grid; gap: 14px; }
.chat-c { display: flex; gap: 24px; align-items: center; justify-content: space-between; background: var(--ink2); border: 1px solid var(--line-d); border-radius: 4px; padding: 22px; }
.chat-tx { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.chat-t { display: flex; gap: 12px; align-items: center; }
.chat-t p { color: #C9C1B0; font-size: 14px; }
.chat-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.chat-ic svg { width: 26px; height: 26px; }
.chat-ic-line { background: #06C755; }
.chat-ic-wa { background: #25D366; }
.chat-s { color: #D6CEBD; max-width: 34ch; }
/* QR ใช้บนจอคอมเท่านั้น คนดูบนมือถือสแกนจอตัวเองไม่ได้ */
.chat-qr { display: none; margin: 0; flex: none; text-align: center; }
.chat-qr .qr { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 6px; }
.chat-qr .qr svg { display: block; width: 100%; height: 100%; }
.chat-qr figcaption { font-size: 12.5px; color: #C9C1B0; margin-top: 8px; }
/* โทร Facebook TikTok เป็นป้ายลิงก์ชุดเดียวกับหน้าแรก (.fl-* อยู่ใน base.css) จอคอมเรียง 3 คอลัมน์ */
.chat-more { margin-top: 14px; }
.chat .fl-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tel-n { font-family: var(--f-body); font-size: 17px !important; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* สาขา: การ์ดขอบบนทอง หมุดในวงดำ */
.ct-h2 { --f-head: var(--f-th); --h2: clamp(25px, 2.7vw, 34px); --h2-w: 700; margin-bottom: 18px; }
.br2 { display: grid; gap: 14px; font-family: var(--f-th); }
.br { --h3: 19px; --h3-w: 700; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 4px; padding: 24px; display: grid; gap: 6px; align-content: start; justify-items: start; }
.br-ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--ink); color: var(--gold-l); margin-bottom: 6px; }
.br p { color: var(--muted); }
.br-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
/* แผนที่เต็มกว้างบนการ์ด หมุดวงดำซ้อนขอบล่างแผนที่ · พื้นครีมรอจนกว่าแผนที่จะโหลด */
.br-has-map { overflow: hidden; }
.br-map { position: relative; margin: -24px -24px 0; width: calc(100% + 48px); aspect-ratio: 2 / 1; overflow: hidden; background: #ECE7DC; border-bottom: 1px solid var(--line); }
.br-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.br-has-map .br-ic { position: relative; margin-top: -23px; box-shadow: 0 0 0 4px #fff, 0 8px 16px -8px rgba(0, 0, 0, .6); }
@media (max-width: 759px) { .br-map { aspect-ratio: 16 / 10; } }
/* รูปหน้าร้านเล็กใต้ที่อยู่ กดดูรูปใหญ่ (site.js) */
.br-pics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.br-pic { display: grid; gap: 4px; color: var(--muted); font-size: 13px; text-decoration: none; cursor: zoom-in; }
.br-pic img { display: block; width: 112px; height: 84px; object-fit: cover; object-position: 50% 40%; border-radius: 4px; border: 1px solid var(--line); background: #ECE7DC; transition: border-color .2s; }
.br-pic:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .br-pic:hover img { border-color: var(--gold); } .br-pic:hover { color: var(--gold-t); } }

/* มือถือ ปุ่มแชตเต็มแถว นิ้วโป้งกดง่าย */
@media (max-width: 759px) {
  .chat-tx, .chat-tx .btn { width: 100%; }
  .chat-c { padding: 18px; }
}

/* แท็บเล็ต การ์ดแชตกับสาขาวางคู่ */
@media (min-width: 760px) {
  .chat-g, .br2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-c { align-items: stretch; }
}

/* จอคอม การ์ดแชตมี QR ให้สแกน */
@media (min-width: 1024px) {
  .chat-c { padding: 26px 26px 26px 28px; }
  .chat-qr { display: block; }
}
@media (max-width: 1179px) { .chat .fl-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .chat .fl-row { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .chat .fl-row { gap: 8px; }
  .chat .fl-it { min-height: 60px; padding-block: 8px; }
  .chat .fl-ic { width: 38px; height: 38px; }
  .chat .fl-ic svg { width: 18px; height: 18px; }
  .chat .fl-ic-c-fb svg { width: 100%; height: 100%; }
}

/* หัวกลุ่ม โทรหาเรา / โซเชียลมีเดีย + ป้ายหน้าที่ของสาขา (ลูกค้าขอ 27 พ.ย. 69) */
.ct-grp { margin: 26px 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-l); }
.ct-call .fl-it { min-height: 72px; }
.ct-call .tel-n { font-size: 22px; letter-spacing: .02em; }
.ct-tap { margin-left: auto; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, #E3C88E, #C49A4E); color: #17120A; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.br-role { margin: -4px 0 6px; font-size: 13px; font-weight: 600; color: var(--gold-t); }

.chat .ct-call { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .chat .ct-call { grid-template-columns: 1fr; } }
