/* =========================================================
   Smile Bar — New Year's Eve booking page
   ========================================================= */
.nyep { background: var(--cream); }

/* Top bar */
.nyep__bar { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px; color: var(--cream); }
.nyep__back { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; justify-self: start; padding: 8px 0; }
.nyep__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nyep__back:hover { color: #F3D58A; }
.nyep__logo img { height: 44px; width: auto; }
.nyep__langs { justify-self: end; display: flex; gap: 10px; font-size: .68rem; letter-spacing: .14em; }
.nyep__langs button { opacity: .7; padding: 6px 2px; }
.nyep__langs button[aria-pressed="true"] { opacity: 1; font-weight: 500; border-bottom: 1px solid currentColor; }

/* Hero */
.nyep__hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; color: var(--cream); background: var(--noir); overflow: hidden; }
.nyep__heroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.nyep__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.65) 0%, rgba(14,14,14,.15) 35%, rgba(14,14,14,.85) 100%); }
.nyep__herotxt { position: relative; z-index: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 140px var(--gutter) clamp(48px, 7vw, 90px); text-align: center; }
.nyep__herotxt .kicker { justify-content: center; color: #F3D58A; }
.nyep__herotxt .title { margin-bottom: 18px; }
.nyep__herotxt .title em { color: #F3D58A; }
.nyep__tags { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,248,239,.8); margin: 0 0 14px; }
.nyep__lead { max-width: 560px; margin: 0 auto; color: rgba(255,248,239,.85); }

/* Booking card */
.nyep__book { position: relative; z-index: 2; width: min(1040px, calc(100% - 2 * var(--gutter))); margin: -40px auto clamp(70px, 9vw, 120px); background: var(--cream); border-radius: 14px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.45); border: 1px solid var(--line); overflow: hidden; overflow: clip; }
.nyep__steps { padding-left: clamp(20px, 4vw, 44px); padding-right: clamp(20px, 4vw, 44px); }
.nstep { border: 0; margin: 0; padding: clamp(24px, 4vw, 44px); display: none; min-width: 0; }
.nstep.is-active { display: block; animation: stepIn .6s var(--ease); }
.nyep__foot { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(20px, 4vw, 44px) 26px; border-top: 1px solid var(--line); }
.nyep__foot [data-prev] { visibility: hidden; }
.nyep__foot.has-prev [data-prev] { visibility: visible; }
.nyep__foot[hidden] { display: none; }

/* Zones */
.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.zone { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.zone input { position: absolute; opacity: 0; pointer-events: none; }
.zone:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.zone.is-selected { border-color: var(--accent-dark); box-shadow: 0 0 0 2px var(--accent-dark), 0 20px 40px -24px rgba(0,0,0,.35); }
.zone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.zone.is-off { cursor: not-allowed; opacity: .55; }
.zone.is-off:hover { transform: none; box-shadow: none; }
.zone__photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--cream-2); overflow: hidden; }
.zone__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.zone:hover .zone__photo img { transform: scale(1.04); }
.zone__nophoto { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--mute); background: repeating-linear-gradient(135deg, var(--cream-2) 0 14px, var(--cream-3) 14px 28px); }
.zone__nophoto svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.zone__nophoto span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; }
.zone__badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-style: normal; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.zone__body { display: grid; gap: 6px; padding: 20px 22px 22px; }
.zone__name { font: 400 1.6rem/1.15 var(--display); }
.zone__desc { color: var(--ink-2); font-size: .92rem; }
.zone__price { margin-top: 6px; }
.zone__price strong { font-weight: 500; font-size: 1.2rem; color: var(--accent-dark); }
.zone__price small { color: var(--mute); font-size: .82rem; }
.zone__cta { margin-top: 10px; justify-self: start; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; transition: .3s; }
.zone.is-selected .zone__cta { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }

