/* =====================================================================
   ฮัลโหลสงขลา — design system
   ต้นแบบ: index.html (ราก repo) ใช้ไฟล์นี้ไฟล์เดียวกับระบบจริง
   ห้ามใช้ style="" ใน template (CSP ไม่อนุญาต inline style)
   ===================================================================== */

:root {
  --salt: #F3F8F8;
  --ink: #12303A;
  --ink-soft: #4C6670;
  --lagoon: #0B6E73;
  --lagoon-deep: #08575B;
  --lagoon-tint: #E2F0F0;
  --mustard: #F2B705;
  --mustard-tint: #FDF3CF;
  --lantern: #D23A2E;
  --lantern-tint: #FBE6E4;
  --line: #CFE0E1;
  --paper: #FFFFFF;

  --font-head: "Mitr", "Anuphan", system-ui, sans-serif;
  --font-body: "Anuphan", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 999px;
  --shadow: 0 1px 2px rgba(18, 48, 58, .06), 0 6px 18px -10px rgba(18, 48, 58, .25);
  --gutter: 16px;

  /* สีของ "รู" ต้นขั้วคูปอง = สีพื้นด้านหลังการ์ด */
  --notch-bg: var(--salt);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.3; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--mustard); color: var(--ink);
  padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------------
   ส่วนหัว
   --------------------------------------------------------------------- */
.site-header {
  background: var(--lagoon);
  color: #fff;
  --notch-bg: var(--lagoon);
}
/* ขอบล่างแบบรอยปรุกระดาษคูปอง */
.site-header::after {
  content: "";
  display: block;
  height: 10px;
  background: radial-gradient(circle at 9px 10px, var(--salt) 5px, var(--lagoon) 5.5px) repeat-x;
  background-size: 18px 10px;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px; padding-bottom: 6px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem;
  text-decoration: none; color: #fff; letter-spacing: .2px;
}
.brand b { color: var(--mustard); font-weight: 600; }
.today {
  font-size: .85rem; color: rgba(255, 255, 255, .85);
  display: inline-flex; align-items: center; gap: 6px;
}
.today::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mustard);
}

.hero {
  display: grid; gap: 18px;
  padding-top: 14px; padding-bottom: 22px;
}
.hero-text h1 { font-size: 1.6rem; }
.hero-text h1 em { font-style: normal; color: var(--mustard); }
.hero-text p { color: rgba(255, 255, 255, .85); margin-top: 6px; }

.search {
  display: flex; gap: 8px; margin-top: 14px;
  background: #fff; border-radius: var(--radius-sm); padding: 5px 5px 5px 16px;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  padding: 8px 0;
}
.search input::placeholder { color: #7A9097; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--mustard); outline-offset: 2px; }
.search button {
  border: 0; border-radius: var(--radius-sm); background: var(--mustard); color: var(--ink);
  font-weight: 600; padding: 8px 18px; cursor: pointer;
}

/* ---------------------------------------------------------------------
   การ์ดคูปองที่มีต้นขั้ว — องค์ประกอบเอกลักษณ์ ห้ามเปลี่ยนเป็นการ์ดธรรมดา
   ส่วนหลัก | เส้นประ + รอยเจาะครึ่งวงกลมบนล่าง | ต้นขั้ว
   --------------------------------------------------------------------- */
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 104px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ticket:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(18, 48, 58, .08), 0 12px 24px -12px rgba(18, 48, 58, .35); }
.ticket:focus-within { outline: 3px solid var(--mustard); outline-offset: 2px; }

.ticket-main { display: flex; gap: 12px; padding: 12px; min-width: 0; }
.ticket-thumb {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px;
  overflow: hidden; background: var(--lagoon-tint);
}
.ticket-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ticket-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ticket-store { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-title { font-size: 1.02rem; font-weight: 500; }
.ticket-title a { text-decoration: none; }
/* ทั้งการ์ดกดได้ แต่มีลิงก์เดียว (อ่านด้วยโปรแกรมอ่านหน้าจอได้ไม่ซ้ำ) */
.ticket-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ticket-title a:focus-visible { outline: none; }
.ticket-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 6px; }

.ticket-stub {
  position: relative;
  border-left: 2px dashed var(--line);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: 6px; padding: 10px 8px;
  background: linear-gradient(180deg, #FBFDFD, #F2F8F8);
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--notch-bg); border: 1px solid var(--line);
}
.ticket-stub::before { top: -10px; }
.ticket-stub::after { bottom: -10px; }

.stub-until { font-size: .78rem; color: var(--ink-soft); line-height: 1.3; }
.stub-until strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink); }
.stub-count { font-size: .72rem; color: var(--ink-soft); line-height: 1.3; }
.stub-count strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--lagoon); font-weight: 600; }

