/*
 * Event page — Template 2 ("Market Day")
 * File: /public/assets/event-template-2.css   (markup: /views/events/show-2.php)
 *
 * Ported from the Zinifly Event Template export (2026-11-04). Everything is scoped under
 * .e2 and prefixed e2- so it never touches the tenant's site header/footer, Tailwind, or
 * the reused booking modal. Colours come from --e2-* variables that show-2.php derives
 * from the market's primary colour; the cream paper and the fonts are the design's own.
 * Linked through zinAssetUrl() — /public/assets is served immutable for a year.
 */

.e2 {
  --e2-primary: #214d3f; --e2-on-primary: #fff; --e2-primary-text: #214d3f; --e2-deep: #173a30;
  --e2-soft: #edf1e9; --e2-ink: #26392e; --e2-muted: #6b7168; --e2-line: #dfe2d7; --e2-line2: #cfd6c4;
  --e2-band: #eef0e7; --e2-band2: #f1f0e8; --e2-dot: #879b79;
  --e2-paper: #faf8f2; --e2-white: #fffefb; --e2-rust: #a34b39; --e2-gold: #a47c34;
  --e2-serif: 'DM Serif Display', Georgia, serif; --e2-sans: 'DM Sans', Arial, sans-serif;
  --e2-shadow: 0 16px 42px rgba(36, 61, 48, .07);
  --e2-sticky-top: 64px;
  background: var(--e2-paper); color: var(--e2-ink);
  font: 15px/1.6 var(--e2-sans); -webkit-font-smoothing: antialiased;
}
.e2-body { background: var(--e2-paper, #faf8f2); }
html { scroll-behavior: smooth; }
.e2 *, .e2 *::before, .e2 *::after { box-sizing: border-box; }
.e2 [hidden] { display: none !important; }
/* Element resets use :where() so they weigh exactly one class (0,1,0): enough to beat
   Tailwind's preflight, never enough to beat a component class such as .e2-btn--outline. */
.e2 :where(a) { color: inherit; text-decoration: none; }
.e2 :where(button, input, select) { font: inherit; color: inherit; }
.e2 :where(button) { border: 0; background: none; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.e2 :where(button:disabled) { cursor: not-allowed; opacity: .55; }
.e2 :where(img) { display: block; max-width: 100%; }
.e2 h1, .e2 h2, .e2 h3, .e2 p { margin-top: 0; }
.e2 h1, .e2 h2 { font-family: var(--e2-serif); font-weight: 400; letter-spacing: -1.8px; color: var(--e2-ink); }
.e2 h1 em, .e2 h2 em { font-style: italic; font-weight: 400; color: var(--e2-primary-text); }
.e2 h2 { font-size: 48px; line-height: 1.12; margin-bottom: 20px; }
.e2 h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; color: var(--e2-ink); }
.e2 button:focus-visible, .e2 a:focus-visible, .e2 input:focus-visible, .e2 summary:focus-visible { outline: 3px solid #bb7836; outline-offset: 4px; }
.e2-i { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: block; }

.e2-shell { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.e2-pad { padding-block: 82px; }
.e2-eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 700; margin: 0 0 15px; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; color: var(--e2-ink); }
.e2-subtle { color: var(--e2-muted); }
.e2-small { font-size: 11px !important; line-height: 1.8; }

/* ---- Buttons & links ---- */
.e2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 7px; font-weight: 600; font-size: 13px; line-height: 1.5; transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.e2-btn .e2-i { width: 18px; height: 18px; }
.e2-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(22, 58, 48, .07); }
.e2-btn--primary { background: var(--e2-primary); color: var(--e2-on-primary) !important; }
.e2-btn--primary:hover { background: var(--e2-deep); color: #fff !important; }
.e2-btn--outline { border-color: var(--e2-line2); background: transparent; }
.e2-btn--outline:hover { background: var(--e2-soft); }
.e2-btn--full { width: 100%; }
.e2-btn:disabled { transform: none; box-shadow: none; }
.e2-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--e2-line2) !important; border-radius: 7px; background: transparent; flex-shrink: 0; }
.e2-icon-btn:hover { background: var(--e2-soft); }
.e2-text-btn { display: inline-flex; gap: 7px; align-items: center; padding: 9px 0; min-height: 44px; font-size: 12px; font-weight: 600; }
.e2-text-btn .e2-i { width: 17px; height: 17px; }
.e2-visit-count { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 10px; background: var(--e2-primary); color: var(--e2-on-primary); min-width: 17px; height: 17px; padding: 0 5px; line-height: 1; }
.e2-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; border-bottom: 1px solid currentColor !important; padding: 3px 0; line-height: 1.7; color: var(--e2-ink); }
.e2-link .e2-i { width: 17px; height: 17px; }