/* Step 2 */
.nyep__chosen { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding: 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; max-width: 420px; }
.nyep__chosen img { width: 84px; height: 56px; object-fit: cover; border-radius: 6px; }
.nyep__chosen small { display: block; font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.nyep__chosen strong { font-weight: 400; font-size: 1.1rem; }
.nyep__chosen:empty { display: none; }
.nyep__date { margin: 0; font: 400 1.4rem/1.3 var(--display); }
.nyep__total { display: grid; gap: 2px; margin-top: 6px; padding: 18px 20px; border-radius: 10px; background: var(--accent-dark); color: #fff; max-width: 420px; }
.nyep__total span { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.nyep__total strong { font: 400 2rem/1.1 var(--display); }
.nyep__total small { opacity: .75; font-size: .85rem; }

/* Done */
.nstep--done { text-align: center; }
.nstep--done > .mute { max-width: 560px; margin: 10px auto 24px; }
.nstep--done .ticket { text-align: left; max-width: 560px; margin: 28px auto 0; }
.nstep--done.is-active .done__icon circle { animation: draw .9s var(--ease) forwards; }
.nstep--done.is-active .done__icon path { animation: draw .6s var(--ease) .6s forwards; }

@media (max-width: 720px) {
  .nyep__bar { grid-template-columns: auto 1fr auto; }
  .nyep__back span { display: none; }
  .nyep__logo { justify-self: center; }
  .nyep__logo img { height: 36px; }
  .nyep__hero { min-height: 560px; }
  .zones { grid-template-columns: 1fr; }
  .nyep__book { width: calc(100% - 24px); margin-top: -30px; }
  .nyep__steps li em { display: none; }
  .nyep__steps li.is-active em { display: inline; }
  .nyep__foot { position: sticky; bottom: 0; z-index: 3; background: var(--cream); padding-bottom: calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 24px -16px rgba(0,0,0,.3); }
  .nyep__foot .pill { flex: 0 1 auto; }
  .nyep .slot { flex: 1 0 calc(25% - 8px); min-width: 0; padding: 10px 6px; }
}
html[lang="th"] :is(.nyep__back, .nyep__tags, .zone__cta, .zone__nophoto span, .nyep__total span, .nyep__chosen small) { letter-spacing: .04em; font-size: .8rem; }

/* =========================================================
   v7 — split hero, grouped zones, adults/children, menu
   ========================================================= */
.nyep__hero { min-height: auto; display: block; }
.nyep__hero::after { display: none; }
.nyep__herobg { position: absolute; inset: 0; }
.nyep__herobg img { width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.45) saturate(1.2); transform: scale(1.1); }
.nyep__heroin { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: calc(110px + env(safe-area-inset-top)) var(--gutter) 90px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.nyep__herotxt { padding: 0; text-align: left; max-width: none; margin: 0; }
.nyep__herotxt .kicker { justify-content: flex-start; }
.nyep__lead { margin: 0; }
.nyep__herocta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nyep__poster { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); cursor: zoom-in; transform: rotate(1.5deg); transition: transform .8s var(--ease); max-width: 440px; justify-self: center; }
.nyep__poster:hover { transform: rotate(0) scale(1.02); }
.nyep__poster img { width: 100%; height: auto; }
.nyep__book { margin-top: -50px; scroll-margin-top: 16px; }

/* Zone groups */
.zgroups { display: grid; gap: clamp(36px, 5vw, 56px); }
.zgroup__head { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-bottom: 20px; }
.zgroup__poster { display: block; border-radius: 8px; overflow: hidden; cursor: zoom-in; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.zgroup__poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.zgroup__title { margin: 0 0 6px; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--display); }
.zgroup__desc { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 560px; }
.zgroup .zones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zgroup--restaurant .zones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zone__photo { aspect-ratio: 4 / 5; }
.zone__photo img { object-position: top center; }
.zgroup--beach .zone__photo { aspect-ratio: 16 / 11; }
.zgroup--beach .zone__photo img { object-position: 50% 30%; }
.zone__body { padding: 16px 16px 18px; gap: 4px; }
.zone__name { font-size: 1.35rem; }
.zone__desc { font-size: .86rem; line-height: 1.45; }
.zone__price strong { font-size: 1.1rem; }
.zone__cta { padding: 8px 14px; font-size: .6rem; }
.nyep__childnote { margin: 26px 0 0; padding: 12px 16px; border-radius: 8px; background: var(--cream-2); font-size: .9rem; color: var(--ink-2); display: inline-block; }

/* Step 2 */
.nyep__chosen span { display: block; font-size: .85rem; color: var(--mute); }
.nyep__chosen img { object-position: top; }
.nyep__counts { display: flex; flex-wrap: wrap; gap: 0 40px; }
.nyep__counts .field { margin-bottom: 18px; }
[data-wine-field] .tags { margin-bottom: 4px; }
[data-wine-field][hidden] { display: none; }
.nyep__total small { white-space: normal; }

/* WhatsApp button */
.pill--wa { background: #1FA855 !important; color: #fff !important; box-shadow: 0 10px 26px -10px rgba(31,168,85,.7) !important; }
.pill--wa:hover { background: #178A45 !important; }

/* Menu */
.nyep__menu { max-width: 1180px; margin: 0 auto clamp(80px, 10vw, 130px); padding: 0 var(--gutter); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; scroll-margin-top: 16px; }
.nyep__menutxt p { color: var(--ink-2); }
.nyep__inc { display: inline-block; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: var(--accent-dark); color: #fff !important; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.nyep__menuimg { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.4); cursor: zoom-in; border: 1px solid var(--line); }
.nyep__menuimg img { width: 100%; height: auto; }
.lightbox img { max-height: 86vh; width: auto; }

@media (max-width: 1100px) {
  .zgroup--restaurant .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nyep__heroin { grid-template-columns: 1fr; text-align: center; padding-bottom: 80px; }
  .nyep__herotxt { text-align: center; }
  .nyep__herotxt .kicker { justify-content: center; }
  .nyep__herocta { justify-content: center; }
  .nyep__poster { max-width: 340px; transform: none; }
  .nyep__menu { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nyep__heroin { padding-top: calc(84px + env(safe-area-inset-top)); gap: 28px; }
  .nyep__herocta .pill { flex: 1 1 100%; }
  .nyep__poster { max-width: 78vw; }
  .zgroup__head { grid-template-columns: 96px 1fr; gap: 14px; }
  .zgroup .zones, .zgroup--restaurant .zones { grid-template-columns: 1fr 1fr; gap: 10px; }
  .zgroup--beach .zones { grid-template-columns: 1fr; }
  .zgroup--beach .zone { flex-direction: row; }
  .zgroup--beach .zone__photo { aspect-ratio: auto; width: 38%; flex: none; }
  .zone__body { padding: 12px; }
  .zone__name { font-size: 1.15rem; }
  .zone__desc { font-size: .8rem; }
  .zone__cta { margin-top: 6px; }
  .nyep__counts { gap: 0 20px; }
  .nyep__foot .pill { white-space: nowrap; }
}
@media (max-width: 380px) {
  .zgroup .zones, .zgroup--restaurant .zones { grid-template-columns: 1fr; }
}