/* ร้านแนะนำ: แถบสีโคมจีนด้านซ้าย */
.ticket.is-pinned { border-color: #EBC3BF; }
.ticket.is-pinned::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lantern);
}
/* ใกล้หมดเขต */
.ticket.is-ending .stub-until strong { color: var(--lantern); }

/* คูปองใหญ่ส่วนหัว (R-22) — แนวตั้งบนมือถือ ต้นขั้วอยู่ด้านล่าง */
.ticket--hero {
  grid-template-columns: 1fr;
  border: 0;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
}
.ticket--hero:hover { transform: none; }
.ticket--hero .ticket-main { flex-direction: column; padding: 0; gap: 0; }
.ticket--hero .ticket-thumb { flex: none; width: 100%; height: 150px; border-radius: 0; }
.ticket--hero .ticket-body { padding: 14px 16px 16px; gap: 4px; }
.ticket--hero .ticket-title { font-size: 1.3rem; }
.ticket--hero .ticket-stub {
  border-left: 0; border-top: 2px dashed var(--line);
  flex-direction: row; justify-content: space-between; padding: 14px 16px;
}
.ticket--hero .ticket-stub::before, .ticket--hero .ticket-stub::after {
  top: -10px; bottom: auto; border: 0;
}
.ticket--hero .ticket-stub::before { left: -10px; }
.ticket--hero .ticket-stub::after { left: auto; right: -10px; }
.ticket--hero .stub-until, .ticket--hero .stub-count { text-align: left; }
.ticket-cta {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lantern); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 500;
  padding: 10px 18px; border-radius: var(--radius-sm);
}
.ticket-cta:hover { background: #B83126; }

/* ---------------------------------------------------------------------
   ป้าย / ชิป
   --------------------------------------------------------------------- */
.tag {
  display: inline-block; font-size: .72rem; line-height: 1; padding: 5px 8px;
  border-radius: var(--radius-sm); background: var(--lagoon-tint); color: var(--lagoon-deep);
  font-weight: 500;
}
.tag--pin { background: var(--lantern); color: #fff; }
.tag--ending { background: var(--lantern-tint); color: #A52A20; }
.tag--days { background: var(--mustard-tint); color: #6B5200; }

.chip-row {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 6px;
  margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 6px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper);
  font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--lagoon); }
.chip[aria-current="true"] { background: var(--mustard); border-color: var(--mustard); font-weight: 600; }

/* ---------------------------------------------------------------------
   แถบวันในสัปดาห์ (ลิงก์ /monday … /sunday)
   --------------------------------------------------------------------- */
.days { margin-top: 18px; }
.days-title { font-size: .85rem; color: var(--ink-soft); margin-bottom: 6px; }
.days ul { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; border-radius: 12px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--font-head); font-size: 1rem; line-height: 1.1;
}
.days a small { font-family: var(--font-body); font-size: .68rem; color: var(--ink-soft); margin-top: 3px; }
.days a:hover { border-color: var(--lagoon); }
.days a[aria-current] { background: var(--lagoon); border-color: var(--lagoon); color: #fff; }
.days a[aria-current] small { color: var(--mustard); }

/* ---------------------------------------------------------------------
   ตัวกรองและรายการ
   --------------------------------------------------------------------- */
.filters { margin-top: 18px; display: grid; gap: 6px; }
.filter-label { font-size: .8rem; color: var(--ink-soft); }

.list-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 22px 0 12px;
}
.list-head h2 { font-size: 1.2rem; }
.list-head h2 span { color: var(--ink-soft); font-family: var(--font-body); font-size: .9rem; font-weight: 400; }
.sort { display: flex; gap: 4px; font-size: .85rem; }
.sort a {
  padding: 4px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-soft);
}
.sort a[aria-current="true"] { background: var(--ink); color: #fff; }

.ticket-list { display: grid; gap: 12px; }

.empty {
  text-align: center; padding: 36px 16px; border: 2px dashed var(--line); border-radius: var(--radius);
  color: var(--ink-soft);
}
.empty h3 { color: var(--ink); margin-bottom: 4px; }

.note {
  margin-top: 22px; font-size: .82rem; color: var(--ink-soft);
  background: var(--lagoon-tint); border-radius: 10px; padding: 10px 14px;
}

/* ---------------------------------------------------------------------
   ส่วนท้าย
   --------------------------------------------------------------------- */
.site-footer {
  margin-top: 40px; padding: 28px 0 36px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-soft);
}
.site-footer .brand { color: var(--ink); font-size: 1.1rem; }
.site-footer .brand b { color: var(--lagoon); }
.site-footer p + p { margin-top: 4px; }