/* ---- Hero ---- */
.e2-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 68px; padding-top: 34px; padding-bottom: 48px; min-height: 641px; align-items: stretch; }
.e2-hero-copy { padding-top: 2px; min-width: 0; }
.e2-crumbs { font-size: 11px; color: var(--e2-muted); display: flex; gap: 9px; align-items: center; margin-bottom: 32px; min-width: 0; }
.e2-crumbs .e2-i { width: 12px; height: 12px; }
.e2-crumbs a:hover { text-decoration: underline; }
.e2-crumbs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e2-star { font-size: 20px; line-height: 1; color: var(--e2-rust); }
.e2-status { font-size: 9px; letter-spacing: 1.2px; border-left: 1px solid var(--e2-line2); padding-left: 10px; color: var(--e2-muted); }
.e2 .e2-title { font-size: clamp(60px, 6.5vw, 93px); line-height: 1.02; margin: 0 0 23px; overflow-wrap: anywhere; }
.e2 .e2-title--lg { font-size: clamp(50px, 5.2vw, 74px); line-height: 1.04; }
.e2 .e2-title--xl { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.07; letter-spacing: -1.2px; }
.e2-lead { font-size: 15px; max-width: 420px; line-height: 1.8; color: var(--e2-muted); margin-bottom: 26px; }
.e2-facts { display: grid; gap: 15px; margin-bottom: 27px; }
.e2-facts > div { display: flex; gap: 12px; align-items: flex-start; }
.e2-facts > div > .e2-i { color: var(--e2-primary-text); margin-top: 3px; }
.e2-facts p { margin: 0; line-height: 1.6; font-size: 12px; min-width: 0; }
.e2-facts strong { display: block; font-size: 13px; font-weight: 650; }
.e2-facts p span { color: var(--e2-muted); font-size: 11.5px; }
.e2-hero-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.e2-hero-actions .e2-btn { padding: 13px 17px; font-size: 12px; }
.e2-hero-actions .e2-icon-btn { height: 50px; min-width: 44px; }
.e2-hero-note { display: flex; gap: 7px; align-items: center; color: var(--e2-muted); font-size: 11px; margin: 17px 0 0; }
.e2-hero-note .e2-i { width: 14px; height: 14px; color: var(--e2-gold); }
.e2-visual { position: relative; min-height: 552px; border-radius: 110px 12px 12px 12px; overflow: hidden; background: var(--e2-deep); }
.e2-visual-img { width: 100%; height: 100% !important; object-fit: cover; position: absolute; inset: 0; }
.e2-visual::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 26, 20, .72)); pointer-events: none; }
.e2-visual--plain { background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--e2-primary) 70%, #fff 0%) 0%, var(--e2-deep) 70%); background-color: var(--e2-deep); }
.e2-visual--plain::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.e2-visual-mark { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font: 180px/1 var(--e2-serif); color: rgba(255, 249, 233, .16); }
.e2-stamp { position: absolute; right: 25px; top: 24px; z-index: 1; background: var(--e2-paper); color: var(--e2-ink); padding: 12px 17px 11px; border-radius: 5px; transform: rotate(5deg); text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .13); }
.e2-stamp span { display: block; font-size: 9px; letter-spacing: 1.5px; font-weight: 650; }
.e2-stamp strong { font: 48px/1.13 var(--e2-serif); display: block; font-weight: 400; white-space: nowrap; }
.e2-caption { position: absolute; bottom: 40px; left: 32px; right: 32px; z-index: 1; color: #fff9e9; display: flex; gap: 13px; align-items: center; }
.e2-caption-star { font: 48px var(--e2-serif); line-height: 1; }
.e2-caption div > span { display: block; font-size: 12px; letter-spacing: .4px; }
.e2-caption strong { font: 32px/1.3 var(--e2-serif); font-weight: 400; display: block; }

/* ---- Sticky section bar (sits under the site's sticky header) ---- */
.e2-secnav-wrap { position: sticky; top: var(--e2-sticky-top); z-index: 40; background: rgba(250, 248, 242, .96); border-top: 1px solid var(--e2-line); border-bottom: 1px solid var(--e2-line); }
.e2-secnav { height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.e2-secnav-links { display: flex; gap: 34px; align-self: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.e2-secnav-links::-webkit-scrollbar { display: none; }
.e2-secnav-links a { display: flex; align-items: center; font-size: 12.5px; position: relative; color: var(--e2-muted); font-weight: 550; white-space: nowrap; }
.e2-secnav-links a.is-active { color: var(--e2-primary-text); font-weight: 700; }
.e2-secnav-links a.is-active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--e2-primary); }
.e2-secnav-tools { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }

/* ---- Highlights ---- */
.e2-highlights { display: grid; grid-template-columns: repeat(var(--e2-hl-cols, 4), minmax(0, 1fr)); padding-block: 32px; gap: 24px; }
.e2-highlights > div { display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--e2-line); padding-right: 13px; min-width: 0; }
.e2-highlights > div:last-child { border: 0; padding-right: 0; }
.e2-hl-icon { width: 40px; height: 44px; color: var(--e2-primary-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.e2-hl-icon .e2-i { width: 30px; height: 30px; stroke-width: 1.3; }
.e2-highlights p { margin: 0; font-size: 11.5px; line-height: 1.7; min-width: 0; }
.e2-highlights strong { display: block; font-size: 12.5px; font-weight: 650; }
.e2-highlights p span { color: var(--e2-muted); display: block; overflow: hidden; text-overflow: ellipsis; }
.e2-highlights-spacer { height: 16px; }

/* ---- About ---- */
/* Paper sections that follow another paper section get a hairline; after a band they do not. */
.e2 > section.e2-shell + section.e2-shell:not(.e2-invite) { border-top: 1px solid var(--e2-line); }
.e2 > section.e2-vendors + section.e2-shell { border-top: 0; } /* the vendor footer already draws one */
.e2-about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 95px; }
.e2-about-text { font-size: 15px; line-height: 1.9; color: var(--e2-muted); }

/* ---- What's on ---- */
.e2-band { background: var(--e2-band); border-block: 1px solid var(--e2-line); }
.e2-schedule { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 95px; }
.e2-intro > p:not(.e2-eyebrow) { font-size: 14px; color: var(--e2-muted); max-width: 340px; line-height: 1.9; }
.e2-note { display: flex; gap: 12px; margin: 32px 0 23px; max-width: 333px; background: color-mix(in srgb, var(--e2-paper) 70%, #fff); border: 1px solid var(--e2-line2); border-radius: 9px; padding: 20px; }
.e2-note > .e2-i { color: var(--e2-gold); align-self: flex-start; margin-top: 3px; }
.e2-note strong { font-size: 12.5px; }
.e2-note p { font-size: 11.5px; line-height: 1.8; color: var(--e2-muted); margin: 5px 0 0; }
.e2-note--wide { max-width: none; margin: 0 0 24px; }
.e2-day-tabs { margin-bottom: 18px; }
.e2-tl-label { font-size: 10px; letter-spacing: 1.2px; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--e2-line2); padding: 0 0 15px; }
.e2-tl-label > span { font-size: 9px; color: var(--e2-muted); font-weight: 500; }
.e2-tl-item { display: grid; grid-template-columns: 82px 14px minmax(0, 1fr) 28px; gap: 14px; position: relative; padding: 25px 0 19px; }
.e2-tl-item::after { content: ''; width: 1px; background: var(--e2-line2); position: absolute; top: 37px; bottom: -37px; left: 102px; }
.e2-tl-item:last-of-type::after { display: none; }
.e2-tl-time { font-size: 22px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.e2-tl-time small { font-size: 10px; }
.e2-tl-time > span { display: block; font-size: 10px; color: var(--e2-muted); }
.e2-tl-dot { height: 9px; width: 9px; border: 2px solid var(--e2-dot); background: var(--e2-band); border-radius: 50%; margin-top: 11px; position: relative; z-index: 1; }
.e2-tl-item.is-featured .e2-tl-dot { background: var(--e2-primary); border-color: var(--e2-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--e2-primary) 18%, transparent); }
.e2-mini { font-size: 9px; letter-spacing: 1.4px; color: var(--e2-muted); font-weight: 650; }
.e2 .e2-tl-content h3 { font: 24px/1.3 var(--e2-serif); letter-spacing: -.2px; margin: 2px 0 8px; }
.e2-tl-content p { font-size: 12px; color: var(--e2-muted); line-height: 1.8; margin-bottom: 0; max-width: 360px; }
.e2-tl-content .e2-link { font-size: 11px; margin-top: 11px; min-height: 29px; }
.e2-tl-content .e2-link[aria-pressed="true"] { color: var(--e2-primary-text); }
.e2-tl-icon { align-self: start; padding-top: 8px; color: var(--e2-dot); }
.e2-tl-icon .e2-i { width: 22px; height: 22px; stroke-width: 1.2; }
.e2-tl-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--e2-line2); margin: 12px 0 0; padding-top: 18px; font-size: 11px; color: var(--e2-muted); }
.e2-tl-foot .e2-i { width: 17px; height: 17px; flex-shrink: 0; }

