/* Sự kiện True Cafe — event.truefood.vn. Phong cách đồng bộ trang bán hàng: chữ lớn, ảnh lớn, nền tối / sáng xen kẽ, khoảng trắng rộng */
body.ev { background: #fff; }
.ev .topbar { background: rgba(11, 7, 8, .72); border-bottom-color: rgba(255,255,255,.08); }
.ev .topbar .nav__logo img { filter: brightness(0) invert(1); }
.ev .topbar .btn { background: #fff; color: #1d1d1f; }
.ev-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.ev-load { padding: 80px 20px; text-align: center; color: var(--muted); }

/* hero tối + sự kiện nổi bật */
.ev-hero { background: var(--dark); color: #f5f5f7; padding: 72px 0 56px; text-align: center; }
.ev-eyebrow { font: 600 15px var(--sans); color: var(--gold); letter-spacing: .02em; margin: 0 0 10px; }
.ev-hero h1 { font-size: clamp(40px, 8vw, 80px); line-height: 1.04; letter-spacing: -.035em; margin: 0 auto 16px; max-width: 900px; }
.ev-hero h1 span { color: #86868b; }
.ev-hero p.lead { font-size: clamp(18px, 2.4vw, 23px); color: #a1a1a6; max-width: 640px; margin: 0 auto 28px; line-height: 1.4; }
.ev-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 26px; border-radius: 980px; background: var(--brand); color: #fff !important; font: 600 17px var(--sans); text-decoration: none !important; border: 0; cursor: pointer; transition: background .2s; }
.ev-btn:hover { background: var(--brand-hover); }
.ev-btn--ghost { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.ev-btn--light { background: rgba(255,255,255,.14); color: #fff !important; }
.ev-btn[disabled] { opacity: .5; cursor: default; }

.ev-feat { position: relative; display: block; max-width: 1100px; margin: 48px auto 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; color: #fff !important; text-decoration: none !important; text-align: left; background: #2a1d1f; }
.ev-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .8s var(--ease); }
.ev-feat:hover img { transform: scale(1.04); }
.ev-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78) 100%); }
.ev-feat__in { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 4vw, 44px); display: grid; gap: 8px; }
.ev-feat__tag { justify-self: start; padding: 5px 12px; border-radius: 980px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 600 13px var(--sans); }
.ev-feat h2 { font-size: clamp(26px, 4.6vw, 48px); line-height: 1.06; margin: 0; letter-spacing: -.03em; max-width: 820px; }
.ev-feat__meta { font-size: clamp(15px, 1.8vw, 19px); color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .ev-feat { aspect-ratio: 4 / 5; border-radius: 22px; margin-left: 16px; margin-right: 16px; } }

/* danh sách */
.ev-sec { padding: 64px 0; }
.ev-sec--gray { background: var(--gray); }
.ev-sec h2.ev-h { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.03em; margin: 0 0 8px; }
.ev-sec p.ev-sub { color: var(--muted); font-size: 19px; margin: 0 0 32px; }
.ev-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ev-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 24px; overflow: hidden; color: var(--ink) !important; text-decoration: none !important; box-shadow: 0 4px 24px rgba(0,0,0,.06); transition: transform .3s var(--ease), box-shadow .3s; }
.ev-sec--gray .ev-card { box-shadow: none; }
.ev-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.1); }
.ev-card__img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #8e1f2c, #c88c00); }
.ev-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-day { position: absolute; left: 14px; top: 14px; display: grid; justify-items: center; min-width: 54px; padding: 6px 8px 7px; border-radius: 14px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); line-height: 1; }
.ev-day b { font-size: 24px; letter-spacing: -.02em; } .ev-day small { font: 700 11px var(--sans); color: var(--brand); text-transform: uppercase; margin-top: 3px; }
.ev-card__body { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.ev-card__body b { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.ev-card__body span { color: var(--muted); font-size: 15px; }
.ev-chip { justify-self: start; margin-top: 6px; padding: 4px 11px; border-radius: 980px; background: rgba(36, 138, 61, .1); color: var(--ok); font: 600 13px var(--sans); }
.ev-chip.is-off { background: rgba(142,31,44,.08); color: var(--brand); }
.ev-past .ev-card { opacity: .62; }

/* lý do tham gia */
.ev-why { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ev-why div { display: grid; gap: 8px; }
.ev-why svg { color: var(--brand); }
.ev-why b { font-size: 21px; letter-spacing: -.02em; }
.ev-why p { margin: 0; color: var(--muted); }

/* trang sự kiện */
.ev-cover { position: relative; aspect-ratio: 21 / 9; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #8e1f2c, #c88c00); margin-top: 28px; }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .ev-cover { aspect-ratio: 4 / 3; border-radius: 22px; } }
.ev-back { display: inline-block; margin-top: 22px; font-weight: 600; }
.ev-d { display: grid; gap: 40px; padding: 36px 0 80px; }
@media (min-width: 960px) { .ev-d { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .ev-side { position: sticky; top: calc(var(--nav-h) + 20px); } }
.ev-d h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 10px; }
.ev-lede { font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); line-height: 1.4; margin: 0 0 28px; }
.ev-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hair); border-radius: 20px; overflow: hidden; margin-bottom: 36px; }
@media (min-width: 700px) { .ev-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ev-facts div { background: var(--gray); padding: 16px 18px; display: grid; gap: 4px; }
.ev-facts small { font: 600 12px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ev-facts b { font-size: 17px; line-height: 1.3; }
.ev-facts a { font-size: 14px; font-weight: 600; }
.ev-body h3 { font-size: 26px; letter-spacing: -.025em; margin: 34px 0 14px; }
.ev-body p { font-size: 18px; line-height: 1.6; margin: 0 0 14px; color: #333336; }
.ev-body ul.ev-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.ev-body ul.ev-list li { position: relative; padding-left: 30px; font-size: 18px; line-height: 1.5; }
.ev-body ul.ev-list li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.ev-agenda { list-style: none; padding: 0; margin: 0 0 14px; border-left: 2px solid var(--line); }
.ev-agenda li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 0 0 18px 20px; font-size: 17px; line-height: 1.45; }
.ev-agenda li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--brand); }
.ev-agenda time { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }

.ev-form { background: #fff; border-radius: 24px; padding: 24px; display: grid; gap: 12px; box-shadow: 0 8px 40px rgba(0,0,0,.08); border: 1px solid var(--hair); }
.ev-form h2 { font-size: 24px; margin: 0; letter-spacing: -.02em; }
.ev-form .ev-price { font-size: 15px; color: var(--muted); margin: -6px 0 4px; }
.ev-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ev-form input, .ev-form select { font: 17px var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ev-form input:focus, .ev-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(142,31,44,.12); }
.ev-form .hp { position: absolute; left: -9999px; }
.ev-form .ev-btn { width: 100%; }
.ev-seat { height: 6px; border-radius: 3px; background: var(--gray); overflow: hidden; }
.ev-seat i { display: block; height: 100%; background: var(--brand); }
.ev-msg { color: var(--err); font-size: 14px; min-height: 1em; margin: 0; }
.ev-alt { font-size: 14px; color: var(--muted); text-align: center; margin: 0; }
/* điện thoại: thanh đăng ký nổi */
.ev-sticky { display: none; }
@media (max-width: 959px) {
  .ev-sticky { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 980px; background: rgba(29,29,31,.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #fff; }
  .ev-sticky span { font-size: 14px; line-height: 1.3; } .ev-sticky b { display: block; font-size: 15px; }
  .ev-sticky .ev-btn { min-height: 42px; padding: 0 20px; font-size: 15px; }
  body.ev { padding-bottom: 80px; }
}

/* vé */
.ev-ticket { max-width: 420px; margin: 40px auto 80px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #8e1f2c, #4d0f17); color: #fff; box-shadow: 0 20px 60px rgba(142,31,44,.35); }
.ev-ticket__top { padding: 22px 24px 18px; display: grid; gap: 6px; }
.ev-ticket__top small { font: 700 11px var(--sans); letter-spacing: .14em; opacity: .85; }
.ev-ticket__top h1 { font-size: 26px; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.ev-ticket__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; font-weight: 600; font-size: 15px; margin-top: 6px; }
.ev-ticket__row small { display: block; font: 600 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.ev-ticket__qr { background: #fff; color: var(--ink); margin: 0 14px 14px; border-radius: 20px; padding: 20px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.ev-qr { width: 220px; height: 220px; } .ev-qr svg { width: 100%; height: 100%; }
.ev-code { font: 700 20px ui-monospace, Menlo, monospace; letter-spacing: .1em; color: var(--brand); }
.ev-ticket__acts { display: grid; gap: 10px; padding: 0 14px 18px; }
.ev-ticket__acts .ev-btn { width: 100%; background: #fff; color: var(--brand) !important; }
.ev-ticket__acts .ev-btn--light { background: rgba(255,255,255,.14); color: #fff !important; }
.ev-ticket p { margin: 0; }
.ev-foot { background: var(--gray); text-align: center; color: var(--muted); font-size: 13px; padding: 28px 16px 40px; }
.ev-seat .w0 { width: 0% } .ev-seat .w5 { width: 5% } .ev-seat .w10 { width: 10% } .ev-seat .w15 { width: 15% } .ev-seat .w20 { width: 20% } .ev-seat .w25 { width: 25% } .ev-seat .w30 { width: 30% } .ev-seat .w35 { width: 35% } .ev-seat .w40 { width: 40% } .ev-seat .w45 { width: 45% } .ev-seat .w50 { width: 50% } .ev-seat .w55 { width: 55% } .ev-seat .w60 { width: 60% } .ev-seat .w65 { width: 65% } .ev-seat .w70 { width: 70% } .ev-seat .w75 { width: 75% } .ev-seat .w80 { width: 80% } .ev-seat .w85 { width: 85% } .ev-seat .w90 { width: 90% } .ev-seat .w95 { width: 95% } .ev-seat .w100 { width: 100% } 
.ev .topbar .btn { min-height: 0; padding: 6px 14px; font-size: 14px; border-radius: 980px; }
.ev-d .ev-eyebrow { color: var(--brand); }