/* ---------------------------------------------------------------------
   หน้าข้อความ (error, กำลังเตรียมระบบ, หลังบ้านชั่วคราว)
   --------------------------------------------------------------------- */
.message-page { padding: 40px 0 20px; }
.message-card { max-width: 480px; margin: 0 auto; }
.message-card .ticket-main { flex-direction: column; padding: 22px; gap: 8px; }
.message-card h1 { font-size: 1.4rem; }
.message-card .ticket-stub { border-left: 0; border-top: 2px dashed var(--line); padding: 14px; }
.message-card .ticket-stub::before, .message-card .ticket-stub::after { top: -10px; bottom: auto; }
.message-card .ticket-stub::before { left: -10px; }
.message-card .ticket-stub::after { left: auto; right: -10px; }
.message-card.ticket { grid-template-columns: 1fr; }

/* ---------------------------------------------------------------------
   ปุ่ม (ใช้ทั้งหน้าสาธารณะและหลังบ้าน) — สูงอย่างน้อย 44px กดง่ายบนมือถือ
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 8px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--paper); color: var(--ink);
  font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn--primary { background: var(--lagoon); color: #fff; }
.btn--primary:hover { background: var(--lagoon-deep); }
.btn--secondary { background: var(--paper); border-color: var(--lagoon); color: var(--lagoon-deep); }
.btn--secondary:hover { background: var(--lagoon-tint); }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-soft); }
.btn--danger { background: var(--lantern); color: #fff; }
.btn--danger:hover { background: #B83126; }
.btn--small { min-height: 36px; padding: 6px 12px; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }

/* ---------------------------------------------------------------------
   หน้าโปร (ใช้กับหน้าตัวอย่างในหลังบ้านก่อน ขั้น 3 ใช้กับ /p/{code})
   --------------------------------------------------------------------- */
.preview-bar {
  background: var(--mustard); color: var(--ink); text-align: center;
  padding: 8px var(--gutter); font-size: .9rem;
}
.promo-page { max-width: 720px; padding-top: 18px; padding-bottom: 32px; }
.promo-gallery {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1) 16px; padding: 0 var(--gutter);
  scrollbar-width: none;
}
.promo-gallery::-webkit-scrollbar { display: none; }
.promo-gallery img {
  flex: 0 0 88%; max-height: 420px; object-fit: cover; border-radius: var(--radius);
  scroll-snap-align: center; background: var(--lagoon-tint);
}
.promo-gallery img:only-child { flex-basis: 100%; }
.promo-ticket { grid-template-columns: 1fr 120px; }
.promo-ticket .ticket-main { padding: 16px; }
.promo-title { font-size: 1.35rem; }
.ticket-cta--disabled { opacity: .55; cursor: not-allowed; }
.promo-section { margin-top: 22px; }
.promo-section h2 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.store-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }

/* ปุ่มใช้สิทธิ์ (R-32) — ปุ่มหลักของหน้า ใหญ่ กดง่ายด้วยนิ้วโป้ง */
.claim { margin-top: 16px; text-align: center; }
.btn--claim {
  display: flex; width: 100%; min-height: 56px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 500;
  background: var(--lantern); color: #fff; box-shadow: 0 8px 20px -10px rgba(210, 58, 46, .7);
}
.btn--claim:hover { background: #B83126; }
.btn--claim.is-disabled { background: #C9D6D8; color: var(--ink-soft); box-shadow: none; cursor: not-allowed; }
.claim-note { margin-top: 8px; font-size: .86rem; color: var(--ink-soft); }
.claim-note--warn { color: #A52A20; font-weight: 500; }
.back-link { margin-top: 24px; }
.back-link a { color: var(--lagoon-deep); }

/* ---------------------------------------------------------------------
   ร้านแนะนำ (R-22) — พื้นที่เฉพาะของร้านที่ปักหมุดบนหน้ารวมโปร
   มือถือ: เลื่อนแนวนอนทีละใบ (เห็นขอบใบถัดไปบอกว่ามีอีก) / จอใหญ่: เรียงเป็นตาราง
   --------------------------------------------------------------------- */
.featured {
  margin-top: 18px; padding: 14px 0 6px;
  background: linear-gradient(180deg, #FDF0EE 0%, rgba(253, 240, 238, 0) 100%);
  border-top: 3px solid var(--lantern);
  margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.list-head--featured { margin: 0 0 10px; }
.featured-mark {
  display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%;
  background: var(--lantern); vertical-align: 1px;
}
.featured-row {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 12px; scrollbar-width: thin;
  scroll-padding: 0 var(--gutter);  /* ให้ใบแรกจอดที่ขอบซ้ายเท่าหัวข้อ ไม่ชิดขอบจอ */
}
.featured-row > li { flex: 0 0 min(88%, 360px); scroll-snap-align: start; }
@media (min-width: 760px) {
  .featured { margin-left: 0; margin-right: 0; padding-left: 16px; padding-right: 16px; border-radius: 0 0 var(--radius) var(--radius); }
  .featured-row { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 2px 0 12px; }
  .featured-row > li { flex: none; }
}
@media (min-width: 1100px) {
  .featured-row { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------
   หน้าคูปอง (R-40) — แนวตั้ง ต้นขั้วอยู่ล่าง รอยเจาะซ้ายขวา
   --------------------------------------------------------------------- */
.claim form { margin: 0; }
.btn--claim { border: 0; }
.coupon-page { max-width: 480px; padding-top: 20px; padding-bottom: 32px; }
.coupon-ticket { grid-template-columns: 1fr; text-align: center; }
.coupon-ticket .ticket-main { flex-direction: column; align-items: center; padding: 20px 18px 18px; gap: 4px; }
.coupon-ticket .ticket-store { white-space: normal; }
.coupon-title { font-size: 1.2rem; }
.coupon-code-label { margin-top: 12px; font-size: .78rem; color: var(--ink-soft); letter-spacing: .05em; }
.coupon-code {
  font-family: var(--font-head); font-weight: 600; font-size: 2.3rem; line-height: 1.2;
  color: var(--lagoon-deep); letter-spacing: .02em; word-break: break-word;
}
.coupon-code--small { font-size: 1.4rem; }
.coupon-qr { width: 112px; margin-top: 10px; }
.coupon-qr svg { display: block; width: 100%; height: auto; }
.coupon-stub {
  border-left: 0; border-top: 2px dashed var(--line); padding: 14px 16px 16px; gap: 2px;
}
.coupon-stub::before, .coupon-stub::after { top: -10px; bottom: auto; }
.coupon-stub::before { left: -10px; }
.coupon-stub::after { left: auto; right: -10px; }
.live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 1.15rem; color: #1C5B36;
}
.live-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #1FA45A;
  box-shadow: 0 0 0 0 rgba(31, 164, 90, .6); animation: live-pulse 1.4s ease-out infinite;
}
.live-clock { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.live.is-expired { color: var(--lantern); }
.live.is-expired .live-dot { background: var(--lantern); animation: none; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 164, 90, .6); }
  70% { box-shadow: 0 0 0 10px rgba(31, 164, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 164, 90, 0); }
}
.coupon-until { font-size: .86rem; color: var(--ink-soft); }
.coupon-help { text-align: center; margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }

/* หน้าตรวจคูปองจาก QR */
.verify .ticket-main { text-align: left; align-items: stretch; }
.verify-status { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; }
.verify--ok .verify-status { color: #1C5B36; }
.verify--warn .verify-status { color: #8A6400; }
.verify--bad .verify-status { color: var(--lantern); }
.verify--ok { border-top: 6px solid #1FA45A; }
.verify--warn { border-top: 6px solid var(--mustard); }
.verify--bad { border-top: 6px solid var(--lantern); }
.verify-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; }
.verify-list dt { color: var(--ink-soft); font-size: .88rem; }
.verify-list dd { margin: 0; min-width: 0; }

/* หน้ารายวัน */
.day-head { padding-top: 18px; }
.day-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; color: #6B5200;
  background: var(--mustard-tint); padding: 2px 10px; border-radius: var(--radius-sm); margin-bottom: 6px;
}
.day-head h1 { font-size: 1.5rem; }
.muted { color: var(--ink-soft); }

/* การ์ด: ไม่มีรูป / ยังไม่มีคนกด */
.thumb-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.8rem; color: var(--lagoon); background: var(--lagoon-tint);
}
.ticket--hero .thumb-fallback { font-size: 3.5rem; }
.stub-new { color: var(--mustard) !important; font-size: 1rem !important; }
.chip small { color: var(--ink-soft); margin-left: 4px; font-size: .78rem; }
.chip[aria-current="true"] small { color: var(--ink); }
.days a.is-today { border-color: var(--lagoon); }
.days a.is-today small { color: var(--lagoon); font-weight: 600; }
.hero--text-only { grid-template-columns: 1fr !important; }
.ticket--hero .ticket-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------------
   จอใหญ่
   --------------------------------------------------------------------- */
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: 26px; padding-bottom: 34px; gap: 32px; }
  .hero-text h1 { font-size: 2.2rem; }
  .ticket-list { grid-template-columns: repeat(2, 1fr); }
  .days ul { max-width: 560px; }
  .chip-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}
@media (min-width: 1100px) {
  .ticket-list { grid-template-columns: repeat(3, 1fr); }
}

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