/* ---- Section headings ---- */
.e2-sechead { display: flex; justify-content: space-between; gap: 48px; align-items: flex-end; margin-bottom: 30px; }
.e2 .e2-sechead h2 { margin-bottom: 0; }
.e2-sechead-aside { max-width: 320px; padding-bottom: 3px; }
.e2-sechead-aside > p { font-size: 12.5px; line-height: 1.9; color: var(--e2-muted); margin-bottom: 13px; }

/* ---- Chips, search ---- */
.e2-vtools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.e2-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.e2-vdays { margin-bottom: 12px; }
.e2-chip { border: 1px solid var(--e2-line2) !important; border-radius: 24px; padding: 10px 17px !important; font-size: 11.5px; line-height: 1.4; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.e2-chip .e2-i { width: 13px; height: 13px; }
.e2-chip.is-active { background: var(--e2-primary); color: var(--e2-on-primary); border-color: var(--e2-primary) !important; }
.e2-chip:not(.is-active):hover { background: var(--e2-soft); }
.e2-search { display: flex; align-items: center; border: 1px solid var(--e2-line2); gap: 9px; padding: 8px 12px; border-radius: 7px; min-width: 256px; background: transparent; }
.e2-search .e2-i { width: 16px; height: 16px; color: var(--e2-muted); }
.e2-search input { border: 0; background: none; outline: none; font-size: 12px; padding: 4px 0; width: 100%; color: var(--e2-ink); }
.e2-search:focus-within { outline: 2px solid var(--e2-primary); outline-offset: 2px; }

/* ---- Vendor / lineup cards ---- */
.e2-vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.e2-vcard { min-width: 0; }
.e2-vphoto { aspect-ratio: 1.15; position: relative; overflow: hidden; border-radius: 10px; background: var(--e2-soft); }
.e2-vphoto-open { width: 100%; height: 100%; display: block; }
.e2-vimg { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.e2-vimg.is-logo { object-fit: contain; padding: 18%; background: var(--e2-white); }
.e2-vcard:hover .e2-vimg { transform: scale(1.05); }
.e2-vmono { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 44px/1 var(--e2-serif); color: var(--e2-primary-text); background: linear-gradient(140deg, var(--e2-soft), color-mix(in srgb, var(--e2-soft) 60%, var(--e2-primary) 14%)); }
.e2-heart { position: absolute; right: 11px; top: 11px; border-radius: 50%; height: 35px; width: 35px; background: rgba(255, 255, 255, .95) !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(33, 58, 36, .08); }
.e2-heart .e2-i { width: 17px; height: 17px; }
.e2-heart[aria-pressed="true"] { color: #9d4434; }
.e2-heart[aria-pressed="true"] .e2-i { fill: #9d4434; }
.e2-vcat { position: absolute; bottom: 12px; left: 12px; max-width: calc(100% - 24px); border-radius: 4px; padding: 4px 8px; background: rgba(255, 253, 243, .92); font-size: 10px; font-weight: 550; display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.e2-vcat .e2-i { width: 12px; height: 12px; }
.e2 .e2-vcard h3 { font-size: 16px; margin: 15px 0 5px; letter-spacing: -.2px; }
.e2-vname { text-align: left; }
.e2-vcard h3 a:hover, .e2-vname:hover { text-decoration: underline; }
.e2-vcard p { font-size: 12px; color: var(--e2-muted); line-height: 1.7; margin: 0 0 10px; }
.e2-vlink { font-size: 11px; display: inline-flex; align-items: center; gap: 5px; color: var(--e2-primary-text); font-weight: 600; min-height: 30px; }
.e2-vlink .e2-i { width: 13px; height: 13px; }
.e2-vfoot { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; border-top: 1px solid var(--e2-line); padding-top: 16px; font-size: 10.5px; color: var(--e2-muted); }
.e2-vfoot > span:last-child { display: flex; gap: 5px; align-items: center; }
.e2-vfoot .e2-i { width: 12px; height: 12px; }
.e2-empty { text-align: center; border: 1px dashed var(--e2-line2); border-radius: 10px; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; }
.e2-empty > .e2-i { margin-bottom: 10px; }
.e2-empty p { font-size: 13px; color: var(--e2-muted); }

/* ---- Custom section ---- */
.e2-custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 68px; align-items: center; }
.e2-custom-grid.is-text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.e2-custom-text { font-size: 14px; line-height: 1.9; color: var(--e2-muted); }
.e2-custom-img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 80px 12px 12px 12px; }
.e2-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.e2-gallery-item { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--e2-soft); }
.e2-gallery-item img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.e2-gallery-item:hover img { transform: scale(1.05); }
.e2-gallery-item span { position: absolute; left: 10px; bottom: 10px; right: 10px; text-align: left; font-size: 10.5px; background: rgba(255, 253, 243, .92); border-radius: 4px; padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Market map: the real floor plan (components/venue.php) restyled ---- */
.e2-mapband { background: var(--e2-band2); border-block: 1px solid var(--e2-line); }
.e2-mapband #venueFloorPlanSection { padding: 0 !important; background: none !important; }
.e2-mapband #venueFloorPlanSection > .container { max-width: none; padding: 0 !important; margin: 0; width: auto; }
.e2-mapband #venueFloorPlanSection > .container > .text-center:first-child { display: none; }
.e2-mapband #venueLayoutSection { max-width: none; margin: 0 !important; }
.e2-mapband #venueLayoutLoading { border-radius: 12px !important; box-shadow: none !important; border: 1px solid var(--e2-line2) !important; }
.e2-mapband #venueLayoutContainer { background: var(--e2-white) !important; border: 1px solid var(--e2-line2) !important; border-radius: 12px !important; box-shadow: none !important; padding: 0 !important; overflow: hidden; font-family: var(--e2-sans); color: var(--e2-ink); }
.e2-mapband #venueLayoutContainer > .mb-6:first-child { margin: 0 !important; padding: 14px 18px !important; border-color: var(--e2-line2) !important; }
.e2-mapband #venueLayoutTitle { font: 24px/1.25 var(--e2-serif) !important; letter-spacing: -.3px; color: var(--e2-ink) !important; }
.e2-mapband #venueLayoutInfo { color: var(--e2-muted) !important; font-size: 12px !important; }
.e2-mapband #venueLayoutContainer button[onclick^="venueZoom"], .e2-mapband #venueLayoutContainer button[onclick^="venueFit"] { background: var(--e2-white) !important; border: 1px solid var(--e2-line2) !important; border-radius: 7px !important; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.e2-mapband #venueLayoutContainer button[onclick^="venueZoom"]:hover, .e2-mapband #venueLayoutContainer button[onclick^="venueFit"]:hover { background: var(--e2-soft) !important; }
.e2-mapband #venueLayoutContainer button i { color: var(--e2-ink) !important; }
.e2-mapband #venueDaySelectorContainer, .e2-mapband .venue-workspace { padding: 16px 18px 18px; }
.e2-mapband #venueDaySelectorContainer { margin: 0 !important; padding-bottom: 0; }
.e2-mapband #venueLayoutViewport { border: 1px solid var(--e2-line) !important; border-radius: 10px !important; background: color-mix(in srgb, var(--e2-band) 70%, #fff) !important; }
.e2-mapband .venue-vendor-panel { font-family: var(--e2-sans); }
.e2-mapband .vvp-title { font-family: var(--e2-serif); font-weight: 400; font-size: 20px; letter-spacing: -.2px; }

/* ---- Tickets ---- */
.e2-ticket-promo { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--e2-muted); margin: 0 0 18px; }
.e2-ticket-promo .e2-i { width: 15px; height: 15px; }
.e2-ticket-promo a { text-decoration: underline; color: var(--e2-ink); }
.e2-ticket-form { max-width: 860px; }
.e2-tlist { display: grid; gap: 12px; }
.e2-ticket { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid var(--e2-line2); border-radius: 10px; padding: 20px 22px; background: var(--e2-white); }
.e2-ticket.is-out { opacity: .6; }
.e2 .e2-ticket h3 { font: 24px/1.25 var(--e2-serif); letter-spacing: -.2px; margin: 0 0 4px; }
.e2-ticket p { font-size: 12px; color: var(--e2-muted); line-height: 1.75; margin: 0 0 6px; }
.e2-ticket-left { font-size: 10px; letter-spacing: 1.2px; font-weight: 650; color: var(--e2-muted); text-transform: uppercase; }
.e2-ticket-side { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.e2-ticket-side > b { font-size: 20px; font-weight: 600; }
.e2-qty { display: flex; align-items: center; gap: 6px; }
.e2-qty .e2-icon-btn { width: 38px; height: 38px; }
.e2-qty .e2-i { width: 16px; height: 16px; }
.e2-qty input { width: 44px; text-align: center; border: 0; background: none; font-size: 18px; font-weight: 600; -moz-appearance: textfield; }
.e2-qty input::-webkit-outer-spin-button, .e2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.e2-sum { margin: 23px 0 15px; border-block: 1px solid var(--e2-line); padding: 17px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; }
.e2-sum strong { font-size: 17px; }

/* ---- Plan your visit ---- */
.e2-visit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr); gap: 110px; }
.e2-visit-intro { font-size: 13.5px; color: var(--e2-muted); margin-bottom: 30px; }
.e2-faq details { border-top: 1px solid var(--e2-line); }
.e2-faq details:last-child { border-bottom: 1px solid var(--e2-line); }
.e2-faq summary { list-style: none; padding: 19px 0; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; gap: 20px; }
.e2-faq summary::-webkit-details-marker { display: none; }
.e2-faq summary .e2-i { width: 17px; height: 17px; transition: transform .2s; }
.e2-faq details[open] summary .e2-i { transform: rotate(45deg); }
.e2-faq details > div { padding: 0 25px 20px 0; }
.e2-faq details p { font-size: 12.5px; color: var(--e2-muted); line-height: 1.9; margin-bottom: 10px; }
.e2-faq .e2-link { font-size: 11.5px; }
.e2-loc { background: var(--e2-white); border: 1px solid var(--e2-line); border-radius: 12px; overflow: hidden; box-shadow: var(--e2-shadow); align-self: start; }
.e2-loc-art { height: 178px; background: color-mix(in srgb, var(--e2-band) 80%, var(--e2-primary) 6%); position: relative; overflow: hidden; }
.e2-loc-art.has-photo img { width: 100%; height: 100% !important; object-fit: cover; }
.e2-loc-art.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .28), transparent 45%); }
.e2-road { position: absolute; background: #fcfcf2; box-shadow: 0 0 0 1px var(--e2-line2); transform: rotate(-22deg); }
.e2-road-1 { height: 26px; width: 120%; top: 90px; left: -20px; }
.e2-road-2 { width: 21px; height: 250px; left: 120px; top: -40px; }
.e2-road-3 { height: 18px; width: 320px; left: 120px; top: 10px; transform: rotate(25deg); }
.e2-leaf { position: absolute; display: block; border-radius: 36%; background: color-mix(in srgb, var(--e2-band) 60%, var(--e2-primary) 14%); transform: rotate(20deg); }
.e2-leaf-1 { width: 100px; height: 67px; left: -30px; top: 20px; }
.e2-leaf-2 { width: 140px; height: 80px; left: 220px; top: 115px; }
.e2-leaf-3 { width: 50px; height: 40px; left: 130px; top: 120px; }
.e2-marker { position: absolute; left: 51%; top: 42%; color: var(--e2-on-primary); background: var(--e2-primary); height: 48px; width: 48px; border: 4px solid #fffef7; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 9px rgba(51, 70, 40, .13); }
.e2-marker .e2-i { transform: rotate(45deg); width: 24px; height: 24px; }
.e2-loc-city { position: absolute; left: 18px; top: 16px; z-index: 2; font-size: 9px; letter-spacing: 1.2px; color: var(--e2-muted); font-weight: 650; background: rgba(255, 254, 247, .86); border-radius: 4px; padding: 3px 7px; }
.e2-loc-body { padding: 28px; }
.e2-loc-body .e2-eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 10px; }
.e2 .e2-loc-body h3 { font: 31px/1.18 var(--e2-serif); letter-spacing: -.4px; margin-bottom: 15px; }
.e2-loc-body address { font-style: normal; font-size: 13px; line-height: 1.8; color: var(--e2-muted); margin-bottom: 23px; }
.e2-loc-contact { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 11px; flex-wrap: wrap; }
.e2-loc-contact a { display: flex; align-items: center; gap: 5px; }
.e2-loc-contact a:hover { text-decoration: underline; }
.e2-loc-contact .e2-i { width: 13px; height: 13px; }

/* ---- Sponsors ---- */
.e2-sponsors { background: var(--e2-deep); color: #fcf8ed; padding: 48px 0; }
.e2-sponsors-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.e2-sponsors .e2-eyebrow { font-size: 9px; color: rgba(252, 248, 237, .72); margin-bottom: 11px; }
.e2 .e2-sponsors h2 { font-size: 32px; letter-spacing: -.6px; margin-bottom: 0; color: #fcf8ed; }
.e2-sponsors .e2-link { font-size: 12px; color: rgba(252, 248, 237, .88); }
.e2-sponsor-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 34px auto 0; max-width: 1000px; gap: 24px; }
.e2-sponsor { height: 90px; width: 210px; display: flex; align-items: center; justify-content: center; background: #fffdfa; border-radius: 8px; padding: 11px 22px; color: var(--e2-ink); font-weight: 600; font-size: 14px; text-align: center; }
.e2-sponsor img { max-height: 64px !important; max-width: 155px; width: auto; object-fit: contain; }

/* ---- Vendor invitation ---- */
.e2-invite { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 42px; border-bottom: 1px solid var(--e2-line); }
.e2-invite > div { display: flex; gap: 20px; align-items: center; }
.e2-invite-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--e2-soft); color: var(--e2-primary-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.e2 .e2-invite h3 { font: 24px/1.3 var(--e2-serif); margin: 0 0 5px; }
.e2-invite p { font-size: 12px; color: var(--e2-muted); margin: 0; }
.e2-invite .e2-btn { font-size: 12px; }
.e2-end-space { height: 40px; }

/* ---- Phone action bar, toast ---- */
.e2-mbar { display: none; }
.e2-toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: var(--e2-deep); color: #fff; padding: 12px 22px; border-radius: 8px; box-shadow: 0 7px 22px rgba(31, 58, 51, .13); font-size: 13px; z-index: 10050; max-width: 90vw; text-align: center; }

/* ---- Dialogs ---- */
.e2-dialog { border: 1px solid var(--e2-line2); border-radius: 17px; background: var(--e2-paper); color: var(--e2-ink); width: calc(100% - 32px); max-width: 490px; padding: 40px; box-shadow: 0 30px 80px rgba(17, 34, 51, .27); max-height: 90dvh; overflow: auto; margin: auto; font: 15px/1.6 var(--e2-sans); }
.e2-dialog::backdrop { background: rgba(18, 39, 30, .77); }
.e2-dialog-close { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border: 0 !important; z-index: 2; }
.e2-dialog-close .e2-i { width: 19px; height: 19px; }
.e2 .e2-dialog h2 { font-size: 42px; margin-bottom: 18px; line-height: 1.08; letter-spacing: -1px; }
.e2-dialog > .e2-eyebrow { padding-top: 10px; font-size: 9px; }
.e2-dialog > p { font-size: 13.5px; line-height: 1.85; color: var(--e2-muted); }
.e2-dialog-symbol { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--e2-soft); border-radius: 12px; color: var(--e2-primary-text); margin-bottom: 27px; }
.e2-dialog-symbol .e2-i { width: 26px; height: 26px; }
.e2-dialog-stack { display: grid; gap: 10px; margin-top: 25px; }
.e2-dialog-stack .e2-btn { font-size: 12.5px; }
.e2-dialog > .e2-small { margin-top: 20px; margin-bottom: 0; }
.e2-copy-field { display: block; font-size: 11px; font-weight: 600; margin: 23px 0 16px; }
.e2-copy-field input { width: 100%; border: 1px solid var(--e2-line2); border-radius: 5px; background: var(--e2-white); padding: 12px; font-size: 12px; display: block; margin-top: 7px; color: var(--e2-muted); }
.e2-share-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 20px; font-size: 12px; }
.e2-share-links a { display: flex; align-items: center; gap: 6px; }
.e2-share-links a:hover { text-decoration: underline; }
.e2-share-links .e2-i { width: 14px; height: 14px; }
.e2-dialog--visit { max-width: 540px; }
.e2-saved-row { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--e2-line); padding: 18px 0; }
.e2-saved-row img, .e2-saved-sym { width: 56px; height: 56px !important; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.e2-saved-sym { display: flex; align-items: center; justify-content: center; background: var(--e2-soft); color: var(--e2-primary-text); font: 20px var(--e2-serif); }
.e2-saved-row > div { flex: 1; min-width: 0; }
.e2 .e2-saved-row h3 { font-size: 14px; margin: 0 0 4px; }
.e2-saved-row p { font-size: 11px; color: var(--e2-muted); margin: 0; }
.e2-saved-row .e2-icon-btn { width: 32px; height: 32px; border: 0 !important; }
.e2-saved-row .e2-icon-btn .e2-i { width: 15px; height: 15px; }
.e2-saved-empty { padding: 24px; text-align: center; border: 1px dashed var(--e2-line2); border-radius: 9px; margin: 23px 0; }
.e2 .e2-saved-empty h3 { font-family: var(--e2-serif); font-weight: 400; font-size: 23px; }
.e2-saved-empty p { font-size: 13px; color: var(--e2-muted); margin: 0; }
.e2-dialog--vendor { max-width: 580px; padding: 0; overflow: hidden auto; }
.e2-dialog--vendor .e2-dialog-close { background: #fffef3; }
.e2-vd-photo { width: 100%; height: 245px !important; object-fit: cover; }
.e2-vd-photo.is-logo { object-fit: contain; padding: 30px; background: var(--e2-white); }
.e2-vd-mono { height: 200px; display: flex; align-items: center; justify-content: center; font: 72px/1 var(--e2-serif); color: var(--e2-primary-text); background: var(--e2-soft); }
.e2-vd-body { padding: 28px 35px 35px; }
.e2 .e2-vd-body h2 { font-size: 36px; }
.e2-vd-body > .e2-eyebrow { font-size: 9px; }
.e2-vd-body > p { font-size: 13.5px; color: var(--e2-muted); line-height: 1.9; }
.e2-vd-days { display: flex; gap: 7px; align-items: center; font-size: 12px; color: var(--e2-muted); margin: -4px 0 14px; }
.e2-vd-days .e2-i { width: 15px; height: 15px; }
.e2-vd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.e2-vd-actions .e2-btn { font-size: 12px; min-height: 43px; padding: 11px 15px; }
.e2-vd-actions .e2-link { font-size: 12px; margin-left: 6px; }
.e2-dialog--photo { max-width: 960px; padding: 22px; }
.e2-dialog--photo img { width: 100%; max-height: 72dvh; object-fit: contain; border-radius: 8px; }
.e2-dialog--photo p { margin: 12px 0 0; font-size: 13px; }
.e2-dialog--booking { max-width: 560px; }
.e2-opts { display: grid; gap: 10px; margin-top: 24px; }
.e2-opt { display: flex; border: 1px solid var(--e2-line2); border-radius: 7px; padding: 14px; align-items: center; gap: 12px; cursor: pointer; }
.e2-opt:has(input:checked) { border-color: var(--e2-primary); background: var(--e2-soft); }
.e2-opt.is-out { opacity: .55; cursor: not-allowed; }
.e2-opt input { accent-color: var(--e2-primary); height: 17px; width: 17px; flex-shrink: 0; }
.e2-opt > span { flex: 1; min-width: 0; }
.e2-opt strong { font-size: 13px; display: block; }
.e2-opt small { display: block; font-size: 11px; color: var(--e2-muted); }
.e2-opt > b { font-size: 15px; font-weight: 550; }
/* Public space list: read-only rows, availability instead of price (prices stay private, as on Template 1). */
.e2-opt--static { cursor: default; background: var(--e2-white); }
.e2-opt--static > b { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 650; color: var(--e2-muted); white-space: nowrap; }
.e2-opt > .e2-opt-ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; background: var(--e2-soft); color: var(--e2-primary-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.e2-opt-ico .e2-i { width: 17px; height: 17px; }
.e2-booking-cta { margin-top: 24px; }
.e2-vendor-login { font-size: 12px; display: block; text-align: center; margin-top: 16px; text-decoration: underline !important; }
body.e2-modal-open { overflow: hidden; }

/* ================= Responsive ================= */
@media (min-width: 1500px) {
  .e2-hero { gap: 84px; min-height: 677px; }
  .e2-visual { min-height: 580px; }
  .e2-lead { font-size: 16px; }
}
@media (max-width: 1150px) {
  .e2-shell { width: calc(100% - 64px); }
  .e2-hero { gap: 35px; min-height: 610px; }
  .e2-visual { min-height: 545px; }
  .e2-hero-actions .e2-btn { padding: 12px; font-size: 11.5px; }
  .e2-highlights { gap: 16px; }
  .e2-highlights > div { gap: 8px; }
  .e2-schedule, .e2-about-grid { gap: 50px; }
  .e2-visit-grid { gap: 55px; }
  .e2-vgrid { gap: 18px; }
  .e2-secnav-links { gap: 26px; }
}
@media (max-width: 940px) {
  .e2-hero { gap: 25px; }
  .e2 .e2-title { font-size: 62px; }
  .e2 .e2-title--lg { font-size: 50px; }
  .e2 .e2-title--xl { font-size: 40px; }
  .e2-lead { font-size: 13.5px; }
  .e2-visual { min-height: 520px; border-top-left-radius: 80px; }
  .e2-caption { left: 22px; bottom: 32px; gap: 8px; }
  .e2-caption strong { font-size: 27px; }
  .e2-caption-star { font-size: 35px; }
  .e2-stamp { right: 18px; padding: 9px 13px; }
  .e2-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 35px; }
  .e2-highlights > div:nth-child(2n) { border-right: 0; }
  .e2-pad { padding-block: 64px; }
  .e2-secnav-tools .e2-hide-sm { display: none; }
  .e2-schedule { gap: 40px; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .e2-about-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .e2 h2 { font-size: 41px; }
  .e2-tl-item { grid-template-columns: 70px 10px minmax(0, 1fr); gap: 9px; }
  .e2-tl-item::after { left: 83px; }
  .e2-tl-icon { display: none; }
  .e2-tl-time { font-size: 20px; }
  .e2 .e2-tl-content h3 { font-size: 22px; }
  .e2-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .e2-vtools { align-items: stretch; flex-direction: column; gap: 14px; }
  .e2-search { max-width: 100%; min-width: 0; }
  .e2-sechead-aside { max-width: 280px; }
  .e2-visit-grid { gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .e2-loc-body { padding: 23px; }
  .e2 .e2-loc-body h3 { font-size: 28px; }
  .e2-custom-grid { gap: 36px; }
  .e2-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .e2 .e2-sponsors h2 { font-size: 29px; }
  .e2 .e2-invite h3 { font-size: 20px; }
}
@media (max-width: 680px) {
  .e2-shell { width: calc(100% - 40px); }
  .e2-hero { display: flex; flex-direction: column; padding-top: 21px; padding-bottom: 26px; gap: 26px; min-height: 0; }
  .e2-crumbs { margin-bottom: 22px; font-size: 10.5px; gap: 7px; }
  .e2-eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 13px; }
  .e2-star { font-size: 17px; }
  .e2-status { font-size: 8.5px; letter-spacing: .6px; }
  .e2 .e2-title { font-size: 56px; line-height: 1.02; letter-spacing: -2px; margin-bottom: 18px; }
  .e2 .e2-title--lg { font-size: 44px; letter-spacing: -1.4px; }
  .e2 .e2-title--xl { font-size: 36px; letter-spacing: -1px; }
  .e2-lead { font-size: 13.5px; max-width: none; margin-bottom: 24px; }
  .e2-facts { gap: 13px; margin-bottom: 23px; }
  .e2-hero-actions { gap: 8px; flex-wrap: nowrap; }
  .e2-hero-actions .e2-btn { font-size: 11px; min-height: 45px; padding: 11px 12px; gap: 7px; flex: 1 1 auto; }
  .e2-hero-actions .e2-btn .e2-i { width: 16px; height: 16px; }
  .e2-hero-actions .e2-icon-btn { width: 42px; min-width: 42px; height: 45px; }
  .e2-hero-note { font-size: 10.5px; margin-top: 15px; }
  .e2-visual { min-height: 360px; height: 360px; border-radius: 70px 9px 9px 9px; }
  .e2-caption { bottom: 24px; }
  .e2-caption strong { font-size: 26px; }
  .e2-caption div > span { font-size: 11px; }
  .e2-stamp { top: 19px; right: 19px; padding: 9px 13px; }
  .e2-stamp strong { font-size: 39px; }
  .e2-stamp span { font-size: 8px; }
  .e2-visual-mark { font-size: 130px; }
  .e2-secnav { height: 55px; width: 100%; padding: 0 0 0 20px; gap: 12px; }
  .e2-secnav-links { gap: 25px; }
  .e2-secnav-links a { font-size: 11.5px; }
  .e2-secnav-tools { padding-right: 12px; }
  .e2-highlights { padding-block: 27px; gap: 24px 15px; }
  .e2-highlights > div { padding-right: 7px; gap: 9px; align-items: flex-start; }
  .e2-hl-icon { width: 25px; height: 29px; }
  .e2-hl-icon .e2-i { width: 24px; height: 24px; }
  .e2-highlights strong { font-size: 11.5px; margin-bottom: 2px; }
  .e2-highlights p { line-height: 1.5; font-size: 10.5px; }
  .e2-highlights p span { white-space: normal; }
  .e2-pad { padding-block: 50px; }
  .e2 h2 { font-size: 36px; letter-spacing: -1.1px; line-height: 1.13; margin-bottom: 18px; }
  .e2-schedule { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .e2-intro > p:not(.e2-eyebrow) { font-size: 13px; max-width: 100%; }
  .e2-note { max-width: none; margin: 23px 0 16px; padding: 16px; gap: 10px; }
  .e2-tl-item { grid-template-columns: 70px 10px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .e2-tl-item::after { left: 87px; }
  .e2-tl-time { font-size: 20px; }
  .e2 .e2-tl-content h3 { font-size: 22px; margin-top: 4px; }
  .e2-sechead { display: block; margin-bottom: 24px; }
  .e2-sechead-aside { max-width: none; margin-top: 19px; }
  .e2-chips { gap: 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .e2-chips::-webkit-scrollbar { display: none; }
  .e2-chip { font-size: 10.5px; min-height: 36px; padding: 9px 12px !important; gap: 4px; }
  .e2-vgrid { gap: 25px 14px; }
  .e2-vphoto { aspect-ratio: .98; border-radius: 7px; }
  .e2-heart { width: 33px; height: 33px; right: 7px; top: 7px; }
  .e2-vcat { bottom: 8px; left: 8px; font-size: 9px; padding: 3px 6px; }
  .e2 .e2-vcard h3 { font-size: 14px; margin-top: 11px; line-height: 1.45; }
  .e2-vcard p { font-size: 11px; margin-bottom: 7px; }
  .e2-vmono { font-size: 34px; }
  .e2-vfoot { font-size: 10px; align-items: flex-start; }
  .e2-custom-grid { grid-template-columns: minmax(0, 1fr); }
  .e2-mapband #venueLayoutContainer > .mb-6:first-child .flex-1 { flex-basis: 100%; }
  .e2-mapband #venueLayoutTitle { font-size: 21px !important; }
  .e2-mapband .venue-workspace, .e2-mapband #venueDaySelectorContainer { padding: 12px; }
  .e2-custom-img { border-radius: 60px 9px 9px 9px; }
  .e2-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .e2-ticket { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .e2-ticket-side { justify-content: space-between; }
  .e2-visit-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .e2-faq summary { font-size: 13px; padding: 17px 0; gap: 10px; }
  .e2-loc-art { height: 170px; }
  .e2-loc-body { padding: 24px; }
  .e2-sponsors { padding: 38px 0; }
  .e2-sponsors-head { display: block; }
  .e2 .e2-sponsors h2 { font-size: 29px; line-height: 1.2; }
  .e2-sponsors-head .e2-link { margin-top: 19px; }
  .e2-sponsor-row { gap: 12px; margin-top: 25px; }
  .e2-sponsor { height: 70px; width: calc(50% - 6px); padding: 10px; }
  .e2-sponsor img { max-height: 48px !important; max-width: 100%; }
  .e2-invite { padding-block: 29px; display: block; }
  .e2-invite > div { gap: 14px; align-items: flex-start; }
  .e2-invite-icon { width: 41px; height: 41px; }
  .e2 .e2-invite h3 { font-size: 21px; }
  .e2-invite > .e2-btn { margin: 21px 0 0 55px; min-height: 42px; }
  .e2-end-space { height: 96px; }
  .e2-mbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 253, 247, .98); padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--e2-line2); box-shadow: 0 -5px 25px rgba(20, 53, 20, .04); }
  .e2-mbar > div:first-child { font-size: 12px; line-height: 1.6; min-width: 0; }
  .e2-mbar strong { font-weight: 650; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .e2-mbar > div:first-child span { display: block; font-size: 10.5px; color: var(--e2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .e2-mbar-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
  .e2-mbar .e2-btn { min-height: 43px; padding: 11px 15px; font-size: 11.5px; gap: 8px; }
  .e2-mbar .e2-btn .e2-i { width: 15px; height: 15px; }
  .e2-mbar-visit { position: relative; width: 43px; height: 43px; }
  .e2-mbar-visit .e2-visit-count { position: absolute; top: -6px; right: -6px; }
  .e2-toast { bottom: 88px; font-size: 12px; padding: 11px 16px; width: max-content; max-width: calc(100% - 30px); }
  /* Keep site-wide floating buttons clear of the action bar (this file only loads on Template 2 pages):
     the footer's back-to-top already sits at 96px; the staff help-chat launcher goes above it. */
  .e2-body #zhLauncher { bottom: 156px !important; }
  .e2-body #zhPanel { bottom: 224px !important; max-height: calc(100dvh - 300px) !important; }
  .e2-dialog { padding: 32px 24px; border-radius: 13px; max-height: 88dvh; }
  .e2 .e2-dialog h2 { font-size: 36px; }
  .e2-dialog-close { right: 10px; top: 10px; }
  .e2-dialog--vendor { padding: 0; }
  .e2-vd-body { padding: 26px; }
  .e2-vd-photo { height: 210px !important; }
  .e2 .e2-vd-body h2 { font-size: 31px; }
  .e2-dialog--photo { padding: 16px; }
  .e2-opt { padding: 11px; gap: 10px; }
}
@media (max-width: 360px) {
  .e2-shell { width: calc(100% - 32px); }
  .e2 .e2-title { font-size: 48px; }
  .e2-hero-actions .e2-btn { font-size: 10px; padding: 11px 9px; gap: 6px; }
  .e2-hero-actions .e2-icon-btn { width: 38px; min-width: 38px; }
  .e2-visual { height: 320px; min-height: 320px; }
  .e2-mbar .e2-btn { padding: 11px 11px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .e2 *, .e2 *::before, .e2 *::after { transition: none !important; animation: none !important; }
}
