/* หน้าซื้อบัตรของงานหยอดหอยแคมป์ 2 (body.katakk-booking.yokhoy-booking) — ทับสีธีม KATAKK ให้เป็นโทนค่ำริมทะเล */
body.yokhoy-booking {
  --kb-navy: #24123d;
  --kb-purple: #6a2bc4;
  --kb-red: #e3262f;
  background:
    radial-gradient(900px 500px at 80% 0, rgba(255, 79, 163, .18), transparent 60%),
    linear-gradient(180deg, #1d0f33, #160c28 60%, #120a20);
}

/* แถบเมนูบน: เข้ม */
.yokhoy-booking .header.header-landing { background: rgba(18, 9, 32, .94) !important; border-bottom: 1px solid #ffffff14; }
.yokhoy-booking .header nav a { color: #ffffffd9 !important; }
.yokhoy-booking .header nav a.active { color: #fff !important; }
.yokhoy-booking .header nav a.active::after { background: var(--kb-red) !important; }
.yokhoy-booking .header .lx-acct, .yokhoy-booking .header .socials a { color: #fff !important; }
.yokhoy-booking .header .brand-logo-img,
.yokhoy-booking .header.scrolled .brand-logo-img { height: 50px !important; margin: 4px 0 0; border-radius: 6px; }
.yokhoy-booking .header .menu-toggle span, .yokhoy-booking .header .hamburger span { background: #fff !important; }

/* แบนเนอร์งาน: ใช้รูปส่วนหัว (มีโลโก้ในรูปแล้ว) */
.yokhoy-booking .kb-hero { min-height: clamp(220px, 34vw, 420px); padding: 0 16px 64px; display: flex; align-items: flex-end; justify-content: center; background-position: 50% 30%; }
.yokhoy-booking .kb-hero::after { height: 55%; background: linear-gradient(transparent, #1d0f33); }
.yokhoy-booking .kb-logo { display: none; }
.yokhoy-booking .kb-meta { align-items: center; }
.yokhoy-booking .kb-date { background: linear-gradient(#ff4b45, var(--kb-red) 50%, #a40f1a); color: #fff; box-shadow: 0 3px 0 #5d0710; }
.yokhoy-booking .kb-loc { background: #160c28e6; color: var(--kb-yellow); border: 1px solid #ffd21f80; }

.yokhoy-booking .kb-hero + .wizard-wrap { margin-top: -36px; }
@media (max-width: 760px) {
  .yokhoy-booking .kb-hero { min-height: 340px; padding-bottom: 50px; background-position: 68% 50%; }
}

/* การ์ดบัตร */
.yokhoy-booking .tk-card { background-image: none; background-color: #3b1774; border-color: #ff4fa3; box-shadow: 0 0 18px #ff4fa355, 0 14px 26px #0006; }
.yokhoy-booking .tk-card::before { background: linear-gradient(135deg, #8f3bffd9, #4a1aa6e0 60%, #241046f0); }
.yokhoy-booking .wizard-card { box-shadow: 0 6px 0 #0000004d, 0 18px 44px #0008; }

/* ท้ายเว็บ */
.yokhoy-booking footer#contact { background: #0c0616; color: #fff; border-top: 2px solid var(--kb-red); }
.yokhoy-booking footer#contact :is(h4, p, a) { color: #ffffffcc; }
.yokhoy-booking .legal-notice { background: #0c0616; color: #ffffff99; }
.yokhoy-booking ::-webkit-scrollbar-thumb { background: linear-gradient(#ff4fa3, #e3262f); }

/* ===== ธีมเดียวกับหน้าแรกใหม่ (นีออนพระอาทิตย์ตก) ===== */
.yokhoy-booking .header .brand-logo-img,
.yokhoy-booking .header.scrolled .brand-logo-img { width: clamp(110px, 12vw, 160px) !important; height: auto !important; margin: 0; border-radius: 0; mix-blend-mode: lighten; }
.yokhoy-booking .kb-hero { --kb-sky: url('../uploads/events/yokhoy-camp-2/neon-festival-hero.webp') !important; background-size: cover; background-position: center 40%; min-height: clamp(300px, 34vw, 440px); padding: 18px 16px 70px; align-items: center; }
.yokhoy-booking .kb-hero::after { background: linear-gradient(transparent, #1d0f33); }
.yokhoy-booking .kb-hero-in { flex-direction: column; gap: 10px; }
.yokhoy-booking .kb-logo { display: block; width: clamp(200px, 30vw, 340px); filter: drop-shadow(0 8px 16px #150819b3); }
.yokhoy-booking .kb-meta { align-items: center; }
.yokhoy-booking .kb-date { position: relative; isolation: isolate; background: none; box-shadow: none; padding: .25em 1.2em .3em; color: #fff; font-size: clamp(17px, 2.2vw, 24px); font-weight: 900; font-style: italic; text-shadow: 0 2px 0 #5a0610; border-radius: 0; }
.yokhoy-booking .kb-date::before { content: ""; position: absolute; z-index: -1; inset: -12% -8%; background: url('../uploads/events/yokhoy-camp-2/date-brush.webp') center / 100% 100% no-repeat; }
.yokhoy-booking .kb-loc { background: rgba(20, 6, 30, .7); color: #ffd21f; border: 1px solid #ffd21f80; font-weight: 700; }

/* ขั้นตอน + หัวข้อ */
.yokhoy-booking .wizard-card { border: 2px solid #ffb8e0; box-shadow: 0 0 22px #ff4fa366, 0 18px 44px #0008; }
.yokhoy-booking .wizard-card h2 { color: #2a0f45; }

/* การ์ดบัตร: ใบแรก (บัตรเหมา/บัตรเด่น) ม่วง · ใบอื่นน้ำเงิน — เหมือนหน้าแรก */
.yokhoy-booking .tk-card { background-color: #12348a; border: 2px solid #82eaff; box-shadow: 0 0 16px #31d3ffb3, 0 14px 26px #0006; }
.yokhoy-booking .tk-card::before { background: linear-gradient(160deg, #1f63c9f0, #12348af5); }
.yokhoy-booking .tk-card.is-first { border-color: #e8b8ff; box-shadow: 0 0 16px #c45bffc4, 0 14px 26px #0006; }
.yokhoy-booking .tk-card.is-first::before { background: linear-gradient(160deg, #7d32e8f0, #4a179ef5); }
.yokhoy-booking .tk-name { color: #fff; font-style: italic; }
.yokhoy-booking .tk-tagline { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 99px; background: #ffffff26; border: 1px solid #ffffff59; font-size: 14px; font-style: normal; font-weight: 600; color: #fff; vertical-align: middle; }
.yokhoy-booking .tk-price { color: #ffd21f; text-shadow: 0 3px 0 #5a2500, 0 0 10px #ff9a1a88; filter: none; }
.yokhoy-booking .tk-note { color: #e9e4ff; }
@media (max-width: 760px) {
  .yokhoy-booking .kb-hero { min-height: 320px; padding: 70px 12px 60px; }
  .yokhoy-booking .kb-logo { width: min(74vw, 300px); }
}

/* ===== ทั้งเว็บ (เข้าสู่ระบบ/สมัคร/บัญชีสมาชิก ฯลฯ) ใช้ภาพและโทนเดียวกับหน้าแรก ===== */
.yokhoy-booking :is(.mx-auth-visual, .mx-hero) { --mx-bg: url('../uploads/events/yokhoy-camp-2/neon-festival-hero.webp') !important; background-position: center 40%; border-color: #ff4fa366; }
.yokhoy-booking .mx-auth-visual::before { background: linear-gradient(180deg, rgba(29, 15, 51, .1) 0%, rgba(29, 15, 51, .55) 50%, rgba(18, 9, 32, .94) 100%); }
.yokhoy-booking .mx-hero::before { background: linear-gradient(90deg, rgba(18, 9, 32, .94), rgba(29, 15, 51, .72) 60%, rgba(29, 15, 51, .35)); }
.yokhoy-booking .mx-eyebrow { background: linear-gradient(#ff4b45, #e3262f 55%, #a40f1a); color: #fff; }
.yokhoy-booking .mx-next-ev { background: rgba(18, 9, 32, .78); border-color: #ff4fa366; }
.yokhoy-booking .mx-auth-main .wizard-card { background: #fffaf7; }
.yokhoy-booking .wizard-card :is(input, select, textarea) { background: #fff; color: #21163f; border: 1.5px solid #e2d2ef; }
.yokhoy-booking .wizard-card :is(input, select, textarea):focus { border-color: #e3262f; box-shadow: 0 0 0 3px #e3262f2e; outline: 0; }
.yokhoy-booking .wizard-card a:not(.booking-btn):not(.line-login-btn) { color: #d4162a; }
.yokhoy-booking .wizard-card .booking-btn, .yokhoy-booking .mx-account .booking-btn { background: linear-gradient(#ff4b38, #d40d1d 60%, #9c0710) !important; color: #fff !important; border: 0; box-shadow: 0 3px 0 #6e0610, 0 8px 18px #e3262f55; }
.yokhoy-site main :is(h1, h2):not(:is(.wizard-card, .mx-panel, .mx-stat, .mx-empty, .mx-card, .event-card, .cx-card) *) { color: #fff; }
.yokhoy-site main :is(section, .section) > p { color: #d9cdf0; }

/* ===== การ์ดบัตรแบบ "ตั๋วฉีก" (หยอดหอยแคมป์) — ซ้าย: ชื่อ/วัน/ราคา · ขวา: จำนวน+ปุ่มซื้อ คั่นด้วยรอยปรุ ===== */
.yokhoy-booking .wizard-card form.tk-card {
  display: grid; grid-template-columns: 1fr minmax(230px, 40%); align-items: stretch; gap: 0;
  min-height: 0; margin: 0 0 18px; padding: 0; border-radius: 18px; overflow: visible;
  --notch: #fff8ee;   /* สีพื้นการ์ดหลัก (ตรงรอยบาก) */
}
.yokhoy-booking .tk-card::before { border-radius: 16px; inset: 0; }
.yokhoy-booking .tk-card:hover { transform: translateY(-3px); }
.yokhoy-booking .tk-head { max-width: none; padding: 18px 20px 16px; gap: 6px; }
.yokhoy-booking .tk-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 22px; line-height: 1.2; text-shadow: 0 2px 0 #0004; }
.yokhoy-booking .tk-tagline { margin: 0; padding: 3px 11px; background: #ffd21f; border: 0; color: #3a1a00; font-size: 13px; font-weight: 700; box-shadow: 0 2px 0 #a86a00; }
.yokhoy-booking .tk-price { margin-top: 4px; font-size: 46px; line-height: 1; font-weight: 900; font-style: italic; letter-spacing: -.5px; }
.yokhoy-booking .tk-price small { margin-left: 4px; font-size: 16px; font-style: normal; color: #fff; text-shadow: none; }
.yokhoy-booking .tk-note { display: inline-flex; align-items: center; width: fit-content; margin-top: 2px; padding: 2px 10px; border-radius: 99px; background: #0003; color: #f2ecff; font-size: 13px; }
/* ฝั่งขวา: โซนซื้อ แยกด้วยรอยปรุ + รอยบากครึ่งวงกลมบน-ล่าง */
.yokhoy-booking .tk-buy { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 18px 14px 22px; border-left: 2px dashed #ffffff5c; }
.yokhoy-booking .tk-buy::before, .yokhoy-booking .tk-buy::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--notch); }
.yokhoy-booking .tk-buy::before { top: -12px; } .yokhoy-booking .tk-buy::after { bottom: -12px; }
.yokhoy-booking .tk-qty { align-self: center; width: 100%; max-width: 170px; justify-content: space-between; background: #ffffff1f; border: 1.5px solid #ffffff73; }
.yokhoy-booking .tk-qty button { width: 46px; color: #fff; font-weight: 700; }
.yokhoy-booking .tk-qty button:hover { background: #ffffff26; }
.yokhoy-booking .wizard-card .tk-qty input { width: 52px; background: #fff; color: #21163f; font-size: 18px; font-weight: 800; }
.yokhoy-booking .wizard-card .tk-buy .tk-submit { flex: none; width: 100%; padding: 13px 10px; font-size: 16px; font-weight: 800; border-radius: 14px; }
.yokhoy-booking .tk-incl { grid-column: 2; margin: -6px 0 0; padding: 0 18px 14px 22px; border-left: 2px dashed #ffffff5c; color: #ffffffb8; font-size: 12px; text-align: center; }
.yokhoy-booking .tk-stock { grid-column: 1 / -1; margin: 0 20px 14px; }
/* บัตรเหมา (ใบแรก): ป้ายคุ้มสุด */
.yokhoy-booking .tk-card.is-first .tk-head { position: relative; }
.yokhoy-booking .tk-card.is-first .tk-head::after { content: "★ คุ้มที่สุด"; position: absolute; top: -12px; left: 18px; padding: 3px 12px; border-radius: 99px; background: linear-gradient(#ff4b38, #c80f1e); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .3px; box-shadow: 0 3px 10px #e3262f88; }
.yokhoy-booking .tk-card.is-first { margin-top: 10px; }
.yokhoy-booking .tk-card.is-soldout .tk-buy, .yokhoy-booking .tk-card.is-soldout .tk-incl { opacity: .6; }
@media (max-width: 560px) {
  .yokhoy-booking .wizard-card form.tk-card { grid-template-columns: 1fr; }
  .yokhoy-booking .tk-head { padding: 18px 16px 14px; }
  .yokhoy-booking .tk-price { font-size: 40px; }
  .yokhoy-booking .tk-buy { flex-direction: row; align-items: center; padding: 14px 14px 12px; border-left: 0; border-top: 2px dashed #ffffff5c; }
  .yokhoy-booking .tk-buy::before, .yokhoy-booking .tk-buy::after { top: -12px; bottom: auto; }
  .yokhoy-booking .tk-buy::before { left: -12px; } .yokhoy-booking .tk-buy::after { left: auto; right: -12px; }
  .yokhoy-booking .tk-qty { width: auto; flex: none; }
  .yokhoy-booking .wizard-card .tk-buy .tk-submit { flex: 1; width: auto; }
  .yokhoy-booking .tk-incl { grid-column: 1; border-left: 0; padding: 0 14px 12px; }
}

.yokhoy-booking .tk-card:has(.tk-incl) .tk-buy::after { display: none; }
.yokhoy-booking .tk-incl { position: relative; }
.yokhoy-booking .tk-incl::after { content: ""; position: absolute; left: -12px; bottom: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--notch); }
@media (max-width: 560px) {
  .yokhoy-booking .tk-card:has(.tk-incl) .tk-buy::after { display: block; }
  .yokhoy-booking .tk-incl::after { display: none; }
}
